VRUT::RenderGl Class Reference

FHS import/export module class. More...

#include <rendergl.h>

Inheritance diagram for VRUT::RenderGl:

VRUT::RenderGlModule VRUT::RenderModule VRUT::SceneModule VRUT::Module

List of all members.

Public Member Functions

 RenderGl (MODULE_ID _id, const wxString &_name, EventHandler *msgSink)
 Class constructor.
virtual ~RenderGl ()
 Class destructor.
virtual wxString GetDesc () const
 Get module description - Module overload.
virtual void Draw ()
 Main draw method with OpenGL calls - RenderModule overload.
virtual void Deinitialize ()
virtual bool Initialize ()
 initialize opengl
virtual void processEvent (wxCommandEvent &evt)
 Process render event - RenderModule overload.


Detailed Description

FHS import/export module class.

Definition at line 30 of file rendergl.h.


Constructor & Destructor Documentation

RenderGl::RenderGl ( MODULE_ID  _id,
const wxString &  _name,
EventHandler msgSink 
)

Class constructor.

Definition at line 27 of file rendergl.cpp.

00028   : RenderGlModule(_id, _name, msgSink)
00029 {
00030 
00031 }

RenderGl::~RenderGl (  )  [virtual]

Class destructor.

Definition at line 33 of file rendergl.cpp.

00034 {
00035 }


Member Function Documentation

wxString RenderGl::GetDesc (  )  const [virtual]

Get module description - Module overload.

Reimplemented from VRUT::RenderGlModule.

Definition at line 38 of file rendergl.cpp.

00039 {
00040   return wxT("Create window and render given scene to it using BVH interface");
00041 }

void RenderGl::Draw (  )  [virtual]

Main draw method with OpenGL calls - RenderModule overload.

Reimplemented from VRUT::RenderGlModule.

Definition at line 51 of file rendergl.cpp.

00052 {
00053   RenderGlModule::Draw();
00054 }

void RenderGl::Deinitialize (  )  [virtual]

Release OpenGL allocated video memory - RenderModule overload If called explicitly, be sure to set GLContext associated with window/module

Reimplemented from VRUT::RenderGlModule.

Definition at line 57 of file rendergl.cpp.

00058 {
00059   RenderGlModule::Deinitialize();
00060 }

bool RenderGl::Initialize (  )  [virtual]

initialize opengl

Reimplemented from VRUT::RenderGlModule.

Definition at line 45 of file rendergl.cpp.

00046 {
00047   return RenderGlModule::Initialize();
00048 }

void RenderGl::processEvent ( wxCommandEvent &  evt  )  [virtual]

Process render event - RenderModule overload.

Scene events

Reimplemented from VRUT::RenderGlModule.

Definition at line 65 of file rendergl.cpp.

00066 {
00067 
00068   RenderGlModule::processEvent(evt);
00069 }


The documentation for this class was generated from the following files:

Generated on Tue Mar 10 14:41:41 2009 for VRUT by  doxygen 1.5.5