#include <CGenericEffect.h>

Public Member Functions | |
| cGenericEffect (cGenericObject *a_parent) | |
| Constructor of CGenericEffect. | |
| virtual | ~cGenericEffect () |
| Destructor of CGenericEffect. | |
| virtual bool | computeForce (const cVector3d &a_toolPos, const cVector3d &a_toolVel, const unsigned int &a_toolID, cVector3d &a_reactionForce) |
| Compute a resulting force. | |
| cVector3d | getLastComputedForce () |
| Read last computed force. | |
| void | enable (bool a_status) |
| Enable or disable current effect. | |
| bool | isEnabled () |
| Is the current effect enabled. | |
Public Attributes | |
| cGenericObject * | m_parent |
| object to which the force effects applies. | |
Protected Member Functions | |
| virtual void | initialize () |
| initialize effect model. | |
Protected Attributes | |
| cVector3d | m_lastComputedForce |
| last computed force. | |
| bool | m_enabled |
| is the current effect enabled. | |
| cGenericEffect::cGenericEffect | ( | cGenericObject * | a_parent | ) |