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

A 2D glyph. More...

List of all members.

Public Member Functions

 Hexagone (GlyphContext *gc=NULL)
 Hexagone (EdgeExtremityGlyphContext *gc)
virtual ~Hexagone ()
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 GlHexagon * hexagon = 0

Detailed Description

A 2D glyph.

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