public class CalibrationPlugin extends GeneralImageViewerPanelPlugin
Constructor and Description |
---|
CalibrationPlugin(ImageViewerPanel viewerPanel) |
Modifier and Type | Method and Description |
---|---|
void |
beforeDraw(int c,
int z,
int t)
Called before draw is called
|
void |
createPalettePanel(FormPanel formPanel)
Called when the form panel should be recreated
|
ij.process.ImageProcessor |
draw(int c,
int z,
int t,
ij.process.ImageProcessor processor)
Draws the image in the processor
|
ImageJCalibrationMode |
getSelectedCalibration() |
void |
onImageChanged()
Called when the current image is changed
|
void |
onSliceChanged(boolean deferUploadSlice)
Called when the current slice is changed
|
void |
setSelectedCalibration(ImageJCalibrationMode mode) |
getCategory, getCategoryIcon
getCurrentImage, getCurrentSlice, getCurrentSlicePosition, getViewerPanel, getWorkbench, postprocessDraw, postprocessDrawForExport, uploadSliceToCanvas
public CalibrationPlugin(ImageViewerPanel viewerPanel)
public void onImageChanged()
ImageViewerPanelPlugin
onImageChanged
in class ImageViewerPanelPlugin
public void createPalettePanel(FormPanel formPanel)
ImageViewerPanelPlugin
createPalettePanel
in class ImageViewerPanelPlugin
formPanel
- the form panelpublic ij.process.ImageProcessor draw(int c, int z, int t, ij.process.ImageProcessor processor)
ImageViewerPanelPlugin
draw
in class ImageViewerPanelPlugin
c
- c positionz
- z positiont
- t positionprocessor
- the processorpublic void onSliceChanged(boolean deferUploadSlice)
ImageViewerPanelPlugin
onSliceChanged
in class ImageViewerPanelPlugin
deferUploadSlice
- if true, uploading the slice to the canvas should be deferredpublic void beforeDraw(int c, int z, int t)
ImageViewerPanelPlugin
beforeDraw
in class ImageViewerPanelPlugin
c
- c positionz
- z positiont
- t positionpublic ImageJCalibrationMode getSelectedCalibration()
public void setSelectedCalibration(ImageJCalibrationMode mode)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.