#include <FF3DSphericalForceModel.h>
Inherits FF3DForceModel.
Collaboration diagram for FF3DSphericalForceModel:

Definition at line 36 of file FF3DSphericalForceModel.h.
Public Member Functions | |
| FF3DSphericalForceModel (const Vec3f &pt, const mgFloat &pRange, const mgFloat &stiffness=STIFFNESS) | |
| default constructor | |
| FF3DSphericalForceModel (const FF3DSphericalForceModel &fm) | |
| recopy constructor | |
| virtual FF3DForceModel * | clone () |
| clone method | |
| virtual Vec3f | evaluate (const Vec3f &pos, const mgFloat &w) |
Public Attributes | |
| mgFloat | _stiffness |
| Vec3f | _pt1 |
| Vec3f | _pt2 |
| Vec3f | _pt3 |
| mgFloat | _range |
Static Public Attributes | |
| static Vec3f | _oldForce = Vec3f(0,0,0) |
| FF3DSphericalForceModel::FF3DSphericalForceModel | ( | const Vec3f & | pt, | |
| const mgFloat & | pRange, | |||
| const mgFloat & | stiffness = STIFFNESS | |||
| ) |
default constructor
| pt1 | first point to define base of plan | |
| pt2 | second point define vector and "norm" of plan |
Definition at line 32 of file FF3DSphericalForceModel.cpp.
| FF3DSphericalForceModel::FF3DSphericalForceModel | ( | const FF3DSphericalForceModel & | fm | ) |
| virtual FF3DForceModel* FF3DSphericalForceModel::clone | ( | ) | [inline, virtual] |
| virtual Vec3f FF3DSphericalForceModel::evaluate | ( | const Vec3f & | pos, | |
| const mgFloat & | w | |||
| ) | [inline, virtual] |
Definition at line 57 of file FF3DSphericalForceModel.h.
Vec3f FF3DForceModel::_oldForce = Vec3f(0,0,0) [static, inherited] |
Definition at line 37 of file ff3dforcemodel.h.
Definition at line 40 of file FF3DSphericalForceModel.h.
Definition at line 41 of file FF3DSphericalForceModel.h.
Definition at line 42 of file FF3DSphericalForceModel.h.
| mgFloat FF3DSphericalForceModel::_range |
Definition at line 44 of file FF3DSphericalForceModel.h.
Definition at line 38 of file FF3DSphericalForceModel.h.
1.4.7