public class ImageThumbnailPlotter extends Object implements ItemPlotter<MBFImage,Float[],MBFImage>
setThumbnailSize(int) method to set the maximum dimension.| Constructor and Description |
|---|
ImageThumbnailPlotter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getThumbnailSize() |
void |
plotObject(MBFImage visImage,
XYPlotVisualisation.LocatedObject<MBFImage> object,
AxesRenderer2D<Float[],MBFImage> renderer)
Plots a specific object to the visualisation using the
AxesRenderer2D to
provide the position of the object. |
void |
renderRestarting()
Called just before a render of the visualisation is about to start.
|
void |
setThumbnailSize(int thumbnailSize) |
public ImageThumbnailPlotter()
public int getThumbnailSize()
public void setThumbnailSize(int thumbnailSize)
thumbnailSize - the thumbnailSize to setpublic void plotObject(MBFImage visImage, XYPlotVisualisation.LocatedObject<MBFImage> object, AxesRenderer2D<Float[],MBFImage> renderer)
ItemPlotterAxesRenderer2D to
provide the position of the object. Should side affect the given image.plotObject in interface ItemPlotter<MBFImage,Float[],MBFImage>visImage - The image to draw toobject - The objectrenderer - The axes rendererpublic void renderRestarting()
renderRestarting in interface ItemPlotter<MBFImage,Float[],MBFImage>ItemPlotter.renderRestarting()