org.jzy3d.chart.controllers.mouse.picking
Class NewtMousePickingPan2dController<V,E>

java.lang.Object
  extended by org.jzy3d.chart.controllers.AbstractController
      extended by org.jzy3d.chart.controllers.camera.AbstractCameraController
          extended by org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController<V,E>
              extended by org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingPan2dController<V,E>
All Implemented Interfaces:
com.jogamp.newt.event.MouseListener, com.jogamp.newt.event.NEWTEventListener, EventListener, ICameraMouseController

public class NewtMousePickingPan2dController<V,E>
extends NewtMousePickingController<V,E>


Field Summary
protected  boolean done
           
protected  int lastMouseX
           
protected  int lastMouseY
           
protected static float PAN_FACTOR
           
 
Fields inherited from class org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController
chart, factor, glu, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadController
 
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
DEFAULT_UPDATE_VIEW
 
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
 
Constructor Summary
NewtMousePickingPan2dController()
           
NewtMousePickingPan2dController(Chart chart)
           
NewtMousePickingPan2dController(Chart chart, int brushSize)
           
NewtMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
           
 
Method Summary
 void mouseDragged(com.jogamp.newt.event.MouseEvent e)
           
 void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
          Compute zoom
protected  void pan(Coord3d from, Coord3d to)
           
protected  void zoom(float factor)
           
 
Methods inherited from class org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupport
 
Methods inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
 
Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

done

protected boolean done

PAN_FACTOR

protected static float PAN_FACTOR

lastMouseX

protected int lastMouseX

lastMouseY

protected int lastMouseY
Constructor Detail

NewtMousePickingPan2dController

public NewtMousePickingPan2dController()

NewtMousePickingPan2dController

public NewtMousePickingPan2dController(Chart chart)

NewtMousePickingPan2dController

public NewtMousePickingPan2dController(Chart chart,
                                       int brushSize)

NewtMousePickingPan2dController

public NewtMousePickingPan2dController(Chart chart,
                                       int brushSize,
                                       int bufferSize)
Method Detail

mouseDragged

public void mouseDragged(com.jogamp.newt.event.MouseEvent e)
Specified by:
mouseDragged in interface com.jogamp.newt.event.MouseListener
Overrides:
mouseDragged in class NewtMousePickingController<V,E>

mouseWheelMoved

public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
Description copied from class: NewtMousePickingController
Compute zoom

Specified by:
mouseWheelMoved in interface com.jogamp.newt.event.MouseListener
Overrides:
mouseWheelMoved in class NewtMousePickingController<V,E>

zoom

protected void zoom(float factor)

pan

protected void pan(Coord3d from,
                   Coord3d to)


Copyright © 2013. All rights reserved.