COLLADA 1.4 DOM: domTristrips::domP Class Reference

COLLADA

domTristrips::domP Class Reference

#include <domTristrips.h>

Inheritance diagram for domTristrips::domP:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Primitive element.The 1st three indices form a triangle. Each subsequent index forms an additional triangle reusing the previous two indices.

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 domTristrips::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& domTristrips::domP::getValue  )  const [inline]
 

Gets the _value array.

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

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

Gets the _value array.

Returns:
Returns a domListOfInts reference of the _value array.

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

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