COLLADA 1.4 DOM: domLines::domP Class Reference

COLLADA

domLines::domP Class Reference

#include <domLines.h>

Inheritance diagram for domLines::domP:

Inheritance graph
[legend]
Collaboration diagram for domLines::domP:

Collaboration graph
[legend]
List of all members.

Detailed Description

Primitive element.

Every two indices form a line. Each p element contains indices that reference into the source elements. These indices are position dependent and reference the contents of the source elements according to the order of the input elements. Here is an example of this: The first index references the first unique input element; the second index references the second unique input element, and so on. This is a simple form of compression that reduces the number of indices required in each p element. The input elements are uniquely identified by their idx attribute values. A complete sampling of a single vertex is completed by gathering one value from each input using the associated index in the p element.

Public Member Functions

domListOfIntsgetValue ()
 Gets the _value array.
const domListOfIntsgetValue () const
 Gets the _value array.
void setValue (const domListOfInts &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

 domP ()
 Constructor.
virtual ~domP ()
 Destructor.
 domP (const domP &cpy)
 Copy Constructor.
virtual domPoperator= (const domP &cpy)
 Overloaded assignment operator.

Protected Attributes

domListOfInts _value
 The domListOfInts value of the text data of this element.

Member Function Documentation

daeElementRef domLines::domP::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.

const domListOfInts& domLines::domP::getValue  )  const [inline]
 

Gets the _value array.

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

domListOfInts& domLines::domP::getValue  )  [inline]
 

Gets the _value array.

Returns:
Returns a domListOfInts reference of the _value array.

daeMetaElement * domLines::domP::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 domLines::domP::setValue const domListOfInts val  )  [inline]
 

Sets the _value array.

Parameters:
at The new value for the _value array.


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

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