iMSTK
Interactive Medical Simulation Toolkit
|
PbdFemTetConstraintFunctor generates constraints per cell of a TetrahedralMesh. 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 | setMaterialType (const PbdFemTetConstraint::MaterialType materialType) |
PbdFemTetConstraint::MaterialType | getMaterialType () const |
void | setFemConfig (std::shared_ptr< PbdFemConstraintConfig > femConfig) |
std::shared_ptr< PbdFemConstraintConfig > | getFemConfig () const |
![]() | |
void | setGeometry (std::shared_ptr< PointSet > geom) |
void | setBodyIndex (const int bodyIndex) |
![]() | |
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 | |
PbdFemTetConstraint::MaterialType | m_matType = PbdFemTetConstraint::MaterialType::StVK |
std::shared_ptr< PbdFemConstraintConfig > | m_femConfig = nullptr |
Additional Inherited Members | |
![]() | |
int | m_bodyIndex = 1 |
std::shared_ptr< PointSet > | m_geom = nullptr |
PbdFemTetConstraintFunctor generates constraints per cell of a TetrahedralMesh.
Definition at line 317 of file imstkPbdConstraintFunctor.h.