tomwer.gui.visualization.volume_viewer.VolumeViewerWindow.VolumeViewerWindow#
- class tomwer.gui.visualization.volume_viewer.VolumeViewerWindow.VolumeViewerWindow(*args, **kwargs)#
Window dedicated to the volume reconstruction summary. It add a toolbar common to the three plots.
- clear()#
- extendPlot(plot_name)#
- getDefaultColormap()#
- Return type:
Colormap
- initVolumePreview(*args, **kwargs)#
- isLoadingVolume()#
- Return type:
bool
- reset()#
Reset the widget: clear all plot and metadata
- setLoading(loading)#
Function to interrupt loading - when finished or failed.
- setLoadingVolume(loading_volume)#
- Return type:
None
- setLoadingVolumeOptionVisible(visible)#
- Return type:
None
- setSlicesAndMetadata(slices, metadata, volume_shape)#
Set the slices and metadata to be displayed in the window. :type slices:
dict[SliceTuple,ndarray] :param slices: a dictionary of slices to be displayed in the window. The key is a tuple of (axis, index) and the value is the slice data. :type metadata:dict:param metadata: a dictionary of metadata to be displayed in the window. :type volume_shape:tuple[int] :param volume_shape: the shape of the volume to be displayed in the window.
- setVolume(volume)#
- sigLoadVolume#
pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.