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(JIPipeDesktopLegacyImageViewer viewerPanel) |
Modifier and Type | Method and Description |
---|---|
void |
buildPanel(JIPipeDesktopFormPanel formPanel) |
void |
buildRibbon(JIPipeDesktopRibbon ribbon) |
Icon |
getPanelIcon()
The icon for the category if a new one must be created
|
String |
getPanelName()
The tool panel category where this tool is shown
|
void |
measureCurrentMask() |
void |
onMaskDrawerPluginMaskChanged(MaskDrawerPlugin2D.MaskChangedEvent event) |
buildDock, buildStatusBar, clearCurrentMask, getCurrentColor, getCurrentMaskSlice, getCurrentTool, getHighlightColor, getMask, getMaskChangedEventEmitter, getMaskColor, getMaskGenerator, getPanelLocation, installTool, onImageChanged, onImageViewerCanvasToolChanged, onSliceChanged, postprocessDraw, postprocessDrawForExport, recalculateMaskPreview, setCurrentColor, setHighlightColor, setMask, setMaskColor, setMaskGenerator
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, uploadSliceToCanvas
buildCustomPanel, getCurrentImage, getCurrentImagePlus, getDataSource, getDesktopWorkbench, getViewerPanel, getWorkbench, isActive, isBuildingCustomPanel, onOverlayAdded, onOverlayRemoved, onOverlaysCleared
public static final MeasurementDrawerPlugin2D.Settings SETTINGS
public MeasurementDrawerPlugin2D(JIPipeDesktopLegacyImageViewer viewerPanel)
public void buildPanel(JIPipeDesktopFormPanel formPanel)
buildPanel
in class MaskDrawerPlugin2D
public void buildRibbon(JIPipeDesktopRibbon ribbon)
buildRibbon
in class MaskDrawerPlugin2D
public void measureCurrentMask()
public String getPanelName()
JIPipeDesktopLegacyImageViewerPlugin
getPanelName
in class MaskDrawerPlugin2D
public Icon getPanelIcon()
JIPipeDesktopLegacyImageViewerPlugin
getPanelIcon
in class MaskDrawerPlugin2D
public void onMaskDrawerPluginMaskChanged(MaskDrawerPlugin2D.MaskChangedEvent event)
onMaskDrawerPluginMaskChanged
in interface MaskDrawerPlugin2D.MaskChangedEventListener
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.