#include <domTriangles.h>
The triangles element provides the information needed to bind vertex attributes together and then organize those vertices into individual triangles.Each triangle described by the mesh has three vertices. The first triangle is formed from the first, second, and third vertices. The second triangle is formed from the fourth, fifth, and sixth vertices, and so on.
Definition at line 28 of file 1.4/dom/domTriangles.h.
domTriangles::domTriangles | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 130 of file 1.4/dom/domTriangles.h.
virtual domTriangles::~domTriangles | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 134 of file 1.4/dom/domTriangles.h.
domTriangles::domTriangles | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 122 of file dom/domTriangles.h.
virtual domTriangles::~domTriangles | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 126 of file dom/domTriangles.h.
static DLLSPEC daeElementRef domTriangles::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
static DLLSPEC daeElementRef domTriangles::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
domUint domTriangles::getCount | ( | ) | const [inline] |
Gets the count attribute.
Definition at line 75 of file dom/domTriangles.h.
domUint domTriangles::getCount | ( | ) | const [inline] |
Gets the count attribute.
Definition at line 83 of file 1.4/dom/domTriangles.h.
virtual COLLADA_TYPE::TypeEnum domTriangles::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 23 of file dom/domTriangles.h.
virtual COLLADA_TYPE::TypeEnum domTriangles::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 31 of file 1.4/dom/domTriangles.h.
const domExtra_Array& domTriangles::getExtra_array | ( | ) | const [inline] |
Gets the extra element array.
Definition at line 117 of file dom/domTriangles.h.
domExtra_Array& domTriangles::getExtra_array | ( | ) | [inline] |
Gets the extra element array.
Definition at line 112 of file dom/domTriangles.h.
const domExtra_Array& domTriangles::getExtra_array | ( | ) | const [inline] |
Gets the extra element array.
Definition at line 125 of file 1.4/dom/domTriangles.h.
domExtra_Array& domTriangles::getExtra_array | ( | ) | [inline] |
Gets the extra element array.
Definition at line 120 of file 1.4/dom/domTriangles.h.
const domInput_local_offset_Array& domTriangles::getInput_array | ( | ) | const [inline] |
Gets the input element array.
Definition at line 102 of file dom/domTriangles.h.
domInput_local_offset_Array& domTriangles::getInput_array | ( | ) | [inline] |
Gets the input element array.
Definition at line 97 of file dom/domTriangles.h.
const domInputLocalOffset_Array& domTriangles::getInput_array | ( | ) | const [inline] |
Gets the input element array.
Definition at line 110 of file 1.4/dom/domTriangles.h.
domInputLocalOffset_Array& domTriangles::getInput_array | ( | ) | [inline] |
Gets the input element array.
Definition at line 105 of file 1.4/dom/domTriangles.h.
xsNCName domTriangles::getMaterial | ( | ) | const [inline] |
Gets the material attribute.
Definition at line 86 of file dom/domTriangles.h.
xsNCName domTriangles::getMaterial | ( | ) | const [inline] |
Gets the material attribute.
Definition at line 94 of file 1.4/dom/domTriangles.h.
xsToken domTriangles::getName | ( | ) | const [inline] |
Gets the name attribute.
Definition at line 64 of file dom/domTriangles.h.
xsNCName domTriangles::getName | ( | ) | const [inline] |
Gets the name attribute.
Definition at line 72 of file 1.4/dom/domTriangles.h.
const domPRef domTriangles::getP | ( | ) | const [inline] |
Gets the p element.
Definition at line 107 of file dom/domTriangles.h.
const domPRef domTriangles::getP | ( | ) | const [inline] |
Gets the p element.
Definition at line 115 of file 1.4/dom/domTriangles.h.
static daeInt domTriangles::ID | ( | ) | [inline, static] |
Definition at line 24 of file dom/domTriangles.h.
static daeInt domTriangles::ID | ( | ) | [inline, static] |
Definition at line 32 of file 1.4/dom/domTriangles.h.
virtual domTriangles& domTriangles::operator= | ( | const domTriangles & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 130 of file dom/domTriangles.h.
virtual domTriangles& domTriangles::operator= | ( | const domTriangles & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 138 of file 1.4/dom/domTriangles.h.
static DLLSPEC daeMetaElement* domTriangles::registerElement | ( | DAE & | dae | ) | [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.
static DLLSPEC daeMetaElement* domTriangles::registerElement | ( | DAE & | dae | ) | [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.
void domTriangles::setCount | ( | domUint | atCount | ) | [inline] |
Sets the count attribute.
atCount | The new value for the count attribute. |
Definition at line 80 of file dom/domTriangles.h.
void domTriangles::setCount | ( | domUint | atCount | ) | [inline] |
Sets the count attribute.
atCount | The new value for the count attribute. |
Definition at line 88 of file 1.4/dom/domTriangles.h.
void domTriangles::setMaterial | ( | xsNCName | atMaterial | ) | [inline] |
Sets the material attribute.
atMaterial | The new value for the material attribute. |
Definition at line 91 of file dom/domTriangles.h.
void domTriangles::setMaterial | ( | xsNCName | atMaterial | ) | [inline] |
Sets the material attribute.
atMaterial | The new value for the material attribute. |
Definition at line 99 of file 1.4/dom/domTriangles.h.
void domTriangles::setName | ( | xsToken | atName | ) | [inline] |
Sets the name attribute.
atName | The new value for the name attribute. |
Definition at line 69 of file dom/domTriangles.h.
void domTriangles::setName | ( | xsNCName | atName | ) | [inline] |
Sets the name attribute.
atName | The new value for the name attribute. |
Definition at line 77 of file 1.4/dom/domTriangles.h.
virtual daeInt domTriangles::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 25 of file dom/domTriangles.h.
virtual daeInt domTriangles::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 33 of file 1.4/dom/domTriangles.h.
domUint domTriangles::attrCount [protected] |
The count attribute indicates the number of triangle primitives. Required attribute.
Definition at line 43 of file 1.4/dom/domTriangles.h.
xsNCName domTriangles::attrMaterial [protected] |
The material attribute declares a symbol for a material. This symbol is bound to a material at the time of instantiation. Optional attribute. If the material attribute is not specified then the lighting and shading results are application defined.
Definition at line 50 of file 1.4/dom/domTriangles.h.
xsToken domTriangles::attrName [protected] |
The name attribute is the text string name of this element. Optional attribute.
Definition at line 30 of file dom/domTriangles.h.
xsNCName domTriangles::attrName [protected] |
The name attribute is the text string name of this element. Optional attribute.
Definition at line 38 of file 1.4/dom/domTriangles.h.
domExtra_Array domTriangles::elemExtra_array [protected] |
The extra element may appear any number of times.
Definition at line 65 of file 1.4/dom/domTriangles.h.
The input element may occur any number of times. This input is a local input with the offset and set attributes.
Definition at line 49 of file dom/domTriangles.h.
The input element may occur any number of times. This input is a local input with the offset and set attributes.
Definition at line 57 of file 1.4/dom/domTriangles.h.
domPRef domTriangles::elemP [protected] |
The triangles element may have any number of p elements.
The triangles element may have zero or one p element.
Definition at line 61 of file 1.4/dom/domTriangles.h.