COLLADA 1.4 DOM: domTexture Class Reference

COLLADA

domTexture Class Reference

#include <domTexture.h>

Inheritance diagram for domTexture:

Inheritance graph
[legend]
Collaboration diagram for domTexture:

Collaboration graph
[legend]
List of all members.

Detailed Description

Textures embody the visual detail of the surface of a geometric object.

The texture element embodies the sampling aspects of texturing.

Public Types

typedef daeSmartRef< domTechniquedomTechniqueRef
typedef daeTArray< domTechniqueRefdomTechnique_Array

Public Member Functions

xsID getId () const
 Gets the id attribute.
void setId (xsID atId)
 Sets the id attribute.
xsNCName getName () const
 Gets the name attribute.
void setName (xsNCName atName)
 Sets the name attribute.
const domAssetRef getAsset () const
 Gets the asset element.
domParam_ArraygetParam_array ()
 Gets the param element array.
const domParam_ArraygetParam_array () const
 Gets the param element array.
domTechnique_ArraygetTechnique_array ()
 Gets the technique element array.
const domTechnique_ArraygetTechnique_array () const
 Gets the technique element array.

Static Public Member Functions

static daeElementRef create (daeInt bytes)
 Creates an instance of this class and returns a daeElementRef referencing it.
static daeMetaElementregisterElement ()
 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

 domTexture ()
 Constructor.
virtual ~domTexture ()
 Destructor.
 domTexture (const domTexture &cpy)
 Copy Constructor.
virtual domTextureoperator= (const domTexture &cpy)
 Overloaded assignment operator.

Protected Attributes

xsID attrId
 The id attribute is a text string containing the unique identifier of the texture element.
xsNCName attrName
 The name attribute is the text string name of this element.
domAssetRef elemAsset
 The asset element may occur zero or one time.
domParam_Array elemParam_array
 The param element may occur zero or more times.
domTechnique_Array elemTechnique_array
 The texture element may contain zero or more technique elements.

Classes

class  domTechnique
 The texture element may contain zero or more technique elements. More...

Member Function Documentation

daeElementRef domTexture::create daeInt  bytes  )  [static]
 

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

Parameters:
bytes The size allocated for this instance.
Returns:
a daeElementRef referencing an instance of this object.

const domAssetRef domTexture::getAsset  )  const [inline]
 

Gets the asset element.

Returns:
a daeSmartRef to the asset element.

xsID domTexture::getId  )  const [inline]
 

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

xsNCName domTexture::getName  )  const [inline]
 

Gets the name attribute.

Returns:
Returns a xsNCName of the name attribute.

const domParam_Array& domTexture::getParam_array  )  const [inline]
 

Gets the param element array.

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

domParam_Array& domTexture::getParam_array  )  [inline]
 

Gets the param element array.

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

const domTechnique_Array& domTexture::getTechnique_array  )  const [inline]
 

Gets the technique element array.

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

domTechnique_Array& domTexture::getTechnique_array  )  [inline]
 

Gets the technique element array.

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

daeMetaElement * domTexture::registerElement  )  [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 domTexture::setId xsID  atId  )  [inline]
 

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

void domTexture::setName xsNCName  atName  )  [inline]
 

Sets the name attribute.

Parameters:
atName The new value for the name attribute.


Member Data Documentation

xsID domTexture::attrId [protected]
 

The id attribute is a text string containing the unique identifier of the texture element.

This value must be unique within the instance document. Optional attribute.

xsNCName domTexture::attrName [protected]
 

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

Optional attribute.

domAssetRef domTexture::elemAsset [protected]
 

The asset element may occur zero or one time.

See also:
domAsset

domParam_Array domTexture::elemParam_array [protected]
 

The param element may occur zero or more times.

The param elements describe the texture's dataflow with the associated material.

See also:
domParam

domTechnique_Array domTexture::elemTechnique_array [protected]
 

The texture element may contain zero or more technique elements.

The technique elements embody its functionality such as image lookup or procedural generation.

See also:
domTechnique


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domTexture.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domTexture.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:50:13 2006 for COLLADA 1.4 DOM by doxygen 1.4.3