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.
|
virtual void | setPos (const CVector &pos) = 0 |
| Work only in Rot* mode(nlassert).
|
virtual void | setRotEuler (const CVector &rot) = 0 |
| Work only in RotEuler mode(nlassert).
|
virtual void | setRotQuat (const CQuat &quat) = 0 |
| Work only in RotQuat mode (nlassert).
|
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).
|
virtual void | setPivot (const CVector &pivot) = 0 |
| Work only in Rot* mode (nlassert).
|
virtual void | setMatrix (const CMatrix &mat) = 0 |
| Work only in DirecTMatrix mode (nlassert).
|
virtual TTransformMode | getTransformMode () = 0 |
| get the current transform mode.
|
virtual CMatrix::TRotOrder | getRotOrder () = 0 |
| get the current rotorder (information vlaid only when RotEuler mode).
|
virtual const CMatrix& | getMatrix () const = 0 |
| Get the matrix, compute her if necessary (work in all modes).
|
virtual void | getPos (CVector &pos) = 0 |
| Work only in Rot* mode(nlassert).
|
virtual void | getRotEuler (CVector &rot) = 0 |
| Work only in RotEuler mode(nlassert).
|
virtual void | getRotQuat (CQuat &quat) = 0 |
| Work only in RotQuat mode (nlassert).
|
virtual void | getScale (CVector &scale) = 0 |
| Work only in Rot* mode (nlassert).
|
virtual void | getPivot (CVector &pivot) = 0 |
| Work only in Rot* mode (nlassert).
|
virtual CVector | getPos () = 0 |
| Work only in Rot* mode(nlassert).
|
virtual CVector | getRotEuler () = 0 |
| Work only in RotEuler mode(nlassert).
|
virtual CQuat | getRotQuat () = 0 |
| Work only in RotQuat mode (nlassert).
|
virtual CVector | getScale () = 0 |
| Work only in Rot* mode (nlassert).
|
virtual CVector | getPivot () = 0 |
| Work only in Rot* mode (nlassert).
|
virtual void | lookAt (const CVector& eye, const CVector& target, float roll=0.f) = 0 |
| Setup Matrix by the lookAt method. More...
|
Protected Methods |
| UTransformable () |
| Constructor. By default, RotQuat mode. More...
|
virtual | ~UTransformable () |
By default Transformmode is RotQuat.