DelaunayTest::DelaunayTest2dRender Class Reference

Opengl Render tailored specifically for 2dRender test. It can render these 2d geometry: More...

#include <DelaunayTest2dRender.h>

List of all members.

Public Member Functions

 DelaunayTest2dRender (void)
 Constructor.
 ~DelaunayTest2dRender (void)
 Destructor.
void LoadPresetConfiguration (int width, int height)
 Loads a default opengl configuration.
void BeginFrame (void)
 Begins render frame.
void SetMaterial (float red, float green, float blue)
 Sets the only material: emissive color.
void DrawPoints (const std::vector< Point > &points)
 Draws a vector of points in 2d with a fixed point size.
void DrawLines (const std::vector< Line > &lines)
 Draws a vector of lines in 2d.
void DrawCircles (const std::vector< Circle > &circles)
 Draws a vector of circles in 2d.
void EndFrame (void)
 Ends render frame.


Detailed Description

Opengl Render tailored specifically for 2dRender test. It can render these 2d geometry:

Member Function Documentation

void DelaunayTest2dRender::DrawCircles ( const std::vector< Circle > &  circles  ) 

Draws a vector of circles in 2d.

Parameters:
circles the vector of circles

Draw a circle

get the current angle

void DelaunayTest2dRender::DrawLines ( const std::vector< Line > &  lines  ) 

Draws a vector of lines in 2d.

Parameters:
lines the vector of lines

void DelaunayTest2dRender::DrawPoints ( const std::vector< Point > &  points  ) 

Draws a vector of points in 2d with a fixed point size.

Parameters:
points the vector of points

void DelaunayTest2dRender::LoadPresetConfiguration ( int  width,
int  height 
)

Loads a default opengl configuration.

Parameters:
width render window width
height render window height

void DelaunayTest2dRender::SetMaterial ( float  red,
float  green,
float  blue 
)

Sets the only material: emissive color.

Parameters:
red red channel
green green channel
blue blue channel


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

Generated on Tue May 26 20:45:15 2009 for Delaunay Test by  doxygen 1.5.9