|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BoundingVolumeIface
This interface specifies the basic methods for a bounding volume.
| Method Summary | |
|---|---|
void |
draw(javax.media.opengl.GL gl)
Draws the bounding volume |
Point3D |
getCenter()
Returns the center point of the bounding volume |
float |
getMeshHeight()
Returns the height of the mesh that is bounded by the bounding volume. |
boolean |
isWithinFrustum(ViewingFrustum frustum)
Determines whether the bounding volume is inside the viewing frustum. |
| Method Detail |
|---|
float getMeshHeight()
Point3D getCenter()
boolean isWithinFrustum(ViewingFrustum frustum)
frustum - viewing frustum object which is coupled
to the camera objectvoid draw(javax.media.opengl.GL gl)
gl -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||