orangecontrib.tomwer.widgets.visualization.VolumeViewerOW.VolumeViewerOW#

class orangecontrib.tomwer.widgets.visualization.VolumeViewerOW.VolumeViewerOW(*args, captionTitle=None, **kwargs)#

Widget embedding a viewer to display reconstructed volume.

Several views are possible. One per axis or an ‘overall’ view (displaying the three axis in parallel).

By default this widget allow users to browse the volume along the ‘fast axis’ and will sample 3 slices along each axis that could be displayed. If users agrees on loading the full volume then browsing can be done along any direction.

class Inputs#
volume = Input(name='volume', type=<class 'object'>, handler='volume_ewoks_setter', ...)#
class Outputs#
loaded_volume = Output(name='loaded_volume', type=<class 'object'>, ...)#
slices = Output(name='slices', type=<class 'object'>, ...)#
volume_metadata = Output(name='volume_metadata', type=<class 'object'>, ...)#
volume_shape = Output(name='volume_shape', type=<class 'object'>, ...)#
default_inputs = Setting "None"#
description: str = 'Widget for browsing reconstructed volume.'#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of VolumeViewerTask

handleNewSignals()#

Invoked by the workflow signal propagation manager after all signals handlers have been called.

icon: str = 'icons/volumeviewer.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.visualization.VolumeViewerOW.VolumeViewerOW'#
keywords: Union[str, List[str]] = ['tomography', 'volume', 'tomwer', 'reconstruction', 'summary', 'slices', 'axis']#

Widget keywords, used for finding it in the quick menu.

loadSettings()#
name: str = 'volume viewer'#

Widget name, as presented in the Canvas.

priority: int = 31#

Widget priority, used for sorting within a category.

resizing_enabled = True#

Should the widget’s window be resizeable? (if not, the widget will derive a fixed size constraint from its layout)

settingsHandler: SettingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

task_output_changed()#

Called when the task output has changed

volume_ewoks_setter(value)#
want_control_area = False#

Should the widget construct a controlArea?

want_main_area = True#

Should the widget construct a mainArea? (a resizable area to the right of the controlArea)