#include <domParabola.h>
Classes | |
class | domFocal |
Public Types | |
typedef daeTArray< domFocalRef > | domFocal_Array |
typedef daeSmartRef< domFocal > | domFocalRef |
Public Member Functions | |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
const domExtra_Array & | getExtra_array () const |
domExtra_Array & | getExtra_array () |
const domFocalRef | getFocal () const |
virtual daeInt | typeID () const |
Static Public Member Functions | |
static DLLSPEC daeElementRef | create (DAE &dae) |
static daeInt | ID () |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
Protected Member Functions | |
domParabola (DAE &dae) | |
virtual domParabola & | operator= (const domParabola &cpy) |
virtual | ~domParabola () |
Protected Attributes | |
domExtra_Array | elemExtra_array |
domFocalRef | elemFocal |
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.
Definition at line 44 of file domParabola.h.
typedef daeSmartRef<domFocal> domParabola::domFocalRef |
Definition at line 41 of file domParabola.h.
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.
static DLLSPEC daeElementRef domParabola::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
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.
Definition at line 120 of file domParabola.h.
domExtra_Array& domParabola::getExtra_array | ( | ) | [inline] |
Gets the extra element array.
Definition at line 115 of file domParabola.h.
const domFocalRef domParabola::getFocal | ( | ) | const [inline] |
Gets 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.
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.
Implements daeElement.
Definition at line 39 of file domParabola.h.
domExtra_Array domParabola::elemExtra_array [protected] |
Definition at line 103 of file domParabola.h.
domFocalRef domParabola::elemFocal [protected] |
Definition at line 102 of file domParabola.h.