Class MutableRectangularIntegerROI

java.lang.Object
gda.factory.FindableBase
gda.device.detector.nxdetector.roi.MutableRectangularIntegerROI
All Implemented Interfaces:
RectangularROI<Integer>, RectangularROIProvider<Integer>, Findable

public class MutableRectangularIntegerROI extends FindableBase implements RectangularROI<Integer>, RectangularROIProvider<Integer>
This class provides a mutable rectangular ROI which is also findable to allow the ROI on a area detector to be adjusted from the GDA command line/scripts. To use on the command line it will need to be obtained using the Finder. To make it easier to integrate with ADRoiStatsPairFactory it also implements RectangularROIProvider returning itself.

Example Spring XML:

 
 <bean id="cam1_roi" class="gda.device.detector.nxdetector.roi.MutableRectangularIntegerROI">
	 <property name="xstart" value="0" />
	 <property name="ystart" value="0" />
	 <property name="xsize" value="500" />
	 <property name="ysize" value="500" />
 </bean>