iMSTK
Interactive Medical Simulation Toolkit
|
PbdConstraintFunctor that can be forwarded out to a function pointer. More...
#include <imstkPbdConstraintFunctor.h>
Public Member Functions | |
PbdConstraintFunctorLambda (std::function< void(PbdConstraintContainer &)> f) | |
void | operator() (PbdConstraintContainer &constraints) override |
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. | |
Public Attributes | |
std::function< void(PbdConstraintContainer &)> | m_func = nullptr |
PbdConstraintFunctor that can be forwarded out to a function pointer.
Definition at line 64 of file imstkPbdConstraintFunctor.h.