iMSTK
Interactive Medical Simulation Toolkit
|
Abstract PbdConstraintFunctor that assumes usage of a singular body & geometry. More...
#include <imstkPbdConstraintFunctor.h>
Public Member Functions | |
void | setGeometry (std::shared_ptr< PointSet > geom) |
void | setBodyIndex (const int bodyIndex) |
![]() | |
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. | |
Public Attributes | |
int | m_bodyIndex = 1 |
std::shared_ptr< PointSet > | m_geom = nullptr |
Abstract PbdConstraintFunctor that assumes usage of a singular body & geometry.
Definition at line 84 of file imstkPbdConstraintFunctor.h.