public class MeasurementDrawerPlugin2D extends MaskDrawerPlugin2D implements MaskDrawerPlugin2D.MaskChangedEventListener
Modifier and Type | Class and Description |
---|---|
static class |
MeasurementDrawerPlugin2D.Settings |
MaskDrawerPlugin2D.MaskChangedEvent, MaskDrawerPlugin2D.MaskChangedEventEmitter, MaskDrawerPlugin2D.MaskChangedEventListener, 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(JIPipeDesktopFormPanel formPanel)
Called when the form panel should be recreated
|
void |
measureCurrentMask() |
void |
onMaskDrawerPluginMaskChanged(MaskDrawerPlugin2D.MaskChangedEvent event) |
clearCurrentMask, getCurrentColor, getCurrentMaskSlice, getCurrentTool, getHighlightColor, getMask, getMaskChangedEventEmitter, getMaskColor, getMaskGenerator, getRibbon, installTool, onImageChanged, onImageViewerCanvasToolChanged, onSliceChanged, postprocessDraw, postprocessDrawForExport, recalculateMaskPreview, setCurrentColor, setHighlightColor, setMask, setMaskColor, setMaskGenerator
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, uploadSliceToCanvas
getCurrentImage, getCurrentImagePlus, getDataSource, getDesktopWorkbench, 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(JIPipeDesktopFormPanel formPanel)
JIPipeImageViewerPlugin
initializeSettingsPanel
in class MaskDrawerPlugin2D
formPanel
- the form panelpublic void measureCurrentMask()
public String getCategory()
JIPipeImageViewerPlugin
getCategory
in class MaskDrawerPlugin2D
public Icon getCategoryIcon()
JIPipeImageViewerPlugin
getCategoryIcon
in class MaskDrawerPlugin2D
public void onMaskDrawerPluginMaskChanged(MaskDrawerPlugin2D.MaskChangedEvent event)
onMaskDrawerPluginMaskChanged
in interface MaskDrawerPlugin2D.MaskChangedEventListener
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.