Package gaiasky.event
Enum Events
- java.lang.Object
-
- java.lang.Enum<Events>
-
- gaiasky.event.Events
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_CUSTOM_IMAGE
Adds or modifies a custom image.ADD_CUSTOM_MESSAGE
Adds or modifies a custom message.ADD_CUSTOM_TEXT
Adds or modifies a custom message.ADD_GUI_COMPONENT
Adds the gui component identified by the given nameAMBIENT_LIGHT_CMD
Contains a float with the intensity of the light between 0 and 1ANTIALIASING_CMD
Anti aliasing changed, contains the new value for aaBACKGROUND_LOADING_INFO
Empty event which informs that background loading is activeBLOOM_CMD
Contains the intensity value between 0 and 1 and a boolean for whether it comes from the interfaceBOOKMARKS_ADD
Add bookmark.BOOKMARKS_MOVE
Moves the bookmark 1 to a child of bookmark 2BOOKMARKS_REMOVE
Remove bookmark.BOOKMARKS_REMOVE_ALL
Remove all bookmarks with the given name, irrespective of the path.BRIGHTNESS_CMD
Contains the brightness level (float) in [-1..1] and an optional boolean indicating whether this comes from the interfaceCAMERA_CENTER
Removes the turn of the camera in focus modeCAMERA_CENTER_FOCUS_CMD
Sets the 'diverted' attribute of the camera.CAMERA_CINEMATIC_CMD
Contains a boolean with the cinematic mode state (on/off) and a boolean indicating if this comes from the interfaceCAMERA_CLOSEST_INFO
Broadcasts the overall closest (in [0]), the closest non-star body (in [1]) and the closest particle (in [2]) to this camera.CAMERA_DIR_CMD
Contains a double[] with the new directionCAMERA_FWD
Contains the value between 0 and 1CAMERA_MODE_CMD
Contains the new CameraMode objectCAMERA_MOTION_UPDATE
Informs of a new camera state.CAMERA_ORIENTATION_UPDATE
Sent whenever the camera orientation changes.CAMERA_PAN
CAMERA_PLAY_INFO
Informs that the camera has started or stopped playing.CAMERA_POS_CMD
Contains a double[] with the new positionCAMERA_PROJECTION_CMD
Update camera position, direction and up vectors all at once.CAMERA_ROLL
Contains the roll value between -1 and 1CAMERA_ROTATE
Contains the deltaX and deltaY between -1 and 1CAMERA_SPEED_CMD
Contains the new camera speedCAMERA_STOP
Stops the camera motionCAMERA_TURN
Contains the deltaX and deltaY between -1 and 1CAMERA_UP_CMD
Contains a double[] with the new up vectorCAMRECORDER_FPS_CMD
Sets the target frame rate for the camera recorder.CATALOG_ADD
A new catalog has been loaded.CATALOG_HIGHLIGHT
Highlight the catalog.CATALOG_REMOVE
Removes the catalog identified by the given string nameCATALOG_VISIBLE
Sets the visibilty of a catalog given its name and an optional boolean if it comes from the UICLEAR_HEADLINE_MESSAGE
Clears the headline messageCLEAR_MESSAGES
Clears all messages in the message interfaceCLEAR_SUBHEAD_MESSAGE
Clears the subhead messageCOLLAPSE_PANE_CMD
Collapses a GUI pane.CONFIG_FRAME_OUTPUT_CMD
Configures the render system.CONTRAST_CMD
Contains the contrast level (float) in [0..2] and an optional boolean indicating whether this comes from the interfaceCONTROLLER_CONNECTED_INFO
A controller has been connected, contains the nameCONTROLLER_DISCONNECTED_INFO
A controller has been disconnected, contains the nameCROSSHAIR_CLOSEST_CMD
Activates/deactivates the closest crosshair.CROSSHAIR_FOCUS_CMD
Activates/deactivates the focus crosshair.CROSSHAIR_HOME_CMD
Activates/deactivates the home crosshair.CUBEMAP_CMD
Sets cubemap mode.CUBEMAP_PROJECTION_CMD
Sets a new cubemap projection.CUBEMAP_RESOLUTION_CMD
Sets the resolution of the cubemap, contains an integer in [20..15000] with the resolution.DEBUG_OBJECTS
DEBUG_QUEUE
DEBUG_RAM
DEBUG_TIME
Debug infoDEBUG_VRAM
DISPLAY_GUI_CMD
Toggles whole GUI display.DISPLAY_MEM_INFO_WINDOW
DISPLAY_POINTER_COORDS_CMD
Contains a boolean with the display statusDISPLAY_VR_CONTROLLER_HINT_CMD
Displays VR Controller hintsDISPLAY_VR_GUI_CMD
Toggles VR GUI display.DISPOSE
Dispose all resources, app is shutting downDISPOSE_PARTICLE_GROUP_GPU_MESH
Contains an index to the particle group mesh to be clearedDISPOSE_STAR_GROUP_GPU_MESH
Contains an the index of the star group mesh to be clearedELEVATION_MUTLIPLIER_CMD
Sets the elevation multiplier.ELEVATION_TYPE_CMD
Sets the elevation typeEVENT_TIME_FRAME_CMD
Contains the new time frame objectEXPAND_PANE_CMD
Expands a GUI pane.EXPOSURE_CMD
Contains the exposure tone mapping level (float) in [0..n] (0 for disabled) and an optional boolean indicating whether this comes from the interfaceFISHEYE_CMD
Fisheye effect toggle.FLUSH_FRAMES
Issues the command to flush the frame systemFOCUS_CHANGE_CMD
FOCUS_MODE change command.FOCUS_CHANGED
Informs that the focus has somehow changed and the GUI must be updated.FOCUS_INFO_UPDATED
Contains the distance to the camera [0], the viewing angle [1], right ascension in deg [2], declination in deg [3] and the distance to Sol [4]FOCUS_LOCK_CMD
Contains the name, the boolean value, and an optional boolean indicating if this comes from the interfaceFOCUS_NOT_AVAILABLE
Informs that the given focus is not available anymore (not visible or unloaded)FOV_CHANGE_NOTIFICATION
Notifies a fov update in the camera.FOV_CHANGED_CMD
Contains the a float with the new fov value and an optional boolean to indicate whether to cap the value to 95 degrees or notFPS_INFO
Frames per second infoFRAME_OUTPUT_CMD
Issues the frame output command.FRAME_OUTPUT_MODE_CMD
Sets the frame output mode, either simple or redraw.FRAME_SIZE_UDPATE
Informs of the new size of the frame output systemFREE_MODE_COORD_CMD
Posts the coordinates of the free mode focus.GAIA_LOADED
Contains the Gaia object [0]GAIA_POSITION
GALAXY_3D_CMD
Issues command to chagne the galaxy appearance.GAMMA_CMD
Contains the gamma level (float) in [0..3] and an optional boolean indicating whether this comes from the interfaceGO_TO_OBJECT_CMD
Executes the command to position the camera near the object in focusGRAPHICS_QUALITY_UPDATED
Graphics quality updated, contains the newGlobalConf.SceneConf.GraphicsQuality
object.GRAV_WAVE_START
Start gravitational wave.GRAV_WAVE_STOP
Stops gravitational waveGRAVITATIONAL_LENSING_PARAMS
Contains the x and the y in pixels of the position of the massGUI_FOLD_CMD
Maximizes or minimizes the GUI window.GUI_MOVE_CMD
Moves the GUI window.GUI_SCROLL_POSITION_CMD
Sets the vertical scroll position.HIDE_UNCERTAINTIES
Hides all uncertaintiesHIGH_ACCURACY_CMD
Issues the command to change the high accuracy setting.HOME_CMD
Runs the 'Go home' actionHUE_CMD
Contains the hue level (float) in [0..2] and an optional boolean indicating whether this comes from the interfaceINITIALIZED_INFO
Informs Gaia Sky is fully initialized and normal operation is about to startINPUT_ENABLED_CMD
Enables/disables input from mouse/keyboard/etc.INPUT_EVENT
Issued when an input event is received.JAVA_EXCEPTION
Notifies from a java exception, it sends the Throwable and an optional tag.KEY_DOWN
KEY_UP
KEYFRAME_ADD
Add new keyframe at the end with the current camera settingsKEYFRAME_SELECT
The given keyframe has been selectedKEYFRAME_UNSELECT
The given keyframe is no longer selectedKEYFRAMES_EXPORT
Exports the given array of keyframes to a camera path fileKEYFRAMES_FILE_SAVE
Saves the given array of keyframes to a keyframes fileKEYFRAMES_REFRESH
Refreshes the keyframes from the modelLABEL_SIZE_CMD
Set label size.LAND_AT_LOCATION_OF_OBJECT
Lands at a certain location on a planet objectLAND_ON_OBJECT
Lands on a planet objectLENS_FLARE_CMD
Activate/deactivate lens flare.LIGHT_POS_2D_UPDATE
Contains an int with the number of lights and a float[] with [x, y] of the 10 closest stars in screen coordinates in [0..1]LIGHT_SCATTERING_CMD
Activate/deactivate the light scattering.LIMIT_FPS_CMD
Limits the frame rate, contains a double with the new limit frame rateLIMIT_MAG_CMD
Sets the limit magnitude.LINE_RENDERER_UPDATE
Issues the command to update the line render system.LINE_WIDTH_CMD
Line width factor.LOAD_DATA_CMD
Dataset has been choosen, loading can startLON_LAT_UPDATED
Contains two Double values, the longitude and latitude in degreesMODE_POPUP_CMD
Opens a new popup window with information on the new mode.MOTION_BLUR_CMD
Contains the opacity of motion blur between 0 and 1 and a boolean for whether it comes from the interfaceMOUSE_CAPTURE_CMD
True to capture the mouse, false to uncaptureMOUSE_CAPTURE_TOGGLE
Toggle mouse captureMUSIC_NEXT_CMD
Plays next musicMUSIC_PLAYPAUSE_CMD
Toggles the playMUSIC_PREVIOUS_CMD
Plays previous musicMUSIC_RELOAD_CMD
Reload music filesMUSIC_TRACK_INFO
Info about current trackMUSIC_VOLUME_CMD
Volume of music, contains the volume (float in [0..1])NAVIGATE_TO_OBJECT
Navigates smoothly to the given objectNEW_DISTANCE_SCALE_FACTOR
This event informs a new DISTANCE_SCALE_FACTOR is in placeOCTREE_DISPOSED
Informs the octree has been disposedOCTREE_PARTICLE_FADE_CMD
Toggles the fading of particles in the octree.ONLY_OBSERVED_STARS_CMD
Contains the name, the boolean value, and a boolean indicating if this comes from the interfaceORBIT_DATA_LOADED
Passes the OrbitData and the file nameORIENTATION_LOCK_CMD
Contains the name, the lock orientation boolean value and an optional boolean indicating if this comes from the interface.PACE_CHANGE_CMD
Contains a float with the pacePACE_CHANGED_INFO
Contains the new pacePARK_RUNNABLE
Posts a recurrent runnable.PAUSE_BACKGROUND_LOADING
Pauses background data loading thread, if anyPIXEL_RENDERER_UPDATE
Issues the command to update the pixel render system.PLANETARIUM_ANGLE_CMD
Sets the planetarium angle [deg], an angle from the zenith to put the focus on in planetarium modePLANETARIUM_APERTURE_CMD
Sets the aperture angle [deg] of the planetarium in cubemap modePLANETARIUM_CMD
Enables and disables the planetarium mode.PLAY_CAMERA_CMD
Issues the play command.PM_ARROWHEADS_CMD
Show or hide arrow caps.PM_COLOR_MODE_CMD
Contains the mode and a boolean indicating if it comes from the interface.PM_LEN_FACTOR_CMD
Contains the length factor for pm vectors and a boolean indicating if this comes from the interfacePM_NUM_FACTOR_CMD
Contains the number factor for pm vectors and a boolean indicating if this comes from the interfacePOINTER_GUIDES_CMD
Contains the state (boolean), the color (float[4]) and the line width (float)POPUP_MENU_FOCUS
Will show a popup menu for a focus candidate.POST_HEADLINE_MESSAGE
Contains a string with the headline message, will be displayed in a big font in the center of the screenPOST_NOTIFICATION
Will be displayed in the notifications area (bottom left).POST_SUBHEAD_MESSAGE
Contains a string with the subhead message, will be displayed in a small font below the headline messagePROPERTIES_WRITTEN
Sent when the properties in GlobalConf have been modified, usually after a configuration dialog.RA_DEC_UPDATED
Updates the position of the pointer and the view in equatorial coordinates.RAYMARCHING_ADDITIONAL_CMD
Push new additional data to ray marching shader.RAYMARCHING_CMD
Submits a register/unregister command for a ray marching shader.REBUILD_SHADOW_MAP_DATA_CMD
Event to update the shadow map metadataRECALCULATE_OPTIONS_SIZE
Forces recalculation of main GUI window sizeRECORD_CAMERA_CMD
Issues the command to enable camera recording.RELOAD_CONTROLLER_MAPPINGS
Reloads the inputListener mappings.REMOVE_ALL_OBJECTS
Removes all the custom objectsREMOVE_GUI_COMPONENT
Removes the gui component identified by the given nameREMOVE_KEYBOARD_FOCUS
Removes the keyboard focus in the GUIREMOVE_OBJECTS
Removes a previously added message or image.RENDER_FRAME
Issues the command to render a frameRENDER_FRAME_BUFFER
Issues the command to render the current frame buffer with a given folder, file (without filename), width and heightRENDER_SCREENSHOT
Issues the command to render a screenshotRESUME_BACKGROUND_LOADING
Resumes background data loading thread, if it exists and it is pausedROTATION_SPEED_CMD
Contains the new camera rotation speed and a boolean indicating if this comes from the interfaceRULER_ATTACH_0
Attach object to first end of ruler.RULER_ATTACH_1
Attach object to second end of ruler.RULER_CLEAR
Clear all objects from rulerRULER_DIST
Notifies new distances for the ruler.RUN_SCRIPT_PATH
Contains the string with the script code and an optional boolean indicating whether it must be run asynchronousRUN_SCRIPT_PYCODE
Contains the script PyCode object, the path and an optional boolean indicating whether it must be run asynchronousSAMP_INFO
SAMP informationSATURATION_CMD
Contains the saturation level (float) in [0..2] and an optional boolean indicating whether this comes from the interfaceSCENE_GRAPH_ADD_OBJECT_CMD
Sends an object to be added to the scene graph.SCENE_GRAPH_ADD_OBJECT_NO_POST_CMD
Sends an object to be added to a scene graph, without using a post runnable.SCENE_GRAPH_LOADED
Informs the scene graph has been loaded.SCENE_GRAPH_REMOVE_OBJECT_CMD
Removes an object from the scene graph.SCREEN_MODE_CMD
Updates the screen mode according to whats in theGlobalConf.screen
bean.SCREEN_NOTIFICATION_CMD
Adds a screen notification which lasts for a little while.SCREENSHOT_CMD
Contains the width, height (integers) and the folder name and filename (strings)SCREENSHOT_INFO
Contains the path where the screenshot has been savedSCREENSHOT_SIZE_UDPATE
Informs of the new size of the screenshot systemSCROLLED
SHOW_ABOUT_ACTION
SHOW_CONTROLLER_GUI_ACTION
Show/hide controller guiSHOW_DEBUG_CMD
Contains an optional boolean indicating whether debug info should be shown or not.SHOW_INDIVIDUAL_VISIBILITY_ACTION
SHOW_KEYFRAMES_WINDOW_ACTION
SHOW_LAND_AT_LOCATION_ACTION
SHOW_LOAD_CATALOG_ACTION
SHOW_LOAD_PROGRESS
Shows the load progress bar.SHOW_LOG_ACTION
SHOW_MINIMAP_ACTION
Shows the minimap window/interface.SHOW_PLAYCAMERA_ACTION
Shows the camera path file selector, contains the stage and the skinSHOW_PREFERENCES_ACTION
SHOW_QUIT_ACTION
Quit action, can contain optional Runnable to run on accept()SHOW_SEARCH_ACTION
SHOW_SLAVE_CONFIG_ACTION
Shows the slave configuration windowSHOW_UNCERTAINTIES
Show uncertainties for Tycho star, if available.SLAVE_CONNECTION_EVENT
Slave connection event.SPACECRAFT_INFO
Contains following info: current speed [u/s] current yaw angle [deg] current pitch angle [deg] current roll angle [deg] thrust factor engine power [-1..1] yaw power [-1..1] pitch power [-1..1] roll power [-1..1]SPACECRAFT_LOADED
Contains the spacecraft object after it has been loadedSPACECRAFT_NEAREST_INFO
Contains following info about the nearest object: nearest object name distance to nearest object [u]SPACECRAFT_STABILISE_CMD
Level spacecraft command, contains boolean with stateSPACECRAFT_STOP_CMD
Stop spacecraft, contains boolean with stateSPACECRAFT_THRUST_DECREASE_CMD
Decreases thrustSPACECRAFT_THRUST_INCREASE_CMD
Increases thrustSPACECRAFT_THRUST_INFO
Broadcasts the new thrust indexSPACECRAFT_THRUST_SET_CMD
Contains the integer index of the new thrustSPEED_LIMIT_CMD
Contains the speed limit index as in: 100 km/h 0.5 * c 0.8 * c 0.9 * c 0.99 * c 0.99999 * c c (3e8 m/s) 2*c 10*c 1000*c 1 AU/s 10 AU/s 1000 AU/s 10000 AU/s 1 pc/s 2 pc/s 10 pc/s 1000 pc/s No limit It also contains a boolean indicating whether this comes from the interface.STAR_BRIGHTNESS_CMD
Contains the star brightness multiplier and an optional boolean saying if it comes from the interfaceSTAR_BRIGHTNESS_POW_CMD
Contains the star brightness power and an optional boolean saying if it comes from the interfaceSTAR_GROUP_BILLBOARD_CMD
Set the flag to render stars as billboards or notSTAR_GROUP_NEAREST_CMD
Update the number of nearest stars in star groupsSTAR_MIN_OPACITY_CMD
Minimum star opacity.STAR_POINT_SIZE_CMD
Set a new value for the star point size and a boolean saying if it comes from the interfaceSTAR_POINT_SIZE_DECREASE_CMD
Decrease star point size byConstants.SLIDER_STEP_TINY
STAR_POINT_SIZE_INCREASE_CMD
Increase star point size byConstants.SLIDER_STEP_TINY
STAR_POINT_SIZE_RESET_CMD
Reset star point size to original valueSTAR_TEXTURE_IDX_CMD
Set the texture index for starsSTEREO_PROFILE_CMD
Switches stereoscopic profile, contains the index of the new profileSTEREOSCOPIC_CMD
Stereoscopic vision, side by side rendering.STOP_CAMERA_PLAY
Stops the current camera playing operation, if anyTARGET_TIME_CMD
Sets and unsets the target time.TESSELLATION_QUALITY_CMD
Sets the tessellation quality.TIME_CHANGE_CMD
Issues a change time command, contains the Instant object with the new timeTIME_CHANGE_INFO
Notifies of a change in the time, contains the Instant objectTIME_STATE_CMD
Issues the command to toggle the time.TIME_WARP_DECREASE_CMD
Divide the pace by 2TIME_WARP_INCREASE_CMD
Double the paceTOGGLE_AMBIENT_LIGHT
Contains the name of the check box and a booleanTOGGLE_EXPANDCOLLAPSE_PANE_CMD
Toggles the collapsed state of a GUI pane.TOGGLE_MINIMAP
Toggles minimap visibilityTOGGLE_UPDATEPAUSE
Toggles the pause of the update process.TOGGLE_VISIBILITY_CMD
Contains the name of the type, a boolean with the state (on/off) and a boolean indicating if this comes from the interfaceTONEMAPPING_TYPE_CMD
Contains the tone mapping type as anGlobalConf.PostprocessConf.ToneMapping
or a string in [AUTO|EXPOSURE|NONE].TOUCH_DOWN
TOUCH_DRAGGED
TOUCH_UP
TRANSIT_COLOUR_CMD
Contains the name, the boolean value, and a boolean indicating if this comes from the interfaceTURNING_SPEED_CMD
Contains the new turning speedUI_RELOAD_CMD
Issues the command to reload the UIUI_THEME_RELOAD_INFO
Informs the UI theme has been reloaded.UNPARK_RUNNABLE
Unposts a runnable.UPDATE_CAM_RECORDER
Updates the camera recorder.UPDATE_GUI
Update external GUIs signal.UPDATE_LOAD_PROGRESS
Updates the load progress bar, contains a float in (0,1)UPDATEPAUSE_CHANGED
Contains the new valueVISIBILITY_OF_COMPONENTS
Contains an array of booleans with the visibility of each ComponentType, in the same order returned by ComponentType.values()VR_DEVICE_CONNECTED
New VR device connected.VR_DEVICE_DISCONNECTED
VR device disconnected.VR_SELECTING_STATE
Informs of the current selecting state.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Events
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Events[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_CUSTOM_IMAGE
public static final Events ADD_CUSTOM_IMAGE
Adds or modifies a custom image. Contains:- id - integer
- tex - Texture
- x - X position of bottom-left corner, float in [0..1]
- y - Y position of bottom-left corner, float in [0..1]
- r - optional, float in [0..1]
- g - optional, float in [0..1]
- b - optional, float in [0..1]
- a - optional, float in [0..1]
-
ADD_CUSTOM_MESSAGE
public static final Events ADD_CUSTOM_MESSAGE
Adds or modifies a custom message. Contains:- id - integer
- message - string
- x - X position of bottom-left corner, float in [0..1]
- y - Y position of bottom-left corner, float in [0..1]
- r - float in [0..1]
- g - float in [0..1]
- b - float in [0..1]
- a - float in [0..1]
- size - float
-
ADD_CUSTOM_TEXT
public static final Events ADD_CUSTOM_TEXT
Adds or modifies a custom message. Contains:- id - integer
- message - string
- x - X position of bottom-left corner, float in [0..1]
- y - Y position of bottom-left corner, float in [0..1]
- x - maxWidth maximum width in screen percentage, float in [0..1]
- y - maxHeight maximum height in screen percentage, float in [0..1]
- r - float in [0..1]
- g - float in [0..1]
- b - float in [0..1]
- a - float in [0..1]
- size - float
-
ADD_GUI_COMPONENT
public static final Events ADD_GUI_COMPONENT
Adds the gui component identified by the given name
-
AMBIENT_LIGHT_CMD
public static final Events AMBIENT_LIGHT_CMD
Contains a float with the intensity of the light between 0 and 1
-
ANTIALIASING_CMD
public static final Events ANTIALIASING_CMD
Anti aliasing changed, contains the new value for aa
-
BOOKMARKS_ADD
public static final Events BOOKMARKS_ADD
Add bookmark. Contains the path and a boolean indicating if it is a folder
-
BOOKMARKS_REMOVE
public static final Events BOOKMARKS_REMOVE
Remove bookmark. Contains the path to remove
-
BOOKMARKS_REMOVE_ALL
public static final Events BOOKMARKS_REMOVE_ALL
Remove all bookmarks with the given name, irrespective of the path.
-
BOOKMARKS_MOVE
public static final Events BOOKMARKS_MOVE
Moves the bookmark 1 to a child of bookmark 2
-
BACKGROUND_LOADING_INFO
public static final Events BACKGROUND_LOADING_INFO
Empty event which informs that background loading is active
-
BLOOM_CMD
public static final Events BLOOM_CMD
Contains the intensity value between 0 and 1 and a boolean for whether it comes from the interface
-
BRIGHTNESS_CMD
public static final Events BRIGHTNESS_CMD
Contains the brightness level (float) in [-1..1] and an optional boolean indicating whether this comes from the interface
-
CAMERA_CENTER
public static final Events CAMERA_CENTER
Removes the turn of the camera in focus mode
-
CAMERA_CENTER_FOCUS_CMD
public static final Events CAMERA_CENTER_FOCUS_CMD
Sets the 'diverted' attribute of the camera. Gets a boolean
-
CAMERA_CINEMATIC_CMD
public static final Events CAMERA_CINEMATIC_CMD
Contains a boolean with the cinematic mode state (on/off) and a boolean indicating if this comes from the interface
-
CAMERA_CLOSEST_INFO
public static final Events CAMERA_CLOSEST_INFO
Broadcasts the overall closest (in [0]), the closest non-star body (in [1]) and the closest particle (in [2]) to this camera. Happens every frame
-
CAMERA_DIR_CMD
public static final Events CAMERA_DIR_CMD
Contains a double[] with the new direction
-
CAMERA_FWD
public static final Events CAMERA_FWD
Contains the value between 0 and 1
-
CAMERA_MODE_CMD
public static final Events CAMERA_MODE_CMD
Contains the new CameraMode object
-
CAMERA_MOTION_UPDATE
public static final Events CAMERA_MOTION_UPDATE
Informs of a new camera state. Contains:- Vector3d with the current position of the camera
- Double with the speed of the camera in km/s
- Vector3d with the velocity vector of the camera
- The PerspectiveCamera
-
CAMERA_ORIENTATION_UPDATE
public static final Events CAMERA_ORIENTATION_UPDATE
Sent whenever the camera orientation changes. Note that this happens more often thanCAMERA_MOTION_UPDATE
, as multi-render modes (cubemap, vr, etc.) need to send one of these every time the camera changes.
-
CAMERA_PAN
public static final Events CAMERA_PAN
-
CAMERA_PLAY_INFO
public static final Events CAMERA_PLAY_INFO
Informs that the camera has started or stopped playing. Contains a boolean (true - start, false - stop)
-
CAMERA_POS_CMD
public static final Events CAMERA_POS_CMD
Contains a double[] with the new position
-
CAMERA_PROJECTION_CMD
public static final Events CAMERA_PROJECTION_CMD
Update camera position, direction and up vectors all at once. Only meant for master-slave setups.
-
CAMERA_ROLL
public static final Events CAMERA_ROLL
Contains the roll value between -1 and 1
-
CAMERA_ROTATE
public static final Events CAMERA_ROTATE
Contains the deltaX and deltaY between -1 and 1
-
CAMERA_SPEED_CMD
public static final Events CAMERA_SPEED_CMD
Contains the new camera speed
-
CAMERA_STOP
public static final Events CAMERA_STOP
Stops the camera motion
-
CAMERA_TURN
public static final Events CAMERA_TURN
Contains the deltaX and deltaY between -1 and 1
-
CAMERA_UP_CMD
public static final Events CAMERA_UP_CMD
Contains a double[] with the new up vector
-
LIMIT_FPS_CMD
public static final Events LIMIT_FPS_CMD
Limits the frame rate, contains a double with the new limit frame rate
-
CATALOG_ADD
public static final Events CATALOG_ADD
A new catalog has been loaded. Contains the new catalog info object, a boolean indicating whether to add the object to the scene graph, and an optional boolean telling whether to use a postRunnable
-
CATALOG_HIGHLIGHT
public static final Events CATALOG_HIGHLIGHT
Highlight the catalog. Contains the CatalogInfo object, the highlight status (bool), and an optional boolean if it comes from the UI
-
CATALOG_REMOVE
public static final Events CATALOG_REMOVE
Removes the catalog identified by the given string name
-
CATALOG_VISIBLE
public static final Events CATALOG_VISIBLE
Sets the visibilty of a catalog given its name and an optional boolean if it comes from the UI
-
CLEAR_HEADLINE_MESSAGE
public static final Events CLEAR_HEADLINE_MESSAGE
Clears the headline message
-
CLEAR_MESSAGES
public static final Events CLEAR_MESSAGES
Clears all messages in the message interface
-
CLEAR_SUBHEAD_MESSAGE
public static final Events CLEAR_SUBHEAD_MESSAGE
Clears the subhead message
-
COLLAPSE_PANE_CMD
public static final Events COLLAPSE_PANE_CMD
Collapses a GUI pane. Contains its name
-
CONFIG_FRAME_OUTPUT_CMD
public static final Events CONFIG_FRAME_OUTPUT_CMD
Configures the render system. Contains width, height, FPS, folder and file
-
CONTRAST_CMD
public static final Events CONTRAST_CMD
Contains the contrast level (float) in [0..2] and an optional boolean indicating whether this comes from the interface
-
CROSSHAIR_CLOSEST_CMD
public static final Events CROSSHAIR_CLOSEST_CMD
Activates/deactivates the closest crosshair. Contains a boolean
-
CROSSHAIR_FOCUS_CMD
public static final Events CROSSHAIR_FOCUS_CMD
Activates/deactivates the focus crosshair. Contains a boolean
-
CROSSHAIR_HOME_CMD
public static final Events CROSSHAIR_HOME_CMD
Activates/deactivates the home crosshair. Contains a boolean
-
CUBEMAP_CMD
public static final Events CUBEMAP_CMD
Sets cubemap mode. Contains a boolean with the new state, the new projection object and a boolean indicating whether this comes from the interface
-
CUBEMAP_PROJECTION_CMD
public static final Events CUBEMAP_PROJECTION_CMD
Sets a new cubemap projection. Contains the CubemapProjection object.
-
CUBEMAP_RESOLUTION_CMD
public static final Events CUBEMAP_RESOLUTION_CMD
Sets the resolution of the cubemap, contains an integer in [20..15000] with the resolution.
-
DEBUG_OBJECTS
public static final Events DEBUG_OBJECTS
-
DEBUG_QUEUE
public static final Events DEBUG_QUEUE
-
DEBUG_RAM
public static final Events DEBUG_RAM
-
DEBUG_TIME
public static final Events DEBUG_TIME
Debug info
-
DEBUG_VRAM
public static final Events DEBUG_VRAM
-
DISPLAY_GUI_CMD
public static final Events DISPLAY_GUI_CMD
Toggles whole GUI display. Contains the a boolean with the state (display/no display) and the localised name
-
DISPLAY_MEM_INFO_WINDOW
public static final Events DISPLAY_MEM_INFO_WINDOW
-
DISPLAY_POINTER_COORDS_CMD
public static final Events DISPLAY_POINTER_COORDS_CMD
Contains a boolean with the display status
-
POINTER_GUIDES_CMD
public static final Events POINTER_GUIDES_CMD
Contains the state (boolean), the color (float[4]) and the line width (float)
-
DISPLAY_VR_CONTROLLER_HINT_CMD
public static final Events DISPLAY_VR_CONTROLLER_HINT_CMD
Displays VR Controller hints
-
CONTROLLER_CONNECTED_INFO
public static final Events CONTROLLER_CONNECTED_INFO
A controller has been connected, contains the name
-
CONTROLLER_DISCONNECTED_INFO
public static final Events CONTROLLER_DISCONNECTED_INFO
A controller has been disconnected, contains the name
-
DISPLAY_VR_GUI_CMD
public static final Events DISPLAY_VR_GUI_CMD
Toggles VR GUI display. Contains a name and a boolean with the state
-
DISPOSE
public static final Events DISPOSE
Dispose all resources, app is shutting down
-
DISPOSE_PARTICLE_GROUP_GPU_MESH
public static final Events DISPOSE_PARTICLE_GROUP_GPU_MESH
Contains an index to the particle group mesh to be cleared
-
DISPOSE_STAR_GROUP_GPU_MESH
public static final Events DISPOSE_STAR_GROUP_GPU_MESH
Contains an the index of the star group mesh to be cleared
-
ELEVATION_MUTLIPLIER_CMD
public static final Events ELEVATION_MUTLIPLIER_CMD
Sets the elevation multiplier. Contains the new multiplier in [Constants.MIN_ELEVATION_MULT
,Constants.MAX_ELEVATION_MULT
]
-
ELEVATION_TYPE_CMD
public static final Events ELEVATION_TYPE_CMD
Sets the elevation type
-
EVENT_TIME_FRAME_CMD
public static final Events EVENT_TIME_FRAME_CMD
Contains the new time frame object
-
EXPAND_PANE_CMD
public static final Events EXPAND_PANE_CMD
Expands a GUI pane. Contains its name
-
EXPOSURE_CMD
public static final Events EXPOSURE_CMD
Contains the exposure tone mapping level (float) in [0..n] (0 for disabled) and an optional boolean indicating whether this comes from the interface
-
FISHEYE_CMD
public static final Events FISHEYE_CMD
Fisheye effect toggle. Contains boolean
-
FLUSH_FRAMES
public static final Events FLUSH_FRAMES
Issues the command to flush the frame system
-
FOCUS_CHANGED
public static final Events FOCUS_CHANGED
Informs that the focus has somehow changed and the GUI must be updated.- The new focus object.
- Center focus (bool). If true, the focus is centered on the view.
-
FOCUS_CHANGE_CMD
public static final Events FOCUS_CHANGE_CMD
FOCUS_MODE change command.- [0] - The new focus object.
-
FOCUS_INFO_UPDATED
public static final Events FOCUS_INFO_UPDATED
Contains the distance to the camera [0], the viewing angle [1], right ascension in deg [2], declination in deg [3] and the distance to Sol [4]
-
FOCUS_LOCK_CMD
public static final Events FOCUS_LOCK_CMD
Contains the name, the boolean value, and an optional boolean indicating if this comes from the interface
-
FOCUS_NOT_AVAILABLE
public static final Events FOCUS_NOT_AVAILABLE
Informs that the given focus is not available anymore (not visible or unloaded)
-
FOV_CHANGED_CMD
public static final Events FOV_CHANGED_CMD
Contains the a float with the new fov value and an optional boolean to indicate whether to cap the value to 95 degrees or not
-
FOV_CHANGE_NOTIFICATION
public static final Events FOV_CHANGE_NOTIFICATION
Notifies a fov update in the camera. Contains the new fov value (float) and the new fovFactor (float)
-
FPS_INFO
public static final Events FPS_INFO
Frames per second info
-
FRAME_OUTPUT_CMD
public static final Events FRAME_OUTPUT_CMD
Issues the frame output command. Contains a boolean with the state.
-
FRAME_OUTPUT_MODE_CMD
public static final Events FRAME_OUTPUT_MODE_CMD
Sets the frame output mode, either simple or redraw. Gets a string or aGlobalConf.ScreenshotMode
object.
-
FRAME_SIZE_UDPATE
public static final Events FRAME_SIZE_UDPATE
Informs of the new size of the frame output system
-
FREE_MODE_COORD_CMD
public static final Events FREE_MODE_COORD_CMD
Posts the coordinates of the free mode focus.- ra [deg]
- dec [deg]
-
GAIA_LOADED
public static final Events GAIA_LOADED
Contains the Gaia object [0]
-
GAIA_POSITION
public static final Events GAIA_POSITION
-
GALAXY_3D_CMD
public static final Events GALAXY_3D_CMD
Issues command to chagne the galaxy appearance. Contains boolean, if true gaiaxy will be 3D, if false galaxy will be 2D
-
GAMMA_CMD
public static final Events GAMMA_CMD
Contains the gamma level (float) in [0..3] and an optional boolean indicating whether this comes from the interface
-
GO_TO_OBJECT_CMD
public static final Events GO_TO_OBJECT_CMD
Executes the command to position the camera near the object in focus
-
GRAPHICS_QUALITY_UPDATED
public static final Events GRAPHICS_QUALITY_UPDATED
Graphics quality updated, contains the newGlobalConf.SceneConf.GraphicsQuality
object.
-
GRAVITATIONAL_LENSING_PARAMS
public static final Events GRAVITATIONAL_LENSING_PARAMS
Contains the x and the y in pixels of the position of the mass
-
GRAV_WAVE_START
public static final Events GRAV_WAVE_START
Start gravitational wave. Contains on-screen position (x,y) of source as two integer parameters
-
GRAV_WAVE_STOP
public static final Events GRAV_WAVE_STOP
Stops gravitational wave
-
GUI_FOLD_CMD
public static final Events GUI_FOLD_CMD
Maximizes or minimizes the GUI window. Contains a boolean with the fold state (true - minimize, false - maximize)
-
GUI_MOVE_CMD
public static final Events GUI_MOVE_CMD
Moves the GUI window.- x - X coordinate of the top-left corner, float in [0..1] from left to right.
- y - Y coordinate of top-left corner, float in [0..1] from bottom to top.
-
GUI_SCROLL_POSITION_CMD
public static final Events GUI_SCROLL_POSITION_CMD
Sets the vertical scroll position. Contains the scroll position in pixels
-
HIDE_UNCERTAINTIES
public static final Events HIDE_UNCERTAINTIES
Hides all uncertainties
-
HIGH_ACCURACY_CMD
public static final Events HIGH_ACCURACY_CMD
Issues the command to change the high accuracy setting. Contains a boolean with the setting
-
HOME_CMD
public static final Events HOME_CMD
Runs the 'Go home' action
-
HUE_CMD
public static final Events HUE_CMD
Contains the hue level (float) in [0..2] and an optional boolean indicating whether this comes from the interface
-
INITIALIZED_INFO
public static final Events INITIALIZED_INFO
Informs Gaia Sky is fully initialized and normal operation is about to start
-
INPUT_ENABLED_CMD
public static final Events INPUT_ENABLED_CMD
Enables/disables input from mouse/keyboard/etc. Contains a boolean with the new state
-
INPUT_EVENT
public static final Events INPUT_EVENT
Issued when an input event is received. It contains the key or button integer code (seeInput
)
-
JAVA_EXCEPTION
public static final Events JAVA_EXCEPTION
Notifies from a java exception, it sends the Throwable and an optional tag.
-
KEYFRAMES_EXPORT
public static final Events KEYFRAMES_EXPORT
Exports the given array of keyframes to a camera path file
-
KEYFRAMES_FILE_SAVE
public static final Events KEYFRAMES_FILE_SAVE
Saves the given array of keyframes to a keyframes file
-
KEYFRAMES_REFRESH
public static final Events KEYFRAMES_REFRESH
Refreshes the keyframes from the model
-
KEYFRAME_ADD
public static final Events KEYFRAME_ADD
Add new keyframe at the end with the current camera settings
-
KEYFRAME_SELECT
public static final Events KEYFRAME_SELECT
The given keyframe has been selected
-
KEYFRAME_UNSELECT
public static final Events KEYFRAME_UNSELECT
The given keyframe is no longer selected
-
KEY_DOWN
public static final Events KEY_DOWN
-
KEY_UP
public static final Events KEY_UP
-
LABEL_SIZE_CMD
public static final Events LABEL_SIZE_CMD
Set label size. Contains the new label size and a boolean (interface)
-
LINE_WIDTH_CMD
public static final Events LINE_WIDTH_CMD
Line width factor. Contains the new factor and a boolean (interface)
-
LAND_AT_LOCATION_OF_OBJECT
public static final Events LAND_AT_LOCATION_OF_OBJECT
Lands at a certain location on a planet object
-
LAND_ON_OBJECT
public static final Events LAND_ON_OBJECT
Lands on a planet object
-
LENS_FLARE_CMD
public static final Events LENS_FLARE_CMD
Activate/deactivate lens flare. Contains a boolean with the new state and a boolean for whether it comes from the interface
-
LIGHT_POS_2D_UPDATE
public static final Events LIGHT_POS_2D_UPDATE
Contains an int with the number of lights and a float[] with [x, y] of the 10 closest stars in screen coordinates in [0..1]
-
LIGHT_SCATTERING_CMD
public static final Events LIGHT_SCATTERING_CMD
Activate/deactivate the light scattering. Contains boolean with state and a boolean for whether it comes from the interface
-
LIMIT_MAG_CMD
public static final Events LIMIT_MAG_CMD
Sets the limit magnitude. Contains a double with the new magnitude
-
LINE_RENDERER_UPDATE
public static final Events LINE_RENDERER_UPDATE
Issues the command to update the line render system. Contains no parameters.
-
LOAD_DATA_CMD
public static final Events LOAD_DATA_CMD
Dataset has been choosen, loading can start
-
LON_LAT_UPDATED
public static final Events LON_LAT_UPDATED
Contains two Double values, the longitude and latitude in degrees
-
MODE_POPUP_CMD
public static final Events MODE_POPUP_CMD
Opens a new popup window with information on the new mode. Contains a ModePopupInfo object (null to remove), a name and the number of seconds until the popup disappears.
-
MOTION_BLUR_CMD
public static final Events MOTION_BLUR_CMD
Contains the opacity of motion blur between 0 and 1 and a boolean for whether it comes from the interface
-
MOUSE_CAPTURE_CMD
public static final Events MOUSE_CAPTURE_CMD
True to capture the mouse, false to uncapture
-
MOUSE_CAPTURE_TOGGLE
public static final Events MOUSE_CAPTURE_TOGGLE
Toggle mouse capture
-
MUSIC_NEXT_CMD
public static final Events MUSIC_NEXT_CMD
Plays next music
-
MUSIC_PLAYPAUSE_CMD
public static final Events MUSIC_PLAYPAUSE_CMD
Toggles the play
-
MUSIC_PREVIOUS_CMD
public static final Events MUSIC_PREVIOUS_CMD
Plays previous music
-
MUSIC_RELOAD_CMD
public static final Events MUSIC_RELOAD_CMD
Reload music files
-
MUSIC_TRACK_INFO
public static final Events MUSIC_TRACK_INFO
Info about current track
-
MUSIC_VOLUME_CMD
public static final Events MUSIC_VOLUME_CMD
Volume of music, contains the volume (float in [0..1])
-
NAVIGATE_TO_OBJECT
public static final Events NAVIGATE_TO_OBJECT
Navigates smoothly to the given object
-
OCTREE_DISPOSED
public static final Events OCTREE_DISPOSED
Informs the octree has been disposed
-
OCTREE_PARTICLE_FADE_CMD
public static final Events OCTREE_PARTICLE_FADE_CMD
Toggles the fading of particles in the octree. Contains a boolean with the state of the flag.
-
ONLY_OBSERVED_STARS_CMD
public static final Events ONLY_OBSERVED_STARS_CMD
Contains the name, the boolean value, and a boolean indicating if this comes from the interface
-
ORBIT_DATA_LOADED
public static final Events ORBIT_DATA_LOADED
Passes the OrbitData and the file name
-
ORIENTATION_LOCK_CMD
public static final Events ORIENTATION_LOCK_CMD
Contains the name, the lock orientation boolean value and an optional boolean indicating if this comes from the interface.
-
PACE_CHANGED_INFO
public static final Events PACE_CHANGED_INFO
Contains the new pace
-
PACE_CHANGE_CMD
public static final Events PACE_CHANGE_CMD
Contains a float with the pace
-
PARK_RUNNABLE
public static final Events PARK_RUNNABLE
Posts a recurrent runnable. Contains an identifier (String) and the runnable object
-
PAUSE_BACKGROUND_LOADING
public static final Events PAUSE_BACKGROUND_LOADING
Pauses background data loading thread, if any
-
PIXEL_RENDERER_UPDATE
public static final Events PIXEL_RENDERER_UPDATE
Issues the command to update the pixel render system. Contains no parameters.
-
PLANETARIUM_CMD
public static final Events PLANETARIUM_CMD
Enables and disables the planetarium mode. Contains a boolean with the state and another boolean indicating whether it comes from the interface.
-
PLANETARIUM_APERTURE_CMD
public static final Events PLANETARIUM_APERTURE_CMD
Sets the aperture angle [deg] of the planetarium in cubemap mode
-
PLANETARIUM_ANGLE_CMD
public static final Events PLANETARIUM_ANGLE_CMD
Sets the planetarium angle [deg], an angle from the zenith to put the focus on in planetarium mode
-
PLAY_CAMERA_CMD
public static final Events PLAY_CAMERA_CMD
Issues the play command. Contains the path to the file to play
-
PM_ARROWHEADS_CMD
public static final Events PM_ARROWHEADS_CMD
Show or hide arrow caps. Contains boolean with state and another if it comes from UI
-
PM_COLOR_MODE_CMD
public static final Events PM_COLOR_MODE_CMD
Contains the mode and a boolean indicating if it comes from the interface. Modes:- direction
- length
- has radial velcotiy: blue=stars with RV, red=stars without RV
- redhsift (sun): blue=-50 Km/s, red=50 Kms/s
- redhsift (camera): blue=-50 Km/s, red=50 Kms/s
- unique color
-
PM_LEN_FACTOR_CMD
public static final Events PM_LEN_FACTOR_CMD
Contains the length factor for pm vectors and a boolean indicating if this comes from the interface
-
PM_NUM_FACTOR_CMD
public static final Events PM_NUM_FACTOR_CMD
Contains the number factor for pm vectors and a boolean indicating if this comes from the interface
-
POPUP_MENU_FOCUS
public static final Events POPUP_MENU_FOCUS
Will show a popup menu for a focus candidate. Contains the candidate and the screenX and screenY coordinates of the click
-
POST_HEADLINE_MESSAGE
public static final Events POST_HEADLINE_MESSAGE
Contains a string with the headline message, will be displayed in a big font in the center of the screen
-
POST_NOTIFICATION
public static final Events POST_NOTIFICATION
Will be displayed in the notifications area (bottom left). Contains the notification level (same as log level: ERROR, WARN, INFO, DEBUG) and an array of strings with the messages plus an optional boolean indicating whether the message is permanent so should stay until the next message is received.
-
POST_SUBHEAD_MESSAGE
public static final Events POST_SUBHEAD_MESSAGE
Contains a string with the subhead message, will be displayed in a small font below the headline message
-
PROPERTIES_WRITTEN
public static final Events PROPERTIES_WRITTEN
Sent when the properties in GlobalConf have been modified, usually after a configuration dialog. Contains no data
-
RA_DEC_UPDATED
public static final Events RA_DEC_UPDATED
Updates the position of the pointer and the view in equatorial coordinates.- pointer ra [deg]
- pointer dec [deg]
- view ra [deg]
- view dec [deg]
- pointer x [pixels]
- pointer y [pixels]
-
REBUILD_SHADOW_MAP_DATA_CMD
public static final Events REBUILD_SHADOW_MAP_DATA_CMD
Event to update the shadow map metadata
-
RECALCULATE_OPTIONS_SIZE
public static final Events RECALCULATE_OPTIONS_SIZE
Forces recalculation of main GUI window size
-
RECORD_CAMERA_CMD
public static final Events RECORD_CAMERA_CMD
Issues the command to enable camera recording. Contains the boolean indicating the state (on/off), a file name (null for auto-generated) and a boolean indicating whether this comes from the interface.
-
CAMRECORDER_FPS_CMD
public static final Events CAMRECORDER_FPS_CMD
Sets the target frame rate for the camera recorder. Contains a double with the frame rate.
-
RELOAD_CONTROLLER_MAPPINGS
public static final Events RELOAD_CONTROLLER_MAPPINGS
Reloads the inputListener mappings. Contains the path to the new mappings file.
-
REMOVE_ALL_OBJECTS
public static final Events REMOVE_ALL_OBJECTS
Removes all the custom objects
-
REMOVE_GUI_COMPONENT
public static final Events REMOVE_GUI_COMPONENT
Removes the gui component identified by the given name
-
REMOVE_KEYBOARD_FOCUS
public static final Events REMOVE_KEYBOARD_FOCUS
Removes the keyboard focus in the GUI
-
REMOVE_OBJECTS
public static final Events REMOVE_OBJECTS
Removes a previously added message or image. Contains the id.
-
RENDER_FRAME
public static final Events RENDER_FRAME
Issues the command to render a frame
-
RENDER_FRAME_BUFFER
public static final Events RENDER_FRAME_BUFFER
Issues the command to render the current frame buffer with a given folder, file (without filename), width and height
-
RENDER_SCREENSHOT
public static final Events RENDER_SCREENSHOT
Issues the command to render a screenshot
-
RESUME_BACKGROUND_LOADING
public static final Events RESUME_BACKGROUND_LOADING
Resumes background data loading thread, if it exists and it is paused
-
ROTATION_SPEED_CMD
public static final Events ROTATION_SPEED_CMD
Contains the new camera rotation speed and a boolean indicating if this comes from the interface
-
RULER_ATTACH_0
public static final Events RULER_ATTACH_0
Attach object to first end of ruler. Contains object name
-
RULER_ATTACH_1
public static final Events RULER_ATTACH_1
Attach object to second end of ruler. Contains object name
-
RULER_CLEAR
public static final Events RULER_CLEAR
Clear all objects from ruler
-
RULER_DIST
public static final Events RULER_DIST
Notifies new distances for the ruler. Contains a double with the distance in internal units and a formatted string
-
RAYMARCHING_CMD
public static final Events RAYMARCHING_CMD
Submits a register/unregister command for a ray marching shader. Contains the name, the status (true/false), the position and optionally the path to the shader (for creating) and the additional values- name [string]
- status [boolean]
- position [vector3]
- shader [string] - optional, only at creation
- additional [float4] - optional, only at creation
-
RAYMARCHING_ADDITIONAL_CMD
public static final Events RAYMARCHING_ADDITIONAL_CMD
Push new additional data to ray marching shader. Contains the name and the additional vector.- name [string]
- additional[float4]
-
RUN_SCRIPT_PATH
public static final Events RUN_SCRIPT_PATH
Contains the string with the script code and an optional boolean indicating whether it must be run asynchronous
-
RUN_SCRIPT_PYCODE
public static final Events RUN_SCRIPT_PYCODE
Contains the script PyCode object, the path and an optional boolean indicating whether it must be run asynchronous
-
SAMP_INFO
public static final Events SAMP_INFO
SAMP information
-
SATURATION_CMD
public static final Events SATURATION_CMD
Contains the saturation level (float) in [0..2] and an optional boolean indicating whether this comes from the interface
-
SCENE_GRAPH_ADD_OBJECT_CMD
public static final Events SCENE_GRAPH_ADD_OBJECT_CMD
Sends an object to be added to the scene graph. Contains the object and an optional Boolean indicating whether to add the object to the scene graph index. Defaults to true.
-
SCENE_GRAPH_ADD_OBJECT_NO_POST_CMD
public static final Events SCENE_GRAPH_ADD_OBJECT_NO_POST_CMD
Sends an object to be added to a scene graph, without using a post runnable. Contains the object and an optional Boolean indicating whether to add the object to the scene graph index. Defaults to true.
-
SCENE_GRAPH_LOADED
public static final Events SCENE_GRAPH_LOADED
Informs the scene graph has been loaded. Program can start
-
SCENE_GRAPH_REMOVE_OBJECT_CMD
public static final Events SCENE_GRAPH_REMOVE_OBJECT_CMD
Removes an object from the scene graph. Contains the name of the object or the object itself plus and optional Boolean indicating whether to remove it from the index. Defaults to true.
-
SCREENSHOT_CMD
public static final Events SCREENSHOT_CMD
Contains the width, height (integers) and the folder name and filename (strings)
-
SCREENSHOT_INFO
public static final Events SCREENSHOT_INFO
Contains the path where the screenshot has been saved
-
SCREENSHOT_SIZE_UDPATE
public static final Events SCREENSHOT_SIZE_UDPATE
Informs of the new size of the screenshot system
-
SCREEN_MODE_CMD
public static final Events SCREEN_MODE_CMD
Updates the screen mode according to whats in theGlobalConf.screen
bean.
-
SCREEN_NOTIFICATION_CMD
public static final Events SCREEN_NOTIFICATION_CMD
Adds a screen notification which lasts for a little while. It contains a title string, an array of string messages and a float with the time in seconds.
-
SCROLLED
public static final Events SCROLLED
-
SHOW_ABOUT_ACTION
public static final Events SHOW_ABOUT_ACTION
-
SHOW_SLAVE_CONFIG_ACTION
public static final Events SHOW_SLAVE_CONFIG_ACTION
Shows the slave configuration window
-
SLAVE_CONNECTION_EVENT
public static final Events SLAVE_CONNECTION_EVENT
Slave connection event. Contains slave index, url and a boolean with the state (true-connected, false-disconnected)
-
SHOW_DEBUG_CMD
public static final Events SHOW_DEBUG_CMD
Contains an optional boolean indicating whether debug info should be shown or not. Otherwise, it toggles its state
-
SHOW_KEYFRAMES_WINDOW_ACTION
public static final Events SHOW_KEYFRAMES_WINDOW_ACTION
-
SHOW_LAND_AT_LOCATION_ACTION
public static final Events SHOW_LAND_AT_LOCATION_ACTION
-
SHOW_LOAD_CATALOG_ACTION
public static final Events SHOW_LOAD_CATALOG_ACTION
-
SHOW_LOG_ACTION
public static final Events SHOW_LOG_ACTION
-
SHOW_MINIMAP_ACTION
public static final Events SHOW_MINIMAP_ACTION
Shows the minimap window/interface. Contains a boolean with the state and a boolean if it comes from UI
-
SHOW_PLAYCAMERA_ACTION
public static final Events SHOW_PLAYCAMERA_ACTION
Shows the camera path file selector, contains the stage and the skin
-
SHOW_PREFERENCES_ACTION
public static final Events SHOW_PREFERENCES_ACTION
-
SHOW_INDIVIDUAL_VISIBILITY_ACTION
public static final Events SHOW_INDIVIDUAL_VISIBILITY_ACTION
-
SHOW_QUIT_ACTION
public static final Events SHOW_QUIT_ACTION
Quit action, can contain optional Runnable to run on accept()
-
SHOW_SEARCH_ACTION
public static final Events SHOW_SEARCH_ACTION
-
SHOW_UNCERTAINTIES
public static final Events SHOW_UNCERTAINTIES
Show uncertainties for Tycho star, if available. Contains the star
-
SPACECRAFT_INFO
public static final Events SPACECRAFT_INFO
Contains following info:- current speed [u/s]
- current yaw angle [deg]
- current pitch angle [deg]
- current roll angle [deg]
- thrust factor
- engine power [-1..1]
- yaw power [-1..1]
- pitch power [-1..1]
- roll power [-1..1]
-
SPACECRAFT_LOADED
public static final Events SPACECRAFT_LOADED
Contains the spacecraft object after it has been loaded
-
SPACECRAFT_NEAREST_INFO
public static final Events SPACECRAFT_NEAREST_INFO
Contains following info about the nearest object:- nearest object name
- distance to nearest object [u]
-
SPACECRAFT_STABILISE_CMD
public static final Events SPACECRAFT_STABILISE_CMD
Level spacecraft command, contains boolean with state
-
SPACECRAFT_STOP_CMD
public static final Events SPACECRAFT_STOP_CMD
Stop spacecraft, contains boolean with state
-
SPACECRAFT_THRUST_DECREASE_CMD
public static final Events SPACECRAFT_THRUST_DECREASE_CMD
Decreases thrust
-
SPACECRAFT_THRUST_INCREASE_CMD
public static final Events SPACECRAFT_THRUST_INCREASE_CMD
Increases thrust
-
SPACECRAFT_THRUST_INFO
public static final Events SPACECRAFT_THRUST_INFO
Broadcasts the new thrust index
-
SPACECRAFT_THRUST_SET_CMD
public static final Events SPACECRAFT_THRUST_SET_CMD
Contains the integer index of the new thrust
-
SPEED_LIMIT_CMD
public static final Events SPEED_LIMIT_CMD
Contains the speed limit index as in:- 100 km/h
- 0.5 * c
- 0.8 * c
- 0.9 * c
- 0.99 * c
- 0.99999 * c
- c (3e8 m/s)
- 2*c
- 10*c
- 1000*c
- 1 AU/s
- 10 AU/s
- 1000 AU/s
- 10000 AU/s
- 1 pc/s
- 2 pc/s
- 10 pc/s
- 1000 pc/s
- No limit
-
STAR_BRIGHTNESS_CMD
public static final Events STAR_BRIGHTNESS_CMD
Contains the star brightness multiplier and an optional boolean saying if it comes from the interface
-
STAR_BRIGHTNESS_POW_CMD
public static final Events STAR_BRIGHTNESS_POW_CMD
Contains the star brightness power and an optional boolean saying if it comes from the interface
-
STAR_MIN_OPACITY_CMD
public static final Events STAR_MIN_OPACITY_CMD
Minimum star opacity. Contains the opacity in [0..1] and a boolean for whether it comes from the interface
-
STAR_POINT_SIZE_CMD
public static final Events STAR_POINT_SIZE_CMD
Set a new value for the star point size and a boolean saying if it comes from the interface
-
STAR_POINT_SIZE_DECREASE_CMD
public static final Events STAR_POINT_SIZE_DECREASE_CMD
Decrease star point size byConstants.SLIDER_STEP_TINY
-
STAR_POINT_SIZE_INCREASE_CMD
public static final Events STAR_POINT_SIZE_INCREASE_CMD
Increase star point size byConstants.SLIDER_STEP_TINY
-
STAR_POINT_SIZE_RESET_CMD
public static final Events STAR_POINT_SIZE_RESET_CMD
Reset star point size to original value
-
STAR_GROUP_NEAREST_CMD
public static final Events STAR_GROUP_NEAREST_CMD
Update the number of nearest stars in star groups
-
STAR_GROUP_BILLBOARD_CMD
public static final Events STAR_GROUP_BILLBOARD_CMD
Set the flag to render stars as billboards or not
-
STAR_TEXTURE_IDX_CMD
public static final Events STAR_TEXTURE_IDX_CMD
Set the texture index for stars
-
STEREOSCOPIC_CMD
public static final Events STEREOSCOPIC_CMD
Stereoscopic vision, side by side rendering. Contains the state boolean and another boolean indicating whether it comes from the interface.
-
STEREO_PROFILE_CMD
public static final Events STEREO_PROFILE_CMD
Switches stereoscopic profile, contains the index of the new profile
-
STOP_CAMERA_PLAY
public static final Events STOP_CAMERA_PLAY
Stops the current camera playing operation, if any
-
TARGET_TIME_CMD
public static final Events TARGET_TIME_CMD
Sets and unsets the target time. Contains a time (set), or nothing (unset)
-
TESSELLATION_QUALITY_CMD
public static final Events TESSELLATION_QUALITY_CMD
Sets the tessellation quality. Contains the new quality in [Constants.MIN_TESS_QUALITY
,Constants.MAX_TESS_QUALITY
]
-
TIME_CHANGE_CMD
public static final Events TIME_CHANGE_CMD
Issues a change time command, contains the Instant object with the new time
-
TIME_CHANGE_INFO
public static final Events TIME_CHANGE_INFO
Notifies of a change in the time, contains the Instant object
-
TIME_STATE_CMD
public static final Events TIME_STATE_CMD
Issues the command to toggle the time. Contains the boolean indicating the state (may be null) and a boolean indicating whether this comes from the interface.
-
TIME_WARP_DECREASE_CMD
public static final Events TIME_WARP_DECREASE_CMD
Divide the pace by 2
-
TIME_WARP_INCREASE_CMD
public static final Events TIME_WARP_INCREASE_CMD
Double the pace
-
TOGGLE_AMBIENT_LIGHT
public static final Events TOGGLE_AMBIENT_LIGHT
Contains the name of the check box and a boolean
-
TOGGLE_EXPANDCOLLAPSE_PANE_CMD
public static final Events TOGGLE_EXPANDCOLLAPSE_PANE_CMD
Toggles the collapsed state of a GUI pane. Contains its name
-
TOGGLE_MINIMAP
public static final Events TOGGLE_MINIMAP
Toggles minimap visibility
-
TOGGLE_UPDATEPAUSE
public static final Events TOGGLE_UPDATEPAUSE
Toggles the pause of the update process. Contains the localised name.
-
TOGGLE_VISIBILITY_CMD
public static final Events TOGGLE_VISIBILITY_CMD
Contains the name of the type, a boolean with the state (on/off) and a boolean indicating if this comes from the interface
-
SHOW_LOAD_PROGRESS
public static final Events SHOW_LOAD_PROGRESS
Shows the load progress bar. Contains a boolean with the state and a boolean indicating if it comes from the interface
-
UPDATE_LOAD_PROGRESS
public static final Events UPDATE_LOAD_PROGRESS
Updates the load progress bar, contains a float in (0,1)
-
TONEMAPPING_TYPE_CMD
public static final Events TONEMAPPING_TYPE_CMD
Contains the tone mapping type as anGlobalConf.PostprocessConf.ToneMapping
or a string in [AUTO|EXPOSURE|NONE].
-
TOUCH_DOWN
public static final Events TOUCH_DOWN
-
TOUCH_DRAGGED
public static final Events TOUCH_DRAGGED
-
TOUCH_UP
public static final Events TOUCH_UP
-
TRANSIT_COLOUR_CMD
public static final Events TRANSIT_COLOUR_CMD
Contains the name, the boolean value, and a boolean indicating if this comes from the interface
-
TURNING_SPEED_CMD
public static final Events TURNING_SPEED_CMD
Contains the new turning speed
-
UI_RELOAD_CMD
public static final Events UI_RELOAD_CMD
Issues the command to reload the UI
-
UI_THEME_RELOAD_INFO
public static final Events UI_THEME_RELOAD_INFO
Informs the UI theme has been reloaded. Contains the new skin.
-
UNPARK_RUNNABLE
public static final Events UNPARK_RUNNABLE
Unposts a runnable. Contains the identifier (String)
-
UPDATEPAUSE_CHANGED
public static final Events UPDATEPAUSE_CHANGED
Contains the new value
-
UPDATE_CAM_RECORDER
public static final Events UPDATE_CAM_RECORDER
Updates the camera recorder. Contains dt (float), position (vector3d), direction (vector3d) and up (vector3d)
-
UPDATE_GUI
public static final Events UPDATE_GUI
Update external GUIs signal. Contains the dt in seconds.
-
VISIBILITY_OF_COMPONENTS
public static final Events VISIBILITY_OF_COMPONENTS
Contains an array of booleans with the visibility of each ComponentType, in the same order returned by ComponentType.values()
-
VR_DEVICE_CONNECTED
public static final Events VR_DEVICE_CONNECTED
New VR device connected. Contains the VRDevice object.
-
VR_DEVICE_DISCONNECTED
public static final Events VR_DEVICE_DISCONNECTED
VR device disconnected. Contains the VRDevice object.
-
VR_SELECTING_STATE
public static final Events VR_SELECTING_STATE
Informs of the current selecting state. Contains the state (true|false) and a double in [0,1] with the completion rate
-
SHOW_CONTROLLER_GUI_ACTION
public static final Events SHOW_CONTROLLER_GUI_ACTION
Show/hide controller gui
-
NEW_DISTANCE_SCALE_FACTOR
public static final Events NEW_DISTANCE_SCALE_FACTOR
This event informs a new DISTANCE_SCALE_FACTOR is in place
-
-
Method Detail
-
values
public static Events[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Events c : Events.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Events valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-