de.javagl.swogl
Interface PickingRayComputer

All Known Implementing Classes:
DefaultPickingRayComputer

public interface PickingRayComputer

Interface for all classes that may provide picking rays that may be sent into a scene, based on a point in screen coordinates.


Method Summary
 Ray computePickingRay(int x, int y)
          Returns the picking ray for the given position.
 

Method Detail

computePickingRay

Ray computePickingRay(int x,
                      int y)
Returns the picking ray for the given position. The position is given in local screen coordinates.

Parameters:
x - The x-coordinate
y - The y-coordinate
Returns:
The picking ray