MyVRApp Class Reference

List of all members.

Public Member Functions

 MyVRApp (const std::string &mySetup)
virtual ~MyVRApp ()
void doUserInput (Array< VRG3D::EventRef > &events)
void doGraphics (RenderDevice *rd)

Protected Attributes

Table< std::string, CoordinateFrame > _trackerFrames
GFontRef _font
MouseToTrackerRef _mouseToTracker
CoordinateFrame _virtualToRoomSpace

Detailed Description

This is a sample VR application using the VRG3D library. Two key methods are filled in here: doGraphics() and doUserInput(). The code in these methods demonstrates how to draw graphics and respond to input from the mouse, the keyboard, 6D trackers, and VR wand buttons.


Constructor & Destructor Documentation

MyVRApp::MyVRApp ( const std::string &  mySetup  )  [inline]

virtual MyVRApp::~MyVRApp (  )  [inline, virtual]


Member Function Documentation

void MyVRApp::doUserInput ( Array< VRG3D::EventRef > &  events  )  [inline]

void MyVRApp::doGraphics ( RenderDevice *  rd  )  [inline]


Member Data Documentation

Table<std::string, CoordinateFrame> MyVRApp::_trackerFrames [protected]

GFontRef MyVRApp::_font [protected]

MouseToTrackerRef MyVRApp::_mouseToTracker [protected]

CoordinateFrame MyVRApp::_virtualToRoomSpace [protected]


The documentation for this class was generated from the following file:
Generated on Sun Jul 6 06:27:29 2008 for VRG3D by  doxygen 1.5.1