gov.nasa.worldwind.view.orbit
Class OrbitViewCenterAnimator
java.lang.Object
gov.nasa.worldwind.animation.BasicAnimator
gov.nasa.worldwind.animation.PositionAnimator
gov.nasa.worldwind.animation.MoveToPositionAnimator
gov.nasa.worldwind.view.orbit.OrbitViewCenterAnimator
- All Implemented Interfaces:
- Animator
public class OrbitViewCenterAnimator
- extends MoveToPositionAnimator
A position animator that has the ability to adjust the view to focus on the
terrain when it is stopped.
|
Method Summary |
Position |
nextPosition(double interpolant)
|
protected void |
setImpl(double interpolant)
No-op intended to be overrided by deriving classes. |
void |
stop()
Stops the Animator, hasNext will now return false |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrbitViewCenterAnimator
public OrbitViewCenterAnimator(BasicOrbitView orbitView,
Position startPosition,
Position endPosition,
double smoothing,
PropertyAccessor.PositionAccessor propertyAccessor,
boolean endCenterOnSurface)
nextPosition
public Position nextPosition(double interpolant)
- Overrides:
nextPosition in class MoveToPositionAnimator
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 class PositionAnimator
- Parameters:
interpolant - A value between 0 and 1.
stop
public void stop()
- Description copied from class:
BasicAnimator
- Stops the
Animator, hasNext will now return false
- Specified by:
stop in interface Animator- Overrides:
stop in class BasicAnimator