Package gaiasky.util
Class GlobalConf.FrameConf
java.lang.Object
gaiasky.util.GlobalConf.FrameConf
- All Implemented Interfaces:
IObserver
,GlobalConf.IConf
- Enclosing class:
- GlobalConf
Holds the configuration for the output frame subsystem and the camera
recording.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Automatically activate frame output system when playing camera filedouble
The target FPS when recording the cameraFormatThe frame output screenshot modefloat
Quality, in case format is JPGPath type of camera orientationPath type of camera positionstatic int
static int
The prefix for the image filesThe output folderint
The height of the image framesboolean
Whether the frame system is activated or notboolean
Should we write the simulation time to the images?double
The number of images per second to produceint
The width of the image frames -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize(int rENDER_WIDTH, int rENDER_HEIGHT, double rENDER_TARGET_FPS, double cAMERA_REC_TARGET_FPS, boolean aUTO_FRAME_OUTPUT_CAMERA_PLAY, String rENDER_FOLDER, 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
boolean
void
-
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_WIDTHThe width of the image frames -
RENDER_HEIGHT
public int RENDER_HEIGHTThe height of the image frames -
RENDER_TARGET_FPS
public double RENDER_TARGET_FPSThe number of images per second to produce -
CAMERA_REC_TARGET_FPS
public double CAMERA_REC_TARGET_FPSThe target FPS when recording the camera -
AUTO_FRAME_OUTPUT_CAMERA_PLAY
public boolean AUTO_FRAME_OUTPUT_CAMERA_PLAYAutomatically activate frame output system when playing camera file -
RENDER_FOLDER
The output folder -
RENDER_FILE_NAME
The prefix for the image files -
RENDER_SCREENSHOT_TIME
public boolean RENDER_SCREENSHOT_TIMEShould we write the simulation time to the images? -
RENDER_OUTPUT
public boolean RENDER_OUTPUTWhether the frame system is activated or not -
FRAME_MODE
The frame output screenshot mode -
FRAME_FORMAT
Format -
FRAME_QUALITY
public float FRAME_QUALITYQuality, in case format is JPG -
KF_PATH_TYPE_POSITION
Path type of camera position -
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, String rENDER_FOLDER, 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
-