Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
|
Public Member Functions | |
virtual void | init () |
virtual void | update (double frameLength) |
virtual void | draw () |
virtual void | destroy () |
void | characterCallback (int character, int action) |
void | keyCallback (int key, int action) |
Public Member Functions inherited from GLFWGameWindow | |
GLFWGameWindow (int width, int height, const std::string &title, bool fullscreen, int major, int minor) | |
bool | run () |
void | stop () |
void | setGLVersion (int major, int minor) |
void | setPrintFPS (bool print) |
double | getAverageFPS () const |
int | getWidth () const |
int | getHeight () const |
void Vis2Window::characterCallback | ( | int | character, |
int | action | ||
) |
Callback method for GLFW character events
|
virtual |
Purely virtual function, to deallocate resources before window destruction
Implements GLFWGameWindow.
|
virtual |
Draws the scene with adaptive cutaways
Implements GLFWGameWindow.
|
virtual |
Initializes shaders, frame buffers and scene
Implements GLFWGameWindow.
void Vis2Window::keyCallback | ( | int | key, |
int | action | ||
) |
Callback method for GLFW key events
|
virtual |
Processes events
Implements GLFWGameWindow.