cPotentialFieldForceAlgo Class Reference

cPotentialFieldForceAlgo is an abstract class for algorithms that compute single point force contacts. More...

#include <CPotentialFieldForceAlgo.h>

Inheritance diagram for cPotentialFieldForceAlgo:

cGenericPointForceAlgo List of all members.

Public Member Functions

 cPotentialFieldForceAlgo ()
 Constructor of cPotentialFieldForceAlgo.
virtual ~cPotentialFieldForceAlgo ()
 Destructor of cPotentialFieldForceAlgo.
virtual void initialize (cWorld *a_world, const cVector3d &a_initialPos)
 Initialize the algorithm by passing the initial position of the device.
virtual cVector3d computeForces (const cVector3d &a_nextDevicePos)
 Compute the next force given the updated position of the device.

Detailed Description

cPotentialFieldForceAlgo is an abstract class for algorithms that compute single point force contacts.


Member Function Documentation

cVector3d cPotentialFieldForceAlgo::computeForces ( const cVector3d a_nextDevicePos  )  [virtual]

Compute the next force given the updated position of the device.

Compute forces for all potential field based objects (cGenericPotentialField).

Parameters:
a_nextDevicePos Next position of haptic device or virtual finger.

Reimplemented from cGenericPointForceAlgo.


The documentation for this class was generated from the following files:
Generated on Mon Jun 11 09:41:48 2007 for CHAI 3D by  doxygen 1.5.2