#include <FF3DPlanarForceModel.h>
Inherits FF3DForceModel.
Collaboration diagram for FF3DPlanarForceModel:
Definition at line 33 of file FF3DPlanarForceModel.h.
Public Member Functions | |
FF3DPlanarForceModel (const Vec3f &pt1, const Vec3f &pt2, const mgFloat &stiffness=STIFFNESS) | |
default constructor | |
FF3DPlanarForceModel (const FF3DPlanarForceModel &fm) | |
recopy constructor | |
virtual FF3DForceModel * | clone () |
clone method | |
virtual Vec3f | evaluate (const Vec3f &pPos, const mgFloat &w) |
Public Attributes | |
mgFloat | _stiffness |
Vec3f | _pt1 |
Vec3f | _pt2 |
Vec3f | _pt3 |
Static Public Attributes | |
static Vec3f | _oldForce = Vec3f(0,0,0) |
FF3DPlanarForceModel::FF3DPlanarForceModel | ( | const Vec3f & | pt1, | |
const Vec3f & | pt2, | |||
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 31 of file FF3DPlanarForceModel.cpp.
FF3DPlanarForceModel::FF3DPlanarForceModel | ( | const FF3DPlanarForceModel & | fm | ) |
virtual FF3DForceModel* FF3DPlanarForceModel::clone | ( | ) | [inline, virtual] |
virtual Vec3f FF3DPlanarForceModel::evaluate | ( | const Vec3f & | pPos, | |
const mgFloat & | w | |||
) | [inline, virtual] |
Definition at line 51 of file FF3DPlanarForceModel.h.
Vec3f FF3DForceModel::_oldForce = Vec3f(0,0,0) [static, inherited] |
Definition at line 37 of file ff3dforcemodel.h.
Definition at line 37 of file FF3DPlanarForceModel.h.
Definition at line 38 of file FF3DPlanarForceModel.h.
Definition at line 39 of file FF3DPlanarForceModel.h.
mgFloat FF3DPlanarForceModel::_stiffness |
Definition at line 35 of file FF3DPlanarForceModel.h.