- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- bdv.viewer.AbstractViewerPanel
-
- bdv.viewer.ViewerPanel
-
- All Implemented Interfaces:
OverlayRenderer,PainterThread.Paintable,RequestRepaint,ViewerStateChangeListener,ImageObserver,MenuContainer,Serializable,Accessible
public class ViewerPanel extends AbstractViewerPanel implements OverlayRenderer, PainterThread.Paintable, ViewerStateChangeListener
A JPanel for viewing multiple ofSources. The panel contains acanvasand a time slider (if there are multiple time-points). Maintains arender state, the renderer, and basic navigation help overlays. It has it's ownPainterThreadfor painting, which is started on construction (useto stop the PainterThread.- Author:
- Tobias Pietzsch
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classViewerPanel.RenderThreadFactory-
Nested classes/interfaces inherited from class bdv.viewer.AbstractViewerPanel
AbstractViewerPanel.AlignPlane, AbstractViewerPanel.MouseCoordinateListener
-
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
-
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected static AtomicIntegerpanelNumber-
Fields inherited from class bdv.viewer.AbstractViewerPanel
mouseCoordinates
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
-
Constructor Summary
Constructors Constructor Description ViewerPanel(List<SourceAndConverter<?>> sources, int numTimePoints, CacheControl cacheControl)ViewerPanel(List<SourceAndConverter<?>> sources, int numTimepoints, CacheControl cacheControl, ViewerOptions optional)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddGroup(SourceGroup group)Deprecated.Modifystate()directlyvoidaddInterpolationModeListener(InterpolationModeListener listener)Deprecated.UseinterpolationModeListeners().add( listener ).voidaddOverlayAnimator(OverlayAnimator animator)Add a newOverlayAnimatorto the list of animators.voidaddRenderTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener)Deprecated.UserenderTransformListeners().add( listener ).voidaddRenderTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener, int index)Deprecated.UserenderTransformListeners().add( index, listener ).voidaddSource(SourceAndConverter<?> sourceAndConverter)Deprecated.Modifystate()directlyvoidaddSources(Collection<SourceAndConverter<?>> sourceAndConverter)Deprecated.Modifystate()directlyvoidaddTimePointListener(TimePointListener listener)Deprecated.UsetimePointListeners().add( listener ).voidaddTimePointListener(TimePointListener listener, int index)Deprecated.UsetimePointListeners().add( index, listener ).voidaddTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener)Deprecated.UsetransformListeners().add( listener ).voidaddTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener, int index)Deprecated.UsetransformListeners().add( index, listener ).voiddisplayToGlobalCoordinates(double[] gPos)SetgPosto the display coordinates at gPos transformed into the global coordinate system.voiddisplayToGlobalCoordinates(double x, double y, net.imglib2.RealPositionable gPos)SetgPosto the display coordinates (x,y,0)T transformed into the global coordinate system.<P extends net.imglib2.RealLocalizable & net.imglib2.RealPositionable>
voiddisplayToGlobalCoordinates(P gPos)SetgPosto the display coordinates at gPos transformed into the global coordinate system.voiddrawOverlays(Graphics g)Render overlays.ConverterSetupsgetConverterSetups()Get theConverterSetupswhich manages the mapping betweenConverterSetups and sources.InteractiveDisplayCanvasgetDisplay()Get the viewer canvas.ComponentgetDisplayComponent()Get the AWTComponentof the viewer canvas.org.scijava.ui.behaviour.io.InputTriggerConfiggetInputTriggerConfig()ViewerOptions.ValuesgetOptionValues()SourceInfoOverlayRenderergetSourceInfoOverlayRenderer()ViewerStategetState()Deprecated.Usestate()instead.TransformEventHandlergetTransformEventHandler()VisibilityAndGroupinggetVisibilityAndGrouping()Deprecated.Modifystate()directly Returns theVisibilityAndGroupingthat can be used to modify visibility and currentness of sources and groups, as well as grouping of sources, and display mode.org.scijava.listeners.Listeners<InterpolationModeListener>interpolationModeListeners()Add/removeInterpolationModeListenerto notify when the interpolation mode is changed..voidnextTimePoint()Show the next time-point.protected voidonMouseMoved()voidpaint()This is called by the painter thread to repaint the display.voidpreviousTimePoint()Show the previous time-point.voidremoveAllSources()Deprecated.Modifystate()directlyvoidremoveGroup(SourceGroup group)Deprecated.Modifystate()directlyvoidremoveInterpolationModeListener(InterpolationModeListener listener)Deprecated.UseinterpolationModeListeners().remove( listener ).voidremoveSource(Source<?> source)Deprecated.Modifystate()directlyvoidremoveSources(Collection<Source<?>> sources)Deprecated.Modifystate()directlyvoidremoveTimePointListener(TimePointListener listener)Deprecated.UsetimePointListeners().remove( listener ).voidremoveTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener)Deprecated.UsetransformListeners().remove( listener )orrenderTransformListeners().remove( listener )(whichever the listener was added to).org.scijava.listeners.Listeners<TransformListener<net.imglib2.realtransform.AffineTransform3D>>renderTransformListeners()Add/removeTransformListeners to notify about viewer transformation changes.voidrequestRepaint()Repaint as soon as possible.voidrequestRepaint(net.imglib2.Interval screenInterval)voidsetCurrentViewerTransform(net.imglib2.realtransform.AffineTransform3D viewerTransform)Deprecated.Modifystate()directly (state().setViewerTransform(t))voidsetDisplayMode(DisplayMode displayMode)Set theDisplayMode.voidsetInterpolation(Interpolation mode)Set theInterpolationmode.voidsetNumTimepoints(int numTimepoints)Set the number of available timepoints.voidsetTimepoint(int timepoint)Show the specified time-point.voidsetTransformAnimator(AbstractTransformAnimator animator)DebugTilingOverlayshowDebugTileOverlay()Display overlay to show how the display is tiled for rendering.voidshowMessage(String msg)Display the specified message in a text overlay for a short time.SynchronizedViewerStatestate()Get the ViewerState.voidstateFromXml(org.jdom2.Element parent)org.jdom2.ElementstateToXml()voidstop()Stop thepainterThreadand shutdown renderingExecutorService.org.scijava.listeners.Listeners<TimePointListener>timePointListeners()Add/removeTimePointListenerto notify about time-point changes.voidtoggleInterpolation()Switch to next interpolation mode.org.scijava.listeners.Listeners<TransformListener<net.imglib2.realtransform.AffineTransform3D>>transformListeners()Add/removeTransformListeners to notify about viewer transformation changes.voidviewerStateChanged(ViewerStateChange change)-
Methods inherited from class bdv.viewer.AbstractViewerPanel
align, getGlobalMouseCoordinates, getMouseCoordinates, requestFocusInWindow
-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface bdv.viewer.OverlayRenderer
setCanvasSize
-
-
-
-
Field Detail
-
panelNumber
protected static final AtomicInteger panelNumber
-
-
Constructor Detail
-
ViewerPanel
public ViewerPanel(List<SourceAndConverter<?>> sources, int numTimePoints, CacheControl cacheControl)
-
ViewerPanel
public ViewerPanel(List<SourceAndConverter<?>> sources, int numTimepoints, CacheControl cacheControl, ViewerOptions optional)
- Parameters:
sources- thesourcesto display.numTimepoints- number of available timepoints.cacheControl- to control IO budgeting and fetcher queue.optional- optional parameters. SeeViewerOptions.options().
-
-
Method Detail
-
addSource
@Deprecated public void addSource(SourceAndConverter<?> sourceAndConverter)
Deprecated.Modifystate()directly
-
addSources
@Deprecated public void addSources(Collection<SourceAndConverter<?>> sourceAndConverter)
Deprecated.Modifystate()directly
-
removeSource
@Deprecated public void removeSource(Source<?> source)
Deprecated.Modifystate()directly
-
removeSources
@Deprecated public void removeSources(Collection<Source<?>> sources)
Deprecated.Modifystate()directly
-
removeAllSources
@Deprecated public void removeAllSources()
Deprecated.Modifystate()directly
-
addGroup
@Deprecated public void addGroup(SourceGroup group)
Deprecated.Modifystate()directly
-
removeGroup
@Deprecated public void removeGroup(SourceGroup group)
Deprecated.Modifystate()directly
-
displayToGlobalCoordinates
public void displayToGlobalCoordinates(double[] gPos)
SetgPosto the display coordinates at gPos transformed into the global coordinate system.- Parameters:
gPos- is set to the corresponding global coordinates.
-
displayToGlobalCoordinates
public <P extends net.imglib2.RealLocalizable & net.imglib2.RealPositionable> void displayToGlobalCoordinates(P gPos)
SetgPosto the display coordinates at gPos transformed into the global coordinate system.- Parameters:
gPos- is set to the corresponding global coordinates.
-
displayToGlobalCoordinates
public void displayToGlobalCoordinates(double x, double y, net.imglib2.RealPositionable gPos)SetgPosto the display coordinates (x,y,0)T transformed into the global coordinate system.- Parameters:
gPos- is set to the global coordinates at display (x,y,0)T.
-
paint
public void paint()
Description copied from interface:PainterThread.PaintableThis is called by the painter thread to repaint the display.- Specified by:
paintin interfacePainterThread.Paintable
-
requestRepaint
public void requestRepaint()
Repaint as soon as possible.- Specified by:
requestRepaintin interfaceRequestRepaint
-
requestRepaint
public void requestRepaint(net.imglib2.Interval screenInterval)
-
onMouseMoved
protected void onMouseMoved()
- Overrides:
onMouseMovedin classAbstractViewerPanel
-
drawOverlays
public void drawOverlays(Graphics g)
Description copied from interface:OverlayRendererRender overlays.- Specified by:
drawOverlaysin interfaceOverlayRenderer
-
viewerStateChanged
public void viewerStateChanged(ViewerStateChange change)
- Specified by:
viewerStateChangedin interfaceViewerStateChangeListener
-
setTransformAnimator
public void setTransformAnimator(AbstractTransformAnimator animator)
- Specified by:
setTransformAnimatorin classAbstractViewerPanel
-
toggleInterpolation
public void toggleInterpolation()
Switch to next interpolation mode. (Currently, there are two interpolation modes: nearest-neighbor and N-linear.)
-
setInterpolation
public void setInterpolation(Interpolation mode)
Set theInterpolationmode.
-
setDisplayMode
public void setDisplayMode(DisplayMode displayMode)
Set theDisplayMode.
-
setCurrentViewerTransform
@Deprecated public void setCurrentViewerTransform(net.imglib2.realtransform.AffineTransform3D viewerTransform)
Deprecated.Modifystate()directly (state().setViewerTransform(t))
-
setTimepoint
public void setTimepoint(int timepoint)
Show the specified time-point.- Parameters:
timepoint- time-point index.
-
nextTimePoint
public void nextTimePoint()
Show the next time-point.
-
previousTimePoint
public void previousTimePoint()
Show the previous time-point.
-
setNumTimepoints
public void setNumTimepoints(int numTimepoints)
Set the number of available timepoints. IfnumTimepoints == 1this will hide the time slider, otherwise show it. If the currently displayed timepoint would be out of range with the new number of timepoints, the current timepoint is set tonumTimepoints - 1.This is equivalent to
state().setNumTimepoints(numTimepoints}.- Parameters:
numTimepoints- number of available timepoints. Must be>= 1.
-
getState
@Deprecated public ViewerState getState()
Deprecated.Usestate()instead. Get a copy of the currentViewerState.- Returns:
- a copy of the current
ViewerState.
-
state
public SynchronizedViewerState state()
Get the ViewerState. This can be directly used for modifications, e.g., adding/removing sources etc. SeeSynchronizedViewerStatefor thread-safety considerations.- Specified by:
statein classAbstractViewerPanel
-
getDisplay
public InteractiveDisplayCanvas getDisplay()
Get the viewer canvas.- Specified by:
getDisplayin classAbstractViewerPanel- Returns:
- the viewer canvas.
-
getDisplayComponent
public Component getDisplayComponent()
Get the AWTComponentof the viewer canvas.- Specified by:
getDisplayComponentin classAbstractViewerPanel- Returns:
- the viewer canvas.
-
getTransformEventHandler
public TransformEventHandler getTransformEventHandler()
-
showMessage
public void showMessage(String msg)
Display the specified message in a text overlay for a short time.- Specified by:
showMessagein classAbstractViewerPanel- Parameters:
msg- String to display. Should be just one line of text.
-
addOverlayAnimator
public void addOverlayAnimator(OverlayAnimator animator)
Add a newOverlayAnimatorto the list of animators. The animation is immediately started. The newOverlayAnimatorwill remain in the list of animators until itOverlayAnimator.isComplete().- Specified by:
addOverlayAnimatorin classAbstractViewerPanel- Parameters:
animator- animator to add.
-
interpolationModeListeners
public org.scijava.listeners.Listeners<InterpolationModeListener> interpolationModeListeners()
Add/removeInterpolationModeListenerto notify when the interpolation mode is changed.. Listeners will be notified before callingrequestRepaint()so they have the chance to interfere.
-
addInterpolationModeListener
@Deprecated public void addInterpolationModeListener(InterpolationModeListener listener)
Deprecated.UseinterpolationModeListeners().add( listener ).
-
removeInterpolationModeListener
@Deprecated public void removeInterpolationModeListener(InterpolationModeListener listener)
Deprecated.UseinterpolationModeListeners().remove( listener ).
-
renderTransformListeners
public org.scijava.listeners.Listeners<TransformListener<net.imglib2.realtransform.AffineTransform3D>> renderTransformListeners()
Add/removeTransformListeners to notify about viewer transformation changes. Listeners will be notified when a new image has been painted with the viewer transform used to render that image.This happens immediately after that image is painted onto the screen, before any overlays are painted.
- Specified by:
renderTransformListenersin classAbstractViewerPanel
-
addRenderTransformListener
@Deprecated public void addRenderTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener)
Deprecated.UserenderTransformListeners().add( listener ).
-
addRenderTransformListener
@Deprecated public void addRenderTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener, int index)
Deprecated.UserenderTransformListeners().add( index, listener ).
-
transformListeners
public org.scijava.listeners.Listeners<TransformListener<net.imglib2.realtransform.AffineTransform3D>> transformListeners()
Add/removeTransformListeners to notify about viewer transformation changes. Listeners will be notified before callingrequestRepaint()so they have the chance to interfere.- Specified by:
transformListenersin classAbstractViewerPanel
-
addTransformListener
@Deprecated public void addTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener)
Deprecated.UsetransformListeners().add( listener ).
-
addTransformListener
@Deprecated public void addTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener, int index)
Deprecated.UsetransformListeners().add( index, listener ).
-
removeTransformListener
@Deprecated public void removeTransformListener(TransformListener<net.imglib2.realtransform.AffineTransform3D> listener)
Deprecated.UsetransformListeners().remove( listener )orrenderTransformListeners().remove( listener )(whichever the listener was added to).
-
timePointListeners
public org.scijava.listeners.Listeners<TimePointListener> timePointListeners()
Add/removeTimePointListenerto notify about time-point changes. Listeners will be notified before callingrequestRepaint()so listeners have the chance to interfere.- Specified by:
timePointListenersin classAbstractViewerPanel
-
getConverterSetups
public ConverterSetups getConverterSetups()
Description copied from class:AbstractViewerPanelGet theConverterSetupswhich manages the mapping betweenConverterSetups and sources.- Specified by:
getConverterSetupsin classAbstractViewerPanel
-
addTimePointListener
@Deprecated public void addTimePointListener(TimePointListener listener)
Deprecated.UsetimePointListeners().add( listener ).
-
addTimePointListener
@Deprecated public void addTimePointListener(TimePointListener listener, int index)
Deprecated.UsetimePointListeners().add( index, listener ).
-
removeTimePointListener
@Deprecated public void removeTimePointListener(TimePointListener listener)
Deprecated.UsetimePointListeners().remove( listener ).
-
stateToXml
public org.jdom2.Element stateToXml()
-
stateFromXml
public void stateFromXml(org.jdom2.Element parent)
-
getVisibilityAndGrouping
@Deprecated public VisibilityAndGrouping getVisibilityAndGrouping()
Deprecated.Modifystate()directly Returns theVisibilityAndGroupingthat can be used to modify visibility and currentness of sources and groups, as well as grouping of sources, and display mode.
-
getOptionValues
public ViewerOptions.Values getOptionValues()
-
getInputTriggerConfig
public org.scijava.ui.behaviour.io.InputTriggerConfig getInputTriggerConfig()
- Specified by:
getInputTriggerConfigin classAbstractViewerPanel
-
getSourceInfoOverlayRenderer
public SourceInfoOverlayRenderer getSourceInfoOverlayRenderer()
-
stop
public void stop()
Stop thepainterThreadand shutdown renderingExecutorService.
-
showDebugTileOverlay
public DebugTilingOverlay showDebugTileOverlay()
Display overlay to show how the display is tiled for rendering. (For development and debugging purposes.)
-
-