|
Bullet Collision Detection & Physics Library
|
#include <btSoftBodySolvers.h>

Public Types | |
| enum | SolverTypes { DEFAULT_SOLVER , CPU_SOLVER , CL_SOLVER , CL_SIMD_SOLVER , DX_SOLVER , DX_SIMD_SOLVER } |
Public Member Functions | |
| btSoftBodySolver () | |
| virtual | ~btSoftBodySolver () |
| virtual SolverTypes | getSolverType () const =0 |
| Return the type of the solver. | |
| virtual bool | checkInitialized ()=0 |
| Ensure that this solver is initialized. | |
| virtual void | optimize (btAlignedObjectArray< btSoftBody * > &softBodies, bool forceUpdate=false)=0 |
| Optimize soft bodies in this solver. | |
| virtual void | copyBackToSoftBodies (bool bMove=true)=0 |
| Copy necessary data back to the original soft body source objects. | |
| virtual void | predictMotion (float solverdt)=0 |
| Predict motion of soft bodies into next timestep. | |
| virtual void | solveConstraints (float solverdt)=0 |
| Solve constraints for a set of soft bodies. | |
| virtual void | updateSoftBodies ()=0 |
| Perform necessary per-step updates of soft bodies such as recomputing normals and bounding boxes. | |
| virtual void | processCollision (btSoftBody *, const struct btCollisionObjectWrapper *)=0 |
| Process a collision between one of the world's soft bodies and another collision object. | |
| virtual void | processCollision (btSoftBody *, btSoftBody *)=0 |
| Process a collision between two soft bodies. | |
| virtual void | setNumberOfPositionIterations (int iterations) |
| Set the number of velocity constraint solver iterations this solver uses. | |
| virtual int | getNumberOfPositionIterations () |
| Get the number of velocity constraint solver iterations this solver uses. | |
| virtual void | setNumberOfVelocityIterations (int iterations) |
| Set the number of velocity constraint solver iterations this solver uses. | |
| virtual int | getNumberOfVelocityIterations () |
| Get the number of velocity constraint solver iterations this solver uses. | |
| float | getTimeScale () |
| Return the timescale that the simulation is using. | |
Protected Attributes | |
| int | m_numberOfPositionIterations |
| int | m_numberOfVelocityIterations |
| float | m_timeScale |
Definition at line 30 of file btSoftBodySolvers.h.
| Enumerator | |
|---|---|
| DEFAULT_SOLVER | |
| CPU_SOLVER | |
| CL_SOLVER | |
| CL_SIMD_SOLVER | |
| DX_SOLVER | |
| DX_SIMD_SOLVER | |
Definition at line 33 of file btSoftBodySolvers.h.
|
inline |
Definition at line 51 of file btSoftBodySolvers.h.
|
inlinevirtual |
Definition at line 59 of file btSoftBodySolvers.h.
Ensure that this solver is initialized.
Implemented in btDefaultSoftBodySolver.
Copy necessary data back to the original soft body source objects.
Implemented in btDefaultSoftBodySolver.
Get the number of velocity constraint solver iterations this solver uses.
Definition at line 100 of file btSoftBodySolvers.h.
Get the number of velocity constraint solver iterations this solver uses.
Definition at line 112 of file btSoftBodySolvers.h.
|
pure virtual |
Return the type of the solver.
Implemented in btDefaultSoftBodySolver.
|
inline |
Return the timescale that the simulation is using.
Definition at line 118 of file btSoftBodySolvers.h.
|
pure virtual |
Optimize soft bodies in this solver.
Implemented in btDefaultSoftBodySolver.
Predict motion of soft bodies into next timestep.
Implemented in btDefaultSoftBodySolver.
|
pure virtual |
Process a collision between two soft bodies.
Implemented in btDefaultSoftBodySolver.
|
pure virtual |
Process a collision between one of the world's soft bodies and another collision object.
Set the number of velocity constraint solver iterations this solver uses.
Definition at line 94 of file btSoftBodySolvers.h.
Set the number of velocity constraint solver iterations this solver uses.
Definition at line 106 of file btSoftBodySolvers.h.
Solve constraints for a set of soft bodies.
Implemented in btDefaultSoftBodySolver.
Perform necessary per-step updates of soft bodies such as recomputing normals and bounding boxes.
Implemented in btDefaultSoftBodySolver.
|
protected |
Definition at line 45 of file btSoftBodySolvers.h.
|
protected |
Definition at line 46 of file btSoftBodySolvers.h.
|
protected |
Definition at line 48 of file btSoftBodySolvers.h.