com.bulletphysics.collision.dispatch
Class SimulationIslandManager

java.lang.Object
  extended by com.bulletphysics.collision.dispatch.SimulationIslandManager

public class SimulationIslandManager
extends Object

SimulationIslandManager creates and handles simulation islands, using UnionFind.


Nested Class Summary
static class SimulationIslandManager.IslandCallback
           
 
Constructor Summary
SimulationIslandManager()
           
 
Method Summary
 void buildAndProcessIslands(Dispatcher dispatcher, ObjectArrayList<CollisionObject> collisionObjects, SimulationIslandManager.IslandCallback callback)
           
 void buildIslands(Dispatcher dispatcher, ObjectArrayList<CollisionObject> collisionObjects)
           
 void findUnions(Dispatcher dispatcher, CollisionWorld colWorld)
           
 UnionFind getUnionFind()
           
 void initUnionFind(int n)
           
 void storeIslandActivationState(CollisionWorld colWorld)
           
 void updateActivationState(CollisionWorld colWorld, Dispatcher dispatcher)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationIslandManager

public SimulationIslandManager()
Method Detail

initUnionFind

public void initUnionFind(int n)

getUnionFind

public UnionFind getUnionFind()

findUnions

public void findUnions(Dispatcher dispatcher,
                       CollisionWorld colWorld)

updateActivationState

public void updateActivationState(CollisionWorld colWorld,
                                  Dispatcher dispatcher)

storeIslandActivationState

public void storeIslandActivationState(CollisionWorld colWorld)

buildIslands

public void buildIslands(Dispatcher dispatcher,
                         ObjectArrayList<CollisionObject> collisionObjects)

buildAndProcessIslands

public void buildAndProcessIslands(Dispatcher dispatcher,
                                   ObjectArrayList<CollisionObject> collisionObjects,
                                   SimulationIslandManager.IslandCallback callback)