Package gaiasky.scene.entity
Class TrajectoryUtils
java.lang.Object
gaiasky.scene.entity.TrajectoryUtils
Contains methods that act on trajectory entities.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
computeExtrasolarSystemTransformMatrix
(GraphNode graph, RefSysTransform transform) void
initializeTransformMatrix
(Trajectory trajectory, GraphNode graph, RefSysTransform transform) void
initOrbitMetadata
(Body body, Trajectory trajectory, Verts verts) static void
Initialize the trajectory refresher daemon.void
refreshOrbit
(Trajectory trajectory, Verts verts, boolean force) Queues a trajectory refresh task with the refresher for this trajectory.void
updateSize
(Body body, Trajectory trajectory, Verts verts)
-
Field Details
-
orbitRefresher
The trajectory refresher daemon.
-
-
Constructor Details
-
TrajectoryUtils
public TrajectoryUtils()
-
-
Method Details
-
initRefresher
public static void initRefresher()Initialize the trajectory refresher daemon. -
initOrbitMetadata
-
updateSize
-
initializeTransformMatrix
public void initializeTransformMatrix(Trajectory trajectory, GraphNode graph, RefSysTransform transform) -
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.
-