Tulip
6.0.0
Large graphs analysis and drawing
|
#include <GlAbstractPolygon.h>
Public Member Functions | |
float | getOutlineSize () |
std::string | getTextureName () |
void | setFillColor (const Color &color) |
void | setOutlineColor (const Color &color) |
void | setOutlineSize (float size) |
void | setTextureName (const std::string &name) |
Public Member Functions inherited from tlp::GlSimpleEntity | |
GlSimpleEntity () | |
~GlSimpleEntity () override | |
virtual void | draw (float lod, Camera *camera)=0 |
virtual BoundingBox | getBoundingBox () |
int | getStencil () |
virtual void | getXML (std::string &outString)=0 |
bool | isVisible () const |
virtual void | setStencil (int stencil) |
virtual void | setVisible (bool visible) |
virtual void | setWithXML (const std::string &inString, unsigned int ¤tPosition)=0 |
Protected Attributes | |
GLubyte * | auxIndices |
GLuint | buffers [7] |
std::vector< Color > | fillColors |
bool | filled |
bool | generated |
float | hideOutlineLod |
GLubyte * | indices |
bool | invertYTexture |
bool | lighting |
std::vector< Coord > | normalArray |
std::vector< Color > | outlineColors |
bool | outlined |
float | outlineSize |
std::vector< Coord > | points |
PolygonMode | polygonMode |
GLfloat * | texArray |
std::string | textureName |
Protected Attributes inherited from tlp::GlSimpleEntity | |
BoundingBox | boundingBox |
std::vector< GlComposite * > | parents |
int | stencil |
bool | visible |
class to create a abstract polygon
Definition at line 39 of file GlAbstractPolygon.h.
float tlp::GlAbstractPolygon::getOutlineSize | ( | ) |
Get the outline size.
std::string tlp::GlAbstractPolygon::getTextureName | ( | ) |
Get the textureName.
void tlp::GlAbstractPolygon::setFillColor | ( | const Color & | color | ) |
Set color used to filling the whole polygon.
void tlp::GlAbstractPolygon::setOutlineColor | ( | const Color & | color | ) |
Set the color used to outlining the whole polygon.
void tlp::GlAbstractPolygon::setOutlineSize | ( | float | size | ) |
Set the outline size.
void tlp::GlAbstractPolygon::setTextureName | ( | const std::string & | name | ) |
Set the textureName.