|
iMSTK
Interactive Medical Simulation Toolkit
|
PbdDihedralConstraintFunctor generates constraints per pair of triangle neighbors in a SurfaceMesh. More...
#include <imstkPbdConstraintFunctor.h>


Public Member Functions | |
| void | operator() (PbdConstraintContainer &constraints) override |
| Appends a set of constraint to the container given a geometry & body. | |
| void | addConstraints (PbdConstraintContainer &constraints, std::shared_ptr< std::unordered_set< size_t >> vertices) override |
| void | setStiffness (const double stiffness) |
| Get/Set the stiffness, how hard the constraint is. | |
| double | getStiffness () const |
Public Member Functions inherited from imstk::PbdBodyConstraintFunctor | |
| void | setGeometry (std::shared_ptr< PointSet > geom) |
| void | setBodyIndex (const int bodyIndex) |
Public Member Functions inherited from imstk::PbdConstraintFunctor | |
| virtual void | addConstraints (PbdConstraintContainer &imstkNotUsed(constraints), std::shared_ptr< std::unordered_set< size_t >> imstkNotUsed(vertices)) |
| Appends a set of constraint to the container given a geometry and a set of newly inserted vertices This is for dealing with topology diffs during runtime. | |
Protected Attributes | |
| double | m_stiffness = 0.0 |
Additional Inherited Members | |
Public Attributes inherited from imstk::PbdBodyConstraintFunctor | |
| int | m_bodyIndex = 1 |
| std::shared_ptr< PointSet > | m_geom = nullptr |
PbdDihedralConstraintFunctor generates constraints per pair of triangle neighbors in a SurfaceMesh.
Definition at line 627 of file imstkPbdConstraintFunctor.h.
1.8.13