Tulip Plugins
Public Member Functions | Static Protected Attributes
Pentagone Class Reference

A 2D glyph. More...

List of all members.

Public Member Functions

 Pentagone (GlyphContext *gc=NULL)
 Pentagone (EdgeExtremityGlyphContext *gc)
virtual ~Pentagone ()
virtual void getIncludeBoundingBox (BoundingBox &boundingBox, node)
virtual void draw (node n, float lod)
virtual void draw (edge e, node n, const Color &glyphColor, const Color &borderColor, float lod)
virtual void draw (const Color &fillColor, const Color &borderColor, float borderWidth, const std::string &textureName, float lod)

Static Protected Attributes

static GlPentagon * pentagon = 0

Detailed Description

A 2D glyph.

This glyph draws a textured pentagone using the "viewTexture" node property value. If this property has no value, the pentagone is then colored using the "viewColor" node property value.