Class NewtMousePickingPan2dController
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.camera.AbstractCameraController
org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController
org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingPan2dController
- All Implemented Interfaces:
com.jogamp.newt.event.MouseListener
,com.jogamp.newt.event.NEWTEventListener
,EventListener
,ICameraMouseController
,IMousePickingController
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected int
protected int
protected static float
Fields inherited from class org.jzy3d.chart.controllers.mouse.picking.NewtMousePickingController
factor, glu, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadController
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
perf, updateViewDefault
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, target
-
Constructor Summary
ConstructorDescriptionNewtMousePickingPan2dController
(Chart chart, int brushSize) NewtMousePickingPan2dController
(Chart chart, int brushSize, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
mouseDragged
(com.jogamp.newt.event.MouseEvent e) *************void
mouseWheelMoved
(com.jogamp.newt.event.MouseEvent e) Compute zoomprotected void
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, pick, register, setPickingSupport
Methods inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
addSlaveThreadController, addThread, getLODPerf, getSlaveThreadController, getThread, isUpdateViewDefault, removeSlaveThreadController, rotate, rotate, rotate, setLODPerf, setUpdateViewDefault, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, fireControllerEvent, getChart, getCharts, removeControllerEventListener, unregister
-
Field Details
-
done
protected boolean done -
PAN_FACTOR
protected static float PAN_FACTOR -
lastMouseX
protected int lastMouseX -
lastMouseY
protected int lastMouseY
-
-
Constructor Details
-
NewtMousePickingPan2dController
public NewtMousePickingPan2dController() -
NewtMousePickingPan2dController
-
NewtMousePickingPan2dController
-
NewtMousePickingPan2dController
-
-
Method Details
-
mouseDragged
public void mouseDragged(com.jogamp.newt.event.MouseEvent e) *************- Specified by:
mouseDragged
in interfacecom.jogamp.newt.event.MouseListener
- Overrides:
mouseDragged
in classNewtMousePickingController
-
mouseWheelMoved
public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e) Description copied from class:NewtMousePickingController
Compute zoom- Specified by:
mouseWheelMoved
in interfacecom.jogamp.newt.event.MouseListener
- Overrides:
mouseWheelMoved
in classNewtMousePickingController
-
zoom
protected void zoom(float factor) ******************* -
pan
-