org.jzy3d.chart.controllers.thread.camera
Class CameraThreadController

java.lang.Object
  extended by org.jzy3d.chart.controllers.AbstractController
      extended by org.jzy3d.chart.controllers.camera.AbstractCameraController
          extended by org.jzy3d.chart.controllers.thread.camera.CameraThreadController
All Implemented Interfaces:
Runnable, ICameraMouseController

public class CameraThreadController
extends AbstractCameraController
implements Runnable

The CameraThreadController provides a Thread for controlling the Camera and make it turn around the view point along its the azimuth dimension.

Author:
Martin Pernollet

Field Summary
protected  Coord2d move
           
protected  Thread process
           
protected  int sleep
           
protected  float step
           
 
Fields inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
DEFAULT_UPDATE_VIEW, prevMouse, threadController
 
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
 
Constructor Summary
CameraThreadController()
           
CameraThreadController(Chart chart)
           
 
Method Summary
 void dispose()
           
 float getStep()
           
 void run()
          Run the animation.
 void setStep(float step)
           
 void start()
          Start the animation.
 void stop()
          Stop the animation.
 
Methods inherited from class org.jzy3d.chart.controllers.camera.AbstractCameraController
addSlaveThreadController, removeSlaveThreadController, rotate, rotate, shift, shift, startThreadController, stopThreadController, zoomX, zoomX, zoomY, zoomY, zoomZ, zoomZ
 
Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, chart, fireControllerEvent, register, removeControllerEventListener, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

move

protected Coord2d move

process

protected Thread process

sleep

protected int sleep

step

protected float step
Constructor Detail

CameraThreadController

public CameraThreadController()

CameraThreadController

public CameraThreadController(Chart chart)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class AbstractCameraController

start

public void start()
Start the animation.


stop

public void stop()
Stop the animation.


run

public void run()
Run the animation.

Specified by:
run in interface Runnable

getStep

public float getStep()

setStep

public void setStep(float step)


Copyright © 2013. All rights reserved.