VHTK::ScalarGradientPenetrationForceMode Class Reference
[Experimental Nodes]

This haptic mode estimates the penetration depth into object surfaces defined by the gradient in the volume. More...

Inheritance diagram for VHTK::ScalarGradientPenetrationForceMode:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ScalarGradientPenetrationForceMode ()
 Initializes the internal data.
void getPrimitives (primitives_t &r, const state &s)
 System function.
void initialize ()
 Initializes node functionality.

Public Attributes

auto_ptr< TSSField(H3D::SFFloat) > threshold
 The threshold specifying for which gradient magnitude values the surface should be rendered.
auto_ptr< TSSField(H3D::SFFloat) > stiffness
 The stiffness of the rendered surface.

Static Public Attributes

static H3D::H3DNodeDatabase database
 X3D interface function.


Detailed Description

This haptic mode estimates the penetration depth into object surfaces defined by the gradient in the volume.

This mode was suggested by Lawrence et. al. in "Shock and Vortex Visualization Using a Combined Visual/Haptic Interface", TVCG, 2000, as a means of generating haptic feedback from CFD data to examine shockwave structures.

Warning: this haptic mode is a dynamic force function, which means that it has its own memory. Thus, any changes of the data (translation, rotation, animation, etc) between two estimations of the force feedback will invalidate this memory and make the feedback wrong.

X3D Interface

 NameTypeDefault valueDescription
threshold SFFloat   0.01   The threshold specifying for which gradient magnitude values the surface should be rendered.  
stiffness SFFloat   100   The stiffness of the rendered surface.  
 
Derived from VHTKScalarModeNode  
scalarVolume SFScalarVolume   null    
 
Derived from VHTKHapticModeNode  
enabled SFBool   TRUE   Specifies if this haptic mode should be active or not  


Constructor & Destructor Documentation

VHTK::ScalarGradientPenetrationForceMode::ScalarGradientPenetrationForceMode (  ) 

Initializes the internal data.


Member Function Documentation

void VHTK::ScalarGradientPenetrationForceMode::getPrimitives ( primitives_t r,
const state s 
) [virtual]

System function.

Implements VHTK::VHTKHapticModeNode.

void VHTK::ScalarGradientPenetrationForceMode::initialize (  )  [virtual]

Initializes node functionality.

Reimplemented from VHTK::VHTKScalarModeNode.


Member Data Documentation

X3D interface function.

Reimplemented from VHTK::VHTKScalarModeNode.

The stiffness of the rendered surface.

The threshold specifying for which gradient magnitude values the surface should be rendered.


Generated on Thu Oct 1 08:53:37 2009 for Volume Haptics Toolkit by  doxygen 1.5.8