class Scene3D


Public Fields

[more]View2D view2D

Public Methods

[more] Scene3D()
[more] ~Scene3D()
[more]inline void setName(const string &n)
[more]inline string getName(void) const
[more]void addLight()
void addObject();
[more]void setClearColor(float r, float g, float b, float a)
void addCamera();
[more]double* getClearColor(void)
[more]unsigned int getNumObjects()
[more]unsigned int getNumLights()
[more]unsigned int getNumCameras()
[more]inline void setActiveCamera(unsigned int ac)
[more]inline unsigned int getActiveCamera_i()
[more]inline Camera3D* getActiveCamera()
[more]Object3D* getObject(unsigned int i)
[more]Light* getLight(unsigned int i)
[more]Camera3D* getCamera(unsigned int i)
[more]void glInit()
[more]void glDrawWorldAxis()
[more]void glDraw()
[more]void glDrawAll(void)
[more]void glDraw2D(void)
[more]int LoadXML(char* file_name)
Load an Scene from a XML file
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]void MakeLightsDisplayList(void)
[more]void MakeObjectsDisplayList(void)
[more]void MakeTextures()
[more]void SetViewSizes(int w, int h)

Private Fields

[more]string name
[more]vector<Object3D*> objects
[more]vector<Light> lights
[more]vector<Camera3D> cameras
[more]unsigned int active_camera
[more]TextureManager* texturemanager
[more]int showlights
[more]double clearColor[4]
unsigned int selectArray[BUFSIZE][2]; // Array to identify objects when selecting
[more]GLuint glList
Clear Color


Documentation

o Scene3D()

o ~Scene3D()

oinline void setName(const string &n)

oinline string getName(void) const

ovoid addLight()
void addObject();

ovoid setClearColor(float r, float g, float b, float a)
void addCamera();

odouble* getClearColor(void)

ounsigned int getNumObjects()

ounsigned int getNumLights()

ounsigned int getNumCameras()

oinline void setActiveCamera(unsigned int ac)

oinline unsigned int getActiveCamera_i()

oinline Camera3D* getActiveCamera()

oObject3D* getObject(unsigned int i)

oLight* getLight(unsigned int i)

oCamera3D* getCamera(unsigned int i)

ovoid glInit()

ovoid glDrawWorldAxis()

ovoid glDraw()

ovoid glDrawAll(void)

ovoid glDraw2D(void)

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

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovoid MakeLightsDisplayList(void)

ovoid MakeObjectsDisplayList(void)

ovoid MakeTextures()

ovoid SetViewSizes(int w, int h)

oView2D view2D

ostring name

ovector<Object3D*> objects

ovector<Light> lights

ovector<Camera3D> cameras

ounsigned int active_camera

oTextureManager* texturemanager

oint showlights

odouble clearColor[4]
unsigned int selectArray[BUFSIZE][2]; Array to identify objects when selecting

oGLuint glList
Clear Color


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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