Package gaiasky.util

Class GlobalConf.FrameConf

java.lang.Object
gaiasky.util.GlobalConf.FrameConf
All Implemented Interfaces:
IObserver, GlobalConf.IConf
Enclosing class:
GlobalConf

public static class GlobalConf.FrameConf
extends java.lang.Object
implements GlobalConf.IConf, IObserver
Holds the configuration for the output frame subsystem and the camera recording.
  • Field Details

    • MIN_FRAME_SIZE

      public static final int MIN_FRAME_SIZE
      See Also:
      Constant Field Values
    • MAX_FRAME_SIZE

      public static final int MAX_FRAME_SIZE
      See Also:
      Constant Field Values
    • RENDER_WIDTH

      public int RENDER_WIDTH
      The width of the image frames
    • RENDER_HEIGHT

      public int RENDER_HEIGHT
      The height of the image frames
    • RENDER_TARGET_FPS

      public double RENDER_TARGET_FPS
      The number of images per second to produce
    • CAMERA_REC_TARGET_FPS

      public double CAMERA_REC_TARGET_FPS
      The target FPS when recording the camera
    • AUTO_FRAME_OUTPUT_CAMERA_PLAY

      public boolean AUTO_FRAME_OUTPUT_CAMERA_PLAY
      Automatically activate frame output system when playing camera file
    • RENDER_FOLDER

      public java.lang.String RENDER_FOLDER
      The output folder
    • RENDER_FILE_NAME

      public java.lang.String RENDER_FILE_NAME
      The prefix for the image files
    • RENDER_SCREENSHOT_TIME

      public boolean RENDER_SCREENSHOT_TIME
      Should we write the simulation time to the images?
    • RENDER_OUTPUT

      public boolean RENDER_OUTPUT
      Whether the frame system is activated or not
    • FRAME_MODE

      public GlobalConf.ScreenshotMode FRAME_MODE
      The frame output screenshot mode
    • FRAME_FORMAT

      public GlobalConf.ImageFormat FRAME_FORMAT
      Format
    • FRAME_QUALITY

      public float FRAME_QUALITY
      Quality, in case format is JPG
    • KF_PATH_TYPE_POSITION

      public CameraKeyframeManager.PathType KF_PATH_TYPE_POSITION
      Path type of camera position
    • KF_PATH_TYPE_ORIENTATION

      public CameraKeyframeManager.PathType KF_PATH_TYPE_ORIENTATION
      Path type of camera orientation
  • Constructor Details

    • FrameConf

      public FrameConf()
  • Method Details

    • isSimpleMode

      public boolean isSimpleMode()
    • isRedrawMode

      public boolean isRedrawMode()
    • initialize

      public void initialize​(int rENDER_WIDTH, int rENDER_HEIGHT, double rENDER_TARGET_FPS, double cAMERA_REC_TARGET_FPS, boolean aUTO_FRAME_OUTPUT_CAMERA_PLAY, java.lang.String rENDER_FOLDER, java.lang.String rENDER_FILE_NAME, boolean rENDER_SCREENSHOT_TIME, boolean rENDER_OUTPUT, GlobalConf.ScreenshotMode fRAME_MODE, GlobalConf.ImageFormat fRAME_FORMAT, float fRAME_QUALITY, CameraKeyframeManager.PathType kF_PATH_TYPE_POSITION, CameraKeyframeManager.PathType kF_PATH_TYPE_ORIENTATION)
    • notify

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