Tulip  4.6.0
Better Visualization Through Research
tlp::GlAbstractPolygon Class Reference

#include <GlAbstractPolygon.h>

+ Inheritance diagram for tlp::GlAbstractPolygon:
+ Collaboration diagram for tlp::GlAbstractPolygon:

List of all members.

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)

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

Detailed Description

class to create a abstract polygon

Warning:
You don't have to use this class, it's only a base class for some others entities

Definition at line 48 of file GlAbstractPolygon.h.


Member Function Documentation

Get the outline size.

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.

Set the outline size.

void tlp::GlAbstractPolygon::setTextureName ( const std::string &  name)

Set the textureName.

 All Classes Files Functions Variables Enumerations Enumerator Properties