VHTK::StreamTubes Class Reference
[Visualization Nodes]

Inheritance diagram for VHTK::StreamTubes:

Inheritance graph
[legend]

List of all members.


Detailed Description

Creates stream tubes from a vector volume.

From a set of seeds stream tubes are rendered from vector data provided by a VectorVolume node. The tube colours are specified from vector magnitude through specified colour functions.

Every field is routed to an update field and will upon change trigger an update of stream tubes.

X3D Interface

 NameTypeDefault valueDescription
vectorVolume SFVectorVolume   null   The volume to visualize with this set of stream tubes  
scalarVolume SFScalarVolume   (ScalarExtractorField)   This volume controls the color of the tubes. If not specified the vector magnitude is used.  
radiusVolume SFScalarVolume   null   It present this volume determines the radius of the tubes.  
source MFVec3f   []   Seeds for stream tubes in the local coordinate system  
step SFFloat   0.01   Integration step for the tube generation  
twoSided SFBool   TRUE   If true the tubes will be generated in two direction from the seed  
maxLength SFFloat   0.1   The maximum length of the generated tubes  
maxRadius SFFloat   -1   The maximum radius of the generated tube. If the radius specified through an external volume becomes too large the tube is terminated.  
threshold SFFloat   0.0   If the vector magnitude is lower than this value the tube is terminated  
colorFunction SFColorFunction   (0.0--1.0)   Color of the tubes controlled by scalarVolume  
radius SFFloat   0.01   Radius of the tube, if not specified through the radiusVolume field.  

Public Member Functions

void initialize ()
void traverseSG (H3D::TraverseInfo &ti)

Public Attributes

auto_ptr< SFVectorDataNodevectorVolume
auto_ptr< SFScalarDataNodescalarVolume
auto_ptr< SFScalarDataNoderadiusVolume
auto_ptr< H3D::MFVec3fsource
auto_ptr< SFColorFunctioncolorFunction
auto_ptr< H3D::SFFloatstep
auto_ptr< H3D::SFBooltwoSided
auto_ptr< H3D::SFFloatmaxLength
auto_ptr< H3D::SFFloatmaxRadius
auto_ptr< H3D::SFFloatthreshold
auto_ptr< H3D::SFFloatradius
auto_ptr< H3D::SFInt32subdivision
auto_ptr< H3D::SFBooluseEuler

Static Public Attributes

static H3D::H3DNodeDatabase database

Protected Member Functions

void createTubes ()
H3D::H3DFloat addTube (H3D::Vec3f p, H3D::H3DFloat max_length, H3D::H3DFloat step, std::vector< H3D::Vec3f > &point, std::vector< H3D::Vec3f > &normal, std::vector< H3D::RGB > &rgb, std::vector< int > &index)

Protected Attributes

auto_ptr< Update > update

Friends

struct Update

Classes

struct  Update


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