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 Vec4
eyePoint
protected Globe
globe
protected boolean
hasNext
protected double
smoothing
protected static double
STOP_DISTANCE
protected BasicOrbitView
view
-
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 boolean
hasNext()
Returnstrue
if theAnimator
has more elements.void
next()
Iterates to the next value.void
set(double interpolant)
Set the value of the attached property to the value associated with this interpolant value.void
setEyePoint(Vec4 eyePoint)
static void
setEyePoint(Globe globe, BasicOrbitView view, Vec4 newEyePoint)
void
start()
Starts theAnimator
.void
stop()
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:Animator
Starts theAnimator
. The implemenation should returntrue
fromhasNext
-
stop
public void stop()
Description copied from interface:Animator
Stops theAnimator
. The implmenentation should returnfalse
fromhasNext
-
hasNext
public boolean hasNext()
Description copied from interface:Animator
Returnstrue
if theAnimator
has more elements.
-
set
public void set(double interpolant)
Description copied from interface:Animator
Set the value of the attached property to the value associated with this interpolant value.
-
next
public void next()
Description copied from interface:Animator
Iterates 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)
-
-