#include <CEffectStickSlip.h>
Public Member Functions | |
cEffectStickSlip (cGenericObject *a_parent) | |
Constructor of cEffectStickSlip. | |
virtual | ~cEffectStickSlip () |
Destructor of cEffectStickSlip. | |
bool | computeForce (const cVector3d &a_toolPos, const cVector3d &a_toolVel, const unsigned int &a_toolID, cVector3d &a_reactionForce) |
Compute resulting force. | |
Protected Attributes | |
cStickSlipStatus | m_history [CHAI_EFFECT_MAX_IDN] |
store the algorithm history for each IDN calling this effect. |
cEffectStickSlip::cEffectStickSlip | ( | cGenericObject * | a_parent | ) |
Constructor of cEffectStickSlip.
Constructor of cEffectStickSlip.
a_parent | Parent object. |
bool cEffectStickSlip::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.