espresso3d.engine.collision.bounding
Class E3DBoundingBox

java.lang.Object
  extended byespresso3d.engine.base.E3DEngineItem
      extended byespresso3d.engine.renderer.base.E3DRenderable
          extended byespresso3d.engine.collision.bounding.E3DBoundingBox
All Implemented Interfaces:
E3DBoundingObject

public class E3DBoundingBox
extends E3DRenderable
implements E3DBoundingObject

Author:
espresso3d A bounding box bounding object. Bounding boxes are currently unsupported bounding objects

Field Summary
 
Fields inherited from class espresso3d.engine.renderer.base.E3DRenderable
RENDERMODE_SOLID, RENDERMODE_TEXTURED, RENDERMODE_WIREFRAME
 
Constructor Summary
E3DBoundingBox(E3DEngine engine)
           
E3DBoundingBox(E3DEngine engine, double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
           
E3DBoundingBox(E3DEngine engine, E3DVector3F min, E3DVector3F max)
           
 
Method Summary
 E3DVector3F getMax()
           
 E3DVector3F getMin()
           
 void renderAtPosition(E3DVector3F position)
           
 void setMax(E3DVector3F max)
           
 void setMin(E3DVector3F min)
           
 
Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable
getRenderableOptionsKey, getRenderMode, initCorrectGeometryRenderer, render, setRenderMode
 
Methods inherited from class espresso3d.engine.base.E3DEngineItem
getEngine, setEngine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

E3DBoundingBox

public E3DBoundingBox(E3DEngine engine)

E3DBoundingBox

public E3DBoundingBox(E3DEngine engine,
                      E3DVector3F min,
                      E3DVector3F max)

E3DBoundingBox

public E3DBoundingBox(E3DEngine engine,
                      double minX,
                      double minY,
                      double minZ,
                      double maxX,
                      double maxY,
                      double maxZ)
Method Detail

renderAtPosition

public void renderAtPosition(E3DVector3F position)
Specified by:
renderAtPosition in class E3DRenderable

getMax

public E3DVector3F getMax()
Returns:
Returns the max.

setMax

public void setMax(E3DVector3F max)
Parameters:
max - The max to set.

getMin

public E3DVector3F getMin()
Returns:
Returns the min.

setMin

public void setMin(E3DVector3F min)
Parameters:
min - The min to set.