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

A 3D glyph. More...

List of all members.

Public Member Functions

 Cube (GlyphContext *gc=NULL)
 Cube (EdgeExtremityGlyphContext *gc)
virtual ~Cube ()
virtual void draw (node n, float lod)
virtual Coord getAnchor (const Coord &vector) const
virtual void draw (edge e, node n, const Color &glyphColor, const Color &borderColor, float lod)
virtual void draw (const Color &fillColor, const std::string &textureName, float lod)

Static Protected Attributes

static GlBox * box = 0

Detailed Description

A 3D glyph.

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