45 #ifndef CAlgorithmPotentialFieldH 46 #define CAlgorithmPotentialFieldH This class implements a 3D vector.
Definition: CVector3d.h:88
This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition: CRenderOptions.h:82
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
This class implements a force algorithms for handling all haptic effects associated with objects...
Definition: CAlgorithmPotentialField.h:79
Implements basic structures for handling interaction events.
virtual void render(cRenderOptions &a_options)
This method renders the force algorithms graphically in OpenGL. (For debug purposes) ...
Definition: CAlgorithmPotentialField.h:124
cWorld * m_world
Pointer to the world in which the force algorithm operates.
Definition: CGenericForceAlgorithm.h:139
virtual ~cAlgorithmPotentialField()
Destructor of cAlgorithmPotentialField.
Definition: CAlgorithmPotentialField.h:91
This class implements a virtual world.
Definition: CWorld.h:92
cAlgorithmPotentialField()
Constructor of cAlgorithmPotentialField.
Definition: CAlgorithmPotentialField.cpp:64
This class implements a base class for modeling force rendering algorithms.
Definition: CGenericForceAlgorithm.h:84
static unsigned int m_IDNcounter
Static IDN counter for all algorithms of this class.
Definition: CAlgorithmPotentialField.h:137
This class stores a list of interaction events.
Definition: CInteractionBasics.h:133
Definition: CAudioBuffer.cpp:56
Implements a base class for force rendering algorithms.
cInteractionRecorder m_interactionRecorder
Interaction recorder.
Definition: CAlgorithmPotentialField.h:114
unsigned int m_IDN
Identification number for this force algorithm object.
Definition: CAlgorithmPotentialField.h:134
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