|
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
gov.nasa.worldwind.animation.RotateToAngleAnimator
public class RotateToAngleAnimator
| Field Summary |
|---|
| Fields inherited from class gov.nasa.worldwind.animation.AngleAnimator |
|---|
begin, end, propertyAccessor |
| Fields inherited from class gov.nasa.worldwind.animation.BasicAnimator |
|---|
interpolator |
| Constructor Summary | |
|---|---|
RotateToAngleAnimator(Angle begin,
Angle end,
double smoothing,
PropertyAccessor.AngleAccessor propertyAccessor)
|
|
| Method Summary | |
|---|---|
void |
next()
Calls the set method with the next interpolant as determined
by the interpolator member. |
Angle |
nextAngle(double interpolant)
|
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.AngleAnimator |
|---|
getBegin, getEnd, getPropertyAccessor, setBegin, setEnd |
| Methods inherited from class gov.nasa.worldwind.animation.BasicAnimator |
|---|
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, set, setStopOnInvalidState, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotateToAngleAnimator(Angle begin,
Angle end,
double smoothing,
PropertyAccessor.AngleAccessor propertyAccessor)
| Method Detail |
|---|
public void next()
BasicAnimatorset method with the next interpolant as determined
by the interpolator member.
next in interface Animatornext in class BasicAnimatorpublic Angle nextAngle(double interpolant)
protected void setImpl(double interpolant)
AngleAnimatorPropertyAccessor
using the passed interpolant. This implementation just does a straight liner interpolation
between the AngleAnimator.begin and AngleAnimator.end values.
setImpl in class AngleAnimatorinterpolant - 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 | ||||||||