public class CameraThreadController extends AbstractCameraController implements Runnable
CameraThreadController
provides a Thread for controlling
the Camera
and make it turn around the view point along
its the azimuth dimension.Modifier and Type | Field and Description |
---|---|
protected Coord2d |
move |
protected Thread |
process |
protected int |
sleep |
protected float |
step |
DEFAULT_UPDATE_VIEW, prevMouse, threadController
controllerListeners, targets
Constructor and Description |
---|
CameraThreadController() |
CameraThreadController(Chart chart) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected void |
doRun() |
float |
getStep() |
void |
run()
Run the animation.
|
void |
setStep(float step) |
void |
start()
Start the animation.
|
void |
stop()
Stop the animation.
|
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
addControllerEventListener, chart, fireControllerEvent, register, removeControllerEventListener, unregister
protected Coord2d move
protected Thread process
protected int sleep
protected float step
public CameraThreadController()
public CameraThreadController(Chart chart)
public void dispose()
dispose
in class AbstractCameraController
public void start()
public void stop()
protected void doRun()
public float getStep()
public void setStep(float step)
Copyright © 2016. All rights reserved.