COLLADA 1.4 DOM: domRotate Class Reference

COLLADA

domRotate Class Reference

#include <domRotate.h>

Inheritance diagram for domRotate:

Inheritance graph
[legend]
Collaboration diagram for domRotate:

Collaboration graph
[legend]
List of all members.

Detailed Description

The rotate element contains an angle and a mathematical vector that represents the axis of rotation.

Rotations change the orientation of objects in a coordinated system without any translation. Computer graphics techniques apply a rotational transformation in order to orient or otherwise move values with respect to a coordinated system. Conversely, rotation can mean the translation of the coordinated axes about the local origin. The rotate element contains a list of four floating-point values, similar to rotations in the OpenGL® and RenderMan® specification. These values are organized into a column vector [ X, Y, Z ] specifying the axis of rotation and an angle in degrees.

Public Member Functions

xsNCName getSid () const
 Gets the sid attribute.
void setSid (xsNCName atSid)
 Sets the sid attribute.
domFloat4getValue ()
 Gets the _value array.
const domFloat4getValue () const
 Gets the _value array.
void setValue (const domFloat4 &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 daeMetaElementregisterElement ()
 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

 domRotate ()
 Constructor.
virtual ~domRotate ()
 Destructor.
 domRotate (const domRotate &cpy)
 Copy Constructor.
virtual domRotateoperator= (const domRotate &cpy)
 Overloaded assignment operator.

Protected Attributes

xsNCName attrSid
 The sid attribute is a text string value containing the sub-identifier of this element.
domFloat4 _value
 The domFloat4 value of the text data of this element.

Member Function Documentation

daeElementRef domRotate::create daeInt  bytes  )  [static]
 

Creates an instance of this class and returns a daeElementRef referencing it.

Parameters:
bytes The size allocated for this instance.
Returns:
a daeElementRef referencing an instance of this object.

xsNCName domRotate::getSid  )  const [inline]
 

Gets the sid attribute.

Returns:
Returns a xsNCName of the sid attribute.

const domFloat4& domRotate::getValue  )  const [inline]
 

Gets the _value array.

Returns:
Returns a constant domFloat4 reference of the _value array.

domFloat4& domRotate::getValue  )  [inline]
 

Gets the _value array.

Returns:
Returns a domFloat4 reference of the _value array.

daeMetaElement * domRotate::registerElement  )  [static]
 

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.

Returns:
A daeMetaElement describing this COLLADA element.

void domRotate::setSid xsNCName  atSid  )  [inline]
 

Sets the sid attribute.

Parameters:
atSid The new value for the sid attribute.

void domRotate::setValue const domFloat4 val  )  [inline]
 

Sets the _value array.

Parameters:
atSid The new value for the _value array.


Member Data Documentation

xsNCName domRotate::attrSid [protected]
 

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/domRotate.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domRotate.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:39 2006 for COLLADA 1.4 DOM by doxygen 1.4.3