|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.spatial.bodies.Frustum
public class Frustum
A viewing frustum.
| Constructor Summary | |
|---|---|
Frustum()
Frustum constructor comment. |
|
| Method Summary | |
|---|---|
void |
compute(Matrix4f proj,
Matrix4f modl)
Extract the frustum from the incoming projections and modelview matrices. |
Matrix4f |
computeInverse(Matrix4f proj)
Extract the frustum from the incoming projections and modelview matrices. |
Matrix4f |
getMatrix()
|
Plane |
getPlaneBottom()
|
Plane |
getPlaneBottom(Plane plane)
|
Plane |
getPlaneFar()
|
Plane |
getPlaneFar(Plane plane)
|
Plane |
getPlaneLeft()
|
Plane |
getPlaneLeft(Plane plane)
|
Plane |
getPlaneNear()
|
Plane |
getPlaneNear(Plane plane)
|
Plane |
getPlaneRight()
|
Plane |
getPlaneRight(Plane plane)
|
Plane |
getPlaneTop()
|
Plane |
getPlaneTop(Plane plane)
|
boolean |
intersects(Plane p,
Vector3f[] quad)
Intersect the frustum with a plane. |
Classifier.Classification |
quickClassify(Box box)
Quick check to see if an orthogonal bounding box is inside the frustum |
void |
setPlaneBottom(Plane plane)
|
void |
setPlaneFar(Plane plane)
|
void |
setPlaneLeft(Plane plane)
|
void |
setPlaneNear(Plane plane)
|
void |
setPlaneRight(Plane plane)
|
void |
setPlaneTop(Plane plane)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Frustum()
| Method Detail |
|---|
public Matrix4f getMatrix()
public final void setPlaneRight(Plane plane)
public final Plane getPlaneRight()
public final Plane getPlaneRight(Plane plane)
public final void setPlaneLeft(Plane plane)
public final Plane getPlaneLeft()
public final Plane getPlaneLeft(Plane plane)
public final void setPlaneBottom(Plane plane)
public final Plane getPlaneBottom()
public final Plane getPlaneBottom(Plane plane)
public final void setPlaneTop(Plane plane)
public final Plane getPlaneTop()
public final Plane getPlaneTop(Plane plane)
public final void setPlaneFar(Plane plane)
public final Plane getPlaneFar()
public final Plane getPlaneFar(Plane plane)
public final void setPlaneNear(Plane plane)
public final Plane getPlaneNear()
public final Plane getPlaneNear(Plane plane)
public final Classifier.Classification quickClassify(Box box)
public final boolean intersects(Plane p,
Vector3f[] quad)
p - quad -
public final void compute(Matrix4f proj,
Matrix4f modl)
public final Matrix4f computeInverse(Matrix4f proj)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||