#include <btDefaultSoftBodySolver.h>

Public Member Functions | |
| btDefaultSoftBodySolver () | |
| virtual bool | checkInitialized () |
| virtual void | copyBackToSoftBodies () |
| virtual void | copySoftBodyToVertexBuffer (const btSoftBody *const softBody, btVertexBufferDescriptor *vertexBuffer) |
| virtual SolverTypes | getSolverType () const |
| virtual void | optimize (btAlignedObjectArray< btSoftBody * > &softBodies, bool forceUpdate=false) |
| virtual void | predictMotion (float solverdt) |
| virtual void | processCollision (btSoftBody *, btCollisionObject *) |
| virtual void | processCollision (btSoftBody *, btSoftBody *) |
| virtual void | solveConstraints (float solverdt) |
| virtual void | updateSoftBodies () |
| virtual | ~btDefaultSoftBodySolver () |
Protected Attributes | |
| btAlignedObjectArray < btSoftBody * > | m_softBodySet |
| bool | m_updateSolverConstants |
Definition at line 24 of file btDefaultSoftBodySolver.h.
| virtual btDefaultSoftBodySolver::~btDefaultSoftBodySolver | ( | ) | [virtual] |
| virtual bool btDefaultSoftBodySolver::checkInitialized | ( | ) | [virtual] |
Ensure that this solver is initialized.
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::copyBackToSoftBodies | ( | ) | [virtual] |
Copy necessary data back to the original soft body source objects.
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::copySoftBodyToVertexBuffer | ( | const btSoftBody *const | softBody, |
| btVertexBufferDescriptor * | vertexBuffer | ||
| ) | [virtual] |
| virtual SolverTypes btDefaultSoftBodySolver::getSolverType | ( | ) | const [inline, virtual] |
Return the type of the solver.
Implements btSoftBodySolver.
Definition at line 38 of file btDefaultSoftBodySolver.h.
| virtual void btDefaultSoftBodySolver::optimize | ( | btAlignedObjectArray< btSoftBody * > & | softBodies, |
| bool | forceUpdate = false |
||
| ) | [virtual] |
Optimize soft bodies in this solver.
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::predictMotion | ( | float | solverdt | ) | [virtual] |
Predict motion of soft bodies into next timestep
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::processCollision | ( | btSoftBody * | , |
| btCollisionObject * | |||
| ) | [virtual] |
Process a collision between one of the world's soft bodies and another collision object
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::processCollision | ( | btSoftBody * | , |
| btSoftBody * | |||
| ) | [virtual] |
Process a collision between two soft bodies
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::solveConstraints | ( | float | solverdt | ) | [virtual] |
Solve constraints for a set of soft bodies
Implements btSoftBodySolver.
| virtual void btDefaultSoftBodySolver::updateSoftBodies | ( | ) | [virtual] |
Perform necessary per-step updates of soft bodies such as recomputing normals and bounding boxes
Implements btSoftBodySolver.
btAlignedObjectArray< btSoftBody * > btDefaultSoftBodySolver::m_softBodySet [protected] |
Definition at line 30 of file btDefaultSoftBodySolver.h.
bool btDefaultSoftBodySolver::m_updateSolverConstants [protected] |
Variable to define whether we need to update solver constants on the next iteration
Definition at line 28 of file btDefaultSoftBodySolver.h.