Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SimpleX3DGLScene Class Reference

Class defining a facade to allow an easy load and display of an X3D scene. More...

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Class defining a facade to allow an easy load and display of an X3D scene.

Definition at line 25 of file SimpleX3DGLScene.h.


Constructor & Destructor Documentation

SimpleX3DGLScene  ) 
 

Constructor.

virtual ~SimpleX3DGLScene  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void draw  )  [virtual]
 

Draw the scene in an opengl context.

SFVec3f getBboxMax  )  const [inline]
 

Gets the Bounding Box size.

Definition at line 40 of file SimpleX3DGLScene.h.

References SimpleX3DGLScene::max.

SFVec3f getBboxMin  )  const [inline]
 

Gets the Bounding Box center.

Definition at line 38 of file SimpleX3DGLScene.h.

References SimpleX3DGLScene::min.

void load const char *  file  ) 
 

Loads ths scene from file.

void release  ) 
 

Releases the memory.

void setBboxUpdater X3DBboxUpdater bboxUpdater  ) 
 

Sets the BboxUpdater.

void setGLCreator X3DGLCreator creator  ) 
 

Sets the GLCreator.

void setGLRenderer X3DGLRenderer renderer  ) 
 

Sets the GLRenderer.

void setGLUpdater X3DGLUpdater glupdater  ) 
 

Sets the GLUpdater.

void setLoader X3DLoader loader  ) 
 

Sets the loader.

void setMemReleaser X3DMemReleaser memReleaser  ) 
 

Sets the MemReleaser.


Member Data Documentation

X3DBboxUpdater* _bboxupdater [protected]
 

Definition at line 59 of file SimpleX3DGLScene.h.

GLConverter* _converter [protected]
 

Definition at line 60 of file SimpleX3DGLScene.h.

X3DLoader* _loader [protected]
 

Definition at line 58 of file SimpleX3DGLScene.h.

X3DMemReleaser* _releaser [protected]
 

Definition at line 62 of file SimpleX3DGLScene.h.

X3DGLRenderer* _renderer [protected]
 

Definition at line 61 of file SimpleX3DGLScene.h.

GLScene* gs [protected]
 

Definition at line 64 of file SimpleX3DGLScene.h.

SFVec3f max [protected]
 

Definition at line 66 of file SimpleX3DGLScene.h.

Referenced by SimpleX3DGLScene::getBboxMax().

SFVec3f min [protected]
 

Definition at line 65 of file SimpleX3DGLScene.h.

Referenced by SimpleX3DGLScene::getBboxMin().

Scene* s [protected]
 

Definition at line 63 of file SimpleX3DGLScene.h.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:16 2003 for X3DToolKit by doxygen1.3