Class TrajectoryUtils
java.lang.Object
gaiasky.scene.entity.TrajectoryUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeExtrasolarSystemTransformMatrix(GraphNode graph, RefSysTransform transform) voidcomputeInheritedTransformMatrix(GraphNode graph, RefSysTransform transform) Copies the extrasolar reference frame from the nearest ancestor that has an extrasolar or inherited orientation model.voidinitializeTransformMatrix(Trajectory trajectory, GraphNode graph, RefSysTransform transform) voidinitOrbitMetadata(Body body, Trajectory trajectory, Verts verts) static voidinitRefresher(TrajectoryUtils utils) Initialize the trajectory refresher daemon.voidrefreshOrbit(Trajectory trajectory, Verts verts, boolean force) Queues a trajectory refresh task with the refresher for this trajectory.voidupdateSize(Body body, Trajectory trajectory, Verts verts)
-
Field Details
-
orbitRefresher
The trajectory refresher daemon.
-
-
Constructor Details
-
TrajectoryUtils
public TrajectoryUtils()
-
-
Method Details
-
initRefresher
Initialize the trajectory refresher daemon. -
initOrbitMetadata
-
updateSize
-
initializeTransformMatrix
public void initializeTransformMatrix(Trajectory trajectory, GraphNode graph, RefSysTransform transform) -
computeInheritedTransformMatrix
Copies the extrasolar reference frame from the nearest ancestor that has an extrasolar or inherited orientation model. -
computeExtrasolarSystemTransformMatrix
-
refreshOrbit
Queues a trajectory refresh task with the refresher for this trajectory.- Parameters:
verts- The verts object containing the data.force- Whether to force the refresh.
-