Widget for configuring the visual evaluation settings of a registration result.
More...
#include <QmitkRegEvalSettingsWidget.h>
|
| std::unique_ptr< Ui::QmitkRegEvalSettingsWidget > | m_Controls |
| |
Widget for configuring the visual evaluation settings of a registration result.
This widget allows the user to configure how a registration evaluation object (mitk::RegEvaluationObject) is visualized. It supports several evaluation styles defined by mitk::RegEvalStyleProperty, including:
- Blend: adjustable opacity blending between target and moving images
- Checkerboard: configurable grid count
- Wipe: cross, horizontal, or vertical wipe styles
- Contour: target or moving contour overlay
The widget reads and writes properties directly on the configured mitk::DataNode, and emits SettingsChanged whenever a property is modified by the user.
- See also
- mitk::RegEvaluationObject, mitk::RegEvalStyleProperty, mitk::RegEvalWipeStyleProperty
Definition at line 45 of file QmitkRegEvalSettingsWidget.h.
◆ QmitkRegEvalSettingsWidget()
| QmitkRegEvalSettingsWidget::QmitkRegEvalSettingsWidget |
( |
QWidget * |
parent = nullptr | ) |
|
Constructs the registration evaluation settings widget.
- Parameters
-
| [in] | parent | Optional parent widget. |
◆ ~QmitkRegEvalSettingsWidget()
| QmitkRegEvalSettingsWidget::~QmitkRegEvalSettingsWidget |
( |
| ) |
|
|
override |
◆ ConfigureControls()
| void QmitkRegEvalSettingsWidget::ConfigureControls |
( |
| ) |
|
Configures the UI controls according to the properties of the currently selected node.
Reads the evaluation style, blend factor, checker count, and contour style from the node's properties and updates all controls accordingly. If no node is set, the style-specific control groups are hidden.
◆ OnBlend50Pushed
| void QmitkRegEvalSettingsWidget::OnBlend50Pushed |
( |
| ) |
|
|
protectedslot |
◆ OnBlendMovingPushed
| void QmitkRegEvalSettingsWidget::OnBlendMovingPushed |
( |
| ) |
|
|
protectedslot |
◆ OnBlendTargetPushed
| void QmitkRegEvalSettingsWidget::OnBlendTargetPushed |
( |
| ) |
|
|
protectedslot |
◆ OnBlendTogglePushed
| void QmitkRegEvalSettingsWidget::OnBlendTogglePushed |
( |
| ) |
|
|
protectedslot |
◆ OnComboStyleChanged
| void QmitkRegEvalSettingsWidget::OnComboStyleChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ OnContourStyleChanged
| void QmitkRegEvalSettingsWidget::OnContourStyleChanged |
( |
| ) |
|
|
protectedslot |
◆ OnSlideBlendChanged
| void QmitkRegEvalSettingsWidget::OnSlideBlendChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ OnSpinBlendChanged
| void QmitkRegEvalSettingsWidget::OnSpinBlendChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ OnSpinCheckerChanged
| void QmitkRegEvalSettingsWidget::OnSpinCheckerChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ OnWipeStyleChanged
| void QmitkRegEvalSettingsWidget::OnWipeStyleChanged |
( |
| ) |
|
|
protectedslot |
◆ SetNode
Sets the data node whose evaluation properties should be configured.
If the node differs from the currently set node, the widget is reconfigured via ConfigureControls().
- Parameters
-
| [in] | node | Pointer to the evaluation data node. May be nullptr to clear. |
◆ SettingsChanged
| void QmitkRegEvalSettingsWidget::SettingsChanged |
( |
mitk::DataNode * |
node | ) |
|
|
signal |
Emitted whenever a user-initiated change modifies an evaluation property on the node.
- Parameters
-
| [in] | node | Pointer to the data node whose properties were changed. |
◆ m_Controls
| std::unique_ptr<Ui::QmitkRegEvalSettingsWidget> QmitkRegEvalSettingsWidget::m_Controls |
|
protected |
The documentation for this class was generated from the following file: