plugins.big.bigsnake.roi
Class ROIParsingUtils

java.lang.Object
  extended by plugins.big.bigsnake.roi.ROIParsingUtils

public class ROIParsingUtils
extends java.lang.Object

Provides mechanisms to transform ROI objects from Icy into polygons.

Version:
May 3, 2014
Author:
Nicolas Chenouard (nicolas.chenouard@gmail.com), Ricard Delgado-Gonzalo (ricard.delgado@gmail.com)

Constructor Summary
ROIParsingUtils()
           
 
Method Summary
static java.awt.Polygon parseFirstFreeROI(java.util.ArrayList<icy.roi.ROI> rois)
          Parses a the first 2D ROI of the input list and returns a polygon with the outline.
static java.awt.Polygon parseROI(icy.roi.ROI roi)
          Parses a 2D ROI and returns a polygon with the outline.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROIParsingUtils

public ROIParsingUtils()
Method Detail

parseFirstFreeROI

public static java.awt.Polygon parseFirstFreeROI(java.util.ArrayList<icy.roi.ROI> rois)
Parses a the first 2D ROI of the input list and returns a polygon with the outline.


parseROI

public static java.awt.Polygon parseROI(icy.roi.ROI roi)
Parses a 2D ROI and returns a polygon with the outline.