COLLADA 1.4 DOM: domVertices::domInput Class Reference

COLLADA

domVertices::domInput Class Reference

#include <domVertices.h>

Inheritance diagram for domVertices::domInput:

Inheritance graph
[legend]
Collaboration diagram for domVertices::domInput:

Collaboration graph
[legend]
List of all members.

Detailed Description

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.

Public Member Functions

xsNMTOKEN getSemantic () const
 Gets the semantic attribute.
void setSemantic (xsNMTOKEN atSemantic)
 Sets the semantic attribute.
xsAnyURIgetSource ()
 Gets the source attribute.
const xsAnyURIgetSource () const
 Gets the source attribute.
void setSource (const xsAnyURI &atSource)
 Sets the source attribute.

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

 domInput ()
 Constructor.
virtual ~domInput ()
 Destructor.
 domInput (const domInput &cpy)
 Copy Constructor.
virtual domInputoperator= (const domInput &cpy)
 Overloaded assignment operator.

Protected Attributes

xsNMTOKEN attrSemantic
 The semantic attribute is the user-defined meaning of the input connection.
xsAnyURI attrSource
 The source attribute indicates the location of the data source.

Member Function Documentation

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

xsNMTOKEN domVertices::domInput::getSemantic  )  const [inline]
 

Gets the semantic attribute.

Returns:
Returns a xsNMTOKEN of the semantic attribute.

const xsAnyURI& domVertices::domInput::getSource  )  const [inline]
 

Gets the source attribute.

Returns:
Returns a constant xsAnyURI reference of the source attribute.

xsAnyURI& domVertices::domInput::getSource  )  [inline]
 

Gets the source attribute.

Returns:
Returns a xsAnyURI reference of the source attribute.

daeMetaElement * domVertices::domInput::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::domInput::setSemantic xsNMTOKEN  atSemantic  )  [inline]
 

Sets the semantic attribute.

Parameters:
atSemantic The new value for the semantic attribute.

void domVertices::domInput::setSource const xsAnyURI atSource  )  [inline]
 

Sets the source attribute.

Parameters:
atSource The new value for the source attribute.


Member Data Documentation

xsNMTOKEN domVertices::domInput::attrSemantic [protected]
 

The semantic attribute is the user-defined meaning of the input connection.

Required attribute.

xsAnyURI domVertices::domInput::attrSource [protected]
 

The source attribute indicates the location of the data source.

Required attribute.


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:46 2006 for COLLADA 1.4 DOM by doxygen 1.4.3