Bullet Collision Detection & Physics Library: btSimulationIslandManager Class Reference

Bullet Collision Detection & Physics Library

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

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>`

Collaboration diagram for btSimulationIslandManager:
[legend]

## 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)
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 | ( |  | ) |
| virtual

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 354 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::buildIslands | ( | btDispatcher * | dispatcher,
|  | btCollisionWorld * | colWorld
| ) |  |

Definition at line 203 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::findUnions | ( | btDispatcher * | dispatcher,
|  | btCollisionWorld * | colWorld
| ) |  |

Definition at line 44 of file btSimulationIslandManager.cpp.

bool btSimulationIslandManager::getSplitIslands | ( |  | ) |
| inline

Definition at line 69 of file btSimulationIslandManager.h.

btUnionFind& btSimulationIslandManager::getUnionFind | ( |  | ) |
| inline

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 | ) |
| inline

Definition at line 73 of file btSimulationIslandManager.h.

void btSimulationIslandManager::storeIslandActivationState | ( | btCollisionWorld * | world | ) |
| virtual

Definition at line 152 of file btSimulationIslandManager.cpp.

void btSimulationIslandManager::updateActivationState | ( | btCollisionWorld * | colWorld,
|  | btDispatcher * | dispatcher
| ) |  |
| virtual

Definition at line 127 of file btSimulationIslandManager.cpp.

## Member Data Documentation

btAlignedObjectArray<btCollisionObject* > btSimulationIslandManager::m_islandBodies
| private

Definition at line 36 of file btSimulationIslandManager.h.

btAlignedObjectArray<btPersistentManifold*> btSimulationIslandManager::m_islandmanifold
| private

Definition at line 35 of file btSimulationIslandManager.h.

bool btSimulationIslandManager::m_splitIslands
| private

Definition at line 38 of file btSimulationIslandManager.h.

btUnionFind btSimulationIslandManager::m_unionFind
| private

Definition at line 33 of file btSimulationIslandManager.h.

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

- btSimulationIslandManager.h
- btSimulationIslandManager.cpp