public final class SolidUpdater extends Object implements IDisposable
SolidGraphics
to a SolidPrimitive
.Constructor and Description |
---|
SolidUpdater(SolidGraphics solidGraphics,
EvaluatorGroup group)
Creates a new instance using the provided
SolidGraphics
and EvaluatorGroup |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases any resources associated with this instance.
|
void |
staticUpdate(SolidPrimitive solid)
Initializes any static values in the provided primitive.
|
void |
update(JulianDate time,
SolidPrimitive solid)
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 SolidUpdater(@Nonnull SolidGraphics solidGraphics, @Nonnull EvaluatorGroup group)
SolidGraphics
and EvaluatorGroup
solidGraphics
- The solid 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 SolidPrimitive solid)
solid
- The primitive to modify.public final void update(@Nonnull JulianDate time, @Nonnull SolidPrimitive solid)
time
- The time of the update.solid
- The primitive to update.