- java.lang.Object
-
- bdv.viewer.animate.AbstractAnimator
-
- bdv.viewer.animate.AbstractTransformAnimator
-
- bdv.viewer.animate.RotationAnimator
-
public class RotationAnimator extends AbstractTransformAnimator
-
-
Constructor Summary
Constructors Constructor Description RotationAnimator(net.imglib2.realtransform.AffineTransform3D transformStart, double viewerCenterX, double viewerCenterY, double[] targetOrientation, long duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.imglib2.realtransform.AffineTransform3Dget(double t)Returns anAffineTransform3Dfor the specified completion factor.-
Methods inherited from class bdv.viewer.animate.AbstractTransformAnimator
getCurrent
-
Methods inherited from class bdv.viewer.animate.AbstractAnimator
isComplete, ratioComplete, setTime
-
-
-
-
Constructor Detail
-
RotationAnimator
public RotationAnimator(net.imglib2.realtransform.AffineTransform3D transformStart, double viewerCenterX, double viewerCenterY, double[] targetOrientation, long duration)
-
-
Method Detail
-
get
public net.imglib2.realtransform.AffineTransform3D get(double t)
Description copied from class:AbstractTransformAnimatorReturns anAffineTransform3Dfor the specified completion factor. For values below 0, that starting transform should be returned. For values larger than 1, the final transform should be returned. Values below 0 and 1 should interpolate between the two, depending on the concrete animation implementation.- Specified by:
getin classAbstractTransformAnimator- Parameters:
t- the completion factor, ranging from 0 to 1.- Returns:
- the viewer transform for the specified completion factor.
-
-