VHTK::VectorForceMode Class Reference
[Volume Haptics Nodes]

Inheritance diagram for VHTK::VectorForceMode:

Inheritance graph
[legend]

List of all members.


Detailed Description

The vector force mode adds a force in the direction of the vector.

X3D Interface

 NameTypeDefault valueDescription
strength SFTransferFunction   null   The strength of the force from the vector magnitude  
 
Derived from VHTKVectorModeNode  
vectorVolume SFVectorVolume   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

 VectorForceMode ()
 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 > > 
strength
 The strength of the force from the vector magnitude.

Static Public Attributes

static H3D::H3DNodeDatabase database
 X3D interface function.


Constructor & Destructor Documentation

VHTK::VectorForceMode::VectorForceMode (  ) 

Initializes the internal data.


Member Function Documentation

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

System function.

Implements VHTK::VHTKHapticModeNode.

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

Initializes node functionality.

Reimplemented from VHTK::VHTKVectorModeNode.


Member Data Documentation

The strength of the force from the vector magnitude.

X3D interface function.

Reimplemented from VHTK::VHTKVectorModeNode.


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