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

public class JoGLPickingTools extends Object implements PickingTools
JoGL implementation of PickingTools
Author:
Pierre Lando
  • Constructor Details

    • JoGLPickingTools

      public JoGLPickingTools(JoGLDrawingTools drawingTools)
      Default constructor.
      Parameters:
      drawingTools - the drawing tools to use.
  • Method Details

    • getUnderlyingPoint

      public Vector3d getUnderlyingPoint(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.