Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
InplaceSolverIslandCallback Struct Reference
Inheritance diagram for InplaceSolverIslandCallback:
Inheritance graph
[legend]
Collaboration diagram for InplaceSolverIslandCallback:
Collaboration graph
[legend]

Public Member Functions

 InplaceSolverIslandCallback (btConstraintSolver *solver, btStackAlloc *stackAlloc, btDispatcher *dispatcher)
 
InplaceSolverIslandCallbackoperator= (InplaceSolverIslandCallback &other)
 
void setup (btContactSolverInfo *solverInfo, btTypedConstraint **sortedConstraints, int numConstraints, btIDebugDraw *debugDrawer)
 
virtual void processIsland (btCollisionObject **bodies, int numBodies, btPersistentManifold **manifolds, int numManifolds, int islandId)
 
void processConstraints ()
 
- Public Member Functions inherited from btSimulationIslandManager::IslandCallback
virtual ~IslandCallback ()
 

Public Attributes

btContactSolverInfom_solverInfo
 
btConstraintSolverm_solver
 
btTypedConstraint ** m_sortedConstraints
 
int m_numConstraints
 
btIDebugDrawm_debugDrawer
 
btDispatcherm_dispatcher
 
btAlignedObjectArray
< btCollisionObject * > 
m_bodies
 
btAlignedObjectArray
< btPersistentManifold * > 
m_manifolds
 
btAlignedObjectArray
< btTypedConstraint * > 
m_constraints
 

Detailed Description

Definition at line 83 of file btDiscreteDynamicsWorld.cpp.

Constructor & Destructor Documentation

InplaceSolverIslandCallback::InplaceSolverIslandCallback ( btConstraintSolver solver,
btStackAlloc stackAlloc,
btDispatcher dispatcher 
)
inline

Definition at line 97 of file btDiscreteDynamicsWorld.cpp.

Member Function Documentation

InplaceSolverIslandCallback& InplaceSolverIslandCallback::operator= ( InplaceSolverIslandCallback other)
inline

Definition at line 111 of file btDiscreteDynamicsWorld.cpp.

void InplaceSolverIslandCallback::processConstraints ( )
inline

Definition at line 184 of file btDiscreteDynamicsWorld.cpp.

virtual void InplaceSolverIslandCallback::processIsland ( btCollisionObject **  bodies,
int  numBodies,
btPersistentManifold **  manifolds,
int  numManifolds,
int  islandId 
)
inlinevirtual

we don't split islands, so all constraints/contact manifolds/bodies are passed into the solver regardless the island id

Implements btSimulationIslandManager::IslandCallback.

Definition at line 131 of file btDiscreteDynamicsWorld.cpp.

void InplaceSolverIslandCallback::setup ( btContactSolverInfo solverInfo,
btTypedConstraint **  sortedConstraints,
int  numConstraints,
btIDebugDraw debugDrawer 
)
inline

Definition at line 118 of file btDiscreteDynamicsWorld.cpp.

Member Data Documentation

btAlignedObjectArray<btCollisionObject*> InplaceSolverIslandCallback::m_bodies

Definition at line 92 of file btDiscreteDynamicsWorld.cpp.

btAlignedObjectArray<btTypedConstraint*> InplaceSolverIslandCallback::m_constraints

Definition at line 94 of file btDiscreteDynamicsWorld.cpp.

btIDebugDraw* InplaceSolverIslandCallback::m_debugDrawer

Definition at line 89 of file btDiscreteDynamicsWorld.cpp.

btDispatcher* InplaceSolverIslandCallback::m_dispatcher

Definition at line 90 of file btDiscreteDynamicsWorld.cpp.

btAlignedObjectArray<btPersistentManifold*> InplaceSolverIslandCallback::m_manifolds

Definition at line 93 of file btDiscreteDynamicsWorld.cpp.

int InplaceSolverIslandCallback::m_numConstraints

Definition at line 88 of file btDiscreteDynamicsWorld.cpp.

btConstraintSolver* InplaceSolverIslandCallback::m_solver

Definition at line 86 of file btDiscreteDynamicsWorld.cpp.

btContactSolverInfo* InplaceSolverIslandCallback::m_solverInfo

Definition at line 85 of file btDiscreteDynamicsWorld.cpp.

btTypedConstraint** InplaceSolverIslandCallback::m_sortedConstraints

Definition at line 87 of file btDiscreteDynamicsWorld.cpp.


The documentation for this struct was generated from the following file: