Package gda.px.humiditycontroller
Interface HC1DropsizeCalc
- All Superinterfaces:
Configurable,Findable,gda.observable.IObservable
- All Known Implementing Classes:
HC1Dropsize,HC1DropsizeCalcBase,HC1DummyDropsize
-
Method Summary
Modifier and TypeMethodDescriptionvoidDisables the overlay on the OAVdoubleCalculates the size of the drop on the OAVvoidEnables the overlay on the OAVgetImage()Gets the last drop imagedoubleCalculates the current dropsize divided by a previous drop size - value between 1 - 100%voidsetImage(BufferedImage image) Sets the image of the dropvoidCalculates and sets the drop size on the sample in the OAVvoidsetROIasCrosshair(int width) Sets the size of the cross hair in the centre of the ROIvoidsetROIx(int lowLimit, int highLimit) Sets the coordinates that frames the Region of Interest of the Drop on the image using the explicit (x,y) coordinates of the bottom corner of rectangle, and its height and widthMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
enableOverlays
Enables the overlay on the OAV- Throws:
IOException
-
disableOverlays
Disables the overlay on the OAV- Throws:
IOException
-
setROIx
void setROIx(int lowLimit, int highLimit) Sets the coordinates that frames the Region of Interest of the Drop on the image using the explicit (x,y) coordinates of the bottom corner of rectangle, and its height and width -
setROIasCrosshair
void setROIasCrosshair(int width) Sets the size of the cross hair in the centre of the ROI -
setOriginalSize
Calculates and sets the drop size on the sample in the OAV -
getRelativeSize
double getRelativeSize()Calculates the current dropsize divided by a previous drop size - value between 1 - 100% -
dropsizeCalc
Calculates the size of the drop on the OAV- Returns:
- the drop size
- Throws:
IOExceptionDeviceExceptionInterruptedException
-
setImage
Sets the image of the drop -
getImage
HC1DropImage getImage()Gets the last drop image
-