Tulip
4.6.0
Better Visualization Through Research
|
#include <GlStar.h>
Public Member Functions | |
GlStar (const Coord &position, const Size &size, unsigned int numberOfStarPoints, const Color &fillColor=Color(0, 0, 255), const Color &outlineColor=Color(0, 0, 0), bool outlined=true, const std::string &textureName="", float outlineSize=1.) | |
virtual | ~GlStar () |
unsigned int | getNumberOfStarPoints () |
Protected Member Functions | |
void | computeStar () |
Protected Attributes | |
unsigned int | numberOfStarPoints |
Coord | position |
Size | size |
tlp::GlStar::GlStar | ( | const Coord & | position, |
const Size & | size, | ||
unsigned int | numberOfStarPoints, | ||
const Color & | fillColor = Color(0, 0, 255) , |
||
const Color & | outlineColor = Color(0, 0, 0) , |
||
bool | outlined = true , |
||
const std::string & | textureName = "" , |
||
float | outlineSize = 1. |
||
) |
Constructor.
The outline is the border of the regular star
The fill is inside the regular star
virtual tlp::GlStar::~GlStar | ( | ) | [virtual] |
Destructor.
unsigned int tlp::GlStar::getNumberOfStarPoints | ( | ) |
Get the number of star points.