com.xinapse.multisliceimage.roi
Interface RotatableROI

All Known Implementing Classes:
ContourROI, CurvedLineROI, EllipticalROI, HollowROI, IrregularROI, IrregularROIInProgress, LineROI

public interface RotatableROI

Interface that rotatable ROIs implement. Rotatable ROIs have a getable and setable rotation angle, and a centre of rotation.


Method Summary
 java.awt.geom.Point2D getCentre()
          Gets the centre (about which rotation will occur) of this RotatableROI in mm.
 double getTheta()
          Returns the current rotation angle for this RotatableROI.
 void setTheta(double theta)
          Sets the rotation angle for this RotatableROI.
 

Method Detail

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

java.awt.geom.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.


Copyright 2006-2011 Xinapse Systems Limited. All Rights Reserved.