#include <FCDTransform.h>
Inheritance diagram for FCDTTranslation:
Public Member Functions | |
FCDTTranslation (FCDocument *document, FCDSceneNode *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDTTranslation () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the transformation class type for the translation. | |
FMVector3 & | GetTranslation () |
Retrieves the translation 3D displacement vector. | |
const FMVector3 & | GetTranslation () const |
See above. | |
void | SetTranslation (const FMVector3 &_translation) |
Sets the translation 3D displacement vector. | |
void | SetTranslation (float x, float y, float z) |
Sets the translation 3D displacement vector. | |
virtual FMMatrix44 | ToMatrix () const |
Converts the translation into a matrix. | |
virtual bool | IsAnimated () const |
Retrieves whether this translation is affected by an animation. | |
virtual FCDAnimated * | GetAnimated () |
Retrieves the animated element for the translation. | |
virtual bool | IsInverse (const FCDTransform *transform) const |
Retrieves whether a given transform is the exact opposite of this translation. | |
virtual FCDTransform * | Clone (FCDSceneNode *newParent) |
Creates a copy of the translation. | |
virtual FUStatus | LoadFromXML (xmlNode *translationNode) |
[INTERNAL] Reads in the translation from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the translation to the given COLLADA XML tree node. |
A translation is a simple 3D displacement.
|
Constructor: do not use directly. Instead, use the FCDSceneNode::AddTransform function with the TRANSLATION transformation type.
|
|
Destructor: do not use directly. Instead, use the FCDSceneNode::ReleaseTransform function. |
|
Creates a copy of the translation.
Implements FCDTransform. |
|
Retrieves the animated element for the translation.
Implements FCDTransform. |
|
Retrieves the translation 3D displacement vector. This displacement vector may be animated.
|
|
Retrieves the transformation class type for the translation.
Implements FCDTransform. |
|
Retrieves whether this translation is affected by an animation.
Implements FCDTransform. |
|
Retrieves whether a given transform is the exact opposite of this translation. The opposite of a translation has a displacement vector with all the components multiplied by -1.
Reimplemented from FCDTransform. |
|
[INTERNAL] Reads in the translation from a given COLLADA XML tree node.
Implements FCDTransform. |
|
Sets the translation 3D displacement vector.
|
|
Sets the translation 3D displacement vector.
|
|
Converts the translation into a matrix.
Implements FCDTransform. |
|
[INTERNAL] Writes out the translation to the given COLLADA XML tree node.
Implements FCDTransform. |