VHTK::Glyphs Class Reference
[Visualization Nodes]

Inheritance diagram for VHTK::Glyphs:

Inheritance graph
[legend]

List of all members.


Detailed Description

This geometry node multiplies a selected geometry (glyph) to a defined set of positions with orientation representating a vector field.

To use this node for glyph visualization, choose a geometry with the Y axis in the forward direction, such as the Cone geometry.

The size of the glyphs and their colour can be controlled from different property volumes.

X3D Interface

 NameTypeDefault valueDescription
vectorVolume SFVectorVolume   null   The volume to visualize with this set of glyphs.  
scalarVolume SFScalarVolume   (ScalarExtractorField)   This volume controls the color of the tubes. If not specified the vector magnitude is used.  
sizeVolume SFScalarVolume   null   It present this volume determines the size of the glyphs.  
source MFVec3f   []   Positions of the glyphs.  
maxSize SFFloat   -1   The maximum size of the glyphs. The size of the glyphs are limited by this value.  
colorFunction SFColorFunction   (0.0--1.0)   Color of the glyphs controlled by scalarVolume  
size SFFloat   0.01   Size of the glyphs, if not specified through the sizeVolume field.  

Public Member Functions

 Glyphs (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< SFBound > _bound=0, H3D::Inst< DisplayList > _displayList=0, H3D::Inst< H3D::MFBool > _isTouched=0, H3D::Inst< H3D::MFVec3f > _force=0, H3D::Inst< H3D::MFVec3f > _contactPoint=0, H3D::Inst< H3D::MFVec3f > _contactNormal=0, H3D::Inst< SFVectorDataNode > _vectorVolume=0, H3D::Inst< SFScalarDataNode > _scalarVolume=0, H3D::Inst< SFScalarDataNode > _sizeVolume=0, H3D::Inst< MFGeometryNode > _geometry=0, H3D::Inst< H3D::MFVec3f > _source=0, H3D::Inst< SFColorFunction > _colorFunction=0, H3D::Inst< H3D::SFFloat > _maxSize=0, H3D::Inst< H3D::SFFloat > _size=0)
virtual void render ()
virtual void initialize ()

Public Attributes

std::auto_ptr< MFGeometryNode > geometry
std::auto_ptr< SFVectorDataNodevectorVolume
std::auto_ptr< SFScalarDataNodescalarVolume
std::auto_ptr< SFScalarDataNodesizeVolume
std::auto_ptr< H3D::MFVec3fsource
std::auto_ptr< SFColorFunctioncolorFunction
std::auto_ptr< H3D::SFFloatmaxSize
std::auto_ptr< H3D::SFFloatsize

Static Public Attributes

static H3D::H3DNodeDatabase database

Classes

class  MFGeometryNode
struct  SFBound


Generated on Thu Mar 5 08:46:55 2009 for Volume Haptics Toolkit by  doxygen 1.5.6