Interface IOrientableROI

All Superinterfaces:
org.eclipse.january.INameable, IROI, Serializable
All Known Subinterfaces:
IFitROI, IParametricROI, IRectangularROI
All Known Implementing Classes:
CircularFitROI, CircularROI, EllipticalFitROI, EllipticalROI, GridROI, HyperbolicROI, Line3DROI, LinearROI, MxGridROI, OrientableROIBase, ParabolicROI, PerimeterBoxROI, RectangularROI, ResolutionEllipseROI, SurfacePlotROI, XAxisBoxROI, XAxisLineBoxROI, YAxisBoxROI, YAxisLineBoxROI

public interface IOrientableROI extends IROI
Represents an orientable region of interest with the start point being the centre of rotation
  • Method Details

    • copy

      Specified by:
      copy in interface IROI
      Returns:
      a copy of ROI
    • getAngleDegrees

      double getAngleDegrees()
      Returns:
      angle, in degrees, from 0 to 90 is from x-axis to y-axis
    • setAngleDegrees

      void setAngleDegrees(double degrees)
      Set angle, in degrees
      Parameters:
      degrees - from 0 to 90 is from x-axis to y-axis
    • getAngle

      double getAngle()
      Returns:
      angle, in radians
    • setAngle

      void setAngle(double angle)
      Set angle, in radians, from 0 to pi/2 is from x-axis to y-axis
      Parameters:
      angle - from 0 to pi/2 is from x-axis to y-axis