org.jdesktop.wonderland.common.cell.state
Class BoundingVolumeHint

java.lang.Object
  extended by org.jdesktop.wonderland.common.cell.state.BoundingVolumeHint
All Implemented Interfaces:
java.io.Serializable

public class BoundingVolumeHint
extends java.lang.Object
implements java.io.Serializable

A hint provided in a Cell's server state about the Cell's bounds used to position a Cell when it is initially created.

Author:
Jordan Slott
See Also:
Serialized Form

Constructor Summary
BoundingVolumeHint()
          Defualt constructor, needed for JAXB
BoundingVolumeHint(boolean doSystemPlacement, com.jme.bounding.BoundingVolume boundsHint)
          Constructor, takes the bounds hint and whether to tell the system to do the placement.
 
Method Summary
 com.jme.bounding.BoundingVolume getBoundsHint()
          Returns the bounding volume hint.
 boolean isDoSystemPlacement()
          Returns true if the system should attempt to place the Cell intelligently, false to let the Cell do it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundingVolumeHint

public BoundingVolumeHint()
Defualt constructor, needed for JAXB


BoundingVolumeHint

public BoundingVolumeHint(boolean doSystemPlacement,
                          com.jme.bounding.BoundingVolume boundsHint)
Constructor, takes the bounds hint and whether to tell the system to do the placement.

Parameters:
doSystemPlacement - True if the system should attempt to place the Cell intelligently
boundsHint - The bounds hint given to the system
Method Detail

isDoSystemPlacement

public boolean isDoSystemPlacement()
Returns true if the system should attempt to place the Cell intelligently, false to let the Cell do it.

Returns:
True for intelligent system Cell placement

getBoundsHint

public com.jme.bounding.BoundingVolume getBoundsHint()
Returns the bounding volume hint.

Returns:
The bounding volume hint for initial Cell placement


Open Wonderland - http://openwonderland.org