Bullet Collision Detection & Physics Library
|
#include <btDeformableBodySolver.h>
Public Attributes | |
btDeformableBackwardEulerObjective * | m_objective |
bool | m_useProjection |
Private Types | |
typedef btAlignedObjectArray< btVector3 > | TVStack |
Additional Inherited Members | |
![]() | |
enum | SolverTypes { DEFAULT_SOLVER , CPU_SOLVER , CL_SOLVER , CL_SIMD_SOLVER , DX_SOLVER , DX_SIMD_SOLVER , DEFORMABLE_SOLVER , REDUCED_DEFORMABLE_SOLVER } |
Definition at line 30 of file btDeformableBodySolver.h.
Definition at line 32 of file btDeformableBodySolver.h.
btDeformableBodySolver::btDeformableBodySolver | ( | ) |
Definition at line 22 of file btDeformableBodySolver.cpp.
|
virtual |
Definition at line 29 of file btDeformableBodySolver.cpp.
|
virtual |
Definition at line 509 of file btDeformableBodySolver.cpp.
Reimplemented in btReducedDeformableBodySolver.
Definition at line 514 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::backupDv | ( | ) |
Definition at line 140 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::backupVelocity | ( | ) |
Definition at line 317 of file btDeformableBodySolver.cpp.
Ensure that this solver is initialized.
Implements btSoftBodySolver.
Definition at line 220 of file btDeformableBodySolver.h.
btScalar btDeformableBodySolver::computeDescentStep | ( | TVStack & | ddv, |
const TVStack & | residual, | ||
bool | verbose = false |
||
) |
Definition at line 166 of file btDeformableBodySolver.cpp.
Definition at line 214 of file btDeformableBodySolver.cpp.
Copy necessary data back to the original soft body source objects.
Implements btSoftBodySolver.
Definition at line 221 of file btDeformableBodySolver.h.
|
inlinevirtual |
Definition at line 113 of file btDeformableBodySolver.h.
Reimplemented in btReducedDeformableBodySolver.
Definition at line 215 of file btDeformableBodySolver.h.
|
inlinevirtual |
Definition at line 195 of file btDeformableBodySolver.h.
|
inlinevirtual |
Definition at line 190 of file btDeformableBodySolver.h.
|
inlinevirtual |
Return the type of the solver.
Implements btSoftBodySolver.
Reimplemented in btReducedDeformableBodySolver.
Definition at line 59 of file btDeformableBodySolver.h.
Definition at line 210 of file btDeformableBodySolver.h.
btScalar btDeformableBodySolver::kineticEnergy | ( | ) |
Definition at line 122 of file btDeformableBodySolver.cpp.
|
inlinevirtual |
Optimize soft bodies in this solver.
Implements btSoftBodySolver.
Definition at line 218 of file btDeformableBodySolver.h.
void btDeformableBodySolver::predictDeformableMotion | ( | btSoftBody * | psb, |
btScalar | dt | ||
) |
Definition at line 422 of file btDeformableBodySolver.cpp.
Predict motion of soft bodies into next timestep.
Implements btSoftBodySolver.
Reimplemented in btReducedDeformableBodySolver.
Definition at line 388 of file btDeformableBodySolver.cpp.
|
inlinevirtual |
Process a collision between two soft bodies.
Implements btSoftBodySolver.
Definition at line 122 of file btDeformableBodySolver.h.
|
inlinevirtual |
Definition at line 116 of file btDeformableBodySolver.h.
|
virtual |
Reimplemented in btReducedDeformableBodySolver.
Definition at line 222 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::revertDv | ( | ) |
Definition at line 149 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::revertVelocity | ( | ) |
Definition at line 362 of file btDeformableBodySolver.cpp.
|
virtual |
Reimplemented in btReducedDeformableBodySolver.
Definition at line 251 of file btDeformableBodySolver.cpp.
Reimplemented in btReducedDeformableBodySolver.
Definition at line 73 of file btDeformableBodySolver.h.
Definition at line 498 of file btDeformableBodySolver.cpp.
Definition at line 205 of file btDeformableBodySolver.h.
Definition at line 504 of file btDeformableBodySolver.cpp.
Definition at line 172 of file btDeformableBodySolver.h.
Definition at line 200 of file btDeformableBodySolver.h.
Definition at line 167 of file btDeformableBodySolver.h.
Definition at line 330 of file btDeformableBodySolver.cpp.
Solve constraints for a set of soft bodies.
Implements btSoftBodySolver.
Definition at line 219 of file btDeformableBodySolver.h.
|
virtual |
Reimplemented in btReducedDeformableBodySolver.
Definition at line 257 of file btDeformableBodySolver.cpp.
Definition at line 34 of file btDeformableBodySolver.cpp.
Definition at line 206 of file btDeformableBodySolver.cpp.
Definition at line 157 of file btDeformableBodySolver.cpp.
bool btDeformableBodySolver::updateNodes | ( | ) |
Definition at line 375 of file btDeformableBodySolver.cpp.
|
virtual |
Perform necessary per-step updates of soft bodies such as recomputing normals and bounding boxes.
Implements btSoftBodySolver.
Definition at line 485 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::updateState | ( | ) |
Definition at line 200 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::updateTempPosition | ( | ) |
Definition at line 297 of file btDeformableBodySolver.cpp.
void btDeformableBodySolver::updateVelocity | ( | ) |
Definition at line 264 of file btDeformableBodySolver.cpp.
|
protected |
Definition at line 37 of file btDeformableBodySolver.h.
|
protected |
Definition at line 41 of file btDeformableBodySolver.h.
|
protected |
Definition at line 43 of file btDeformableBodySolver.h.
|
protected |
Definition at line 44 of file btDeformableBodySolver.h.
|
protected |
Definition at line 38 of file btDeformableBodySolver.h.
|
protected |
Definition at line 42 of file btDeformableBodySolver.h.
|
protected |
Definition at line 36 of file btDeformableBodySolver.h.
|
protected |
Definition at line 45 of file btDeformableBodySolver.h.
|
protected |
Definition at line 48 of file btDeformableBodySolver.h.
|
protected |
Definition at line 46 of file btDeformableBodySolver.h.
|
protected |
Definition at line 47 of file btDeformableBodySolver.h.
|
protected |
Definition at line 35 of file btDeformableBodySolver.h.
btDeformableBackwardEulerObjective* btDeformableBodySolver::m_objective |
Definition at line 52 of file btDeformableBodySolver.h.
|
protected |
Definition at line 49 of file btDeformableBodySolver.h.
|
protected |
Definition at line 39 of file btDeformableBodySolver.h.
|
protected |
Definition at line 40 of file btDeformableBodySolver.h.
bool btDeformableBodySolver::m_useProjection |
Definition at line 53 of file btDeformableBodySolver.h.