public abstract class ProjectionStream extends Projection implements IDisposable
Projection that is updated dynamically at the specified UpdateDelta. The class can be used to stream projection data to Projection clients, like
ProjectedRaster. Note to Implementers: When implementing a derived class of ProjectionStream, you must provide an implementation for the Update method.| Modifier | Constructor and Description |
|---|---|
protected |
ProjectionStream() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispose(boolean disposing) |
Duration |
getUpdateDelta()
Gets the update delta of the projection stream in seconds.
|
void |
setUpdateDelta(Duration value)
Sets the update delta of the projection stream in seconds.
|
abstract boolean |
update(JulianDate time,
JulianDate nextTime)
When overridden in a derived class, updates the projection data associated with the projection stream at the specified time.
|
dispose, finalize, getFarPlane, getFieldOfViewHorizontal, getFieldOfViewVertical, getNearPlane, getOrientation, getPosition, setFarPlane, setFieldOfViewHorizontal, setFieldOfViewVertical, setNearPlane, setOrientation, setPositionclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, disposeprotected void dispose(boolean disposing)
dispose in class Projectionpublic Duration getUpdateDelta()
UpdateDelta defines the interval at which
the Update method will be called. The default UpdateDelta is 0, which will call the Update method
every time the SceneManager time changes. When animating, this means the Update method would be called
on every animation step.public void setUpdateDelta(Duration value)
UpdateDelta defines the interval at which
the Update method will be called. The default UpdateDelta is 0, which will call the Update method
every time the SceneManager time changes. When animating, this means the Update method would be called
on every animation step.public abstract boolean update(JulianDate time, JulianDate nextTime)
SceneManager time. Return true if the projection data was updated, otherwise return false.time - The current SceneManager time.nextTime - The next SceneManager time.