#include <CEffectViscosity.h>
Public Member Functions | |
cEffectViscosity (cGenericObject *a_parent) | |
Constructor of CEffectViscosity. | |
virtual | ~cEffectViscosity () |
Destructor of CEffectViscosity. | |
bool | computeForce (const cVector3d &a_toolPos, const cVector3d &a_toolVel, const unsigned int &a_toolID, cVector3d &a_reactionForce) |
Compute resulting force. |
cEffectViscosity::cEffectViscosity | ( | cGenericObject * | a_parent | ) |
Constructor of CEffectViscosity.
Constructor of cEffectViscosity.
a_parent | Parent object. |
bool cEffectViscosity::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 the force algorithm stored in the tool. | |
a_reactionForce | Return the computed force here. |
Reimplemented from cGenericEffect.