anl.aida.viz3d
Class RayCreator
java.lang.Object
anl.aida.viz3d.RayCreator
public class RayCreator
- extends java.lang.Object
Takes screen coordinates and creates ray
that passes through the world coordinates corresponding
to those screen coordinates.
Field Summary |
private javax.media.opengl.glu.GLU |
glu
|
private java.nio.DoubleBuffer |
mvMatrix
|
private java.nio.DoubleBuffer |
output
|
private java.nio.DoubleBuffer |
projMatrix
|
private java.nio.IntBuffer |
viewport
|
Method Summary |
Ray3f |
createRay(javax.media.opengl.GL gl,
javax.vecmath.Point3f viewLocation,
int x,
int y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
viewport
private java.nio.IntBuffer viewport
mvMatrix
private java.nio.DoubleBuffer mvMatrix
projMatrix
private java.nio.DoubleBuffer projMatrix
output
private java.nio.DoubleBuffer output
glu
private javax.media.opengl.glu.GLU glu
RayCreator
public RayCreator()
createRay
public Ray3f createRay(javax.media.opengl.GL gl,
javax.vecmath.Point3f viewLocation,
int x,
int y)