Square3tulip
A 2d glyph.
Usage
Public Member Functions
Square (GlyphContext *gc=NULL)
virtual ~Square ()
virtual void getIncludeBoundingBox (BoundingBox &boundingBox)
virtual void draw (node n, float lod)
virtual Coord getAnchor (const Coord &vector) const
Protected Member Functions
void drawSquare ()
void drawSquareBorder ()
Detailed Description
A 2D glyph.
This glyph draws a textured square using the 'viewTexture' node property value. If this property has no value, the square is then colored using the 'viewColor' node property value.