public class AWTMousePickingController<V,E> extends AbstractCameraController implements MouseListener, MouseWheelListener
Modifier and Type | Field and Description |
---|---|
protected Chart |
chart |
protected float |
factor |
protected com.jogamp.opengl.glu.GLU |
glu |
protected float |
lastInc |
protected Coord3d |
mouse3d |
protected PickingSupport |
picking |
protected Coord2d |
prevMouse |
protected Coord3d |
prevMouse3d |
protected CameraThreadController |
threadController |
DEFAULT_UPDATE_VIEW
controllerListeners, targets
Constructor and Description |
---|
AWTMousePickingController() |
AWTMousePickingController(Chart chart) |
AWTMousePickingController(Chart chart,
int brushSize) |
AWTMousePickingController(Chart chart,
int brushSize,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
PickingSupport |
getPickingSupport() |
boolean |
handleSlaveThread(MouseEvent e) |
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
mouseWheelMoved(MouseWheelEvent e)
Compute zoom
|
void |
pick(MouseEvent e) |
void |
register(Chart chart) |
void |
setPickingSupport(PickingSupport picking) |
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
addControllerEventListener, chart, fireControllerEvent, removeControllerEventListener, unregister
protected float factor
protected float lastInc
protected Coord3d mouse3d
protected Coord3d prevMouse3d
protected PickingSupport picking
protected com.jogamp.opengl.glu.GLU glu
protected Chart chart
protected Coord2d prevMouse
protected CameraThreadController threadController
public AWTMousePickingController()
public AWTMousePickingController(Chart chart)
public AWTMousePickingController(Chart chart, int brushSize)
public AWTMousePickingController(Chart chart, int brushSize, int bufferSize)
public void register(Chart chart)
register
in class AbstractController
public void dispose()
dispose
in class AbstractCameraController
public PickingSupport getPickingSupport()
public void setPickingSupport(PickingSupport picking)
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseDragged(MouseEvent e)
public void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved
in interface MouseWheelListener
public void mouseMoved(MouseEvent e)
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void pick(MouseEvent e)
public boolean handleSlaveThread(MouseEvent e)
Copyright © 2016. All rights reserved.