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, threadControllerDEFAULT_UPDATE_VIEWcontrollerListeners, 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, setPickingSupportaddSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZaddControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregisterprotected 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.MouseListenermouseDragged in class NewtMousePickingController<V,E>public void mouseWheelMoved(com.jogamp.newt.event.MouseEvent e)
NewtMousePickingControllermouseWheelMoved in interface com.jogamp.newt.event.MouseListenermouseWheelMoved in class NewtMousePickingController<V,E>protected void zoom(float factor)
Copyright © 2016. All rights reserved.