Utility widget that extends a QmitkRenderWindowWidget with window-specific controls.
More...
#include <QmitkRenderWindowUtilityWidget.h>
Utility widget that extends a QmitkRenderWindowWidget with window-specific controls.
It offers to select the viewing direction of the window, as well as a QmitkSliceNavigationWidget to scroll through the current view direction. In addition, it contains a QmitkSynchronizedNodeSelectionWidget that controls renderer-specific properties and shown nodes, as well as a synchronization-group selector to share this state with other render windows.
Definition at line 48 of file QmitkRenderWindowUtilityWidget.h.
◆ GroupSyncIndexType
◆ QmitkRenderWindowUtilityWidget()
| QmitkRenderWindowUtilityWidget::QmitkRenderWindowUtilityWidget |
( |
QWidget * |
parent = nullptr, |
|
|
QmitkRenderWindow * |
renderWindow = nullptr, |
|
|
mitk::DataStorage * |
dataStorage = nullptr |
|
) |
| |
◆ ~QmitkRenderWindowUtilityWidget()
| QmitkRenderWindowUtilityWidget::~QmitkRenderWindowUtilityWidget |
( |
| ) |
|
|
override |
◆ CreateNewSyncGroupRequested
Emitted when the user requests a new synchronization group via the '+' button. The owning multi widget allocates a free index and assigns this cell to it.
◆ GetNodeSelectionWidget()
◆ GetSyncGroup()
Returns the currently selected group index, or '-1' when the combobox holds no selection.
'-1' is returned only when no group has yet been registered with this widget (the combobox is empty – happens during initial construction before the first 'OnSyncGroupAdded' or 'SetSyncGroup'). After at least one group has been registered, the return value is always a valid group index >= 1.
◆ OnSyncGroupAdded
◆ SetDataSelection
| void QmitkRenderWindowUtilityWidget::SetDataSelection |
( |
const QList< mitk::DataNode::Pointer > & |
newSelection | ) |
|
|
signal |
◆ SetGeometry()
| void QmitkRenderWindowUtilityWidget::SetGeometry |
( |
const itk::EventObject & |
event | ) |
|
◆ SetSyncGroup()
Select the combobox row for the given synchronization group index.
- Parameters
-
| index | The 1-based group index. Must be >= 1 and must already be registered with this widget (i.e. 'OnSyncGroupAdded' has run for this index, or it was added by a prior 'SetSyncGroup'). |
- Precondition
- index >= 1 (otherwise mitk::Exception)
-
the group is present in this widget's combobox (otherwise mitk::Exception)
- Exceptions
-
◆ SyncGroupChanged
◆ SynchronizationToggled
◆ UpdateViewPlaneSelection
| void QmitkRenderWindowUtilityWidget::UpdateViewPlaneSelection |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following file: