iMSTK
Interactive Medical Simulation Toolkit
|
PbdConstraintFunctor take input geometry and produce constraints. It exists to allow extensible constraint generation. Any number of constraints could be generated by a functor for a single geometry with any number of parameters. More...
#include <imstkPbdConstraintFunctor.h>
Public Member Functions | |
virtual void | operator() (PbdConstraintContainer &constraints)=0 |
Appends a set of constraint to the container given a geometry & body. | |
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. | |
PbdConstraintFunctor take input geometry and produce constraints. It exists to allow extensible constraint generation. Any number of constraints could be generated by a functor for a single geometry with any number of parameters.
Definition at line 38 of file imstkPbdConstraintFunctor.h.