VHTK::ScalarViscosityMode Class Reference
[Volume Haptics Nodes]

Inheritance diagram for VHTK::ScalarViscosityMode:

Inheritance graph
[legend]

List of all members.


Detailed Description

The scalar viscosity mode generates viscosity throughout a scalar volume.

X3D Interface

 NameTypeDefault valueDescription
viscosity SFTransferFunction   null   The volume viscosity  
velocityIndependent SFBool   true   If true the viscosity feedback is not dependent on the velocity, i e the viscosity is expressed in pure Newton as opposed to Newton per meters per seconds.  
snapdrag SFBool   false   Use the snapdrag effect.  
 
Derived from VHTKScalarModeNode  
scalarVolume SFScalarVolume   null   The volume to specify the material properties from  
 
Derived from VHTKHapticModeNode  
active SFBool   TRUE   Specifies if this haptic mode should be active or not  

Public Member Functions

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

Public Attributes

auto_ptr
< H3D::ThreadSafeRefSField
< SFTransferFunction > > 
viscosity
 The viscosity to generate.
auto_ptr
< H3D::ThreadSafeSField
< H3D::SFBool > > 
velocityIndependent
 If true the viscosity feedback is not dependent on the velocity, i e the viscosity is expressed in pure Newton as opposed to Newton per meters per seconds.
auto_ptr
< H3D::ThreadSafeSField
< H3D::SFBool > > 
snapdrag
 Use snapdrag effect.

Static Public Attributes

static H3D::H3DNodeDatabase database
 X3D interface function.


Constructor & Destructor Documentation

VHTK::ScalarViscosityMode::ScalarViscosityMode (  ) 

Initializes the internal data.


Member Function Documentation

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

System function.

Implements VHTK::VHTKHapticModeNode.

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

Initializes node functionality.

Reimplemented from VHTK::VHTKScalarModeNode.


Member Data Documentation

The viscosity to generate.

If true the viscosity feedback is not dependent on the velocity, i e the viscosity is expressed in pure Newton as opposed to Newton per meters per seconds.

Use snapdrag effect.

Observe that the snap-drag effect is undefined for velocity dependent viscosity.

X3D interface function.

Reimplemented from VHTK::VHTKScalarModeNode.


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