Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkEditPointDialog.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkEditPointDialog_h
18 #define QmitkEditPointDialog_h
19 
21 
22 #include <QDialog>
23 #include <mitkPointSet.h>
24 
25 struct QmitkEditPointDialogData;
26 
32 {
33  Q_OBJECT
34 
35 public:
36  QmitkEditPointDialog(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr);
37  virtual ~QmitkEditPointDialog();
38 
39  void SetPoint(mitk::PointSet *_PointSet, mitk::PointSet::PointIdentifier _PointId, int timestep = 0);
40 
41 protected slots:
42  void OnOkButtonClicked(bool);
43 
44 protected:
45  QmitkEditPointDialogData *d;
46 };
47 
48 #endif
A dialog for editing points directly (coordinates) via TextEdits.
#define MITKQTWIDGETSEXT_EXPORT
QmitkEditPointDialogData * d
DataType::PointIdentifier PointIdentifier
Definition: mitkPointSet.h:135
Data structure which stores a set of points. Superclass of mitk::Mesh.
Definition: mitkPointSet.h:79