public class ROIMaskPreview extends Object implements DataSourcePreview
Constructor and Description |
---|
ROIMaskPreview() |
Modifier and Type | Method and Description |
---|---|
void |
addParams(DataProcess task,
String path,
String fileName) |
DataSourcePreview |
cloneDataSourcePreview() |
void |
closePreviewLayer() |
void |
draw(BufferedImage image,
Graphics2D g,
double[] coords,
int w,
int h,
Cancellable cancel,
double scale) |
Rectangle2D |
getBBoxRectangle() |
double |
getCellSize() |
Object |
getSource() |
void |
popStatus() |
void |
pushStatus() |
void |
setData(ROIMaskData data) |
public void setData(ROIMaskData data)
public void closePreviewLayer()
closePreviewLayer
in interface DataSourcePreview
public double getCellSize()
getCellSize
in interface DataSourcePreview
public DataSourcePreview cloneDataSourcePreview()
cloneDataSourcePreview
in interface DataSourcePreview
public void popStatus()
popStatus
in interface DataSourcePreview
public void pushStatus()
pushStatus
in interface DataSourcePreview
public void draw(BufferedImage image, Graphics2D g, double[] coords, int w, int h, Cancellable cancel, double scale) throws ImageUnavailableException
draw
in interface DataSourcePreview
ImageUnavailableException
public Object getSource()
getSource
in interface DataSourcePreview
public Rectangle2D getBBoxRectangle()
getBBoxRectangle
in interface DataSourcePreview
public void addParams(DataProcess task, String path, String fileName) throws ROIException
ROIException