Class CameraKeyframeManager

java.lang.Object
gaiasky.desktop.util.camera.CameraKeyframeManager
All Implemented Interfaces:
IObserver

public class CameraKeyframeManager extends Object implements IObserver
  • Field Details

  • Constructor Details

    • CameraKeyframeManager

      public CameraKeyframeManager()
  • Method Details

    • initialize

      public static void initialize()
    • loadKeyframesFile

      public com.badlogic.gdx.utils.Array<Keyframe> loadKeyframesFile(Path file) throws RuntimeException
      Throws:
      RuntimeException
    • saveKeyframesFile

      public void saveKeyframesFile(com.badlogic.gdx.utils.Array<Keyframe> keyframes, String fileName)
    • samplePaths

      public double[] samplePaths(com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.Array<Vector3d>> pointsSep, double[] points, int samplesPerSegment, CameraKeyframeManager.PathType pathType)
    • exportKeyframesFile

      public void exportKeyframesFile(com.badlogic.gdx.utils.Array<Keyframe> keyframes, String fileName)
    • notify

      public void notify(Events event, Object... data)
      Specified by:
      notify in interface IObserver