GlutWrapper::IRunner Class Reference

Runs the test. It's used by Window. More...

#include <IRunner.h>

Inheritance diagram for GlutWrapper::IRunner:
CUDARayCasting::Runner

List of all members.

Public Member Functions

virtual void InitializeOpengl (void)=0
 It is called after opengl context is created. It can be used to setup opengl states.
virtual void Run (float elapsedTime)=0
 Runs a step of the test. Its called once every iteration of the main loop.
virtual void Reshape (int width, int height)=0
 It is called when the window has been reshaped.

Protected Member Functions

 IRunner (void)
 Contructor hidden from user.
virtual ~IRunner (void)=0
 Destructor hidden from user.

Detailed Description

Runs the test. It's used by Window.

Note:
GlutWrapper::Window

Member Function Documentation

virtual void GlutWrapper::IRunner::Reshape ( int  width,
int  height 
) [pure virtual]

It is called when the window has been reshaped.

Parameters:
width render window width
height render window height

Implemented in CUDARayCasting::Runner.


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

Generated by  doxygen 1.6.2