domCurve Class Reference

#include <domCurve.h>

Inheritance diagram for domCurve:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const domCircleRef getCircle () const
const daeElementRefArraygetContents () const
daeElementRefArraygetContents ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domEllipseRef getEllipse () const
const domHyperbolaRef getHyperbola () const
const domLineRef getLine () const
xsToken getName () const
const domNurbsRef getNurbs () const
const domOrient_ArraygetOrient_array () const
domOrient_ArraygetOrient_array ()
const domOriginRef getOrigin () const
const domParabolaRef getParabola () const
domSid getSid () const
void setName (xsToken atName)
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

 domCurve (DAE &dae)
virtual domCurveoperator= (const domCurve &cpy)
virtual ~domCurve ()

Protected Attributes

daeTArray< daeCharArray * > _CMData
daeElementRefArray _contents
daeUIntArray _contentsOrder
xsToken attrName
domSid attrSid
domCircleRef elemCircle
domEllipseRef elemEllipse
domHyperbolaRef elemHyperbola
domLineRef elemLine
domNurbsRef elemNurbs
domOrient_Array elemOrient_array
domOriginRef elemOrigin
domParabolaRef elemParabola

Detailed Description

A curveType defines the attributes of a curve element. With rotate and translate the surface can be positioned to its right location.

Definition at line 22 of file domCurve.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 145 of file domCurve.h.

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

Destructor

Definition at line 149 of file domCurve.h.


Member Function Documentation

static DLLSPEC daeElementRef domCurve::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 domCircleRef domCurve::getCircle (  )  const [inline]

Gets the circle element.

Returns:
a daeSmartRef to the circle element.

Definition at line 94 of file domCurve.h.

const daeElementRefArray& domCurve::getContents (  )  const [inline]

Gets the _contents array.

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

Definition at line 139 of file domCurve.h.

daeElementRefArray& domCurve::getContents (  )  [inline]

Gets the _contents array.

Returns:
Returns a reference to the _contents element array.

Definition at line 134 of file domCurve.h.

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

Reimplemented from daeElement.

Definition at line 25 of file domCurve.h.

const domEllipseRef domCurve::getEllipse (  )  const [inline]

Gets the ellipse element.

Returns:
a daeSmartRef to the ellipse element.

Definition at line 99 of file domCurve.h.

const domHyperbolaRef domCurve::getHyperbola (  )  const [inline]

Gets the hyperbola element.

Returns:
a daeSmartRef to the hyperbola element.

Definition at line 109 of file domCurve.h.

const domLineRef domCurve::getLine (  )  const [inline]

Gets the line element.

Returns:
a daeSmartRef to the line element.

Definition at line 89 of file domCurve.h.

xsToken domCurve::getName (  )  const [inline]

Gets the name attribute.

Returns:
Returns a xsToken of the name attribute.

Definition at line 78 of file domCurve.h.

const domNurbsRef domCurve::getNurbs (  )  const [inline]

Gets the nurbs element.

Returns:
a daeSmartRef to the nurbs element.

Definition at line 114 of file domCurve.h.

const domOrient_Array& domCurve::getOrient_array (  )  const [inline]

Gets the orient element array.

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

Definition at line 124 of file domCurve.h.

domOrient_Array& domCurve::getOrient_array (  )  [inline]

Gets the orient element array.

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

Definition at line 119 of file domCurve.h.

const domOriginRef domCurve::getOrigin (  )  const [inline]

Gets the origin element.

Returns:
a daeSmartRef to the origin element.

Definition at line 129 of file domCurve.h.

const domParabolaRef domCurve::getParabola (  )  const [inline]

Gets the parabola element.

Returns:
a daeSmartRef to the parabola element.

Definition at line 104 of file domCurve.h.

domSid domCurve::getSid (  )  const [inline]

Gets the sid attribute.

Returns:
Returns a domSid of the sid attribute.

Definition at line 67 of file domCurve.h.

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

Definition at line 26 of file domCurve.h.

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

Overloaded assignment operator

Definition at line 153 of file domCurve.h.

static DLLSPEC daeMetaElement* domCurve::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 domCurve::setName ( xsToken  atName  )  [inline]

Sets the name attribute.

Parameters:
atName The new value for the name attribute.

Definition at line 83 of file domCurve.h.

void domCurve::setSid ( domSid  atSid  )  [inline]

Sets the sid attribute.

Parameters:
atSid The new value for the sid attribute.

Definition at line 72 of file domCurve.h.

virtual daeInt domCurve::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 27 of file domCurve.h.


Member Data Documentation

Used to store information needed for some content model objects.

Definition at line 59 of file domCurve.h.

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

Definition at line 50 of file domCurve.h.

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

Definition at line 54 of file domCurve.h.

The name of a curve.

Definition at line 36 of file domCurve.h.

The id of a curve.

Definition at line 32 of file domCurve.h.

Definition at line 40 of file domCurve.h.

Definition at line 41 of file domCurve.h.

Definition at line 43 of file domCurve.h.

Definition at line 39 of file domCurve.h.

Definition at line 44 of file domCurve.h.

Definition at line 45 of file domCurve.h.

Definition at line 46 of file domCurve.h.

Definition at line 42 of file domCurve.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:29:52 2013