iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Public Attributes | List of all members
imstk::PbdBodyConstraintFunctor Class Reference

Abstract PbdConstraintFunctor that assumes usage of a singular body & geometry. More...

#include <imstkPbdConstraintFunctor.h>

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

Public Member Functions

void setGeometry (std::shared_ptr< PointSet > geom)
 
void setBodyIndex (const int bodyIndex)
 
- Public Member Functions inherited from imstk::PbdConstraintFunctor
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< PointSetm_geom = nullptr
 

Detailed Description

Abstract PbdConstraintFunctor that assumes usage of a singular body & geometry.

Definition at line 84 of file imstkPbdConstraintFunctor.h.


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