101 const unsigned int& a_toolID,
Implements a base class for haptic effects.
This class implements a haptic magnetic effect.
Definition CEffectMagnet.h:78
virtual ~cEffectMagnet()
Destructor of cEffectMagnet.
Definition CEffectMagnet.h:89
bool computeForce(const cVector3d &a_toolPos, const cVector3d &a_toolVel, const unsigned int &a_toolID, cVector3d &a_reactionForce)
This method computes the resulting force effect.
Definition CEffectMagnet.cpp:79
bool m_enabledInside
If true then the magnet effect is active when the tool is located inside the object.
Definition CEffectMagnet.h:118
bool getEnabledInside()
This method returns true if the magnetic effect is active when inside the object, false otherwise.
Definition CEffectMagnet.h:108
void setEnabledInside(const bool a_enabled)
This method enables or disables the magnetic effect when the tool is located inside the object.
Definition CEffectMagnet.h:105
This class implements a base class for haptic effects.
Definition CGenericEffect.h:118
This class implements a base class for all 2D or 3D objects in CHAI3D.
Definition CGenericObject.h:113
Definition CAudioBuffer.cpp:57
This class implements a 3D vector.
Definition CVector3d.h:89