Bullet Collision Detection & Physics Library
Classes | Public Member Functions | Private Attributes | List of all members
btSimulationIslandManager Class Reference

SimulationIslandManager creates and handles simulation islands, using btUnionFind. More...

#include <btSimulationIslandManager.h>

Inheritance diagram for btSimulationIslandManager:
Inheritance graph
Collaboration diagram for btSimulationIslandManager:
Collaboration graph


struct  IslandCallback

Public Member Functions

 btSimulationIslandManager ()
virtual ~btSimulationIslandManager ()
void initUnionFind (int n)
btUnionFindgetUnionFind ()
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)
bool getSplitIslands ()
void setSplitIslands (bool doSplitIslands)

Private Attributes

btUnionFind m_unionFind
btAlignedObjectArray< btPersistentManifold * > m_islandmanifold
btAlignedObjectArray< btCollisionObject * > m_islandBodies
bool m_splitIslands

Detailed Description

SimulationIslandManager creates and handles simulation islands, using btUnionFind.

Definition at line 31 of file btSimulationIslandManager.h.

Constructor & Destructor Documentation

btSimulationIslandManager::btSimulationIslandManager ( )

Definition at line 28 of file btSimulationIslandManager.cpp.

btSimulationIslandManager::~btSimulationIslandManager ( )

Definition at line 33 of file btSimulationIslandManager.cpp.

Member Function Documentation

void btSimulationIslandManager::buildAndProcessIslands ( btDispatcher dispatcher,
btCollisionWorld collisionWorld,
IslandCallback callback 

Process the actual simulation, only if not sleeping/deactivated

Definition at line 373 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::buildIslands ( btDispatcher dispatcher,
btCollisionWorld colWorld 

Definition at line 219 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::findUnions ( btDispatcher dispatcher,
btCollisionWorld colWorld 

Definition at line 44 of file btSimulationIslandManager.cpp.

bool btSimulationIslandManager::getSplitIslands ( )

Definition at line 69 of file btSimulationIslandManager.h.

btUnionFind& btSimulationIslandManager::getUnionFind ( )

Definition at line 48 of file btSimulationIslandManager.h.

void btSimulationIslandManager::initUnionFind ( int  n)

Definition at line 38 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::setSplitIslands ( bool  doSplitIslands)

Definition at line 73 of file btSimulationIslandManager.h.

void btSimulationIslandManager::storeIslandActivationState ( btCollisionWorld world)

Definition at line 152 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::updateActivationState ( btCollisionWorld colWorld,
btDispatcher dispatcher 

Definition at line 127 of file btSimulationIslandManager.cpp.

Member Data Documentation

btAlignedObjectArray<btCollisionObject* > btSimulationIslandManager::m_islandBodies

Definition at line 36 of file btSimulationIslandManager.h.

btAlignedObjectArray<btPersistentManifold*> btSimulationIslandManager::m_islandmanifold

Definition at line 35 of file btSimulationIslandManager.h.

bool btSimulationIslandManager::m_splitIslands

Definition at line 38 of file btSimulationIslandManager.h.

btUnionFind btSimulationIslandManager::m_unionFind

Definition at line 33 of file btSimulationIslandManager.h.

The documentation for this class was generated from the following files: