Modifier and Type | Field and Description |
---|---|
protected Vec4 |
eyePoint |
protected Globe |
globe |
protected boolean |
hasNext |
protected double |
smoothing |
protected static double |
STOP_DISTANCE |
protected BasicOrbitView |
view |
Constructor and Description |
---|
OrbitViewEyePointAnimator(Globe globe,
BasicOrbitView view,
Vec4 eyePoint,
double smoothing) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if the Animator 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.
|
static void |
setEyePoint(Globe globe,
BasicOrbitView view,
Vec4 newEyePoint) |
void |
setEyePoint(Vec4 eyePoint) |
void |
start()
Starts the
Animator . |
void |
stop()
Stops the
Animator . |
protected Vec4 eyePoint
protected Globe globe
protected boolean hasNext
protected double smoothing
protected static final double STOP_DISTANCE
protected BasicOrbitView view
public OrbitViewEyePointAnimator(Globe globe, BasicOrbitView view, Vec4 eyePoint, double smoothing)
public boolean hasNext()
Animator
true
if the Animator
has more elements.public void next()
Animator
public void set(double interpolant)
Animator
public static void setEyePoint(Globe globe, BasicOrbitView view, Vec4 newEyePoint)
public void setEyePoint(Vec4 eyePoint)
public void start()
Animator
Animator
. The implemenation should return true
from hasNext