Package qupath.lib.gui.commands
Class MiniViewers
java.lang.Object
qupath.lib.gui.commands.MiniViewers
Command to open a small viewer window, which displays a detail from
the current image depending on where the cursor is over the image.
In QuPath <= v0.1.2, this gave a single QuPathViewer
that updated its display
based on a main viewer. Now, it has been rewritten to provide a more efficient paintable
canvas (not a full QuPathViewer) and is capable of showing separated color channels.
- Author:
- Pete Bankhead
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A manager for one or more mini-viewers, where the 'more' means a separate viewer per channel. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateManager
(QuPathViewer viewer) Create aMiniViewers.MiniViewerManager
associated with a specified viewer.createManager
(QuPathViewer viewer, Collection<? extends ChannelDisplayInfo> channels) Create aMiniViewers.MiniViewerManager
displaying multiple channels and associated with a specified viewer.
-
Constructor Details
-
MiniViewers
public MiniViewers()
-
-
Method Details
-
createManager
Create aMiniViewers.MiniViewerManager
associated with a specified viewer.- Parameters:
viewer
-- Returns:
- Since:
- v0.4.0
-
createManager
public static MiniViewers.MiniViewerManager createManager(QuPathViewer viewer, Collection<? extends ChannelDisplayInfo> channels) Create aMiniViewers.MiniViewerManager
displaying multiple channels and associated with a specified viewer.- Parameters:
viewer
-channels
-- Returns:
- Since:
- v0.4.0
-