#include <u_transformable.h>
Inheritance diagram for NL3D::UTransformable:
Nevrax France
Definition at line 51 of file u_transformable.h.
Public Types | |
enum | TTransformMode { DirectMatrix = 0, RotEuler, RotQuat, TransformModeCount } |
Protected Member Functions | |
Object | |
UTransformable () | |
Constructor. By default, RotQuat mode. | |
virtual | ~UTransformable () |
Constructor. By default, RotQuat mode. |
|
Definition at line 66 of file u_transformable.h.
00067 { 00068 DirectMatrix=0, // DirectMatrixMode . 00069 RotEuler, // Matrix is computed from sperated composantes, with euler rotation. 00070 RotQuat, // Matrix is computed from sperated composantes, with quat rotation (default). 00071 00072 TransformModeCount 00073 }; |
|
Constructor. By default, RotQuat mode.
Definition at line 58 of file u_transformable.h.
00058 {} |
|
Constructor. By default, RotQuat mode.
Definition at line 59 of file u_transformable.h.
00059 {} |
|
Get the matrix, compute her if necessary (work in all modes).
Implemented in NL3D::CTransformableUser. Referenced by NL3D::CDriverUser::setMatrixMode3D(). |
|
Work only in Rot* mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in Rot* mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Definition at line 55 of file transformable_user.cpp. References NL3D_MEM_TRANSFORMABLE.
00056 { 00057 NL3D_MEM_TRANSFORMABLE 00058 return ITransformable::getPivotValueName(); 00059 } |
|
Work only in Rot* mode(nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in Rot* mode(nlassert).
Implemented in NL3D::CTransformableUser. |
|
Definition at line 35 of file transformable_user.cpp. References NL3D_MEM_TRANSFORMABLE.
00036 { 00037 NL3D_MEM_TRANSFORMABLE 00038 return ITransformable::getPosValueName (); 00039 } |
|
Work only in RotEuler mode(nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in RotEuler mode(nlassert).
Implemented in NL3D::CTransformableUser. |
|
Definition at line 40 of file transformable_user.cpp. References NL3D_MEM_TRANSFORMABLE.
00041 { 00042 NL3D_MEM_TRANSFORMABLE 00043 return ITransformable::getRotEulerValueName(); 00044 } |
|
get the current rotorder (information vlaid only when RotEuler mode).
Implemented in NL3D::CTransformableUser. |
|
Work only in RotQuat mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in RotQuat mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Definition at line 45 of file transformable_user.cpp. References NL3D_MEM_TRANSFORMABLE.
00046 { 00047 NL3D_MEM_TRANSFORMABLE 00048 return ITransformable::getRotQuatValueName(); 00049 } |
|
Work only in Rot* mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in Rot* mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Definition at line 50 of file transformable_user.cpp. References NL3D_MEM_TRANSFORMABLE.
00051 { 00052 NL3D_MEM_TRANSFORMABLE 00053 return ITransformable::getScaleValueName(); 00054 } |
|
get the current transform mode.
Implemented in NL3D::CTransformableUser. |
|
Setup Matrix by the lookAt method. Work only in DirectMatrix mode and RotQuat mode (not euler...).
Implemented in NL3D::CTransformableUser. |
|
Work only in DirecTMatrix mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in Rot* mode (nlassert).
Definition at line 108 of file u_transformable.h. References setPivot().
00108 {setPivot(CVector(px, py, pz));} |
|
Work only in Rot* mode (nlassert).
Implemented in NL3D::CTransformableUser. Referenced by setPivot(). |
|
Work only in Rot* mode(nlassert).
Definition at line 86 of file u_transformable.h. References setPos().
00086 {setPos(CVector(px, py, pz));} |
|
Work only in Rot* mode(nlassert).
Implemented in NL3D::CTransformableUser. Referenced by setPos(). |
|
Work only in RotEuler mode(nlassert).
Definition at line 90 of file u_transformable.h. References setRotEuler().
00090 {setRotEuler(CVector(rx, ry, rz));} |
|
Work only in RotEuler mode(nlassert).
Implemented in NL3D::CTransformableUser. Referenced by setRotEuler(). |
|
Work only in RotQuat mode (nlassert). Build a quaternion from a forward direction (a J vector). the roll is determined with help of the vector up vup... vectors do not need to be noramlized. Implemented in NL3D::CTransformableUser. |
|
Work only in RotQuat mode (nlassert). Build a quaternion from a forward direction (a J vector). there is no roll... jdir do not need to be noramlized. Implemented in NL3D::CTransformableUser. |
|
Work only in RotQuat mode (nlassert).
Implemented in NL3D::CTransformableUser. |
|
Work only in Rot* mode (nlassert).
Definition at line 104 of file u_transformable.h. References setScale().
00104 {setScale(CVector(sx, sy, sz));} |
|
Work only in Rot* mode (nlassert).
Implemented in NL3D::CTransformableUser. Referenced by setScale(). |
|
Change the transform mode. Components or matrix are not reseted.
Implemented in NL3D::CTransformableUser. |