Tulip Plugins
Public Member Functions
Cylinder Class Reference

A 3D glyph. More...

List of all members.

Public Member Functions

 Cylinder (GlyphContext *gc=NULL)
 Cylinder (EdgeExtremityGlyphContext *gc)
virtual ~Cylinder ()
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 Coord getAnchor (const Coord &vector) const

Detailed Description

A 3D glyph.

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


Constructor & Destructor Documentation

Cylinder::Cylinder ( GlyphContext *  gc = NULL)
Cylinder::Cylinder ( EdgeExtremityGlyphContext *  gc)
Cylinder::~Cylinder ( ) [virtual]

Member Function Documentation

void Cylinder::draw ( node  n,
float  lod 
) [virtual]
void Cylinder::draw ( edge  e,
node  n,
const Color &  glyphColor,
const Color &  borderColor,
float  lod 
) [virtual]
Coord Cylinder::getAnchor ( const Coord &  vector) const [virtual]
void Cylinder::getIncludeBoundingBox ( BoundingBox &  boundingBox,
node   
) [virtual]