Class SimpleRectangularROIProvider
java.lang.Object
gda.device.detector.nxdetector.roi.SimpleRectangularROIProvider
- All Implemented Interfaces:
RectangularROIProvider<Integer>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoi()Return a RectangularROI, or null if none is available/enabled.voidsetRoi(RectangularROI<Integer> roi)
-
Constructor Details
-
SimpleRectangularROIProvider
public SimpleRectangularROIProvider()
-
-
Method Details
-
setRoi
-
getRoi
public RectangularROI<Integer> getRoi() throws IllegalArgumentException, IndexOutOfBoundsException, ExceptionDescription copied from interface:RectangularROIProviderReturn a RectangularROI, or null if none is available/enabled.- Specified by:
getRoiin interfaceRectangularROIProvider<Integer>- Returns:
- an roi or null if none available/active
- Throws:
IllegalArgumentException- if the index is out of boundsIndexOutOfBoundsExceptionException- If the RCPPlotter.getBean throws an exception
-