domMaterial Class Reference

#include <domMaterial.h>

Inheritance diagram for domMaterial:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const domAssetRef getAsset () const
const domAssetRef getAsset () 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 ()
xsID getId () const
xsID getId () const
const domInstance_effectRef getInstance_effect () const
const domInstance_effectRef getInstance_effect () const
xsToken getName () const
xsNCName getName () const
void setId (xsID atId)
void setId (xsID atId)
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

 domMaterial (DAE &dae)
 domMaterial (DAE &dae)
virtual domMaterialoperator= (const domMaterial &cpy)
virtual domMaterialoperator= (const domMaterial &cpy)
virtual ~domMaterial ()
virtual ~domMaterial ()

Protected Attributes

xsID attrId
xsToken attrName
xsNCName attrName
domAssetRef elemAsset
domExtra_Array elemExtra_array
domInstance_effectRef elemInstance_effect

Detailed Description

Materials describe the visual appearance of a geometric object.

Definition at line 24 of file 1.4/dom/domMaterial.h.


Constructor & Destructor Documentation

domMaterial::domMaterial ( DAE dae  )  [inline, protected]

Constructor

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

virtual domMaterial::~domMaterial (  )  [inline, protected, virtual]

Destructor

Definition at line 109 of file 1.4/dom/domMaterial.h.

domMaterial::domMaterial ( DAE dae  )  [inline, protected]

Constructor

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

virtual domMaterial::~domMaterial (  )  [inline, protected, virtual]

Destructor

Definition at line 101 of file dom/domMaterial.h.


Member Function Documentation

static DLLSPEC daeElementRef domMaterial::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 domMaterial::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.
const domAssetRef domMaterial::getAsset (  )  const [inline]

Gets the asset element.

Returns:
a daeSmartRef to the asset element.

Definition at line 77 of file dom/domMaterial.h.

const domAssetRef domMaterial::getAsset (  )  const [inline]

Gets the asset element.

Returns:
a daeSmartRef to the asset element.

Definition at line 85 of file 1.4/dom/domMaterial.h.

virtual COLLADA_TYPE::TypeEnum domMaterial::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 19 of file dom/domMaterial.h.

virtual COLLADA_TYPE::TypeEnum domMaterial::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 27 of file 1.4/dom/domMaterial.h.

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

Gets the extra element array.

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

Definition at line 92 of file dom/domMaterial.h.

domExtra_Array& domMaterial::getExtra_array (  )  [inline]

Gets the extra element array.

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

Definition at line 87 of file dom/domMaterial.h.

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

Gets the extra element array.

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

Definition at line 100 of file 1.4/dom/domMaterial.h.

domExtra_Array& domMaterial::getExtra_array (  )  [inline]

Gets the extra element array.

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

Definition at line 95 of file 1.4/dom/domMaterial.h.

xsID domMaterial::getId (  )  const [inline]

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

Definition at line 53 of file dom/domMaterial.h.

xsID domMaterial::getId (  )  const [inline]

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

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

const domInstance_effectRef domMaterial::getInstance_effect (  )  const [inline]

Gets the instance_effect element.

Returns:
a daeSmartRef to the instance_effect element.

Definition at line 82 of file dom/domMaterial.h.

const domInstance_effectRef domMaterial::getInstance_effect (  )  const [inline]

Gets the instance_effect element.

Returns:
a daeSmartRef to the instance_effect element.

Definition at line 90 of file 1.4/dom/domMaterial.h.

xsToken domMaterial::getName (  )  const [inline]

Gets the name attribute.

Returns:
Returns a xsToken of the name attribute.

Definition at line 66 of file dom/domMaterial.h.

xsNCName domMaterial::getName (  )  const [inline]

Gets the name attribute.

Returns:
Returns a xsNCName of the name attribute.

Definition at line 74 of file 1.4/dom/domMaterial.h.

static daeInt domMaterial::ID (  )  [inline, static]

Definition at line 20 of file dom/domMaterial.h.

static daeInt domMaterial::ID (  )  [inline, static]

Definition at line 28 of file 1.4/dom/domMaterial.h.

virtual domMaterial& domMaterial::operator= ( const domMaterial cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 105 of file dom/domMaterial.h.

virtual domMaterial& domMaterial::operator= ( const domMaterial cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 113 of file 1.4/dom/domMaterial.h.

static DLLSPEC daeMetaElement* domMaterial::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* domMaterial::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 domMaterial::setId ( xsID  atId  )  [inline]

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

Definition at line 58 of file dom/domMaterial.h.

void domMaterial::setId ( xsID  atId  )  [inline]

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

Definition at line 66 of file 1.4/dom/domMaterial.h.

void domMaterial::setName ( xsToken  atName  )  [inline]

Sets the name attribute.

Parameters:
atName The new value for the name attribute.

Definition at line 71 of file dom/domMaterial.h.

void domMaterial::setName ( xsNCName  atName  )  [inline]

Sets the name attribute.

Parameters:
atName The new value for the name attribute.

Definition at line 79 of file 1.4/dom/domMaterial.h.

virtual daeInt domMaterial::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 21 of file dom/domMaterial.h.

virtual daeInt domMaterial::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 29 of file 1.4/dom/domMaterial.h.


Member Data Documentation

The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.

Definition at line 36 of file 1.4/dom/domMaterial.h.

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

Definition at line 32 of file dom/domMaterial.h.

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

Definition at line 40 of file 1.4/dom/domMaterial.h.

The material element may contain an asset element.

See also:
domAsset

Definition at line 46 of file 1.4/dom/domMaterial.h.

The extra element may appear any number of times.

See also:
domExtra

Definition at line 54 of file 1.4/dom/domMaterial.h.

The material must instance an effect.

See also:
domInstance_effect

Definition at line 50 of file 1.4/dom/domMaterial.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:40 2013