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
The configuration class for a beam driven stream connector.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintdoubledoubleinthashCode()voidsetCameraHeight(int cameraHeight) voidsetCameraWidth(int cameraWidth) voidsetDriverX(String driverX) voidsetDriverY(String driverY) voidsetScaleX(double scaleX) voidsetScaleY(double scaleY) toString()Methods inherited from class uk.ac.gda.client.live.stream.view.CameraConfiguration
cameraStreamTypes, getArrayPv, getBottomUi, getCacheSize, getCalibratedAxesProvider, getDisplayName, getPvAccessPv, getRoiProvider, getSleepTime, getTopUi, getUrl, getViewID, isRgb, isWithHistogram, setArrayPv, setBottomUi, setCacheSize, setCalibratedAxesProvider, setDisplayName, setPvAccessPv, setRgb, setRoiProvider, setSleepTime, setTopUi, setUrl, setViewID, setWithHistogramMethods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
BeamSimulationCamera
public BeamSimulationCamera()
-
-
Method Details
-
getDriverX
- Returns:
- Returns the name, (bean, id or other) associated with the X axis motor
-
setDriverX
-
getDriverY
- Returns:
- Returns the name, (bean, id or other) associated with the Y axis motor
-
setDriverY
-
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:
hashCodein classCameraConfiguration
-
equals
- Overrides:
equalsin classCameraConfiguration
-
toString
- Overrides:
toStringin classCameraConfiguration
-