Class JoGLPickingTools
- java.lang.Object
-
- org.scilab.forge.scirenderer.implementation.jogl.picking.JoGLPickingTools
-
- All Implemented Interfaces:
PickingTools
public class JoGLPickingTools extends java.lang.Object implements PickingTools
JoGL implementation ofPickingTools
- Author:
- Pierre Lando
-
-
Constructor Summary
Constructors Constructor Description JoGLPickingTools(JoGLDrawingTools drawingTools)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Canvas
getCanvas()
Return the canvas.Vector3d
getUnderlyingPoint(java.awt.Point windowPosition)
Return the scene coordinate of the pixel under the given windows position.
-
-
-
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 interfacePickingTools
- 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 interfacePickingTools
- Returns:
- the canvas.
-
-