|
Tulip Plugins
|
A 2D glyph. More...
Public Member Functions | |
| Ring (GlyphContext *gc=NULL) | |
| Ring (EdgeExtremityGlyphContext *gc) | |
| virtual | ~Ring () |
| virtual void | getIncludeBoundingBox (BoundingBox &boundingBox, node) |
| virtual string | getName () |
| virtual void | draw (node n, float lod) |
| virtual void | draw (edge e, node n, const Color &glyphColor, const Color &borderColor, float lod) |
Protected Member Functions | |
| void | drawGlyph (const Color &glyohColor, const string &texture, const string &texturePath, double borderWidth, const Color &borderColor, float lod) |
| void | drawRing () |
| void | drawRingBorder () |
A 2D glyph.
This glyph draws a textured disc with a circular hole using the "viewTexture" node property value. If this property has no value, the ring is then colored using the "viewColor" node property value.
| void Ring::drawGlyph | ( | const Color & | glyohColor, |
| const string & | texture, | ||
| const string & | texturePath, | ||
| double | borderWidth, | ||
| const Color & | borderColor, | ||
| float | lod | ||
| ) | [inline, protected] |
| virtual string Ring::getName | ( | ) | [inline, virtual] |
1.7.4