Interface MouseClickEventListener

  • All Superinterfaces:
    ToolEventListener

    public interface MouseClickEventListener
    extends ToolEventListener
    Tool mouse click listener. Listen to mouse click on visualization window.

    A tool which declares this listener is notified when user click on the visualization window.

    Author:
    Mathieu Bastian
    See Also:
    Tool
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void mouseClick​(int[] positionViewport, float[] position3d)
      Notify a mouse click on the visualization window.
    • Method Detail

      • mouseClick

        void mouseClick​(int[] positionViewport,
                        float[] position3d)
        Notify a mouse click on the visualization window.
        Parameters:
        positionViewport - Position in the 2D coordinate system, (0,0) is located top-left.
        position3d - Position in the 3D coordinate system, (0,0) is located at the center.