Class CameraThreadController
- java.lang.Object
-
- org.jzy3d.chart.controllers.AbstractController
-
- org.jzy3d.chart.controllers.camera.AbstractCameraController
-
- org.jzy3d.chart.controllers.thread.camera.AbstractCameraThreadController
-
- org.jzy3d.chart.controllers.thread.camera.CameraThreadController
-
- All Implemented Interfaces:
Runnable
,ICameraMouseController
- Direct Known Subclasses:
CameraThreadControllerWithTime
public class CameraThreadController extends AbstractCameraThreadController implements Runnable
TheCameraThreadController
provides aThread
for controlling theCamera
and make it turn around the view point along its the azimuth dimension.- Author:
- Martin Pernollet
-
-
Field Summary
Fields Modifier and Type Field Description protected Coord2d
move
protected int
sleep
protected float
step
-
Fields inherited from class org.jzy3d.chart.controllers.thread.camera.AbstractCameraThreadController
id, process
-
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
perf, prevMouse, threadController, updateViewDefault
-
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
-
-
Constructor Summary
Constructors Constructor Description CameraThreadController()
CameraThreadController(Chart chart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRun()
float
getStep()
void
setStep(float step)
-
Methods inherited from class org.jzy3d.chart.controllers.thread.camera.AbstractCameraThreadController
dispose, run, start, stop
-
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, register, removeControllerEventListener, unregister
-
-
-
-
Field Detail
-
move
protected Coord2d move
-
sleep
protected int sleep
-
step
protected float step
-
-
Constructor Detail
-
CameraThreadController
public CameraThreadController()
-
CameraThreadController
public CameraThreadController(Chart chart)
-
-
Method Detail
-
doRun
protected void doRun()
- Specified by:
doRun
in classAbstractCameraThreadController
-
getStep
public float getStep()
-
setStep
public void setStep(float step)
-
-