domTriangles Class Reference

#include <domTriangles.h>

Inheritance diagram for domTriangles:
Inheritance graph
[legend]

List of all members.

Public Member Functions

domUint getCount () const
domUint getCount () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domInput_local_offset_ArraygetInput_array () const
domInput_local_offset_ArraygetInput_array ()
const domInputLocalOffset_ArraygetInput_array () const
domInputLocalOffset_ArraygetInput_array ()
xsNCName getMaterial () const
xsNCName getMaterial () const
xsToken getName () const
xsNCName getName () const
const domPRef getP () const
const domPRef getP () const
void setCount (domUint atCount)
void setCount (domUint atCount)
void setMaterial (xsNCName atMaterial)
void setMaterial (xsNCName atMaterial)
void setName (xsToken atName)
void setName (xsNCName atName)
virtual daeInt typeID () const
virtual daeInt typeID () const

Static Public Member Functions

static DLLSPEC daeElementRef create (DAE &dae)
static DLLSPEC daeElementRef create (DAE &dae)
static daeInt ID ()
static daeInt ID ()
static DLLSPEC daeMetaElementregisterElement (DAE &dae)
static DLLSPEC daeMetaElementregisterElement (DAE &dae)

Protected Member Functions

 domTriangles (DAE &dae)
 domTriangles (DAE &dae)
virtual domTrianglesoperator= (const domTriangles &cpy)
virtual domTrianglesoperator= (const domTriangles &cpy)
virtual ~domTriangles ()
virtual ~domTriangles ()

Protected Attributes

domUint attrCount
xsNCName attrMaterial
xsToken attrName
xsNCName attrName
domExtra_Array elemExtra_array
domInput_local_offset_Array elemInput_array
domInputLocalOffset_Array elemInput_array
domPRef elemP

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

static DLLSPEC daeElementRef domTriangles::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
static DLLSPEC daeElementRef domTriangles::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
domUint domTriangles::getCount (  )  const [inline]

Gets the count attribute.

Returns:
Returns a domUint of the count attribute.

Definition at line 75 of file dom/domTriangles.h.

domUint domTriangles::getCount (  )  const [inline]

Gets the count attribute.

Returns:
Returns a domUint of 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.

Returns:
Returns a constant reference to the array of extra elements.

Definition at line 117 of file dom/domTriangles.h.

domExtra_Array& domTriangles::getExtra_array (  )  [inline]

Gets the extra element array.

Returns:
Returns a reference to the array of extra elements.

Definition at line 112 of file dom/domTriangles.h.

const domExtra_Array& domTriangles::getExtra_array (  )  const [inline]

Gets the extra element array.

Returns:
Returns a constant reference to the array of extra elements.

Definition at line 125 of file 1.4/dom/domTriangles.h.

domExtra_Array& domTriangles::getExtra_array (  )  [inline]

Gets the extra element array.

Returns:
Returns a reference to the array of extra elements.

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.

Returns:
Returns a constant reference to the array of input elements.

Definition at line 102 of file dom/domTriangles.h.

domInput_local_offset_Array& domTriangles::getInput_array (  )  [inline]

Gets the input element array.

Returns:
Returns a reference to the array of input elements.

Definition at line 97 of file dom/domTriangles.h.

const domInputLocalOffset_Array& domTriangles::getInput_array (  )  const [inline]

Gets the input element array.

Returns:
Returns a constant reference to the array of input elements.

Definition at line 110 of file 1.4/dom/domTriangles.h.

domInputLocalOffset_Array& domTriangles::getInput_array (  )  [inline]

Gets the input element array.

Returns:
Returns a reference to the array of input elements.

Definition at line 105 of file 1.4/dom/domTriangles.h.

xsNCName domTriangles::getMaterial (  )  const [inline]

Gets the material attribute.

Returns:
Returns a xsNCName of the material attribute.

Definition at line 86 of file dom/domTriangles.h.

xsNCName domTriangles::getMaterial (  )  const [inline]

Gets the material attribute.

Returns:
Returns a xsNCName of the material attribute.

Definition at line 94 of file 1.4/dom/domTriangles.h.

xsToken domTriangles::getName (  )  const [inline]

Gets the name attribute.

Returns:
Returns a xsToken of the name attribute.

Definition at line 64 of file dom/domTriangles.h.

xsNCName domTriangles::getName (  )  const [inline]

Gets the name attribute.

Returns:
Returns a xsNCName of the name attribute.

Definition at line 72 of file 1.4/dom/domTriangles.h.

const domPRef domTriangles::getP (  )  const [inline]

Gets the p element.

Returns:
a daeSmartRef to the p element.

Definition at line 107 of file dom/domTriangles.h.

const domPRef domTriangles::getP (  )  const [inline]

Gets the p element.

Returns:
a daeSmartRef to 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.

Returns:
A daeMetaElement describing this COLLADA element.
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.

Returns:
A daeMetaElement describing this COLLADA element.
void domTriangles::setCount ( domUint  atCount  )  [inline]

Sets the count attribute.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Returns:
The element's type 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.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 33 of file 1.4/dom/domTriangles.h.


Member Data Documentation

The count attribute indicates the number of triangle primitives. Required attribute.

Definition at line 43 of file 1.4/dom/domTriangles.h.

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.

The name attribute is the text string name of this element. Optional attribute.

Definition at line 30 of file dom/domTriangles.h.

The name attribute is the text string name of this element. Optional attribute.

Definition at line 38 of file 1.4/dom/domTriangles.h.

The extra element may appear any number of times.

See also:
domExtra

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.

See also:
domInput

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.

See also:
domInput

Definition at line 57 of file 1.4/dom/domTriangles.h.

The triangles element may have any number of p elements.

See also:
domP

The triangles element may have zero or one p element.

See also:
domP

Definition at line 61 of file 1.4/dom/domTriangles.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:31:58 2013