public abstract class DefaultAnimatableUniverse extends DefaultUniverse
DefaultUniverse.GlobalTransform
ANIMATE_TG, ATTRIBUTE_COORD_SYSTEM, ATTRIBUTE_SCALEBAR, attributesSwitch, bounds, CENTER_TG, contentTransformer, frameBehavior, globalCenter, globalCoord, globalMax, globalMin, light, mouseBehavior, picker, ROTATION_TG, scalebar, scene, TRANSLATE_TG, ui, useToFront, viewTransformer, win, ZOOM_TG
locale, viewer
ROTATE, TRANSLATE
Constructor and Description |
---|
DefaultAnimatableUniverse(int width,
int height)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
getRotationAxis(Vector3f ret)
Copy the current rotation axis into the given Vector3f.
|
float |
getRotationInterval()
Returns the rotation interval (in degree)
|
void |
pauseAnimation()
Pauses the animation.
|
ij.ImagePlus |
record360()
Records a full 360 degree rotation and returns an ImagePlus containing the
frames of the animation.
|
void |
rotateX(double rad)
Convenience method which rotates the universe around the x-axis (regarding
the view, not the vworld) the specified amount of degrees (in rad).
|
void |
rotateY(double rad)
Convenience method which rotates the universe around the y-axis (regarding
the view, not the vworld) the specified amount of degrees (in rad).
|
void |
rotateZ(double rad)
Convenience method which rotates the universe around the z-axis (regarding
the view, not the vworld) the specified amount of degrees (in rad).
|
void |
setRotationAxis(Vector3f a)
Set the rotation axis to the specified Vector3f.
|
void |
setRotationInterval(float f)
Set the rotation interval (in degree)
|
void |
startAnimation()
Starts animating the universe.
|
void |
startFreehandRecording()
Start freehand recording.
|
ij.ImagePlus |
stopFreehandRecording()
Stop freehand recording.
|
addInteractiveBehavior, addUniverseListener, cleanup, close, contents, fireCanvasResized, fireContentAdded, fireContentChanged, fireContentRemoved, fireContentSelected, fireTransformationFinished, fireTransformationStarted, fireTransformationUpdated, fireUniverseClosed, getAnimationTG, getCenterTG, getContentTransformer, getGlobalTransform, getLight, getPicker, getRotationTG, getScalebar, getScene, getSelected, getSize, getTranslateTG, getUseToFront, getViewPlatformTransformer, getVworldToCamera, getVworldToCameraInverse, getWindow, getZoomTG, isAttributeVisible, removeUniverseListener, setGlobalTransform, setInteractiveBehavior, setSize, setUseToFront, show, showAttribute, takeSnapshot, takeSnapshot, transformChanged, waitForNextFrame
addBranchGraph, getCanvas, getCanvas, getLocale, getPreferredConfiguration, getViewer, getViewingPlatform
addGraphStructureChangeListener, addRenderingErrorListener, addShaderErrorListener, getAllLocales, getJ3DThreadPriority, getProperties, numLocales, removeAllLocales, removeGraphStructureChangeListener, removeLocale, removeRenderingErrorListener, removeShaderErrorListener, setJ3DThreadPriority
public DefaultAnimatableUniverse(int width, int height)
width
- of the universeheight
- of the universepublic void setRotationInterval(float f)
public float getRotationInterval()
public void startFreehandRecording()
public ij.ImagePlus stopFreehandRecording()
public ij.ImagePlus record360()
public void getRotationAxis(Vector3f ret)
public void setRotationAxis(Vector3f a)
public void rotateX(double rad)
public void rotateY(double rad)
public void rotateZ(double rad)
public void startAnimation()
public void pauseAnimation()
Copyright © 2015–2021 Fiji. All rights reserved.