#include <FCDTransform.h>
Inheritance diagram for FCDTRotation:
Public Member Functions | |
FCDTRotation (FCDocument *document, FCDSceneNode *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDTRotation () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the transformation class type for the rotation. | |
FMVector3 & | GetAxis () |
Retrieves the rotation axis. | |
const FMVector3 & | GetAxis () const |
See above. | |
void | SetAxis (const FMVector3 &_axis) |
Sets the rotation axis. | |
void | SetAxis (float x, float y, float z) |
Sets the rotation axis. | |
float & | GetAngle () |
Retrieves the rotation angle. | |
const float & | GetAngle () const |
See above. | |
void | SetAngle (float a) |
Sets the rotation angle. | |
void | SetRotation (const FMVector3 &_axis, float a) |
Sets the rotation components. | |
virtual FMMatrix44 | ToMatrix () const |
Converts the rotation into a matrix. | |
virtual bool | IsAnimated () const |
Retrieves whether the axis or the angle of the rotation are animated. | |
virtual FCDAnimated * | GetAnimated () |
Retrieves the animated element for the angle-axis rotation. | |
virtual bool | IsInverse (const FCDTransform *transform) const |
Retrieves whether a given transform is the exact opposite of this rotation. | |
virtual FCDTransform * | Clone (FCDSceneNode *newParent) |
Creates a copy of the angle-axis rotation. | |
virtual FUStatus | LoadFromXML (xmlNode *rotationNode) |
[INTERNAL] Reads in the rotation from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the rotation to the given COLLADA XML tree node. |
This rotation defines an axis around which the 3D points are rotated by a given angle.
|
Constructor: do not use directly. Instead, use the FCDSceneNode::AddTransform function with the transformation type: ROTATION.
|
|
Destructor: do not use directly. Instead, use the FCDSceneNode::ReleaseTransform function. |
|
Creates a copy of the angle-axis rotation.
Implements FCDTransform. |
|
Retrieves the rotation angle. This angle may be animated.
|
|
Retrieves the animated element for the angle-axis rotation.
Implements FCDTransform. |
|
Retrieves the rotation axis. This 3D vector may be animated.
|
|
Retrieves the transformation class type for the rotation.
Implements FCDTransform. |
|
Retrieves whether the axis or the angle of the rotation are animated.
Implements FCDTransform. |
|
Retrieves whether a given transform is the exact opposite of this rotation. The opposite of an angle-axis rotation has the same axis as this rotation but the angle is multiplied by -1.
Reimplemented from FCDTransform. |
|
[INTERNAL] Reads in the rotation from a given COLLADA XML tree node.
Implements FCDTransform. |
|
Sets the rotation angle.
|
|
Sets the rotation axis.
|
|
Sets the rotation axis.
|
|
Sets the rotation components.
|
|
Converts the rotation into a matrix.
Implements FCDTransform. |
|
[INTERNAL] Writes out the rotation to the given COLLADA XML tree node.
Implements FCDTransform. |