Public Types |
| enum | TTransformMode { DirectMatrix = 0,
RotEuler,
RotQuat,
TransformModeCount
} |
Public Methods |
|
| virtual void | setTransformMode (TTransformMode mode, CMatrix::TRotOrder ro=CMatrix::ZXY)=0 |
| | Change the transform mode. Components or matrix are not reseted. More...
|
| virtual void | setPos (const CVector &pos)=0 |
| | Work only in Rot* mode(nlassert). More...
|
| void | setPos (float px, float py, float pz) |
| | Work only in Rot* mode(nlassert). More...
|
| virtual void | setRotEuler (const CVector &rot)=0 |
| | Work only in RotEuler mode(nlassert). More...
|
| void | setRotEuler (float rx, float ry, float rz) |
| | Work only in RotEuler mode(nlassert). More...
|
| virtual void | setRotQuat (const CQuat &quat)=0 |
| | Work only in RotQuat mode (nlassert). More...
|
| virtual void | setRotQuat (const CVector &jdir)=0 |
| | Work only in RotQuat mode (nlassert). More...
|
| virtual void | setRotQuat (const CVector &jdir, const CVector &vup)=0 |
| | Work only in RotQuat mode (nlassert). More...
|
| virtual void | setScale (const CVector &scale)=0 |
| | Work only in Rot* mode (nlassert). More...
|
| void | setScale (float sx, float sy, float sz) |
| | Work only in Rot* mode (nlassert). More...
|
| virtual void | setPivot (const CVector &pivot)=0 |
| | Work only in Rot* mode (nlassert). More...
|
| void | setPivot (float px, float py, float pz) |
| | Work only in Rot* mode (nlassert). More...
|
| virtual void | setMatrix (const CMatrix &mat)=0 |
| | Work only in DirecTMatrix mode (nlassert). More...
|
|
| virtual TTransformMode | getTransformMode ()=0 |
| | get the current transform mode. More...
|
| virtual CMatrix::TRotOrder | getRotOrder ()=0 |
| | get the current rotorder (information vlaid only when RotEuler mode). More...
|
| virtual const CMatrix & | getMatrix () const=0 |
| | Get the matrix, compute her if necessary (work in all modes). More...
|
| virtual void | getPos (CVector &pos)=0 |
| | Work only in Rot* mode(nlassert). More...
|
| virtual void | getRotEuler (CVector &rot)=0 |
| | Work only in RotEuler mode(nlassert). More...
|
| virtual void | getRotQuat (CQuat &quat)=0 |
| | Work only in RotQuat mode (nlassert). More...
|
| virtual void | getScale (CVector &scale)=0 |
| | Work only in Rot* mode (nlassert). More...
|
| virtual void | getPivot (CVector &pivot)=0 |
| | Work only in Rot* mode (nlassert). More...
|
| virtual CVector | getPos ()=0 |
| | Work only in Rot* mode(nlassert). More...
|
| virtual CVector | getRotEuler ()=0 |
| | Work only in RotEuler mode(nlassert). More...
|
| virtual CQuat | getRotQuat ()=0 |
| | Work only in RotQuat mode (nlassert). More...
|
| virtual CVector | getScale ()=0 |
| | Work only in Rot* mode (nlassert). More...
|
| virtual CVector | getPivot ()=0 |
| | Work only in Rot* mode (nlassert). More...
|
|
| virtual void | lookAt (const CVector &eye, const CVector &target, float roll=0.f)=0 |
| | Setup Matrix by the lookAt method. More...
|
Static Public Methods |
|
| const char * | getPosValueName () |
| const char * | getRotEulerValueName () |
| const char * | getRotQuatValueName () |
| const char * | getScaleValueName () |
| const char * | getPivotValueName () |
Protected Methods |
|
| | UTransformable () |
| | Constructor. By default, RotQuat mode. More...
|
| virtual | ~UTransformable () |
By default Transformmode is RotQuat.