org.scilab.forge.scirenderer.implementation.jogl.picking
Class JoGLPickingTools

java.lang.Object
  extended by org.scilab.forge.scirenderer.implementation.jogl.picking.JoGLPickingTools
All Implemented Interfaces:
PickingTools

public class JoGLPickingTools
extends java.lang.Object
implements PickingTools

JoGL implementation of PickingTools

Author:
Pierre Lando

Constructor Summary
JoGLPickingTools(JoGLDrawingTools drawingTools)
          Default constructor.
 
Method Summary
 Canvas getCanvas()
          Return the canvas.
 Vector3d getUnderlyingPoint(java.awt.Point windowPosition)
          Return the scene coordinate of the pixel under the given windows position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoGLPickingTools

public JoGLPickingTools(JoGLDrawingTools drawingTools)
Default constructor.

Parameters:
drawingTools - the drawing tools to use.
Method Detail

getUnderlyingPoint

public Vector3d getUnderlyingPoint(java.awt.Point windowPosition)
Description copied from interface: PickingTools
Return the scene coordinate of the pixel under the given windows position.

Specified by:
getUnderlyingPoint in interface PickingTools
Parameters:
windowPosition - the given window position.
Returns:
the scene coordinate of the pixel under the given windows position.

getCanvas

public Canvas getCanvas()
Description copied from interface: PickingTools
Return the canvas.

Specified by:
getCanvas in interface PickingTools
Returns:
the canvas.