45 #ifndef CGenericForceAlgorithmH 46 #define CGenericForceAlgorithmH 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
cGenericForceAlgorithm()
Constructor of cGenericForceAlgorithm.
Definition: CGenericForceAlgorithm.cpp:57
cWorld * m_world
Pointer to the world in which the force algorithm operates.
Definition: CGenericForceAlgorithm.h:139
void setShowEnabled(bool a_showEnabled)
Definition: CGenericForceAlgorithm.h:116
virtual ~cGenericForceAlgorithm()
Destructor of cGenericForceAlgorithm.
Definition: CGenericForceAlgorithm.h:96
This class implements a virtual world.
Definition: CWorld.h:92
bool getShowEnabled()
Definition: CGenericForceAlgorithm.h:119
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: CGenericForceAlgorithm.h:112
This class implements a base class for modeling force rendering algorithms.
Definition: CGenericForceAlgorithm.h:84
virtual void render(cRenderOptions &a_options)
This method renders the force algorithm graphically using OpenGL. (For debug purposes) ...
Definition: CGenericForceAlgorithm.h:129
Implements a base class for all objects.
cWorld * getWorld()
This method returns a pointer to the world in which the force algorithm is operating.
Definition: CGenericForceAlgorithm.h:106
bool m_showEnabled
If true then the graphic display mode is enabled.
Definition: CGenericForceAlgorithm.h:142
virtual void initialize(cWorld *a_world, const cVector3d &a_initialPos)
This method initializes the algorithm by passing the starting position of the haptic device...
Definition: CGenericForceAlgorithm.h:109
Definition: CAudioBuffer.cpp:56