Package gov.nasa.worldwind.view.orbit
Class OrbitViewEyePointAnimator
- java.lang.Object
-
- gov.nasa.worldwind.view.orbit.OrbitViewEyePointAnimator
-
-
Field Summary
Fields Modifier and Type Field Description protected Vec4eyePointprotected Globeglobeprotected booleanhasNextprotected doublesmoothingprotected static doubleSTOP_DISTANCEprotected BasicOrbitViewview
-
Constructor Summary
Constructors Constructor Description OrbitViewEyePointAnimator(Globe globe, BasicOrbitView view, Vec4 eyePoint, double smoothing)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Returnstrueif theAnimatorhas more elements.voidnext()Iterates to the next value.voidset(double interpolant)Set the value of the attached property to the value associated with this interpolant value.voidsetEyePoint(Vec4 eyePoint)static voidsetEyePoint(Globe globe, BasicOrbitView view, Vec4 newEyePoint)voidstart()Starts theAnimator.voidstop()Stops theAnimator.
-
-
-
Field Detail
-
STOP_DISTANCE
protected static final double STOP_DISTANCE
- See Also:
- Constant Field Values
-
globe
protected Globe globe
-
view
protected BasicOrbitView view
-
eyePoint
protected Vec4 eyePoint
-
smoothing
protected double smoothing
-
hasNext
protected boolean hasNext
-
-
Constructor Detail
-
OrbitViewEyePointAnimator
public OrbitViewEyePointAnimator(Globe globe, BasicOrbitView view, Vec4 eyePoint, double smoothing)
-
-
Method Detail
-
setEyePoint
public void setEyePoint(Vec4 eyePoint)
-
start
public void start()
Description copied from interface:AnimatorStarts theAnimator. The implemenation should returntruefromhasNext
-
stop
public void stop()
Description copied from interface:AnimatorStops theAnimator. The implmenentation should returnfalsefromhasNext
-
hasNext
public boolean hasNext()
Description copied from interface:AnimatorReturnstrueif theAnimatorhas more elements.
-
set
public void set(double interpolant)
Description copied from interface:AnimatorSet the value of the attached property to the value associated with this interpolant value.
-
next
public void next()
Description copied from interface:AnimatorIterates to the next value. The implementation is expected to apply that next value to the property it is attached to.
-
setEyePoint
public static void setEyePoint(Globe globe, BasicOrbitView view, Vec4 newEyePoint)
-
-