Package gov.nasa.worldwind.view.orbit
Class OrbitViewMoveToZoomAnimator
- java.lang.Object
-
- gov.nasa.worldwind.animation.BasicAnimator
-
- gov.nasa.worldwind.animation.DoubleAnimator
-
- gov.nasa.worldwind.animation.MoveToDoubleAnimator
-
- gov.nasa.worldwind.view.orbit.OrbitViewMoveToZoomAnimator
-
- All Implemented Interfaces:
Animator
public class OrbitViewMoveToZoomAnimator extends MoveToDoubleAnimator
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.animation.MoveToDoubleAnimator
minEpsilon, smoothing
-
Fields inherited from class gov.nasa.worldwind.animation.DoubleAnimator
begin, end, propertyAccessor
-
Fields inherited from class gov.nasa.worldwind.animation.BasicAnimator
interpolator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
nextDouble(double interpolant)
Get the next value using the given interpolantto perform a linear interplation.protected void
setImpl(double interpolant)
No-op intended to be overrided by deriving classes.-
Methods inherited from class gov.nasa.worldwind.animation.MoveToDoubleAnimator
next
-
Methods inherited from class gov.nasa.worldwind.animation.DoubleAnimator
getBegin, getEnd, getPropertyAccessor, setBegin, setEnd
-
Methods inherited from class gov.nasa.worldwind.animation.BasicAnimator
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, set, setStopOnInvalidState, start, stop
-
-
-
-
Method Detail
-
setImpl
protected void setImpl(double interpolant)
Description copied from class:BasicAnimator
No-op intended to be overrided by deriving classes. Deriving classes are expected to implement the desired action of a set operation in this method.- Overrides:
setImpl
in classDoubleAnimator
- Parameters:
interpolant
- A value between 0 and 1.
-
nextDouble
public java.lang.Double nextDouble(double interpolant)
Description copied from class:MoveToDoubleAnimator
Get the next value using the given interpolantto perform a linear interplation. between the current value and the target(end) value.- Overrides:
nextDouble
in classMoveToDoubleAnimator
- Parameters:
interpolant
- The inerpolant to be used to perform the interpolation. A number between 0 and 1.- Returns:
- the interpolated value.
-
-