#include <FF3DPointForceModel.h>
Inherits FF3DForceModel.
Collaboration diagram for FF3DPointForceModel:
Definition at line 34 of file FF3DPointForceModel.h.
Public Member Functions | |
FF3DPointForceModel (Playback *pb, const Vec3f &, const mgFloat &stiffness=STIFFNESS) | |
Default constructor. | |
FF3DPointForceModel (Playback *pb, const FF3DPointForceModel &fm) | |
recopy constructor | |
virtual FF3DForceModel * | clone () |
clone method | |
virtual Vec3f | evaluate (const Vec3f &pos, const mgFloat &w) |
Public Attributes | |
mgFloat | _stiffness |
Playback * | _pb |
Vec3f | _stick_point |
Static Public Attributes | |
static Vec3f | _oldForce = Vec3f(0,0,0) |
FF3DPointForceModel::FF3DPointForceModel | ( | Playback * | pb, | |
const Vec3f & | pPoint, | |||
const mgFloat & | stiffness = STIFFNESS | |||
) |
Default constructor.
pPoint | constrain point | |
stiffness | stiffness |
Definition at line 31 of file FF3DPointForceModel.cpp.
FF3DPointForceModel::FF3DPointForceModel | ( | Playback * | pb, | |
const FF3DPointForceModel & | fm | |||
) |
virtual FF3DForceModel* FF3DPointForceModel::clone | ( | ) | [inline, virtual] |
virtual Vec3f FF3DPointForceModel::evaluate | ( | const Vec3f & | pos, | |
const mgFloat & | w | |||
) | [inline, virtual] |
Definition at line 48 of file FF3DPointForceModel.h.
Vec3f FF3DForceModel::_oldForce = Vec3f(0,0,0) [static, inherited] |
Definition at line 37 of file ff3dforcemodel.h.
Definition at line 37 of file FF3DPointForceModel.h.
Definition at line 39 of file FF3DPointForceModel.h.
mgFloat FF3DPointForceModel::_stiffness |
Definition at line 36 of file FF3DPointForceModel.h.