public class ROIManagerPlugin3D extends JIPipeDesktopLegacyImageViewerPlugin2D
Constructor and Description |
---|
ROIManagerPlugin3D(JIPipeDesktopLegacyImageViewer viewerPanel) |
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, onSliceChanged, uploadSliceToCanvas
buildPanel, getCurrentImage, getCurrentImagePlus, getDataSource, getDesktopWorkbench, getViewerPanel, getWorkbench, isActive
public ROIManagerPlugin3D(JIPipeDesktopLegacyImageViewer viewerPanel)
public RoiDrawer getRoiDrawer()
public void onImageChanged()
JIPipeDesktopLegacyImageViewerPlugin
onImageChanged
in class JIPipeDesktopLegacyImageViewerPlugin
public void onOverlayAdded(Object overlay)
JIPipeDesktopLegacyImageViewerPlugin
onOverlayAdded
in class JIPipeDesktopLegacyImageViewerPlugin
overlay
- the overlaypublic void onOverlayRemoved(Object overlay)
JIPipeDesktopLegacyImageViewerPlugin
onOverlayRemoved
in class JIPipeDesktopLegacyImageViewerPlugin
overlay
- the overlaypublic void dispose()
public void onOverlaysCleared()
JIPipeDesktopLegacyImageViewerPlugin
onOverlaysCleared
in class JIPipeDesktopLegacyImageViewerPlugin
public boolean isBuildingCustomPanel()
isBuildingCustomPanel
in class JIPipeDesktopLegacyImageViewerPlugin
public JComponent buildCustomPanel()
buildCustomPanel
in class JIPipeDesktopLegacyImageViewerPlugin
public ROI3DListData getSelectedROIOrAll(String title, String message)
public List<ROIManagerPlugin3DSelectionContextPanel> getSelectionContextPanels()
public void addSelectionContextPanel(ROIManagerPlugin3DSelectionContextPanel panel)
public void removeSelectionContextPanel(ROIManagerPlugin3DSelectionContextPanel panel)
public void buildRibbon(JIPipeDesktopRibbon ribbon)
buildRibbon
in class JIPipeDesktopLegacyImageViewerPlugin
public void buildDock(JIPipeDesktopDockPanel dockPanel)
buildDock
in class JIPipeDesktopLegacyImageViewerPlugin
public void buildStatusBar(JToolBar statusBar)
buildStatusBar
in class JIPipeDesktopLegacyImageViewerPlugin
public String getPanelName()
JIPipeDesktopLegacyImageViewerPlugin
getPanelName
in class JIPipeDesktopLegacyImageViewerPlugin
public JIPipeDesktopDockPanel.PanelLocation getPanelLocation()
getPanelLocation
in class JIPipeDesktopLegacyImageViewerPlugin
public Icon getPanelIcon()
JIPipeDesktopLegacyImageViewerPlugin
getPanelIcon
in class JIPipeDesktopLegacyImageViewerPlugin
public void postprocessDraw(Graphics2D graphics2D, Rectangle renderArea, ImageSliceIndex sliceIndex)
JIPipeDesktopLegacyImageViewerPlugin2D
postprocessDraw
in class JIPipeDesktopLegacyImageViewerPlugin2D
graphics2D
- the graphicsrenderArea
- the render areasliceIndex
- the index of the slicepublic void postprocessDrawForExport(BufferedImage image, ImageSliceIndex sliceIndex, double magnification)
JIPipeDesktopLegacyImageViewerPlugin2D
postprocessDrawForExport
in class JIPipeDesktopLegacyImageViewerPlugin2D
image
- the imagesliceIndex
- the slicemagnification
- the magnificationpublic void removeSelectedROIs()
public void clearROIs()
public ROI3DListData getRois()
public void setRois(ROI3DListData rois)
public void exportROIsToManager(ROI2DListData rois)
public boolean isFilterListOnlySelected()
public void setFilterListOnlySelected(boolean filterListOnlySelected)
public void updateListModel()
public void updateListModel(Collection<ROI3D> excludeFromFilter)
public void setSelectedROI(Collection<ROI3D> select, boolean force)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.