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

PbdConstraintFunctor that can be forwarded out to a function pointer. More...

#include <imstkPbdConstraintFunctor.h>

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

Public Member Functions

 PbdConstraintFunctorLambda (std::function< void(PbdConstraintContainer &)> f)
 
void operator() (PbdConstraintContainer &constraints) override
 Appends a set of constraint to the container given a geometry & body.
 
- 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.
 

Public Attributes

std::function< void(PbdConstraintContainer &)> m_func = nullptr
 

Detailed Description

PbdConstraintFunctor that can be forwarded out to a function pointer.

Definition at line 64 of file imstkPbdConstraintFunctor.h.


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