iTransform is the interface for positionning and orienting.
General | |
| virtual tPtr | GetDescStructPtr () const =0 |
| Get the transform description structure pointer. {Property}. More... | |
| virtual iTransform * | Clone () const =0 |
| Clone the transform. More... | |
| virtual tBool | Copy (const iTransform *apSrc)=0 |
| Copy another transform in this transform. More... | |
| virtual tU16 | SetDirty ()=0 |
| Mark the transform as "Dirty". More... | |
| virtual void | SetFlags (tU16 anFlags)=0 |
| Set the transform flags. {Property}. More... | |
| virtual tU16 | GetFlags () const =0 |
| Get the transform flags. {Property}. More... | |
| virtual void | SetSyncCounter (tU16 anFlags)=0 |
| Set the synchronization counter. {Property}. More... | |
| virtual tU16 | GetSyncCounter () const =0 |
| Get the synchronization counter. {Property}. More... | |
Parent | |
| virtual void | SetParent (iTransform *apParent)=0 |
| Set the parent transform. {Property}. More... | |
| virtual iTransform * | GetParent () const =0 |
| Get the parent transform. {Property}. More... | |
Matrices | |
| virtual void | Identity ()=0 |
| Set the transform to identity. More... | |
| virtual void | SetWorldMatrix (const sMatrixf &aMatrix)=0 |
| Set the world matrix. {Property}. More... | |
| virtual sMatrixf | GetWorldMatrix () const =0 |
| Get the world matrix. {Property}. More... | |
| virtual void | SetLocalMatrix (const sMatrixf &aMatrix)=0 |
| Set the local matrix. {Property}. More... | |
| virtual sMatrixf | GetLocalMatrix () const =0 |
| Get the local matrix. {Property}. More... | |
| virtual void | MultiplyWorldMatrix (const sMatrixf &aMatrix)=0 |
| Multiply the world matrix. More... | |
| virtual void | PreMultiplyWorldMatrix (const sMatrixf &aMatrix)=0 |
| Pre-Multiply the world matrix. More... | |
| virtual void | MultiplyLocalMatrix (const sMatrixf &aMatrix)=0 |
| Multiply the local matrix. More... | |
| virtual void | PreMultiplyLocalMatrix (const sMatrixf &aMatrix)=0 |
| Pre-Multiply the local matrix. More... | |
| virtual void | LookAt (const sVec3f &avLookAt, const sVec3f &avUp)=0 |
| Set the transform's orientation that the forward vector points at a specified world position. More... | |
Position | |
| virtual void | SetWorldPosition (const sVec3f &v)=0 |
| Set the world position of the transform. {Property}. More... | |
| virtual sVec3f | GetWorldPosition () const =0 |
| Get the world position of the transform. {Property}. More... | |
| virtual void | SetLocalPosition (const sVec3f &v)=0 |
| Set the local position of the transform. {Property}. More... | |
| virtual sVec3f | GetLocalPosition () const =0 |
| Get the local position of the transform. {Property}. More... | |
| virtual void | Translate (const sVec3f &v)=0 |
| Translate the local position of the transform. More... | |
| virtual void | PreTranslate (const sVec3f &v)=0 |
| PreTranslate the local position of the transform. More... | |
Rotations | |
| virtual void | SetWorldRotation (const sMatrixf &aMatrix)=0 |
| Set the world rotation of the transform. {Property}. More... | |
| virtual void | SetLocalRotation (const sMatrixf &aMatrix)=0 |
| Set the local rotation of the transform. {Property}. More... | |
| virtual void | Rotate (const sMatrixf &aMatrix)=0 |
| Rotate the local rotation of the transform. More... | |
| virtual void | PreRotate (const sMatrixf &aMatrix)=0 |
| PreRotate the local rotation of the transform. More... | |
Scale | |
| virtual void | SetScale (const sVec3f &aScale)=0 |
| Set the scale of the transform. {Property}. More... | |
| virtual sVec3f | GetScale () const =0 |
| Return the scale of the transform. {Property}. More... | |
Offset transforms | |
| virtual iTransform * | CreatePreOffsetTransform ()=0 |
| Create a pre offset transform. More... | |
| virtual iTransform * | CreatePostOffsetTransform ()=0 |
| Create a post offset transform. More... | |
Axis vectors | |
| virtual sVec3f | GetRight () const =0 |
| Get the right (X) vector. {Property}. More... | |
| virtual sVec3f | GetUp () const =0 |
| Get the up (Y) vector. {Property}. More... | |
| virtual sVec3f | GetForward () const =0 |
| Get the forward (Z) vector. {Property}. More... | |
| virtual sVec3f | GetInvRight () const =0 |
| Get the inverse transform right (X) vector. {Property}. More... | |
| virtual sVec3f | GetInvUp () const =0 |
| Get the inverse transform up (Y) vector. {Property}. More... | |
| virtual sVec3f | GetInvForward () const =0 |
| Get the inverse transform forward (Z) vector. {Property}. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the transform description structure pointer. {Property}.
|
pure virtual |
Clone the transform.
|
pure virtual |
Copy another transform in this transform.
|
pure virtual |
Mark the transform as "Dirty".
|
pure virtual |
Get the transform flags. {Property}.
Set the synchronization counter. {Property}.
|
pure virtual |
Get the synchronization counter. {Property}.
|
pure virtual |
Set the parent transform. {Property}.
|
pure virtual |
Get the parent transform. {Property}.
|
pure virtual |
Set the transform to identity.
Set the world matrix. {Property}.
|
pure virtual |
Get the world matrix. {Property}.
Set the local matrix. {Property}.
|
pure virtual |
Get the local matrix. {Property}.
Multiply the world matrix.
Pre-Multiply the world matrix.
Multiply the local matrix.
Pre-Multiply the local matrix.
Set the transform's orientation that the forward vector points at a specified world position.
Set the world position of the transform. {Property}.
|
pure virtual |
Get the world position of the transform. {Property}.
Set the local position of the transform. {Property}.
|
pure virtual |
Get the local position of the transform. {Property}.
Translate the local position of the transform.
PreTranslate the local position of the transform.
Set the world rotation of the transform. {Property}.
Set the local rotation of the transform. {Property}.
Rotate the local rotation of the transform.
PreRotate the local rotation of the transform.
Set the scale of the transform. {Property}.
|
pure virtual |
Return the scale of the transform. {Property}.
|
pure virtual |
Create a pre offset transform.
|
pure virtual |
Create a post offset transform.
|
pure virtual |
Get the right (X) vector. {Property}.
|
pure virtual |
Get the up (Y) vector. {Property}.
|
pure virtual |
Get the forward (Z) vector. {Property}.
|
pure virtual |
Get the inverse transform right (X) vector. {Property}.
|
pure virtual |
Get the inverse transform up (Y) vector. {Property}.
|
pure virtual |
Get the inverse transform forward (Z) vector. {Property}.
1.8.7