|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.DefaultPickingRayComputer
public final class DefaultPickingRayComputer
Implementation of a PickingRayComputer that computes the
picking Ray
based on a given Camera
and
View
.
Constructor Summary | |
---|---|
DefaultPickingRayComputer(Camera camera,
View view)
Creates a new picking ray computer that computes the picking ray based on the given camera and view. |
Method Summary | |
---|---|
Ray |
computePickingRay(int x,
int y)
Returns the picking ray for the given position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPickingRayComputer(Camera camera, View view)
camera
- The camera to operate on.view
- The view to operate on.Method Detail |
---|
public Ray computePickingRay(int x, int y)
PickingRayComputer
computePickingRay
in interface PickingRayComputer
x
- The x-coordinatey
- The y-coordinate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |