#include <VisApp.hpp>
Inheritance diagram for vrvis::VisApp:
Public Member Functions | |
VisApp (Vis *pVis) | |
Constructor that takes the visalization object. | |
~VisApp (void) | |
Destructor. | |
void | exec (void) |
Start the visualization and stay in the execution loop. |
The typical main function for VRVis visualizations looks like this:
// ... all needed includes here ... using namespace vrvis; int main(int argc, char** argv) { // Initialize the VR Juggler kernel. visInit(argc, argv); // Instantiate the user visualization. MyVis* pMyVis = new MyVis(...); // Create a VisApp out of the user visualization. VisApp* pApp = new VisApp(pMyVis); // Execute and wait for the control loop to end. pApp->exec(); delete pApp; return 0; }
|
Constructs a visualization application based on a given Vis.
|
|
Destructor. |
|
Starts the application by starting the VR Juggler kernel. The application enters the execution loop and waits for it to finish. |