#include <CPotentialFieldForceAlgo.h>
Public Member Functions | |
cPotentialFieldForceAlgo () | |
Constructor of cPotentialFieldForceAlgo. | |
virtual | ~cPotentialFieldForceAlgo () |
Destructor of cPotentialFieldForceAlgo. | |
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_toolPos, const cVector3d &a_toolVel) |
Compute the next force given the updated position of the device. | |
Public Attributes | |
cInteractionSettings | m_interactionSettings |
Interactions recorder settings. | |
cInteractionRecorder | m_interactionRecorder |
Interactions recorder. |
cPotentialFieldForceAlgo::cPotentialFieldForceAlgo | ( | ) |
Constructor of cPotentialFieldForceAlgo.
Constructor of cPotentialFieldForceAlgo
cVector3d cPotentialFieldForceAlgo::computeForces | ( | const cVector3d & | a_toolPos, | |
const cVector3d & | a_toolVel | |||
) | [virtual] |
Compute the next force given the updated position of the device.
Compute forces for all potential field based objects (cGenericPotentialField).
a_toolPos | Position of tool. | |
a_toolVel | Velocity of tool. |
Reimplemented from cGenericPointForceAlgo.