public class FilamentsManagerPlugin2D extends JIPipeDesktopLegacyImageViewerPlugin2D
Modifier and Type | Class and Description |
---|---|
static class |
FilamentsManagerPlugin2D.SelectionContextPanel |
static class |
FilamentsManagerPlugin2D.SelectionInfoContextPanel |
Constructor and Description |
---|
FilamentsManagerPlugin2D(JIPipeDesktopLegacyImageViewer viewerPanel) |
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, uploadSliceToCanvas
buildPanel, getCurrentImage, getCurrentImagePlus, getDataSource, getDesktopWorkbench, getViewerPanel, getWorkbench, onImageChanged, onOverlaysCleared
public FilamentsManagerPlugin2D(JIPipeDesktopLegacyImageViewer viewerPanel)
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 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 Filaments3DGraphData getSelectedFilamentsOrAll(String title, String message)
public List<FilamentsManagerPlugin2D.SelectionContextPanel> getSelectionContextPanels()
public void addSelectionContextPanel(FilamentsManagerPlugin2D.SelectionContextPanel panel)
public void removeSelectionContextPanel(FilamentsManagerPlugin2D.SelectionContextPanel panel)
public FilamentsDrawer getFilamentsDrawer()
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 onSliceChanged(boolean deferUploadSlice)
JIPipeDesktopLegacyImageViewerPlugin2D
onSliceChanged
in class JIPipeDesktopLegacyImageViewerPlugin2D
deferUploadSlice
- if true, uploading the slice to the canvas should be deferredpublic String getPanelName()
JIPipeDesktopLegacyImageViewerPlugin
getPanelName
in class JIPipeDesktopLegacyImageViewerPlugin
public JIPipeDesktopDockPanel.PanelLocation getPanelLocation()
getPanelLocation
in class JIPipeDesktopLegacyImageViewerPlugin
public void dispose()
public Icon getPanelIcon()
JIPipeDesktopLegacyImageViewerPlugin
getPanelIcon
in class JIPipeDesktopLegacyImageViewerPlugin
public boolean isBuildingCustomPanel()
isBuildingCustomPanel
in class JIPipeDesktopLegacyImageViewerPlugin
public JComponent buildCustomPanel()
buildCustomPanel
in class JIPipeDesktopLegacyImageViewerPlugin
public boolean isActive()
isActive
in class JIPipeDesktopLegacyImageViewerPlugin
public void removeSelectedSpots(boolean deferUploadSlice)
public JList<Filaments3DGraphData> getFilamentsListControl()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.