gov.nasa.worldwindx.examples
Class KeepingObjectsInView.ViewAnimator
java.lang.Object
gov.nasa.worldwind.animation.BasicAnimator
gov.nasa.worldwindx.examples.KeepingObjectsInView.ViewAnimator
- All Implemented Interfaces:
- Animator
- Enclosing class:
- KeepingObjectsInView
public static class KeepingObjectsInView.ViewAnimator
- extends BasicAnimator
|
Method Summary |
protected void |
setImpl(double interpolant)
No-op intended to be overrided by deriving classes. |
void |
stop()
Stops the Animator, hasNext will now return false |
protected void |
updateTargetValues()
|
protected boolean |
valuesMeetCriteria(Position centerPos,
double zoom)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALTITUDE_EPSILON
protected static final double ALTITUDE_EPSILON
- See Also:
- Constant Field Values
centerPosition
protected Position centerPosition
haveTargets
protected boolean haveTargets
LOCATION_EPSILON
protected static final double LOCATION_EPSILON
- See Also:
- Constant Field Values
view
protected OrbitView view
viewController
protected KeepingObjectsInView.ViewController viewController
zoom
protected double zoom
KeepingObjectsInView.ViewAnimator
public KeepingObjectsInView.ViewAnimator(double smoothing,
OrbitView view,
KeepingObjectsInView.ViewController viewController)
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 BasicAnimator
- 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
updateTargetValues
protected void updateTargetValues()
valuesMeetCriteria
protected boolean valuesMeetCriteria(Position centerPos,
double zoom)