Class AbstractCameraController
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.camera.AbstractCameraController
- All Implemented Interfaces:
ICameraMouseController
- Direct Known Subclasses:
AbstractCameraThreadController
,AWTCameraKeyController
,AWTCameraMouseController
,AWTMousePickingController
,JavaFXCameraKeyController
,JavaFXCameraMouseController
,JavaFXMousePickingController
,NewtCameraKeyController
,NewtCameraMouseController
,NewtMousePickingController
public abstract class AbstractCameraController
extends AbstractController
implements ICameraMouseController
-
Field Summary
Modifier and TypeFieldDescriptionprotected LODPerf
protected CameraThreadController
protected boolean
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, target
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSlaveThreadController
(CameraThreadController controller) Deprecated.void
addThread
(CameraThreadController controller) Set the camera thread rotation handlervoid
dispose()
Deprecated.Returns the camera thread rotation handlerboolean
void
protected void
rotate
(double azimuth) protected void
protected void
void
setLODPerf
(LODPerf perf) void
setUpdateViewDefault
(boolean updateViewDefault) Define if the camera controller requires view update after editing camera.protected void
shift
(float factor) protected void
shift
(float factor, boolean updateView) void
void
protected void
zoomX
(float factor) protected void
zoomX
(float factor, boolean updateView) protected void
zoomY
(float factor) protected void
zoomY
(float factor, boolean updateView) protected void
zoomZ
(float factor) protected void
zoomZ
(float factor, boolean updateView) Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, fireControllerEvent, getChart, getCharts, register, removeControllerEventListener, unregister
-
Field Details
-
threadController
-
perf
-
updateViewDefault
protected boolean updateViewDefault
-
-
Constructor Details
-
AbstractCameraController
public AbstractCameraController() -
AbstractCameraController
-
-
Method Details
-
dispose
public void dispose()- Overrides:
dispose
in classAbstractController
-
isUpdateViewDefault
public boolean isUpdateViewDefault()- Specified by:
isUpdateViewDefault
in interfaceICameraMouseController
-
setUpdateViewDefault
public void setUpdateViewDefault(boolean updateViewDefault) Define if the camera controller requires view update after editing camera.- Specified by:
setUpdateViewDefault
in interfaceICameraMouseController
-
rotate
protected void rotate(double azimuth) -
rotate
-
rotate
-
shift
protected void shift(float factor) -
shift
protected void shift(float factor, boolean updateView) -
zoomX
protected void zoomX(float factor) -
zoomX
protected void zoomX(float factor, boolean updateView) -
zoomY
protected void zoomY(float factor) -
zoomY
protected void zoomY(float factor, boolean updateView) -
zoomZ
protected void zoomZ(float factor) -
zoomZ
protected void zoomZ(float factor, boolean updateView) -
addSlaveThreadController
Deprecated.- Specified by:
addSlaveThreadController
in interfaceICameraMouseController
-
getSlaveThreadController
Deprecated.- Specified by:
getSlaveThreadController
in interfaceICameraMouseController
-
addThread
Description copied from interface:ICameraMouseController
Set the camera thread rotation handler- Specified by:
addThread
in interfaceICameraMouseController
-
getThread
Description copied from interface:ICameraMouseController
Returns the camera thread rotation handler- Specified by:
getThread
in interfaceICameraMouseController
-
removeSlaveThreadController
public void removeSlaveThreadController() -
stopThreadController
public void stopThreadController() -
startThreadController
public void startThreadController() -
setLODPerf
- Specified by:
setLODPerf
in interfaceICameraMouseController
-
getLODPerf
- Specified by:
getLODPerf
in interfaceICameraMouseController
-