domPolygons::domP Class Reference
#include <domPolygons.h>
Inheritance diagram for domPolygons::domP:
Detailed Description
Primitive element.All the indices form a polygon.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 Types | |
typedef daeSmartRef< domH > | domHRef |
typedef daeTArray< domHRef > | domH_Array |
Public Member Functions | |
domH_Array & | getH_array () |
Gets the h element array. | |
const domH_Array & | getH_array () const |
Gets the h element array. | |
domListOfInts & | getValue () |
Gets the _value array. | |
const domListOfInts & | getValue () 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 daeMetaElement * | registerElement () |
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 domP & | operator= (const domP &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
domH_Array | elemH_array |
Contour Separator. | |
domListOfInts | _value |
The domListOfInts value of the text data of this element. | |
Classes | |
class | domH |
Contour Separator. More... |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the h element array.
|
|
Gets the h element array.
|
|
Gets the _value array.
|
|
Gets the _value array.
|
|
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.
|
|
Sets the _value array.
|
Member Data Documentation
|
Contour Separator. Primitives after this each describe a hole. A hole in the polygon is indicated by an h element that acts as a contour separator. Any indices following the h element describe the hole, up to the next h element, or the close of the p element. Consequently, h elements are the last data inside a p element.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domPolygons.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domPolygons.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:32 2006 for COLLADA 1.4 DOM by 1.4.3