COLLADA 1.4 DOM: domGeometry Class Reference

COLLADA

domGeometry Class Reference

#include <domGeometry.h>

Inheritance diagram for domGeometry:

Inheritance graph
[legend]
Collaboration diagram for domGeometry:

Collaboration graph
[legend]
List of all members.

Detailed Description

Geometry describes the visual shape and appearance of an object in the scene.

The geometry element categorizes the declaration of geometric information. Geometry is a branch of mathematics that deals with the measurement, properties, and relationships of points, lines, angles, surfaces, and solids. The geometry element contains a declaration of a mesh. A geometry element contains the elements that describe geometric data. The actual type and complexity of the data is left to the child elements to represent in detail.

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 domMeshRef getMesh () const
 Gets the mesh element.
domExtra_ArraygetExtra_array ()
 Gets the extra element array.
const domExtra_ArraygetExtra_array () const
 Gets the extra 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

 domGeometry ()
 Constructor.
virtual ~domGeometry ()
 Destructor.
 domGeometry (const domGeometry &cpy)
 Copy Constructor.
virtual domGeometryoperator= (const domGeometry &cpy)
 Overloaded assignment operator.

Protected Attributes

xsID attrId
 The id attribute is a text string containing the unique identifier of the geometry element.
xsNCName attrName
 The name attribute is a text string containing the name of the geometry element.
domMeshRef elemMesh
 The mesh element must occur exactly one time.
domExtra_Array elemExtra_array
 The geometry element can contain zero or more extra elements.

Member Function Documentation

daeElementRef domGeometry::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 domExtra_Array& domGeometry::getExtra_array  )  const [inline]
 

Gets the extra element array.

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

domExtra_Array& domGeometry::getExtra_array  )  [inline]
 

Gets the extra element array.

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

xsID domGeometry::getId  )  const [inline]
 

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

const domMeshRef domGeometry::getMesh  )  const [inline]
 

Gets the mesh element.

Returns:
a daeSmartRef to the mesh element.

xsNCName domGeometry::getName  )  const [inline]
 

Gets the name attribute.

Returns:
Returns a xsNCName of the name attribute.

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

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

void domGeometry::setName xsNCName  atName  )  [inline]
 

Sets the name attribute.

Parameters:
atName The new value for the name attribute.


Member Data Documentation

xsID domGeometry::attrId [protected]
 

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

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

xsNCName domGeometry::attrName [protected]
 

The name attribute is a text string containing the name of the geometry element.

Optional attribute.

domExtra_Array domGeometry::elemExtra_array [protected]
 

The geometry element can contain zero or more extra elements.

See also:
domExtra

domMeshRef domGeometry::elemMesh [protected]
 

The mesh element must occur exactly one time.

See also:
domMesh


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

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