class Object3D


Inheritance:


Public Fields

[more]double R[3][3]
RAPID_model *RAPIDmesh;
[more]double T[3]

Public Methods

[more] Object3D(TextureManager* t)
Constructors / Destructors
[more]virtual ~Object3D()
[more]inline void setName(const string &n)
Other public methods
[more]inline string getName(void) const
[more]inline void SetPosition(double x, double y, double z)
Position/Orientation functions
[more]inline void SetPivot(double x, double y, double z)
[more]inline void SetPosition(const Vector3D &p)
[more]inline void SetPivot(const Vector3D &p)
[more]inline void SetOrientation(const Quaternion &o)
[more]inline void SetPositionAndOrientation(const Vector3D &p, const Quaternion &o)
[more]void GetOpenGLTransformationMatrix(double* matrix)
OpenGL related functions
[more]void glDraw(void)
[more]virtual void glDrawMisc(void)
[more]void glPosAndRotateObject(void)
this is for special rendering of derived classes
[more]void glDrawObject(void)
[more]virtual void MakeDisplayList(void)
[more]inline unsigned int getNumChildren(void) const
Hierarchy methods.
[more]inline void addChild(unsigned int ch)
[more]inline void setParent(unsigned int p)
[more]inline unsigned int getParent(void)
[more]void deleteChild(unsigned int ch)
[more]void Outlinks(void)
Delete children reference
[more]inline unsigned int getNumMeshes(void)
Geometry objects/Methods
[more]inline void addMesh(const Mesh &m)
[more]inline void addMesh()
[more]inline Object3D* getObject(unsigned int i)
[more]inline void addObject()
[more]inline void addLine3D(const Line3D &l)
[more]inline void addLine3D()
[more]inline void addCircle(const Circle &c)
[more]inline void addCircle()
[more]void setMotionInput(double continuous_input)
[more]void setMotionInput(int discrete_input)
[more]void PosAndOrientRAPIDmesh(void)
void MakeRAPIDmesh(void);
[more]int LoadXML(char* file_name)
Load an object from a XML file
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]virtual int ParseXMLMiscData(xmlDocPtr doc, xmlNodePtr cur)
[more]void Out(void)

Protected Fields

[more]string name
[more]Vector3D Position
Position/Orientation
[more]Vector3D Pivot
[more]Quaternion Q
Pivot: Vector desde el origen del modelo (Posicion) hasta el punto de pivote
[more]vector<Mesh> meshes
Proper geometry variables
[more]vector<Circle> circles
[more]vector<Line3D> line3D
[more]vector<Lines3D> lines3D
[more]vector<Object3D*> objects
[more]TextureManager* texturemanager
hierarchy
[more]Motion motion
[more]unsigned int parent
Only one motion?
[more]vector<unsigned int> children
Int porque puede ser cualquier tipo de objeto.


Documentation

o Object3D(TextureManager* t)
Constructors / Destructors

ovirtual ~Object3D()

oinline void setName(const string &n)
Other public methods

oinline string getName(void) const

oinline void SetPosition(double x, double y, double z)
Position/Orientation functions

oinline void SetPivot(double x, double y, double z)

oinline void SetPosition(const Vector3D &p)

oinline void SetPivot(const Vector3D &p)

oinline void SetOrientation(const Quaternion &o)

oinline void SetPositionAndOrientation(const Vector3D &p, const Quaternion &o)

ovoid GetOpenGLTransformationMatrix(double* matrix)
OpenGL related functions

ovoid glDraw(void)

ovirtual void glDrawMisc(void)

ovoid glPosAndRotateObject(void)
this is for special rendering of derived classes

ovoid glDrawObject(void)

ovirtual void MakeDisplayList(void)

oinline unsigned int getNumChildren(void) const
Hierarchy methods.

oinline void addChild(unsigned int ch)

oinline void setParent(unsigned int p)

oinline unsigned int getParent(void)

ovoid deleteChild(unsigned int ch)

ovoid Outlinks(void)
Delete children reference

oinline unsigned int getNumMeshes(void)
Geometry objects/Methods

oinline void addMesh(const Mesh &m)

oinline void addMesh()

oinline Object3D* getObject(unsigned int i)

oinline void addObject()

oinline void addLine3D(const Line3D &l)

oinline void addLine3D()

oinline void addCircle(const Circle &c)

oinline void addCircle()

ovoid setMotionInput(double continuous_input)

ovoid setMotionInput(int discrete_input)

ovoid PosAndOrientRAPIDmesh(void)
void MakeRAPIDmesh(void);

odouble R[3][3]
RAPID_model *RAPIDmesh;

odouble T[3]

oint LoadXML(char* file_name)
Load an object from a XML file

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovirtual int ParseXMLMiscData(xmlDocPtr doc, xmlNodePtr cur)

ovoid Out(void)

ostring name

oVector3D Position
Position/Orientation

oVector3D Pivot

oQuaternion Q
Pivot: Vector desde el origen del modelo (Posicion) hasta el punto de pivote

ovector<Mesh> meshes
Proper geometry variables

ovector<Circle> circles

ovector<Line3D> line3D

ovector<Lines3D> lines3D

ovector<Object3D*> objects

oTextureManager* texturemanager
hierarchy

oMotion motion

ounsigned int parent
Only one motion?

ovector<unsigned int> children
Int porque puede ser cualquier tipo de objeto. (indice del objeto padre en la sceneArray).


Direct child classes:
TerrainSOAR
SkyDome

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.