|
|
void | setConnectiveStrandObj (std::shared_ptr< PbdObject > connectiveStrandObj) |
| | Sets PBD object that represents the connective tissue. This must use a line mesh for the physics mesh.
|
| |
|
void | generateDistanceConstraints () |
| | Creates distance constraints for the connective strands using the default m_distStiffness value. To modify the stiffness, call setDistStiffness before calling generateDistanceConstraints.
|
| |
|
void | setConnectedObjA (std::shared_ptr< PbdObject > objA) |
| | Sets PBD object to connect to connective strands assumes the surface mesh of ObjA is coincident with the end points of one side of the strands.
|
| |
|
void | setConnectedObjB (std::shared_ptr< PbdObject > objB) |
| | Sets PBD object to connect to connective straints assumes the surface mesh of ObjB is coincident with the end points of one side of the strands.
|
| |
|
void | operator() (PbdConstraintContainer &constraints) override |
| | Appends a set of constraint to the container given a geometry & body.
|
| |
|
|
void | setDistStiffness (double stiffness) |
| | Get/Set the stiffness for the distance constraint.
|
| |
|
double | getDistStiffness () |
| |
|
|
void | setTolerance (double tolerance) |
| | Get/Set Tolerance for checking coincidence of surface to line mesh.
|
| |
|
double | getTolerance () |
| |
|
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.
|
| |
|
|
int | m_bodyIndex = 1 |
| |
|
std::shared_ptr< PointSet > | m_geom = nullptr |
| |
The documentation for this class was generated from the following files: