#include <FCDTransform.h>
Inheritance diagram for FCDTSkew:
Public Member Functions | |
FCDTSkew (FCDocument *document, FCDSceneNode *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDTSkew () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the transformation class type for the transformation. | |
const FMVector3 & | GetRotateAxis () const |
Retrieves the axis which is rotated. | |
void | SetRotateAxis (const FMVector3 &axis) |
Sets the axis which is rotated. | |
const FMVector3 & | GetAroundAxis () const |
Retrieves the axis around which the rotation is done. | |
void | SetAroundAxis (const FMVector3 &axis) |
Sets the axis around which the rotation is done. | |
const float & | GetAngle () |
Retrieves the rotation angle. | |
void | SetAngle (float _angle) |
Sets the rotation angle. | |
virtual FMMatrix44 | ToMatrix () const |
Converts the skew into a matrix. | |
virtual bool | IsAnimated () const |
Retrieves whether the transformation is animated. | |
virtual FCDAnimated * | GetAnimated () |
Retrieves the animated element for the skew. | |
virtual FCDTransform * | Clone (FCDSceneNode *newParent) |
Creates a copy of the skew. | |
virtual FUStatus | LoadFromXML (xmlNode *skewNode) |
[INTERNAL] Reads in the skew from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the skew to the given COLLADA XML tree node. |
In COLLADA, the skew transformation follows the Renderman convention. A skew is defined by two axis and one angle: the axis which is rotated, the axis around which the rotation is done and the angle of the rotation.
|
Constructor: do not use directly. Instead, use the FCDSceneNode::AddTransform function with the transformation type: SKEW.
|
|
Destructor: do not use directly. Instead, use the FCDSceneNode::ReleaseTransform function. |
|
Creates a copy of the skew.
Implements FCDTransform. |
|
Retrieves the rotation angle.
|
|
Retrieves the animated element for the skew.
Implements FCDTransform. |
|
Retrieves the axis around which the rotation is done.
|
|
Retrieves the axis which is rotated.
|
|
Retrieves the transformation class type for the transformation.
Implements FCDTransform. |
|
Retrieves whether the transformation is animated.
Implements FCDTransform. |
|
[INTERNAL] Reads in the skew from a given COLLADA XML tree node.
Implements FCDTransform. |
|
Sets the rotation angle.
|
|
Sets the axis around which the rotation is done.
|
|
Sets the axis which is rotated.
|
|
Converts the skew into a matrix.
Implements FCDTransform. |
|
[INTERNAL] Writes out the skew to the given COLLADA XML tree node.
Implements FCDTransform. |