iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | List of all members
imstk::PbdConstraintFunctor Struct Referenceabstract

PbdConstraintFunctor take input geometry and produce constraints. It exists to allow extensible constraint generation. Any number of constraints could be generated by a functor for a single geometry with any number of parameters. More...

#include <imstkPbdConstraintFunctor.h>

Inheritance diagram for imstk::PbdConstraintFunctor:
Inheritance graph
[legend]

Public Member Functions

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.
 

Detailed Description

PbdConstraintFunctor take input geometry and produce constraints. It exists to allow extensible constraint generation. Any number of constraints could be generated by a functor for a single geometry with any number of parameters.

Definition at line 38 of file imstkPbdConstraintFunctor.h.


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