Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkInspectionPositionWidget.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef QmitkInspectionPositionWidget_h
15 #define QmitkInspectionPositionWidget_h
16 
17 #include "mitkModelFitInfo.h"
18 #include "mitkPointSet.h"
19 
20 #include "MitkModelFitUIExports.h"
21 
22 #include "ui_QmitkInspectionPositionWidget.h"
23 #include <QWidget>
24 
25 
27 
33 {
34  Q_OBJECT
35 
36 public:
37  using FitVectorType = std::vector<mitk::modelFit::ModelFitInfo::ConstPointer>;
38 
39  QmitkInspectionPositionWidget(QWidget* parent = nullptr);
41 
42  mitk::Point3D GetCurrentPosition() const;
43 
44  const mitk::PointSet* GetPositionBookmarks() const;
45 
47  void SetPositionBookmarkNode(mitk::DataNode *newNode);
48  mitk::DataNode *GetPositionBookmarkNode();
49 
50 public Q_SLOTS:
51 
52  void SetCurrentPosition(const mitk::Point3D& currentPos);
53  void OnPointListChanged();
54  void OnAddCurrentPositionClicked();
55 
56 Q_SIGNALS:
58  void PositionBookmarksChanged();
59 
60 protected:
61 
63 
64  Ui::QmitkInspectionPositionWidget m_Controls;
65 
66 };
67 
68 #endif
QmitkFitParameterModel
Definition: QmitkFitParameterModel.h:30
MITKMODELFITUI_EXPORT
#define MITKMODELFITUI_EXPORT
Definition: MitkModelFitUIExports.h:15
QmitkInspectionPositionWidget::m_Controls
Ui::QmitkInspectionPositionWidget m_Controls
Definition: QmitkInspectionPositionWidget.h:64
QmitkInspectionPositionWidget
Widget that allows manage the positions that should be used to inspect fits.
Definition: QmitkInspectionPositionWidget.h:32
mitkPointSet.h
mitk::Point< ScalarType, 3 >
mitkModelFitInfo.h
QmitkInspectionPositionWidget::m_CurrentPosition
mitk::Point3D m_CurrentPosition
Definition: QmitkInspectionPositionWidget.h:62
QmitkInspectionPositionWidget::FitVectorType
std::vector< mitk::modelFit::ModelFitInfo::ConstPointer > FitVectorType
Definition: QmitkInspectionPositionWidget.h:37
MitkModelFitUIExports.h
mitk::PointSet
Data structure which stores a set of points.
Definition: mitkPointSet.h:71
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63