Class CameraComponent

java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.CameraComponent
All Implemented Interfaces:
IObserver

public class CameraComponent extends GuiComponent implements IObserver
GUI component that provides camera controls in the Gaia Sky control panel. Includes camera mode selection, speed and rotation sliders, field of view control, stereoscopic mode toggles (3D, dome, cubemap, orthosphere), cinematic camera toggle, focus locks, and camera recording controls. Subscribes to camera-related events to synchronize UI state.
  • Field Details

    • date

      protected OwnLabel date
    • cameraSpeedLimit

      protected com.badlogic.gdx.scenes.scene2d.ui.SelectBox<String> cameraSpeedLimit
    • cameraMode

      protected com.badlogic.gdx.scenes.scene2d.ui.SelectBox<CameraComboBoxBean> cameraMode
    • fieldOfView

      protected OwnSliderReset fieldOfView
    • cameraSpeed

      protected OwnSliderReset cameraSpeed
    • turnSpeed

      protected OwnSliderReset turnSpeed
    • rotateSpeed

      protected OwnSliderReset rotateSpeed
    • focusLock

      protected com.badlogic.gdx.scenes.scene2d.ui.CheckBox focusLock
    • orientationLock

      protected com.badlogic.gdx.scenes.scene2d.ui.CheckBox orientationLock
    • cinematic

      protected com.badlogic.gdx.scenes.scene2d.ui.CheckBox cinematic
    • button3d

      protected OwnTextIconButton button3d
    • buttonDome

      protected OwnTextIconButton buttonDome
    • buttonCubemap

      protected OwnTextIconButton buttonCubemap
    • buttonOrthosphere

      protected OwnTextIconButton buttonOrthosphere
    • buttonMaster

      protected OwnTextIconButton buttonMaster
    • recCamera

      protected OwnImageButton recCamera
    • keyframesEditor

      protected OwnImageButton keyframesEditor
    • playCamera

      protected OwnImageButton playCamera
    • fovFlag

      protected boolean fovFlag
  • Constructor Details

    • CameraComponent

      public CameraComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
  • Method Details

    • initialize

      public void initialize(float componentWidth)
      Description copied from class: GuiComponent
      Initialises the component.
      Specified by:
      initialize in class GuiComponent
      Parameters:
      componentWidth - The target width of the component.
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.
    • dispose

      public void dispose()
      Description copied from class: GuiComponent
      Disposes the component.
      Specified by:
      dispose in class GuiComponent