tlp::GlAbstractPolygon Class Reference#include <GlAbstractPolygon.h>
Inherits tlp::GlSimpleEntity.
Inherited by tlp::GlPolygon.
Inheritance diagram for tlp::GlAbstractPolygon:
[legend]Collaboration diagram for tlp::GlAbstractPolygon:
[legend]List of all members.
Detailed Description
class to create a abstract polygon
Public Types
Public Member Functions
Protected Member Functions
Protected Attributes
Member Enumeration Documentation
Constructor & Destructor Documentation
tlp::GlAbstractPolygon::GlAbstractPolygon |
( |
|
) |
|
|
virtual tlp::GlAbstractPolygon::~GlAbstractPolygon |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual void tlp::GlAbstractPolygon::clearGenerated |
( |
|
) |
[protected, virtual] |
|
|
Clear previously generated VBO |
virtual void tlp::GlAbstractPolygon::draw |
( |
float |
lod, |
|
|
Camera * |
camera |
|
) |
[virtual] |
|
Color& tlp::GlAbstractPolygon::fcolor |
( |
const unsigned int |
i |
) |
|
|
const Color& tlp::GlAbstractPolygon::fcolor |
( |
const unsigned int |
i |
) |
const |
|
Color tlp::GlAbstractPolygon::getFillColor |
( |
unsigned int |
i |
) |
|
|
|
Get the ith color used to filling the polygon |
bool tlp::GlAbstractPolygon::getFillMode |
( |
|
) |
|
|
|
Get if the polygon is filled or not |
float tlp::GlAbstractPolygon::getHideOutlineLod |
( |
|
) |
|
|
|
Get the lod outline value, below this lod value outline will not be displayed |
Color tlp::GlAbstractPolygon::getOutlineColor |
( |
unsigned int |
i |
) |
|
|
|
Get the ith color used to outlining the polygon |
bool tlp::GlAbstractPolygon::getOutlineMode |
( |
|
) |
|
|
|
Get if the polygon is outlined or not |
float tlp::GlAbstractPolygon::getOutlineSize |
( |
|
) |
|
|
|
Get the polygon mode (see PolygonMode enum) |
std::string tlp::GlAbstractPolygon::getTextureName |
( |
|
) |
|
|
virtual void tlp::GlAbstractPolygon::getXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
virtual void tlp::GlAbstractPolygon::getXMLOnlyData |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
|
Function to export data in XML |
virtual Color& tlp::GlAbstractPolygon::ocolor |
( |
const unsigned int |
i |
) |
[virtual] |
|
const Color& tlp::GlAbstractPolygon::ocolor |
( |
const unsigned int |
i |
) |
const |
|
virtual void tlp::GlAbstractPolygon::recomputeBoundingBox |
( |
|
) |
[protected, virtual] |
|
|
Clear previous bounding box and expand bounding box with polygons' points |
void tlp::GlAbstractPolygon::setFColor |
( |
const unsigned int |
i, |
|
|
const Color & |
color |
|
) |
|
|
|
Set the ith color used for filling the polygon - Deprecated:
- use setFillColor
|
void tlp::GlAbstractPolygon::setFillColor |
( |
const Color & |
color |
) |
|
|
|
Set color used to filling the whole polygon |
void tlp::GlAbstractPolygon::setFillColor |
( |
unsigned int |
i, |
|
|
const Color & |
color |
|
) |
|
|
|
Set the ith color used to filling the polygon |
virtual void tlp::GlAbstractPolygon::setFillColors |
( |
const std::vector< Color > & |
colors |
) |
[protected, virtual] |
|
|
set fill colors of the polygon |
void tlp::GlAbstractPolygon::setFillMode |
( |
const |
bool |
) |
|
|
|
Set if the polygon is filled or not |
void tlp::GlAbstractPolygon::setHideOutlineLod |
( |
float |
lod |
) |
|
|
|
Set the lod outline value, below this lod value outline will not be displayed |
virtual void tlp::GlAbstractPolygon::setOColor |
( |
const unsigned int |
i, |
|
|
const Color & |
color |
|
) |
[virtual] |
|
|
Set the ith color used for outlining the polygon - Deprecated:
- use setOutlineColor
|
void tlp::GlAbstractPolygon::setOutlineColor |
( |
const Color & |
color |
) |
|
|
|
Set the color used to outlining the whole polygon |
void tlp::GlAbstractPolygon::setOutlineColor |
( |
unsigned int |
i, |
|
|
const Color & |
color |
|
) |
|
|
|
Set the ith color used to outlining the polygon |
virtual void tlp::GlAbstractPolygon::setOutlineColors |
( |
const std::vector< Color > & |
colors |
) |
[protected, virtual] |
|
|
set outline colors of the polygon |
void tlp::GlAbstractPolygon::setOutlineMode |
( |
const |
bool |
) |
|
|
|
Set if the polygon is outlined or not |
void tlp::GlAbstractPolygon::setOutlineSize |
( |
float |
size |
) |
|
|
virtual void tlp::GlAbstractPolygon::setPoints |
( |
const std::vector< Coord > & |
points |
) |
[protected, virtual] |
|
|
set Coords of the polygon |
void tlp::GlAbstractPolygon::setPolygonMode |
( |
PolygonMode |
mode |
) |
|
|
|
Set the polygon mode (see PolygonMode enum) |
void tlp::GlAbstractPolygon::setTextureName |
( |
const std::string & |
name |
) |
|
|
virtual void tlp::GlAbstractPolygon::setWithXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
virtual void tlp::GlAbstractPolygon::translate |
( |
const Coord & |
mouvement |
) |
[virtual] |
|
Member Data Documentation
|