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