45#ifndef CAlgorithmPotentialFieldH
46#define CAlgorithmPotentialFieldH
Implements a base class for force rendering algorithms.
Implements basic structures for handling interaction events.
This class implements a force algorithms for handling all haptic effects associated with objects.
Definition CAlgorithmPotentialField.h:80
cInteractionRecorder m_interactionRecorder
Interaction recorder.
Definition CAlgorithmPotentialField.h:114
virtual void render(cRenderOptions &a_options)
This method renders the force algorithms graphically in OpenGL. (For debug purposes)
Definition CAlgorithmPotentialField.h:124
virtual cVector3d computeForces(const cVector3d &a_toolPos, const cVector3d &a_toolVel)
This method computes the next force given the updated position of the haptic device.
Definition CAlgorithmPotentialField.cpp:83
void initialize(cWorld *a_world, const cVector3d &a_initialPos)
This method initializes the algorithm by passing the start position of the haptic device.
Definition CAlgorithmPotentialField.h:101
static unsigned int m_IDNcounter
Static IDN counter for all algorithms of this class.
Definition CAlgorithmPotentialField.h:137
unsigned int m_IDN
Identification number for this force algorithm object.
Definition CAlgorithmPotentialField.h:134
cAlgorithmPotentialField()
Constructor of cAlgorithmPotentialField.
Definition CAlgorithmPotentialField.cpp:64
virtual ~cAlgorithmPotentialField()
Destructor of cAlgorithmPotentialField.
Definition CAlgorithmPotentialField.h:91
This class implements a base class for modeling force rendering algorithms.
Definition CGenericForceAlgorithm.h:85
cWorld * m_world
Pointer to the world in which the force algorithm operates.
Definition CGenericForceAlgorithm.h:139
This class stores a list of interaction events.
Definition CInteractionBasics.h:134
This class implements a virtual world.
Definition CWorld.h:93
Definition CAudioBuffer.cpp:57
This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition CRenderOptions.h:83
This class implements a 3D vector.
Definition CVector3d.h:89