|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.animation.BasicAnimator
gov.nasa.worldwind.animation.AngleAnimator
public class AngleAnimator
Animates angles, via an interpolator. begin and end values can be reset
once the animation is already in motion.
| Field Summary | |
|---|---|
protected Angle |
begin
The angle the animation begins at. |
protected Angle |
end
The angle the animation ends at. |
protected PropertyAccessor.AngleAccessor |
propertyAccessor
The @link gov.nasa.worldwind.util.PropertyAccessor used to modify the data value being animated. |
| Fields inherited from class gov.nasa.worldwind.animation.BasicAnimator |
|---|
interpolator |
| Constructor Summary | |
|---|---|
AngleAnimator(Interpolator interpolator,
Angle begin,
Angle end,
PropertyAccessor.AngleAccessor propertyAccessor)
Construct an AngleAnimator |
|
| Method Summary | |
|---|---|
Angle |
getBegin()
Get the current begin value. |
Angle |
getEnd()
Get the current end value. |
PropertyAccessor.AngleAccessor |
getPropertyAccessor()
Get the PropertyAccessor in use by this animation |
void |
setBegin(Angle begin)
Set the begin value. |
void |
setEnd(Angle end)
Set the end value. |
protected void |
setImpl(double interpolant)
Set the value being animated via the PropertyAccessor
using the passed interpolant. |
| Methods inherited from class gov.nasa.worldwind.animation.BasicAnimator |
|---|
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, next, set, setStopOnInvalidState, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Angle begin
protected Angle end
protected final PropertyAccessor.AngleAccessor propertyAccessor
| Constructor Detail |
|---|
public AngleAnimator(Interpolator interpolator,
Angle begin,
Angle end,
PropertyAccessor.AngleAccessor propertyAccessor)
interpolator - the Interpolatorbegin - angle the animation begins atend - The angle the animation ends at.propertyAccessor - The PropertyAccessor used to modify
the data value being animated.| Method Detail |
|---|
public Angle getBegin()
begin value.
begin value.public Angle getEnd()
end value.
end value.public PropertyAccessor.AngleAccessor getPropertyAccessor()
PropertyAccessor in use by this animation
PropertyAccessor in use by this animationpublic void setBegin(Angle begin)
begin value.
begin - the new begin value.public void setEnd(Angle end)
end value.
end - the new end value.protected void setImpl(double interpolant)
PropertyAccessor
using the passed interpolant. This implementation just does a straight liner interpolation
between the begin and end values.
setImpl in class BasicAnimatorinterpolant - the interpolant used to generate the next value that will be set by the
PropertyAccessor
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||