org.xith3d.loaders.models.util.specific.bsp
Class CollisionEnabledClusterManager

java.lang.Object
  extended by org.jagatoo.loaders.models.bsp.BSPClusterManager
      extended by org.xith3d.loaders.models.util.specific.bsp.CollisionEnabledClusterManager
All Implemented Interfaces:
org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater

public class CollisionEnabledClusterManager
extends org.jagatoo.loaders.models.bsp.BSPClusterManager

An extension of the Standard BSPClusterManager with additional collision support.


Field Summary
 
Fields inherited from class org.jagatoo.loaders.models.bsp.BSPClusterManager
shapeBitset
 
Constructor Summary
CollisionEnabledClusterManager(org.jagatoo.loaders.models.bsp.BSPClusterManager template, Model scene, CollisionEngine collEngine)
           
CollisionEnabledClusterManager(org.jagatoo.loaders.models.bsp.lumps.BSPVisData bspVisData, int[][][] clusterLeafs, int[] leafToCluster, float[] planes, int[] nodes, Model scene, CollisionEngine collEngine, java.util.BitSet faceBitset)
           
 
Method Summary
 CollideableGroup getCollideableGroup()
           
 boolean updateVisibility(org.openmali.vecmath2.Matrix4f cameraTransform)
           
 
Methods inherited from class org.jagatoo.loaders.models.bsp.BSPClusterManager
create, getBitSet, isPVSUsed, setPVSUsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollisionEnabledClusterManager

public CollisionEnabledClusterManager(org.jagatoo.loaders.models.bsp.lumps.BSPVisData bspVisData,
                                      int[][][] clusterLeafs,
                                      int[] leafToCluster,
                                      float[] planes,
                                      int[] nodes,
                                      Model scene,
                                      CollisionEngine collEngine,
                                      java.util.BitSet faceBitset)

CollisionEnabledClusterManager

public CollisionEnabledClusterManager(org.jagatoo.loaders.models.bsp.BSPClusterManager template,
                                      Model scene,
                                      CollisionEngine collEngine)
Method Detail

getCollideableGroup

public final CollideableGroup getCollideableGroup()

updateVisibility

public boolean updateVisibility(org.openmali.vecmath2.Matrix4f cameraTransform)
Specified by:
updateVisibility in interface org.jagatoo.loaders.models.bsp.BSPVisibilityUpdater
Overrides:
updateVisibility in class org.jagatoo.loaders.models.bsp.BSPClusterManager