Class JavaFXMousePickingController
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.camera.AbstractCameraController
org.jzy3d.javafx.controllers.mouse.JavaFXMousePickingController
- All Implemented Interfaces:
EventListener
,javafx.event.EventHandler<javafx.scene.input.MouseEvent>
,ICameraMouseController
,IMousePickingController
,JavaFXChartController
public class JavaFXMousePickingController
extends AbstractCameraController
implements javafx.event.EventHandler<javafx.scene.input.MouseEvent>, JavaFXChartController, IMousePickingController
-
Field Summary
Modifier and TypeFieldDescriptionprotected Chart
protected float
protected com.jogamp.opengl.glu.GLU
protected float
protected Coord3d
protected javafx.scene.Node
protected PickingSupport
protected Coord2d
protected Coord3d
protected AbstractCameraThreadController
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
ConstructorDescriptionJavaFXMousePickingController
(Chart chart, int brushSize) JavaFXMousePickingController
(Chart chart, int brushSize, int bufferSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
javafx.scene.Node
getNode()
void
handle
(javafx.scene.input.MouseEvent arg0) boolean
handleSlaveThread
(javafx.scene.input.MouseEvent e) void
mouseMoved
(javafx.scene.input.MouseEvent e) void
mousePressed
(javafx.scene.input.MouseEvent e) void
Compute zoomvoid
pick
(javafx.scene.input.MouseEvent e) void
void
setNode
(javafx.scene.Node node) void
setPickingSupport
(PickingSupport picking) 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
-
node
protected javafx.scene.Node node -
factor
protected float factor -
lastInc
protected float lastInc -
mouse3d
-
prevMouse3d
-
picking
-
glu
protected com.jogamp.opengl.glu.GLU glu -
chart
-
prevMouse
-
threadController
-
-
Constructor Details
-
JavaFXMousePickingController
public JavaFXMousePickingController() -
JavaFXMousePickingController
-
JavaFXMousePickingController
-
JavaFXMousePickingController
-
-
Method Details
-
getNode
public javafx.scene.Node getNode()- Specified by:
getNode
in interfaceJavaFXChartController
-
setNode
public void setNode(javafx.scene.Node node) - Specified by:
setNode
in interfaceJavaFXChartController
-
register
- Overrides:
register
in classAbstractController
-
dispose
public void dispose()- Overrides:
dispose
in classAbstractCameraController
-
getPickingSupport
- Specified by:
getPickingSupport
in interfaceIMousePickingController
-
setPickingSupport
- Specified by:
setPickingSupport
in interfaceIMousePickingController
-
handle
public void handle(javafx.scene.input.MouseEvent arg0) - Specified by:
handle
in interfacejavafx.event.EventHandler<javafx.scene.input.MouseEvent>
-
mouseWheelMoved
Compute zoom -
mouseMoved
public void mouseMoved(javafx.scene.input.MouseEvent e) -
mousePressed
public void mousePressed(javafx.scene.input.MouseEvent e) -
pick
public void pick(javafx.scene.input.MouseEvent e) -
handleSlaveThread
public boolean handleSlaveThread(javafx.scene.input.MouseEvent e)
-