COLLADA 1.4 DOM: domLinestrips::domP Class Reference

COLLADA

domLinestrips::domP Class Reference

#include <domLinestrips.h>

Inheritance diagram for domLinestrips::domP:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Primitive element.The first two indices form a line.Each subsequent index extends the line from the previous index.

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

Gets the _value array.

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

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

Gets the _value array.

Returns:
Returns a domListOfInts reference of the _value array.

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

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