|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.j3d.Bounds
javax.media.j3d.BoundingPolytope
org.jcae.viewer3d.ViewPyramid
public class ViewPyramid
A Bound object representing the visible part of the space. It's computed by cutting the infinite pyramid made by the eye and the screen, by the back and front clipping planes.
| Constructor Summary | |
|---|---|
ViewPyramid(javax.media.j3d.Canvas3D canvas)
|
|
ViewPyramid(javax.media.j3d.Canvas3D canvas,
java.awt.Rectangle rectangle)
|
|
| Method Summary | |
|---|---|
javax.vecmath.Point3d |
getEye()
Return the position of the eye in the VWorld |
void |
getPlanes(javax.vecmath.Vector4d[] planes)
|
javax.media.j3d.Shape3D |
getShape3D()
Return a shape3D representing the current pyramid. |
void |
getSidePlanes(javax.vecmath.Vector4d[] planes)
|
javax.vecmath.Point3d |
getStartPoint()
Return a point from where to start when picking |
| Methods inherited from class javax.media.j3d.BoundingPolytope |
|---|
clone, closestIntersection, combine, combine, combine, combine, equals, getNumPlanes, hashCode, intersect, intersect, intersect, intersect, intersect, intersect, isEmpty, set, setPlanes, toString, transform, transform |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ViewPyramid(javax.media.j3d.Canvas3D canvas)
public ViewPyramid(javax.media.j3d.Canvas3D canvas,
java.awt.Rectangle rectangle)
| Method Detail |
|---|
public void getPlanes(javax.vecmath.Vector4d[] planes)
getPlanes in class javax.media.j3d.BoundingPolytopepublic javax.vecmath.Point3d getStartPoint()
public void getSidePlanes(javax.vecmath.Vector4d[] planes)
public javax.vecmath.Point3d getEye()
public javax.media.j3d.Shape3D getShape3D()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||