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 'tomwer.core.volume.volumebase.TomwerVolumeBase'>, <class 'str'>), handler='volume_ewoks_input_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 = 'Widget for browsing reconstructed volume.'#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of VolumeViewerTask

handleNewSignals()#

Handle new signals. In other widgets inheriting from EwoksWidget we overwrite this function to ignore any processing triggered. And we overwrite the signal to make sure the ewoks “execute_task” is called. But here display the volume is an “end node” and does not propagate the signal we are not force to do it. We can ignore the orange signal compression mechanism.

icon = 'icons/volumeviewer.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.visualization.VolumeViewerOW.VolumeViewerOW'#
keywords = ['tomography', 'volume', 'tomwer', 'reconstruction', 'summary', 'slices']#

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

loadSettings()#
name = 'volume viewer'#

Widget name, as presented in the Canvas.

priority = 31#

Widget priority, used for sorting within a category.

settingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

task_output_changed()#

Default callback invoked when task output changed.

Subclasses may override to react to this event.

volume_ewoks_input_setter(value)#