Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 QMITK_INSPECTION_POSITION_WIDGET_H
15 #define QMITK_INSPECTION_POSITION_WIDGET_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 // QmitkInspectionPositionWidget_H
Ui::QmitkInspectionPositionWidget m_Controls
Data structure which stores a set of points. Superclass of mitk::Mesh.
Definition: mitkPointSet.h:75
Widget that allows manage the positions that should be used to inspect fits.
std::vector< mitk::modelFit::ModelFitInfo::ConstPointer > FitVectorType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57
#define MITKMODELFITUI_EXPORT