COLLADA 1.4 DOM: domTranslate Class Reference

COLLADA

domTranslate Class Reference

#include <domTranslate.h>

Inheritance diagram for domTranslate:

Inheritance graph
[legend]
Collaboration diagram for domTranslate:

Collaboration graph
[legend]
List of all members.

Detailed Description

The translate element contains a mathematical vector that represents the distance along the X, Y and Z-axes.

Translations change the position of objects in a coordinate system without any rotation. Computer graphics techniques apply a translation transformation in order to position or, move values with respect to a coordinate system. Conversely, translation means to move the origin of the local coordinate system. The translate element contains a list of three floating-point values. These values are organized into a column vector suitable for a matrix composition.

Public Member Functions

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

 domTranslate ()
 Constructor.
virtual ~domTranslate ()
 Destructor.
 domTranslate (const domTranslate &cpy)
 Copy Constructor.
virtual domTranslateoperator= (const domTranslate &cpy)
 Overloaded assignment operator.

Protected Attributes

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

Member Function Documentation

daeElementRef domTranslate::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 domTranslate::getSid  )  const [inline]
 

Gets the sid attribute.

Returns:
Returns a xsNCName of the sid attribute.

const domFloat3& domTranslate::getValue  )  const [inline]
 

Gets the _value array.

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

domFloat3& domTranslate::getValue  )  [inline]
 

Gets the _value array.

Returns:
Returns a domFloat3 reference of the _value array.

daeMetaElement * domTranslate::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 domTranslate::setSid xsNCName  atSid  )  [inline]
 

Sets the sid attribute.

Parameters:
atSid The new value for the sid attribute.

void domTranslate::setValue const domFloat3 val  )  [inline]
 

Sets the _value array.

Parameters:
atSid The new value for the _value array.


Member Data Documentation

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

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