#include <FCDTransform.h>
Inheritance diagram for FCDTLookAt:
Public Member Functions | |
FCDTLookAt (FCDocument *document, FCDSceneNode *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDTLookAt () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the transformation class type for the transformation. | |
FMVector3 & | GetPosition () |
Retrieves the viewer's position. | |
const FMVector3 & | GetPosition () const |
See above. | |
void | SetPosition (const FMVector3 &pos) |
Sets the viewer's position. | |
void | SetPosition (float x, float y, float z) |
Sets the viewer's position. | |
FMVector3 & | GetTarget () |
Retrieves the position that the viewer is looking at. | |
const FMVector3 & | GetTarget () const |
See above. | |
void | SetTarget (const FMVector3 &_target) |
Sets the position that the viewer is looking at. | |
void | SetTarget (float x, float y, float z) |
Sets the position that the viewer is looking at. | |
FMVector3 & | GetUp () |
Retrieves the viewer's up-vector. | |
const FMVector3 & | GetUp () const |
See above. | |
void | SetUp (const FMVector3 &_up) |
Sets the viewer's up-vector. | |
void | SetUp (float x, float y, float z) |
Sets the viewer's up-vector. | |
virtual FMMatrix44 | ToMatrix () const |
Converts the transformation into a matrix. | |
virtual bool | IsAnimated () const |
Retrieves whether the transformation is animated. | |
virtual FCDAnimated * | GetAnimated () |
Retrieves the animated element for the transformation matrix. | |
virtual FCDTransform * | Clone (FCDSceneNode *newParent) |
Creates a copy of the transformation. | |
virtual FUStatus | LoadFromXML (xmlNode *lookAtNode) |
[INTERNAL] Reads in the transformation from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the transformation to the given COLLADA XML tree node. |
This transformation type fully defines a position and an orientation with a 3D world by using three 3D vectors: the viewer's position, the position that the viewer is looking at, and the up-vector for camera rolls.
|
Constructor: do not use directly. Instead, use the FCDSceneNode::AddTransform function with the transformation type: LOOKAT.
|
|
Destructor: do not use directly. Instead, use the FCDSceneNode::ReleaseTransform function. |
|
Creates a copy of the transformation.
Implements FCDTransform. |
|
Retrieves the animated element for the transformation matrix.
Implements FCDTransform. |
|
Retrieves the viewer's position.
|
|
Retrieves the position that the viewer is looking at.
|
|
Retrieves the transformation class type for the transformation.
Implements FCDTransform. |
|
Retrieves the viewer's up-vector.
|
|
Retrieves whether the transformation is animated.
Implements FCDTransform. |
|
[INTERNAL] Reads in the transformation from a given COLLADA XML tree node.
Implements FCDTransform. |
|
Sets the viewer's position.
|
|
Sets the viewer's position.
|
|
Sets the position that the viewer is looking at.
|
|
Sets the position that the viewer is looking at.
|
|
Sets the viewer's up-vector.
|
|
Sets the viewer's up-vector.
|
|
Converts the transformation into a matrix.
Implements FCDTransform. |
|
[INTERNAL] Writes out the transformation to the given COLLADA XML tree node.
Implements FCDTransform. |