Package gaiasky.scene.entity
Class TrajectoryUtils
java.lang.Object
gaiasky.scene.entity.TrajectoryUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeExtrasolarSystemTransformMatrix(GraphNode graph, RefSysTransform transform) voidinitializeTransformMatrix(Trajectory trajectory, GraphNode graph, RefSysTransform transform) voidinitOrbitMetadata(Body body, Trajectory trajectory, Verts verts) static voidInitialize 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
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.
-