domLines Class Reference
#include <domLines.h>
Inheritance diagram for domLines:
Detailed Description
The lines element declares the binding of geometric primitives and vertex attributes for a mesh element.The lines element provides the information needed to bind vertex attributes together and then organize those vertices into individual lines. The vertex array information is supplied in distinct attribute arrays of the mesh element that are then indexed by the lines element. Each line described by the mesh has two vertices. The first line is formed from first and second vertices. The second line is formed from the third and fourth vertices and so on. A lines element contains a sequence of p elements, where 'p' stands for primitive. Each p element describes the vertex attributes for an arbitrary number of individual lines.
Public Types | |
typedef daeSmartRef< domP > | domPRef |
typedef daeTArray< domPRef > | domP_Array |
Public Member Functions | |
xsNonNegativeInteger | getCount () const |
Gets the count attribute. | |
void | setCount (xsNonNegativeInteger atCount) |
Sets the count attribute. | |
xsAnyURI & | getMaterial () |
Gets the material attribute. | |
const xsAnyURI & | getMaterial () const |
Gets the material attribute. | |
void | setMaterial (const xsAnyURI &atMaterial) |
Sets the material attribute. | |
domParam_Array & | getParam_array () |
Gets the param element array. | |
const domParam_Array & | getParam_array () const |
Gets the param element array. | |
domInput_Array & | getInput_array () |
Gets the input element array. | |
const domInput_Array & | getInput_array () const |
Gets the input element array. | |
domP_Array & | getP_array () |
Gets the p element array. | |
const domP_Array & | getP_array () const |
Gets the p element 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 | |
domLines () | |
Constructor. | |
virtual | ~domLines () |
Destructor. | |
domLines (const domLines &cpy) | |
Copy Constructor. | |
virtual domLines & | operator= (const domLines &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
xsNonNegativeInteger | attrCount |
The count attribute indicates the number of line primitives. | |
xsAnyURI | attrMaterial |
The material attribute refers to the name of a material element, using a URL expression, bound to the lines. | |
domParam_Array | elemParam_array |
The param element may occur zero or more times. | |
domInput_Array | elemInput_array |
The input element may occur zero or more times. | |
domP_Array | elemP_array |
Primitive element. | |
Classes | |
class | domP |
Primitive element. More... |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the count attribute.
|
|
Gets the input element array.
|
|
Gets the input element array.
|
|
Gets the material attribute.
|
|
Gets the material attribute.
|
|
Gets the p element array.
|
|
Gets the p element array.
|
|
Gets the param element array.
|
|
Gets the param element 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 count attribute.
|
|
Sets the material attribute.
|
Member Data Documentation
|
The count attribute indicates the number of line primitives. Required attribute. |
|
The material attribute refers to the name of a material element, using a URL expression, bound to the lines. If the material attribute is not specified then the lighting and shading results are application defined. Optional attribute. |
|
The input element may occur zero or more times.
|
|
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.
|
|
The param element may occur zero or more times.
|
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:50 2006 for COLLADA 1.4 DOM by 1.4.3