#include <VRJugglerApp.h>
Public Methods | |
M_VRJapp () | |
virtual | ~M_VRJapp (void) |
virtual void | init () |
void | setScene (VRJugglerScene *s) |
void | appendCommand (const char *str) |
virtual void | apiInit () |
virtual void | bufferPreDraw () |
virtual void | preFrame () |
virtual void | latePreFrame () |
virtual void | intraFrame () |
virtual void | postFrame () |
virtual void | contextInit () |
virtual void | draw () |
void | getWandXYZ (float &x, float &y, float &z) |
void | getWandRotMat (Matrix4 &rot) |
bool | getWandButton (unsigned nr) |
Public Attributes | |
std::vector< std::string > | cmdQueue |
gadget::PositionInterface | mWand |
gadget::PositionInterface | mHead |
gadget::DigitalInterface | mButton0 |
gadget::DigitalInterface | mButton1 |
cluster::UserData< VRJugglerSharedData > | sharedData |
VRJugglerScene * | scene |
This application receives positional and digital intput from the wand.
Definition at line 57 of file VRJugglerApp.h.
|
Definition at line 60 of file VRJugglerApp.h. References cmdQueue. |
|
Definition at line 64 of file VRJugglerApp.h. |
|
Executes any initialization needed after API is started but before the drawManager starts the drawing loops. This is called once after OGL is initialized. Definition at line 89 of file VRJugglerApp.h. |
|
Definition at line 80 of file VRJugglerApp.C. References cmdQueue. Referenced by VRJugglerScene::appendCommand. |
|
Function that is called upon entry into a buffer of an OpenGL context (window).
Definition at line 162 of file VRJugglerApp.C. |
|
Function that is called immediately after a new OGL context is created. Initialize GL state here. Also used to create context specific information. This is called once for each context. Definition at line 70 of file VRJugglerApp.C. |
|
Function to draw the scene.
Definition at line 169 of file VRJugglerApp.C. References VRJugglerScene::app, scene, and vrjuggler_renderer. |
|
Definition at line 287 of file VRJugglerApp.C. References mButton0, and mButton1. Referenced by VRJugglerScene::getWandButton. |
|
Definition at line 271 of file VRJugglerApp.C. References Matrix4::mat, and mWand. Referenced by VRJugglerScene::getWandRotMat. |
|
Definition at line 260 of file VRJugglerApp.C. Referenced by VRJugglerScene::getWandXYZ. |
|
Executes any initialization needed before the API is started.
Definition at line 54 of file VRJugglerApp.C. References mButton0, mButton1, mHead, mWand, and sharedData. |
|
Called during the Frame.
Definition at line 199 of file VRJugglerApp.C. |
|
Called before start of frame, after preFrame(). Definition at line 145 of file VRJugglerApp.C. References VRJugglerScene::app, scene, sharedData, and VMDApp::uiText. |
|
Called at end of frame.
Definition at line 210 of file VRJugglerApp.C. References VRJugglerScene::app, and scene. |
|
Called before start of frame.
Definition at line 92 of file VRJugglerApp.C. References VRJugglerScene::app, cmdQueue, mButton0, mButton1, scene, sharedData, and strupcmp. |
|
Definition at line 75 of file VRJugglerApp.C. References scene. Referenced by VRJugglerScene::init. |
|
Definition at line 79 of file VRJugglerApp.h. Referenced by appendCommand, M_VRJapp, and preFrame. |
|
Digital interface for button 0 Definition at line 181 of file VRJugglerApp.h. Referenced by getWandButton, init, and preFrame. |
|
Digital interface for button 1 Definition at line 182 of file VRJugglerApp.h. Referenced by getWandButton, init, and preFrame. |
|
Positional interface for Head position Definition at line 180 of file VRJugglerApp.h. Referenced by init. |
|
Positional interface for Wand position Definition at line 179 of file VRJugglerApp.h. Referenced by getWandRotMat, getWandXYZ, and init. |
|
Definition at line 186 of file VRJugglerApp.h. Referenced by draw, latePreFrame, postFrame, preFrame, and setScene. |
|
Definition at line 184 of file VRJugglerApp.h. Referenced by init, latePreFrame, and preFrame. |