domLookat Class Reference
#include <domLookat.h>
Inheritance diagram for domLookat:
Detailed Description
The lookat element contains a position and orientation transformation suitable for aiming a camera.Positioning and orienting a camera or object in the scene is often complicated when using a matrix. A lookat transform is an intuitive way to specify an eye position, interest point, and orientation. The lookat element contains a list of 9 floating-point values. As in the OpenGL® Utilities (GLU) implementation, these values are organized into three vectors as follows: * Eye position is given as Px, Py, Pz. * Interest point is given as Ix, Iy, Iz. * Up-axis direction is given as UPx, UPy, UPz. When computing the equivalent (viewing) matrix the interest point is mapped to the negative Z-axis and the eye position to the origin. The up-axis is mapped to the positive Y-axis of the viewing plane. The values are specified in local, object coordinates.
Public Member Functions | |
xsNCName | getSid () const |
Gets the sid attribute. | |
void | setSid (xsNCName atSid) |
Sets the sid attribute. | |
domFloat3x3 & | getValue () |
Gets the _value array. | |
const domFloat3x3 & | getValue () const |
Gets the _value array. | |
void | setValue (const domFloat3x3 &val) |
Sets the _value array. | |
Static Public Member Functions | |
static daeElementRef | create (daeInt bytes) |
Creates an instance of this class and returns a daeElementRef referencing it. | |
static daeMetaElement * | registerElement () |
Creates a daeMetaElement object that describes this element in the meta object reflection framework. | |
Static Public Attributes | |
static daeMetaElement * | _Meta = NULL |
The daeMetaElement that describes this element in the meta object reflection framework. | |
Protected Member Functions | |
domLookat () | |
Constructor. | |
virtual | ~domLookat () |
Destructor. | |
domLookat (const domLookat &cpy) | |
Copy Constructor. | |
virtual domLookat & | operator= (const domLookat &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
xsNCName | attrSid |
The sid attribute is a text string value containing the sub-identifier of this element. | |
domFloat3x3 | _value |
The domFloat3x3 value of the text data of this element. |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the sid attribute.
|
|
Gets the _value array.
|
|
Gets the _value array.
|
|
Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
Sets the sid attribute.
|
|
Sets the _value array.
|
Member Data Documentation
|
The sid attribute is a text string value containing the sub-identifier of this element. This value must be unique within the scope of the parent element. Optional attribute. |
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domLookat.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domLookat.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:48:58 2006 for COLLADA 1.4 DOM by 1.4.3