domParabola Class Reference

#include <domParabola.h>

Inheritance diagram for domParabola:
Inheritance graph
[legend]

List of all members.

Classes

class  domFocal

Public Types

typedef daeTArray< domFocalRefdomFocal_Array
typedef daeSmartRef< domFocaldomFocalRef

Public Member Functions

virtual COLLADA_TYPE::TypeEnum getElementType () const
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domFocalRef getFocal () const
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

 domParabola (DAE &dae)
virtual domParabolaoperator= (const domParabola &cpy)
virtual ~domParabola ()

Protected Attributes

domExtra_Array elemExtra_array
domFocalRef elemFocal

Detailed Description

Describes a parabola in 3D space. A parabola is defined by its focal length (i.e. the distance between its focus and its apex) and is positioned in space with a coordinate system where: - the origin is the apex of the parabola, - the "X Axis" defines the axis of symmetry; the parabola is on the positive side of this axis, - the origin, "X Direction" and "Y Direction" define the plane of the parabola. This coordinate system is the local coordinate system of the parabola. The "main Direction" of this coordinate system is a vector normal to the plane of the parabola. The axis, of which the origin and unit vector are respectively the origin and "main Direction" of the local coordinate system, is termed the "Axis" or "main Axis" of the parabola. The "main Direction" of the local coordinate system gives an explicit orientation to the parabola, determining the direction in which the parameter increases along the parabola. The Geom_Parabola parabola is parameterized as follows: P(U) = O + U*U/(4.*F)*XDir + U*YDir where: - P is the point of parameter U, - O, XDir and YDir are respectively the origin, "X <br> Direction" and "Y Direction" of its local coordinate system,

Definition at line 34 of file domParabola.h.


Member Typedef Documentation

Definition at line 44 of file domParabola.h.

Definition at line 41 of file domParabola.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 125 of file domParabola.h.

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

Destructor

Definition at line 129 of file domParabola.h.


Member Function Documentation

static DLLSPEC daeElementRef domParabola::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.
virtual COLLADA_TYPE::TypeEnum domParabola::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 37 of file domParabola.h.

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

Gets the extra element array.

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

Definition at line 120 of file domParabola.h.

domExtra_Array& domParabola::getExtra_array (  )  [inline]

Gets the extra element array.

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

Definition at line 115 of file domParabola.h.

const domFocalRef domParabola::getFocal (  )  const [inline]

Gets the focal element.

Returns:
a daeSmartRef to the focal element.

Definition at line 110 of file domParabola.h.

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

Definition at line 38 of file domParabola.h.

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

Overloaded assignment operator

Definition at line 133 of file domParabola.h.

static DLLSPEC daeMetaElement* domParabola::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.
virtual daeInt domParabola::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 39 of file domParabola.h.


Member Data Documentation

Definition at line 103 of file domParabola.h.

Definition at line 102 of file domParabola.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:42 2013