#include <CEffectVibration.h>

Public Member Functions | |
| cEffectVibration (cGenericObject *a_parent) | |
| Constructor of cEffectVibration. | |
| virtual | ~cEffectVibration () |
| Destructor of cEffectVibration. | |
| bool | computeForce (const cVector3d &a_toolPos, const cVector3d &a_toolVel, const unsigned int &a_toolID, cVector3d &a_reactionForce) |
| Compute resulting force. | |
Protected Attributes | |
| cPrecisionClock | clock |
| Vibration signal clock. | |
| cEffectVibration::cEffectVibration | ( | cGenericObject * | a_parent | ) |
Constructor of cEffectVibration.
Constructor of cEffectVibration.
| a_parent | Parent object. |
| bool cEffectVibration::computeForce | ( | const cVector3d & | a_toolPos, | |
| const cVector3d & | a_toolVel, | |||
| const unsigned int & | a_toolID, | |||
| cVector3d & | a_reactionForce | |||
| ) | [virtual] |
Compute resulting force.
Compute the resulting force effect.
| a_toolPos | Position of tool. | |
| a_toolVel | Velocity of tool. | |
| a_toolID | Identification number of force algorithm. | |
| a_reactionForce | Return the computed force here. |
Reimplemented from cGenericEffect.