public class ROIMaskPreview extends java.lang.Object implements DataSourcePreview
Constructor and Description |
---|
ROIMaskPreview() |
Modifier and Type | Method and Description |
---|---|
void |
addParams(DataProcess task,
java.lang.String path,
java.lang.String fileName) |
DataSourcePreview |
cloneDataSourcePreview() |
void |
closePreviewLayer() |
void |
draw(java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
double[] coords,
int w,
int h,
Cancellable cancel,
double scale) |
java.awt.geom.Rectangle2D |
getBBoxRectangle() |
double |
getCellSize() |
java.lang.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(java.awt.image.BufferedImage image, java.awt.Graphics2D g, double[] coords, int w, int h, Cancellable cancel, double scale) throws ImageUnavailableException
draw
in interface DataSourcePreview
ImageUnavailableException
public java.lang.Object getSource()
getSource
in interface DataSourcePreview
public java.awt.geom.Rectangle2D getBBoxRectangle()
getBBoxRectangle
in interface DataSourcePreview
public void addParams(DataProcess task, java.lang.String path, java.lang.String fileName) throws ROIException
ROIException