Bullet Collision Detection & Physics Library
|
SimulationIslandManager creates and handles simulation islands, using btUnionFind. More...
#include <btSimulationIslandManager.h>
Classes | |
struct | IslandCallback |
Public Member Functions | |
btSimulationIslandManager () | |
virtual | ~btSimulationIslandManager () |
void | initUnionFind (int n) |
btUnionFind & | getUnionFind () |
virtual void | updateActivationState (btCollisionWorld *colWorld, btDispatcher *dispatcher) |
virtual void | storeIslandActivationState (btCollisionWorld *world) |
void | findUnions (btDispatcher *dispatcher, btCollisionWorld *colWorld) |
void | buildAndProcessIslands (btDispatcher *dispatcher, btCollisionWorld *collisionWorld, IslandCallback *callback) |
void | buildIslands (btDispatcher *dispatcher, btCollisionWorld *colWorld) |
void | processIslands (btDispatcher *dispatcher, btCollisionWorld *collisionWorld, IslandCallback *callback) |
bool | getSplitIslands () |
void | setSplitIslands (bool doSplitIslands) |
Private Attributes | |
btUnionFind | m_unionFind |
btAlignedObjectArray< btPersistentManifold * > | m_islandmanifold |
btAlignedObjectArray< btCollisionObject * > | m_islandBodies |
bool | m_splitIslands |
SimulationIslandManager creates and handles simulation islands, using btUnionFind.
Definition at line 30 of file btSimulationIslandManager.h.
btSimulationIslandManager::btSimulationIslandManager | ( | ) |
Definition at line 27 of file btSimulationIslandManager.cpp.
|
virtual |
Definition at line 31 of file btSimulationIslandManager.cpp.
void btSimulationIslandManager::buildAndProcessIslands | ( | btDispatcher * | dispatcher, |
btCollisionWorld * | collisionWorld, | ||
IslandCallback * | callback | ||
) |
Definition at line 343 of file btSimulationIslandManager.cpp.
void btSimulationIslandManager::buildIslands | ( | btDispatcher * | dispatcher, |
btCollisionWorld * | colWorld | ||
) |
Definition at line 196 of file btSimulationIslandManager.cpp.
void btSimulationIslandManager::findUnions | ( | btDispatcher * | dispatcher, |
btCollisionWorld * | colWorld | ||
) |
Definition at line 40 of file btSimulationIslandManager.cpp.
|
inline |
Definition at line 65 of file btSimulationIslandManager.h.
|
inline |
Definition at line 45 of file btSimulationIslandManager.h.
void btSimulationIslandManager::initUnionFind | ( | int | n | ) |
Definition at line 35 of file btSimulationIslandManager.cpp.
void btSimulationIslandManager::processIslands | ( | btDispatcher * | dispatcher, |
btCollisionWorld * | collisionWorld, | ||
IslandCallback * | callback | ||
) |
Process the actual simulation, only if not sleeping/deactivated
Definition at line 349 of file btSimulationIslandManager.cpp.
|
inline |
Definition at line 69 of file btSimulationIslandManager.h.
|
virtual |
Definition at line 141 of file btSimulationIslandManager.cpp.
|
virtual |
Definition at line 119 of file btSimulationIslandManager.cpp.
|
private |
Definition at line 35 of file btSimulationIslandManager.h.
|
private |
Definition at line 34 of file btSimulationIslandManager.h.
|
private |
Definition at line 37 of file btSimulationIslandManager.h.
|
private |
Definition at line 32 of file btSimulationIslandManager.h.