Class BeamSimulationCamera

java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.live.stream.view.CameraConfiguration
uk.ac.gda.client.live.stream.simulator.connector.BeamSimulationCamera
All Implemented Interfaces:
Findable

public class BeamSimulationCamera extends CameraConfiguration
The configuration class for a beam driven stream connector.
See Also:
  • Constructor Details

    • BeamSimulationCamera

      public BeamSimulationCamera()
  • Method Details

    • getDriverX

      public String getDriverX()
      Returns:
      Returns the name, (bean, id or other) associated with the X axis motor
    • setDriverX

      public void setDriverX(String driverX)
    • getDriverY

      public String getDriverY()
      Returns:
      Returns the name, (bean, id or other) associated with the Y axis motor
    • setDriverY

      public void setDriverY(String driverY)
    • getScaleX

      public double getScaleX()
      Returns:
      The ratio between number of pixels on the camera and the smallest step on X axis
    • setScaleX

      public void setScaleX(double scaleX)
    • getScaleY

      public double getScaleY()
      Returns:
      The ratio between number of pixels on the camera and the smallest step on Y axis
    • setScaleY

      public void setScaleY(double scaleY)
    • getCameraWidth

      public int getCameraWidth()
      Returns:
      the camera width
    • setCameraWidth

      public void setCameraWidth(int cameraWidth)
    • getCameraHeight

      public int getCameraHeight()
      Returns:
      the camera height
    • setCameraHeight

      public void setCameraHeight(int cameraHeight)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CameraConfiguration
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class CameraConfiguration
    • toString

      public String toString()
      Overrides:
      toString in class CameraConfiguration