This class implements a force algorithms for handling all haptic effects associated with objects.
More...
#include <CAlgorithmPotentialField.h>
|
| virtual void | render (cRenderOptions &a_options) |
| | This method renders the force algorithms graphically in OpenGL. (For debug purposes)
|
| |
|
| unsigned int | m_IDN |
| | Identification number for this force algorithm object.
|
| |
| cWorld * | m_world |
| | Pointer to the world in which the force algorithm operates.
|
| |
| bool | m_showEnabled |
| | If true then the graphic display mode is enabled.
|
| |
|
| static unsigned int | m_IDNcounter = 0 |
| | Static IDN counter for all algorithms of this class.
|
| |
This class implements a force algorithms for handling all haptic effects (cGenericEffect)associated with objects.
◆ cAlgorithmPotentialField()
| chai3d::cAlgorithmPotentialField::cAlgorithmPotentialField |
( |
| ) |
|
◆ ~cAlgorithmPotentialField()
| virtual chai3d::cAlgorithmPotentialField::~cAlgorithmPotentialField |
( |
| ) |
|
|
inlinevirtual |
◆ initialize()
| void chai3d::cAlgorithmPotentialField::initialize |
( |
cWorld * |
a_world, |
|
|
const cVector3d & |
a_initialPos |
|
) |
| |
|
inlinevirtual |
◆ computeForces()
This method computes forces for all haptic effects associated with the objects includes in the world and the haptic tool handled by this algorithms.
- Parameters
-
| a_toolPos | Position of tool. |
| a_toolVel | Velocity of tool. |
Reimplemented from chai3d::cGenericForceAlgorithm.
◆ render()
| virtual void chai3d::cAlgorithmPotentialField::render |
( |
cRenderOptions & |
a_options | ) |
|
|
inlineprotectedvirtual |
◆ m_interactionRecorder
◆ m_IDN
| unsigned int chai3d::cAlgorithmPotentialField::m_IDN |
|
protected |
◆ m_IDNcounter
| unsigned int chai3d::cAlgorithmPotentialField::m_IDNcounter = 0 |
|
staticprotected |
The documentation for this class was generated from the following files: