Interface Swing3dCameraControl

All Known Implementing Classes:
FirstPersonCameraControl, OrbitAroundPointControl

public interface Swing3dCameraControl
Interface for controlling a camera which is viewing a 3D scene.
  • Method Details

    • attachControls

      void attachControls(JComponent parent)
      Attaches controls to the component
    • detachControls

      void detachControls(JComponent parent)
      Detaches controls to the component
    • selectInitialParameters

      void selectInitialParameters(VertexMesh mesh)
      Selects a reasonable initial location to view the specified mesh
    • reset

      void reset()
      Resets the view back to it's initial state
    • setCamera

      void setCamera(CameraPinhole intrinsics)
      Specifies the camera used to render the scene
    • getWorldToCamera

      Se3_F64 getWorldToCamera()
      Transform from world to camera
    • setChangeHandler

      void setChangeHandler(Runnable handler)
      This is called whenever the settings have changed and the rendering should be updated.
    • getHelpText

      String getHelpText()
      Explains how to use the control