#include <DelaunayTestRunner.h>
Public Member Functions | |
DelaunayTestRunner (void) | |
Constructor. | |
~DelaunayTestRunner (void) | |
Destructor. | |
void | InitializeOpengl (int width, int height) |
Creates opengl context and initialize some opengl states. | |
void | Run (void) |
It runs a step of the test. It renders the triangulation. | |
void | Reshape (int width, int height) |
It configs opengl with the new render window width and height. | |
void | ProcessMenuEvents (int option) |
It process the events sent from right button mouse menu. Depending on the event it calls logic methods. | |
const std::vector < GlutWrapper::MenuEntry > & | GetMenuEntries (void) const |
It gets the entries of the right button mouse menu. |
const std::vector< GlutWrapper::MenuEntry > & DelaunayTestRunner::GetMenuEntries | ( | void | ) | const |
It gets the entries of the right button mouse menu.
void DelaunayTestRunner::InitializeOpengl | ( | int | width, | |
int | height | |||
) | [virtual] |
Creates opengl context and initialize some opengl states.
width | render window width | |
height | render window height |
Implements GlutWrapper::IRunner.
void DelaunayTestRunner::ProcessMenuEvents | ( | int | option | ) | [virtual] |
It process the events sent from right button mouse menu. Depending on the event it calls logic methods.
option | the menu option |
Implements GlutWrapper::IMenuListener.
void DelaunayTestRunner::Reshape | ( | int | width, | |
int | height | |||
) | [virtual] |
It configs opengl with the new render window width and height.
width | new render window width | |
height | new render window height |
Implements GlutWrapper::IRunner.
void DelaunayTestRunner::Run | ( | void | ) | [virtual] |
It runs a step of the test. It renders the triangulation.
Implements GlutWrapper::IRunner.