0.44.0
|
#include <iaTransform.h>
Public Member Functions | |
bool | hasShear () const |
bool | hasScale () const |
bool | hasTranslation () const |
bool | hasRotation () const |
void | getMatrix (iaMatrix< T > &matrix) const |
iaTransform () | |
iaTransform (const iaMatrix< T > &matrix) | |
iaTransform (const iaVector3< T > &translate, const iaQuaternion< T > orientation, const iaVector3< T > &scale) | |
iaTransform (const iaVector3< T > &translate, const iaQuaternion< T > orientation, const iaVector3< T > &scale, const iaVector3< T > &_shear) | |
~iaTransform () | |
Public Attributes | |
iaVector3< T > | _translate |
iaQuaternion< T > | _orientation |
iaVector3< T > | _scale |
iaVector3< T > | _shear |
Transform based on the components translate, rotate, scale, shear and perspective
iaTransform::iaTransform | ( | ) |
initializes the matrix with the id matrix
iaTransform::iaTransform | ( | const iaMatrix< T > & | matrix | ) |
ctor set wit matrix to decompose
matrix | the matrix to decompose |
iaTransform::iaTransform | ( | const iaVector3< T > & | translate, |
const iaQuaternion< T > | orientation, | ||
const iaVector3< T > & | scale | ||
) |
initializes the matrix with given components
translate | translation component |
orientation | the orientation component |
scale | the scale component |
iaux::iaTransform< T >::iaTransform | ( | const iaVector3< T > & | translate, |
const iaQuaternion< T > | orientation, | ||
const iaVector3< T > & | scale, | ||
const iaVector3< T > & | _shear | ||
) |
initializes the matrix with given components
translate | translation component |
orientation | the orientation component |
scale | the scale component |
shear | the shear component |
IGOR_INLINE iaTransform::~iaTransform | ( | ) |
does nothing
IGOR_INLINE void iaTransform::getMatrix | ( | iaMatrix< T > & | matrix | ) | const |
returns the transforms matrix based on it's components
[out] | matrix | the resulting matrix |
IGOR_INLINE bool iaTransform::hasRotation | ( | ) | const |
IGOR_INLINE bool iaTransform::hasScale | ( | ) | const |
IGOR_INLINE bool iaTransform::hasShear | ( | ) | const |
IGOR_INLINE bool iaTransform::hasTranslation | ( | ) | const |
iaQuaternion<T> iaux::iaTransform< T >::_orientation |
orientation component as quaternion
iaVector3<T> iaux::iaTransform< T >::_scale |
scale component
iaVector3<T> iaux::iaTransform< T >::_shear |
shear component
iaVector3<T> iaux::iaTransform< T >::_translate |
translate component