|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
centerAroundParentObject()
This will automatically set the position of the bounding object to be that of its parent object |
E3DCollision |
checkLineIntersectionCollision(E3DVector3F startPos,
E3DVector3F endPos)
|
E3DCollisionDetector |
getCollisionDetector()
Every bounding object must implement this method that takes a list of E3DLine's and returns the closest collision between any of the lines and the bounding object itself, therefore, it must have a collision detector |
E3DOrientation |
getOrientation()
Every bounding object has an orientation (position/rotation). |
E3DCollisionDetectableObject |
getParentObject()
Bounding objects need to have an actor that they are bounding |
double |
getSize()
Get the size of the object. |
E3DBoundingObject |
onGetClone()
Returns a clone of the bounding object |
void |
render()
|
void |
scale(double scaleAmt)
Scale the bounding object around its position |
void |
setParentObject(E3DCollisionDetectableObject actor)
Set the parent object of the bounding object. |
void |
setSize(double size)
Set the size of hte bounding object. |
| Method Detail |
public E3DCollisionDetector getCollisionDetector()
public E3DCollisionDetectableObject getParentObject()
public void setParentObject(E3DCollisionDetectableObject actor)
actor - public void centerAroundParentObject()
public E3DBoundingObject onGetClone()
public E3DCollision checkLineIntersectionCollision(E3DVector3F startPos,
E3DVector3F endPos)
startPos - World coordinate start positionendPos - World coordinate end position
public E3DOrientation getOrientation()
public void scale(double scaleAmt)
scaleAmt - public void setSize(double size)
size - Total size of the bounding objectpublic double getSize()
public void render()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||