Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
 All Classes Namespaces Functions Pages
Public Member Functions | List of all members
Vis2Window Class Reference
Inheritance diagram for Vis2Window:
GLFWGameWindow

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
 

Member Function Documentation

void Vis2Window::characterCallback ( int  character,
int  action 
)

Callback method for GLFW character events

void Vis2Window::destroy ( )
virtual

Purely virtual function, to deallocate resources before window destruction

Implements GLFWGameWindow.

void Vis2Window::draw ( )
virtual

Draws the scene with adaptive cutaways

Implements GLFWGameWindow.

void Vis2Window::init ( )
virtual

Initializes shaders, frame buffers and scene

Implements GLFWGameWindow.

void Vis2Window::keyCallback ( int  key,
int  action 
)

Callback method for GLFW key events

void Vis2Window::update ( double  frameLength)
virtual

Processes events

Implements GLFWGameWindow.


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