Transform3D Class Reference#include <T3DTransform.h>
Inheritance diagram for Transform3D:
[legend]List of all members.
|
Public Member Functions |
| void | setWorldMatrix (const MatrixF &world) |
| void | setObjectMatrix (const MatrixF &objMatrix) |
| virtual void | setLocalMatrix (const MatrixF &localMatrix)=0 |
| virtual void | getWorldMatrix (MatrixF &worldMatrix, bool includeLocalScale) const =0 |
| virtual void | getObjectMatrix (MatrixF &objectMatrix, bool includeLocalScale) const =0 |
| virtual void | getLocalMatrix (MatrixF &localMatrix, bool includeLocalScale) const =0 |
| MatrixF | getWorldMatrix () const |
| MatrixF | getObjectMatrix () const |
| MatrixF | getLocalMatrix () const |
| virtual Point3F | getPosition () const =0 |
| virtual void | setPosition (const Point3F &position)=0 |
| virtual QuatF | getRotation () const =0 |
| virtual void | setRotation (const QuatF &rotation)=0 |
| virtual Point3F | getScale () const =0 |
| virtual void | setScale (const Point3F &scale)=0 |
| bool | hasLocalScale () const |
| bool | hasObjectScale () const |
| bool | hasWorldScale () const |
| Transform3D * | getParentTransform () const |
| void | setParentTransform (Transform3D *parent) |
| IDirtyListener * | getDirtyListener () const |
| void | setDirtyListener (IDirtyListener *dirtyListener) |
| bool | isChildOf (Transform3D *parent, bool recursive) const |
Protected Types |
| | None = 0 |
| | LocalHasScale = 1 << 0 |
| | LocalPositionDirty = 1 << 1 |
| | LocalRotationDirty = 1 << 2 |
| | LocalScaleDirty = 1 << 3 |
| | LocalDirty = LocalPositionDirty | LocalRotationDirty | LocalScaleDirty |
| | ParentDirty = 1 << 4 |
| | LastFlag = 1 << 4 |
| enum | TransformFlags {
None = 0,
LocalHasScale = 1 << 0,
LocalPositionDirty = 1 << 1,
LocalRotationDirty = 1 << 2,
LocalScaleDirty = 1 << 3,
LocalDirty = LocalPositionDirty | LocalRotationDirty | LocalScaleDirty,
ParentDirty = 1 << 4,
LastFlag = 1 << 4
} |
Protected Attributes |
| Transform3D * | _parentTransform |
| IDirtyListener * | _dirtyListener |
| U32 | _flags |
Classes |
| class | IDirtyListener |
Member Enumeration Documentation
- Enumerator:
-
| None |
|
| LocalHasScale |
|
| LocalPositionDirty |
|
| LocalRotationDirty |
|
| LocalScaleDirty |
|
| LocalDirty |
|
| ParentDirty |
|
| LastFlag |
|
Member Function Documentation
| void Transform3D::setWorldMatrix |
( |
const MatrixF & |
world |
) |
|
| void Transform3D::setObjectMatrix |
( |
const MatrixF & |
objMatrix |
) |
|
| virtual void Transform3D::setLocalMatrix |
( |
const MatrixF & |
localMatrix |
) |
[pure virtual] |
| virtual void Transform3D::getWorldMatrix |
( |
MatrixF & |
worldMatrix, |
|
|
bool |
includeLocalScale | |
|
) |
| | const [pure virtual] |
| virtual void Transform3D::getObjectMatrix |
( |
MatrixF & |
objectMatrix, |
|
|
bool |
includeLocalScale | |
|
) |
| | const [pure virtual] |
| virtual void Transform3D::getLocalMatrix |
( |
MatrixF & |
localMatrix, |
|
|
bool |
includeLocalScale | |
|
) |
| | const [pure virtual] |
| MatrixF Transform3D::getWorldMatrix |
( |
|
) |
const [inline] |
| MatrixF Transform3D::getObjectMatrix |
( |
|
) |
const [inline] |
| MatrixF Transform3D::getLocalMatrix |
( |
|
) |
const [inline] |
| virtual Point3F Transform3D::getPosition |
( |
|
) |
const [pure virtual] |
| virtual void Transform3D::setPosition |
( |
const Point3F & |
position |
) |
[pure virtual] |
| virtual QuatF Transform3D::getRotation |
( |
|
) |
const [pure virtual] |
| virtual void Transform3D::setRotation |
( |
const QuatF & |
rotation |
) |
[pure virtual] |
| virtual Point3F Transform3D::getScale |
( |
|
) |
const [pure virtual] |
| virtual void Transform3D::setScale |
( |
const Point3F & |
scale |
) |
[pure virtual] |
| bool Transform3D::hasLocalScale |
( |
|
) |
const [inline] |
| bool Transform3D::hasObjectScale |
( |
|
) |
const |
| bool Transform3D::hasWorldScale |
( |
|
) |
const |
| Transform3D* Transform3D::getParentTransform |
( |
|
) |
const [inline] |
Member Data Documentation
|