Class NewtMousePickingController

All Implemented Interfaces:
com.jogamp.newt.event.MouseListener, com.jogamp.newt.event.NEWTEventListener, EventListener, ICameraMouseController, IMousePickingController
Direct Known Subclasses:
NewtMousePickingPan2dController

public class NewtMousePickingController extends AbstractCameraController implements com.jogamp.newt.event.MouseListener, IMousePickingController
  • Field Details

    • factor

      protected float factor
    • lastInc

      protected float lastInc
    • mouse3d

      protected Coord3d mouse3d
    • prevMouse3d

      protected Coord3d prevMouse3d
    • picking

      protected PickingSupport picking
    • glu

      protected com.jogamp.opengl.glu.GLU glu
    • prevMouse

      protected Coord2d prevMouse
    • threadController

      protected AbstractCameraThreadController threadController
  • Constructor Details

    • NewtMousePickingController

      public NewtMousePickingController()
    • NewtMousePickingController

      public NewtMousePickingController(Chart chart)
    • NewtMousePickingController

      public NewtMousePickingController(Chart chart, int brushSize)
    • NewtMousePickingController

      public NewtMousePickingController(Chart chart, int brushSize, int bufferSize)
  • Method Details

    • register

      public void register(Chart chart)
      Overrides:
      register in class AbstractController
    • dispose

      public void dispose()
      Overrides:
      dispose in class AbstractCameraController
    • getPickingSupport

      public PickingSupport getPickingSupport()
      Specified by:
      getPickingSupport in interface IMousePickingController
    • setPickingSupport

      public void setPickingSupport(PickingSupport picking)
      Specified by:
      setPickingSupport in interface IMousePickingController
    • mouseClicked

      public void mouseClicked(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mouseClicked in interface com.jogamp.newt.event.MouseListener
    • mouseEntered

      public void mouseEntered(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mouseEntered in interface com.jogamp.newt.event.MouseListener
    • mouseExited

      public void mouseExited(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mouseExited in interface com.jogamp.newt.event.MouseListener
    • mouseReleased

      public void mouseReleased(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mouseReleased in interface com.jogamp.newt.event.MouseListener
    • mouseDragged

      public void mouseDragged(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mouseDragged in interface com.jogamp.newt.event.MouseListener
    • mouseWheelMoved

      public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
      Compute zoom
      Specified by:
      mouseWheelMoved in interface com.jogamp.newt.event.MouseListener
    • mouseMoved

      public void mouseMoved(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mouseMoved in interface com.jogamp.newt.event.MouseListener
    • mousePressed

      public void mousePressed(com.jogamp.newt.event.MouseEvent e)
      Specified by:
      mousePressed in interface com.jogamp.newt.event.MouseListener
    • pick

      protected void pick(com.jogamp.newt.event.MouseEvent e)
    • pick

      protected void pick(int x, int y)
    • handleSlaveThread

      public boolean handleSlaveThread(com.jogamp.newt.event.MouseEvent e)