public class SimilarityTransformAnimator3D extends AbstractTransformAnimator
Constructor and Description |
---|
SimilarityTransformAnimator3D(AffineTransform3D transformStart,
AffineTransform3D transformEnd,
double cX,
double cY,
long duration) |
Modifier and Type | Method and Description |
---|---|
AffineTransform3D |
get(double t)
Returns an
AffineTransform3D for the specified completion factor. |
getCurrent
isComplete, ratioComplete, setTime
public SimilarityTransformAnimator3D(AffineTransform3D transformStart, AffineTransform3D transformEnd, double cX, double cY, long duration)
public AffineTransform3D get(double t)
AbstractTransformAnimator
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.get
in class AbstractTransformAnimator
t
- the completion factor, ranging from 0 to 1.Copyright © 2015–2021 Fiji. All rights reserved.