COLLADA 1.4 DOM: domVertices Class Reference

COLLADA

domVertices Class Reference

#include <domVertices.h>

Inheritance diagram for domVertices:

Inheritance graph
[legend]
Collaboration diagram for domVertices:

Collaboration graph
[legend]
List of all members.

Detailed Description

The vertices element declares the attributes and identity of mesh-vertices.

The vertices element describes mesh-vertices in a mesh geometry or skin controller. The mesh vertices represent the position (identity) of the vertices comprising the mesh and other vertex attributes that are invariant to tessellation.

Public Types

typedef daeSmartRef< domInputdomInputRef
typedef daeTArray< domInputRefdomInput_Array

Public Member Functions

xsID getId () const
 Gets the id attribute.
void setId (xsID atId)
 Sets the id attribute.
xsNCName getName () const
 Gets the name attribute.
void setName (xsNCName atName)
 Sets the name attribute.
xsNonNegativeInteger getCount () const
 Gets the count attribute.
void setCount (xsNonNegativeInteger atCount)
 Sets the count attribute.
domInput_ArraygetInput_array ()
 Gets the input element array.
const domInput_ArraygetInput_array () const
 Gets the input element 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

 domVertices ()
 Constructor.
virtual ~domVertices ()
 Destructor.
 domVertices (const domVertices &cpy)
 Copy Constructor.
virtual domVerticesoperator= (const domVertices &cpy)
 Overloaded assignment operator.

Protected Attributes

xsID attrId
 The id attribute is a text string containing the unique identifier of the vertices element.
xsNCName attrName
 The name attribute is the text string name of this element.
xsNonNegativeInteger attrCount
 The count attribute indicates the number of value elements.
domInput_Array elemInput_array
 The input element must occur one or more times.

Classes

class  domInput
 The input element must occur one or more times. More...

Member Function Documentation

daeElementRef domVertices::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.

xsNonNegativeInteger domVertices::getCount  )  const [inline]
 

Gets the count attribute.

Returns:
Returns a xsNonNegativeInteger of the count attribute.

xsID domVertices::getId  )  const [inline]
 

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

const domInput_Array& domVertices::getInput_array  )  const [inline]
 

Gets the input element array.

Returns:
Returns a constant reference to the array of input elements.

domInput_Array& domVertices::getInput_array  )  [inline]
 

Gets the input element array.

Returns:
Returns a reference to the array of input elements.

xsNCName domVertices::getName  )  const [inline]
 

Gets the name attribute.

Returns:
Returns a xsNCName of the name attribute.

daeMetaElement * domVertices::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 domVertices::setCount xsNonNegativeInteger  atCount  )  [inline]
 

Sets the count attribute.

Parameters:
atCount The new value for the count attribute.

void domVertices::setId xsID  atId  )  [inline]
 

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

void domVertices::setName xsNCName  atName  )  [inline]
 

Sets the name attribute.

Parameters:
atName The new value for the name attribute.


Member Data Documentation

xsNonNegativeInteger domVertices::attrCount [protected]
 

The count attribute indicates the number of value elements.

Optional attribute.

xsID domVertices::attrId [protected]
 

The id attribute is a text string containing the unique identifier of the vertices element.

This value must be unique within the instance document. Optional attribute.

xsNCName domVertices::attrName [protected]
 

The name attribute is the text string name of this element.

Optional attribute.

domInput_Array domVertices::elemInput_array [protected]
 

The input element must occur one or more times.

One input must have the semantic attribute value of 'POSITION' to establish the topological identity of each vertex in the mesh. An input element may have a semantic attribute whose value is COLOR. These color inputs are RGB vectors (float3). The input element must not have the idx attribute when it is the child of a vertices element.

See also:
domInput


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domVertices.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domVertices.cpp

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