iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::PbdFemTetConstraintFunctor Struct Reference

PbdFemTetConstraintFunctor generates constraints per cell of a TetrahedralMesh. More...

#include <imstkPbdConstraintFunctor.h>

Inheritance diagram for imstk::PbdFemTetConstraintFunctor:
Inheritance graph
[legend]
Collaboration diagram for imstk::PbdFemTetConstraintFunctor:
Collaboration graph
[legend]

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< PbdFemConstraintConfiggetFemConfig () 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

PbdFemTetConstraint::MaterialType m_matType = PbdFemTetConstraint::MaterialType::StVK
 
std::shared_ptr< PbdFemConstraintConfigm_femConfig = nullptr
 

Additional Inherited Members

- Public Attributes inherited from imstk::PbdBodyConstraintFunctor
int m_bodyIndex = 1
 
std::shared_ptr< PointSetm_geom = nullptr
 

Detailed Description

PbdFemTetConstraintFunctor generates constraints per cell of a TetrahedralMesh.

Definition at line 317 of file imstkPbdConstraintFunctor.h.


The documentation for this struct was generated from the following file: