COLLADA 1.4 DOM: domScale Class Reference

COLLADA

domScale Class Reference

#include <domScale.h>

Inheritance diagram for domScale:

Inheritance graph
[legend]
Collaboration diagram for domScale:

Collaboration graph
[legend]
List of all members.

Detailed Description

The scale element contains a mathematical vector that represents the relative proportions of the X, Y and Z axes of a coordinated system.

Scaling changes the size of objects in a coordinated system without any rotation or translation. Computer graphics techniques apply a scale transformation in order to change the size or proportions of values with respect to a coordinate system axis. The scale element contains a list of three floating-point values. These values are organized into a column vector suitable for 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

 domScale ()
 Constructor.
virtual ~domScale ()
 Destructor.
 domScale (const domScale &cpy)
 Copy Constructor.
virtual domScaleoperator= (const domScale &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 domScale::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 domScale::getSid  )  const [inline]
 

Gets the sid attribute.

Returns:
Returns a xsNCName of the sid attribute.

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

Gets the _value array.

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

domFloat3& domScale::getValue  )  [inline]
 

Gets the _value array.

Returns:
Returns a domFloat3 reference of the _value array.

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

Sets the sid attribute.

Parameters:
atSid The new value for the sid attribute.

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

Sets the _value array.

Parameters:
atSid The new value for the _value array.


Member Data Documentation

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

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