public class NewtMousePickingPan2dController<V,E> extends NewtMousePickingController<V,E>
Modifier and Type | Field and Description |
---|---|
protected boolean |
done |
protected int |
lastMouseX |
protected int |
lastMouseY |
protected static float |
PAN_FACTOR |
chart, factor, glu, lastInc, mouse3d, picking, prevMouse, prevMouse3d, threadController
DEFAULT_UPDATE_VIEW
controllerListeners, targets
Constructor and Description |
---|
NewtMousePickingPan2dController() |
NewtMousePickingPan2dController(Chart chart) |
NewtMousePickingPan2dController(Chart chart,
int brushSize) |
NewtMousePickingPan2dController(Chart chart,
int brushSize,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
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)
*******************
|
dispose, getPickingSupport, handleSlaveThread, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, pick, register, setPickingSupport
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
addControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregister
protected boolean done
protected static float PAN_FACTOR
protected int lastMouseX
protected int lastMouseY
public NewtMousePickingPan2dController()
public NewtMousePickingPan2dController(Chart chart)
public NewtMousePickingPan2dController(Chart chart, int brushSize)
public NewtMousePickingPan2dController(Chart chart, int brushSize, int bufferSize)
public void mouseDragged(com.jogamp.newt.event.MouseEvent e)
mouseDragged
in interface com.jogamp.newt.event.MouseListener
mouseDragged
in class NewtMousePickingController<V,E>
public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
NewtMousePickingController
mouseWheelMoved
in interface com.jogamp.newt.event.MouseListener
mouseWheelMoved
in class NewtMousePickingController<V,E>
protected void zoom(float factor)
Copyright © 2016. All rights reserved.