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
public class NewtMousePickingPan2dController extends NewtMousePickingController
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandoneprotected intlastMouseXprotected intlastMouseYprotected static floatPAN_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
updateViewDefault
-
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
-
-
Constructor Summary
Constructors Constructor Description NewtMousePickingPan2dController()NewtMousePickingPan2dController(Chart chart)NewtMousePickingPan2dController(Chart chart, int brushSize)NewtMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmouseDragged(com.jogamp.newt.event.MouseEvent e)*************voidmouseWheelMoved(com.jogamp.newt.event.MouseEvent e)Compute zoomprotected voidpan(Coord3d from, Coord3d to)protected voidzoom(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, getSlaveThreadController, getThread, isUpdateViewDefault, removeSlaveThreadController, rotate, rotate, rotate, 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
-
-
-
-
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:
mouseDraggedin interfacecom.jogamp.newt.event.MouseListener- Overrides:
mouseDraggedin classNewtMousePickingController
-
mouseWheelMoved
public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
Description copied from class:NewtMousePickingControllerCompute zoom- Specified by:
mouseWheelMovedin interfacecom.jogamp.newt.event.MouseListener- Overrides:
mouseWheelMovedin classNewtMousePickingController
-
zoom
protected void zoom(float factor)
*******************
-
-