SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::gl::Transformation Class Reference

#include <Transformation.h>

Public Attributes

SReal translation [3]
 
SReal scale [3]
 
SReal rotation [4][4]
 
SReal objectCenter [3]
 

Public Member Functions

 Transformation ()
 
 ~Transformation ()
 
Transformationoperator= (const Transformation &transform)
 
void Apply ()
 
void ApplyWithCentring ()
 
void ApplyInverse ()
 
template<class Vector >
Vector operator* (Vector v) const
 

Attribute details

SReal sofa::helper::gl::Transformation::objectCenter[3]
SReal sofa::helper::gl::Transformation::rotation[4][4]
SReal sofa::helper::gl::Transformation::scale[3]
SReal sofa::helper::gl::Transformation::translation[3]

Constructor details

sofa::helper::gl::Transformation::Transformation ( )
sofa::helper::gl::Transformation::~Transformation ( )

Function details

void sofa::helper::gl::Transformation::Apply ( )
void sofa::helper::gl::Transformation::ApplyInverse ( )
void sofa::helper::gl::Transformation::ApplyWithCentring ( )
template<class Vector >
Vector sofa::helper::gl::Transformation::operator* ( Vector  v) const
inline
Transformation & sofa::helper::gl::Transformation::operator= ( const Transformation transform)