public class MeasurementDrawerPlugin2D extends MaskDrawerPlugin2D
Modifier and Type | Class and Description |
---|---|
static class |
MeasurementDrawerPlugin2D.Settings |
MaskDrawerPlugin2D.MaskChangedEvent, MaskDrawerPlugin2D.MaskColor
Modifier and Type | Field and Description |
---|---|
static MeasurementDrawerPlugin2D.Settings |
SETTINGS |
STROKE_GUIDE_LINE
Constructor and Description |
---|
MeasurementDrawerPlugin2D(JIPipeImageViewer viewerPanel) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
The tool panel category where this tool is shown
|
Icon |
getCategoryIcon()
The icon for the category if a new one must be created
|
void |
initializeSettingsPanel(FormPanel formPanel)
Called when the form panel should be recreated
|
void |
measureCurrentMask() |
void |
onMaskChanged(MaskDrawerPlugin2D.MaskChangedEvent event) |
clearCurrentMask, getCurrentColor, getCurrentMaskSlice, getCurrentTool, getHighlightColor, getMask, getMaskColor, getMaskGenerator, getRibbon, installTool, onImageChanged, onSliceChanged, onToolChanged, postprocessDraw, postprocessDrawForExport, recalculateMaskPreview, setCurrentColor, setHighlightColor, setMask, setMaskColor, setMaskGenerator
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, uploadSliceToCanvas
getCurrentImage, getCurrentImagePlus, getDataSource, getViewerPanel, getWorkbench, onOverlayAdded, onOverlayRemoved, onOverlaysCleared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public static final MeasurementDrawerPlugin2D.Settings SETTINGS
public MeasurementDrawerPlugin2D(JIPipeImageViewer viewerPanel)
public void initializeSettingsPanel(FormPanel formPanel)
JIPipeImageViewerPlugin
initializeSettingsPanel
in class MaskDrawerPlugin2D
formPanel
- the form panelpublic void measureCurrentMask()
public void onMaskChanged(MaskDrawerPlugin2D.MaskChangedEvent event)
public String getCategory()
JIPipeImageViewerPlugin
getCategory
in class MaskDrawerPlugin2D
public Icon getCategoryIcon()
JIPipeImageViewerPlugin
getCategoryIcon
in class MaskDrawerPlugin2D
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.