domProfile_common::domTechnique Class Reference

#include <domProfile_common.h>

Inheritance diagram for domProfile_common::domTechnique:
Inheritance graph
[legend]

List of all members.

Classes

class  domBlinn
class  domConstant
class  domLambert
class  domPhong

Public Types

typedef daeTArray< domBlinnRefdomBlinn_Array
typedef daeSmartRef< domBlinndomBlinnRef
typedef daeTArray< domConstantRefdomConstant_Array
typedef daeSmartRef< domConstantdomConstantRef
typedef daeTArray< domLambertRefdomLambert_Array
typedef daeSmartRef< domLambertdomLambertRef
typedef daeTArray< domPhongRefdomPhong_Array
typedef daeSmartRef< domPhongdomPhongRef

Public Member Functions

const domAssetRef getAsset () const
const domBlinnRef getBlinn () const
const domConstantRef getConstant () const
const daeElementRefArraygetContents () const
daeElementRefArraygetContents ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
xsID getId () const
const domLambertRef getLambert () const
const domPhongRef getPhong () const
domSid getSid () const
void setId (xsID atId)
void setSid (domSid atSid)
virtual daeInt typeID () const

Static Public Member Functions

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

Protected Member Functions

 domTechnique (DAE &dae)
virtual domTechniqueoperator= (const domTechnique &cpy)
virtual ~domTechnique ()

Protected Attributes

daeTArray< daeCharArray * > _CMData
daeElementRefArray _contents
daeUIntArray _contentsOrder
xsID attrId
domSid attrSid
domAssetRef elemAsset
domBlinnRef elemBlinn
domConstantRef elemConstant
domExtra_Array elemExtra_array
domLambertRef elemLambert
domPhongRef elemPhong

Detailed Description

Holds a description of the textures, samplers, shaders, parameters, and passes necessary for rendering this effect using one method.

Definition at line 35 of file domProfile_common.h.


Member Typedef Documentation

Definition at line 318 of file domProfile_common.h.

Definition at line 315 of file domProfile_common.h.

Definition at line 45 of file domProfile_common.h.

Definition at line 42 of file domProfile_common.h.

Definition at line 124 of file domProfile_common.h.

Definition at line 121 of file domProfile_common.h.

Definition at line 215 of file domProfile_common.h.

Definition at line 212 of file domProfile_common.h.


Constructor & Destructor Documentation

domProfile_common::domTechnique::domTechnique ( DAE dae  )  [inline, protected]

Constructor

Definition at line 536 of file domProfile_common.h.

virtual domProfile_common::domTechnique::~domTechnique (  )  [inline, protected, virtual]

Destructor

Definition at line 540 of file domProfile_common.h.


Member Function Documentation

static DLLSPEC daeElementRef domProfile_common::domTechnique::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 domProfile_common::domTechnique::getAsset (  )  const [inline]

Gets the asset element.

Returns:
a daeSmartRef to the asset element.

Definition at line 490 of file domProfile_common.h.

const domBlinnRef domProfile_common::domTechnique::getBlinn (  )  const [inline]

Gets the blinn element.

Returns:
a daeSmartRef to the blinn element.

Definition at line 510 of file domProfile_common.h.

const domConstantRef domProfile_common::domTechnique::getConstant (  )  const [inline]

Gets the constant element.

Returns:
a daeSmartRef to the constant element.

Definition at line 495 of file domProfile_common.h.

const daeElementRefArray& domProfile_common::domTechnique::getContents (  )  const [inline]

Gets the _contents array.

Returns:
Returns a constant reference to the _contents element array.

Definition at line 530 of file domProfile_common.h.

daeElementRefArray& domProfile_common::domTechnique::getContents (  )  [inline]

Gets the _contents array.

Returns:
Returns a reference to the _contents element array.

Definition at line 525 of file domProfile_common.h.

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

Reimplemented from daeElement.

Definition at line 38 of file domProfile_common.h.

const domExtra_Array& domProfile_common::domTechnique::getExtra_array (  )  const [inline]

Gets the extra element array.

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

Definition at line 520 of file domProfile_common.h.

domExtra_Array& domProfile_common::domTechnique::getExtra_array (  )  [inline]

Gets the extra element array.

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

Definition at line 515 of file domProfile_common.h.

xsID domProfile_common::domTechnique::getId (  )  const [inline]

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

Definition at line 466 of file domProfile_common.h.

const domLambertRef domProfile_common::domTechnique::getLambert (  )  const [inline]

Gets the lambert element.

Returns:
a daeSmartRef to the lambert element.

Definition at line 500 of file domProfile_common.h.

const domPhongRef domProfile_common::domTechnique::getPhong (  )  const [inline]

Gets the phong element.

Returns:
a daeSmartRef to the phong element.

Definition at line 505 of file domProfile_common.h.

domSid domProfile_common::domTechnique::getSid (  )  const [inline]

Gets the sid attribute.

Returns:
Returns a domSid of the sid attribute.

Definition at line 479 of file domProfile_common.h.

static daeInt domProfile_common::domTechnique::ID (  )  [inline, static]

Definition at line 39 of file domProfile_common.h.

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

Overloaded assignment operator

Definition at line 544 of file domProfile_common.h.

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

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

Definition at line 471 of file domProfile_common.h.

void domProfile_common::domTechnique::setSid ( domSid  atSid  )  [inline]

Sets the sid attribute.

Parameters:
atSid The new value for the sid attribute.

Definition at line 484 of file domProfile_common.h.

virtual daeInt domProfile_common::domTechnique::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 40 of file domProfile_common.h.


Member Data Documentation

Used to store information needed for some content model objects.

Definition at line 458 of file domProfile_common.h.

Used to preserve order in elements that do not specify strict sequencing of sub-elements.

Definition at line 449 of file domProfile_common.h.

Used to preserve order in elements that have a complex content model.

Definition at line 453 of file domProfile_common.h.

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 425 of file domProfile_common.h.

The sid attribute is a text string value containing the sub-identifier of this element. This value must be unique within the scope of the parent element. Optional attribute.

Definition at line 431 of file domProfile_common.h.

The technique element may contain an asset element.

See also:
domAsset

Definition at line 437 of file domProfile_common.h.

Definition at line 441 of file domProfile_common.h.

Definition at line 438 of file domProfile_common.h.

The extra element may appear any number of times.

See also:
domExtra

Definition at line 445 of file domProfile_common.h.

Definition at line 439 of file domProfile_common.h.

Definition at line 440 of file domProfile_common.h.


The documentation for this class was generated from the following file:
 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:46 2013