Public Member Functions | Protected Attributes
btDefaultSoftBodySolver Class Reference

#include <btDefaultSoftBodySolver.h>

Inheritance diagram for btDefaultSoftBodySolver:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 24 of file btDefaultSoftBodySolver.h.


Constructor & Destructor Documentation


Member Function Documentation

virtual bool btDefaultSoftBodySolver::checkInitialized ( ) [virtual]

Ensure that this solver is initialized.

Implements btSoftBodySolver.

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.


Member Data Documentation

Definition at line 30 of file btDefaultSoftBodySolver.h.

Variable to define whether we need to update solver constants on the next iteration

Definition at line 28 of file btDefaultSoftBodySolver.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32