Class JoGLPickingTools

    • 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.
      • 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.