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 CanvasgetCanvas()Return the canvas.Vector3dgetUnderlyingPoint(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:PickingToolsReturn the scene coordinate of the pixel under the given windows position.- Specified by:
getUnderlyingPointin 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:PickingToolsReturn the canvas.- Specified by:
getCanvasin interfacePickingTools- Returns:
- the canvas.
-
-