Package com.xinapse.multisliceimage.roi
Interface RotatableROI
- All Known Implementing Classes:
ContourROI
,CurvedLineROI
,EllipticalROI
,HollowROI
,IrregularROI
,IrregularROIInProgress
,LineROI
,OpenSplineROI
,SplineROI
public interface RotatableROI
Interface that rotatable ROIs implement. Rotatable ROIs have a getable and setable
rotation angle, and a centre of rotation.
-
Method Summary
-
Method Details
-
getTheta
double getTheta()Returns the current rotation angle for this RotatableROI.- Returns:
- theta the current rotation angle.
-
setTheta
void setTheta(double theta) Sets the rotation angle for this RotatableROI.- Parameters:
theta
- the rotation angle.
-
getCentre
Point2D getCentre()Gets the centre (about which rotation will occur) of this RotatableROI in mm.- Returns:
- the centre of this ROI, about which rotation will occur.
-