Widget that displays model fit parameter values at multiple world coordinate positions.
More...
#include <QmitkFitParameterWidget.h>
|
| using | FitVectorType = std::vector< mitk::modelFit::ModelFitInfo::ConstPointer > |
| | Vector type holding const pointers to ModelFitInfo instances. More...
|
| |
Widget that displays model fit parameter values at multiple world coordinate positions.
This widget presents the parameters of all configured ModelFitInfo instances in a table view, evaluated at the current world position and any additional bookmark positions. It provides buttons to export the displayed data as CSV to the system clipboard or to a file.
Internally, it delegates to a QmitkFitParameterModel for data handling.
- See also
- QmitkFitParameterModel
-
mitk::modelFit::ModelFitInfo
Definition at line 45 of file QmitkFitParameterWidget.h.
◆ FitVectorType
◆ QmitkFitParameterWidget()
| QmitkFitParameterWidget::QmitkFitParameterWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~QmitkFitParameterWidget()
| QmitkFitParameterWidget::~QmitkFitParameterWidget |
( |
| ) |
|
|
override |
◆ getCurrentPosition()
| mitk::Point3D QmitkFitParameterWidget::getCurrentPosition |
( |
| ) |
const |
Returns the current world coordinate position used for value lookup.
- Returns
- The current 3D position.
◆ getFits()
Returns the currently configured model fit info instances.
- Returns
- Const reference to the vector of ModelFitInfo pointers.
◆ getPositionBookmarks()
| const mitk::PointSet* QmitkFitParameterWidget::getPositionBookmarks |
( |
| ) |
const |
Returns the point set used as position bookmarks.
- Returns
- Pointer to the bookmark PointSet, or nullptr if none is set.
◆ OnClipboardResultsButtonClicked
| void QmitkFitParameterWidget::OnClipboardResultsButtonClicked |
( |
| ) |
const |
|
protectedslot |
Copies the parameter table contents as CSV text to the system clipboard.
◆ OnExportClicked
| void QmitkFitParameterWidget::OnExportClicked |
( |
| ) |
const |
|
protectedslot |
Exports the parameter table to a user-selected CSV file.
Opens a file dialog for the user to choose a destination. If the file cannot be created or opened, an error message is shown.
◆ setCurrentPosition
| void QmitkFitParameterWidget::setCurrentPosition |
( |
const mitk::Point3D & |
currentPos | ) |
|
|
slot |
Sets the current world coordinate position for parameter value lookup.
- Parameters
-
| [in] | currentPos | The new 3D world position. |
◆ setFits
| void QmitkFitParameterWidget::setFits |
( |
const FitVectorType & |
fits | ) |
|
|
slot |
Sets the model fit info instances to display.
- Parameters
-
| [in] | fits | Vector of ModelFitInfo pointers. |
◆ setPositionBookmarks
| void QmitkFitParameterWidget::setPositionBookmarks |
( |
const mitk::PointSet * |
bookmarks | ) |
|
|
slot |
Sets the point set used as position bookmarks.
- Parameters
-
| [in] | bookmarks | Pointer to a PointSet of bookmark positions, or nullptr to clear. |
◆ streamModelToString()
| std::string QmitkFitParameterWidget::streamModelToString |
( |
| ) |
const |
|
protected |
Serializes the internal model data to a CSV-formatted string.
- Returns
- The model content as a CSV string.
◆ m_Controls
| std::unique_ptr<Ui::QmitkFitParameterWidget> QmitkFitParameterWidget::m_Controls |
|
protected |
◆ m_InternalModel
The documentation for this class was generated from the following file: