Class TranslationAnimator


  • public class TranslationAnimator
    extends AbstractTransformAnimator
    An animator that just executes a constant speed translation of the current viewpoint to a target location, keeping all other view parameters constant.
    Author:
    Jean-Yves Tinevez
    • Method Detail

      • get

        public net.imglib2.realtransform.AffineTransform3D get​(double t)
        Description copied from class: AbstractTransformAnimator
        Returns an AffineTransform3D for 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:
        get in class AbstractTransformAnimator
        Parameters:
        t - the completion factor, ranging from 0 to 1.
        Returns:
        the viewer transform for the specified completion factor.