tlp::GlHudCircle Class Reference#include <GlHudCircle.h>
List of all members.
Detailed Description
This is a general class for the rendering of 2D circles.
This class is used as a 2D HUD for the rendering of 2D circles. Public Member Functions
- GlHudCircle (const Coord ¢er=Coord(0, 0, 0), float radius=1., const Color &outlineColor=Color(255, 0, 0, 255), const Color &fillColor=Color(0, 0, 255, 255), bool filled=false, bool outlined=true, float startAngle=0.0, unsigned int segments=10)
- void set (const Coord ¢er, float radius, float startAngle)
Constructor & Destructor Documentation
tlp::GlHudCircle::GlHudCircle |
( |
const Coord & |
center = Coord(0, 0, 0) , |
|
|
float |
radius = 1. , |
|
|
const Color & |
outlineColor = Color(255, 0, 0, 255) , |
|
|
const Color & |
fillColor = Color(0, 0, 255, 255) , |
|
|
bool |
filled = false , |
|
|
bool |
outlined = true , |
|
|
float |
startAngle = 0.0 , |
|
|
unsigned int |
segments = 10 | |
|
) |
| | |
Member Function Documentation
void tlp::GlHudCircle::set |
( |
const Coord & |
center, |
|
|
float |
radius, |
|
|
float |
startAngle | |
|
) |
| | |
|