tlp::GlMultiPolygon Class Reference#include <GlMultiPolygon.h>
Inherits tlp::GlSimpleEntity.
Inheritance diagram for tlp::GlMultiPolygon:
[legend]Collaboration diagram for tlp::GlMultiPolygon:
[legend]List of all members.
Detailed Description
Entity who represent a vector of polygons
Public Member Functions
- GlMultiPolygon (bool filled=true, bool outlined=true, const Color &fillColor=Color(0, 0, 0, 255), const Color &outlineColor=Color(0, 0, 0, 255))
- void addPolygon (const std::vector< Coord > &poly)
- virtual void draw (float lod, Camera *camera)
- virtual void translate (const Coord &mouvement)
- void getXML (xmlNodePtr rootNode)
- void setWithXML (xmlNodePtr rootNode)
Protected Attributes
Constructor & Destructor Documentation
tlp::GlMultiPolygon::GlMultiPolygon |
( |
bool |
filled = true , |
|
|
bool |
outlined = true , |
|
|
const Color & |
fillColor = Color(0, 0, 0, 255) , |
|
|
const Color & |
outlineColor = Color(0, 0, 0, 255) |
|
) |
|
|
Member Function Documentation
void tlp::GlMultiPolygon::addPolygon |
( |
const std::vector< Coord > & |
poly |
) |
|
|
|
Add a polygon with the Coord poly |
virtual void tlp::GlMultiPolygon::draw |
( |
float |
lod, |
|
|
Camera * |
camera |
|
) |
[virtual] |
|
void tlp::GlMultiPolygon::getXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
void tlp::GlMultiPolygon::setWithXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
virtual void tlp::GlMultiPolygon::translate |
( |
const Coord & |
mouvement |
) |
[virtual] |
|
Member Data Documentation
|