public class CalibrationPlugin2D extends GeneralImageViewerPanelPlugin2D
Constructor and Description |
---|
CalibrationPlugin2D(JIPipeImageViewer viewerPanel) |
Modifier and Type | Method and Description |
---|---|
void |
beforeDraw(int c,
int z,
int t)
Called before draw is called
|
ij.process.ImageProcessor |
draw(int c,
int z,
int t,
ij.process.ImageProcessor processor)
Draws the image in the processor
|
ImageJCalibrationMode |
getSelectedCalibration() |
void |
initializeSettingsPanel(FormPanel formPanel)
Called when the form panel should be recreated
|
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
getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, postprocessDraw, postprocessDrawForExport, uploadSliceToCanvas
getCurrentImage, getCurrentImagePlus, getDataSource, getViewerPanel, getWorkbench, onOverlayAdded, onOverlayRemoved, onOverlaysCleared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public CalibrationPlugin2D(JIPipeImageViewer viewerPanel)
public void onImageChanged()
JIPipeImageViewerPlugin
onImageChanged
in class JIPipeImageViewerPlugin
public void initializeSettingsPanel(FormPanel formPanel)
JIPipeImageViewerPlugin
initializeSettingsPanel
in class JIPipeImageViewerPlugin
formPanel
- the form panelpublic ij.process.ImageProcessor draw(int c, int z, int t, ij.process.ImageProcessor processor)
JIPipeImageViewerPlugin2D
draw
in class JIPipeImageViewerPlugin2D
c
- c positionz
- z positiont
- t positionprocessor
- the processorpublic void onSliceChanged(boolean deferUploadSlice)
JIPipeImageViewerPlugin2D
onSliceChanged
in class JIPipeImageViewerPlugin2D
deferUploadSlice
- if true, uploading the slice to the canvas should be deferredpublic void beforeDraw(int c, int z, int t)
JIPipeImageViewerPlugin2D
beforeDraw
in class JIPipeImageViewerPlugin2D
c
- c positionz
- z positiont
- t positionpublic ImageJCalibrationMode getSelectedCalibration()
public void setSelectedCalibration(ImageJCalibrationMode mode)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.