Package gaia.cu9.ari.gaiaorbit.util
Class GlobalConf.FrameConf
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.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 Summary
Fields Modifier and Type Field Description boolean
AUTO_FRAME_OUTPUT_CAMERA_PLAY
Automatically activate frame output system when playing camera fileint
CAMERA_REC_TARGET_FPS
The target FPS when recording the cameraGlobalConf.ImageFormat
FRAME_FORMAT
FormatGlobalConf.ScreenshotMode
FRAME_MODE
The frame output screenshot modefloat
FRAME_QUALITY
Quality, in case format is JPGCameraKeyframeManager.PathType
KF_PATH_TYPE_ORIENTATION
Path type of camera orientationCameraKeyframeManager.PathType
KF_PATH_TYPE_POSITION
Path type of camera positionstatic int
MAX_FRAME_SIZE
static int
MIN_FRAME_SIZE
java.lang.String
RENDER_FILE_NAME
The prefix for the image filesjava.lang.String
RENDER_FOLDER
The output folderint
RENDER_HEIGHT
The height of the image framesboolean
RENDER_OUTPUT
Whether the frame system is activated or notboolean
RENDER_SCREENSHOT_TIME
Should we write the simulation time to the images?int
RENDER_TARGET_FPS
The number of images per second to produceint
RENDER_WIDTH
The width of the image frames
-
Constructor Summary
Constructors Constructor Description FrameConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(int rENDER_WIDTH, int rENDER_HEIGHT, int rENDER_TARGET_FPS, int 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)
boolean
isRedrawMode()
boolean
isSimpleMode()
void
notify(Events event, java.lang.Object... data)
-
-
-
Field Detail
-
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 int RENDER_TARGET_FPS
The number of images per second to produce
-
CAMERA_REC_TARGET_FPS
public int 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
-
-
Method Detail
-
isSimpleMode
public boolean isSimpleMode()
-
isRedrawMode
public boolean isRedrawMode()
-
initialize
public void initialize(int rENDER_WIDTH, int rENDER_HEIGHT, int rENDER_TARGET_FPS, int 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)
-
-