public final class SurfaceUpdater extends Object implements IDisposable
SurfaceGraphics
to a SurfaceMeshPrimitive
.Constructor and Description |
---|
SurfaceUpdater(SurfaceGraphics surfaceGraphics,
EvaluatorGroup group)
Creates a new instance using the provided
SurfaceGraphics
and EvaluatorGroup |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases any resources associated with this instance.
|
void |
staticUpdate(SurfaceMeshPrimitive mesh)
Initializes any static values in the provided primitive.
|
void |
update(JulianDate time,
SurfaceMeshPrimitive mesh)
Updates the primitive's graphical properties to match
the provided time.
|
void |
updateReferences(EvaluatorGroup group)
Updates all evaluator references using the provided group.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public SurfaceUpdater(@Nonnull SurfaceGraphics surfaceGraphics, @Nonnull EvaluatorGroup group)
SurfaceGraphics
and EvaluatorGroup
surfaceGraphics
- The surface parameters.group
- The group in which to create evaluatorspublic final void dispose()
dispose
in interface IDisposable
public final void updateReferences(@Nonnull EvaluatorGroup group)
group
- The group from which to receive updated evaluators.public final void staticUpdate(@Nonnull SurfaceMeshPrimitive mesh)
mesh
- The primitive to modify.public final void update(@Nonnull JulianDate time, @Nonnull SurfaceMeshPrimitive mesh)
time
- The time of the update.mesh
- The primitive to update.