Medical Imaging Interaction Toolkit  2023.12.99-29da53b2
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 (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 #ifndef QmitkEditPointDialog_h
14 #define QmitkEditPointDialog_h
15 
17 
18 #include <QDialog>
19 #include <mitkPointSet.h>
20 
21 struct QmitkEditPointDialogData;
22 
28 {
29  Q_OBJECT
30 
31 public:
32  QmitkEditPointDialog(QWidget *parent = nullptr, Qt::WindowFlags f = {});
33  ~QmitkEditPointDialog() override;
34 
35  void SetPoint(mitk::PointSet *_PointSet, mitk::PointSet::PointIdentifier _PointId, int timestep = 0);
36 
37 protected slots:
38  void OnOkButtonClicked(bool);
39 
40 protected:
41  QmitkEditPointDialogData *d;
42 };
43 
44 #endif
mitk::PointSet::PointIdentifier
DataType::PointIdentifier PointIdentifier
Definition: mitkPointSet.h:129
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition: MitkQtWidgetsExtExports.h:15
QmitkEditPointDialog::d
QmitkEditPointDialogData * d
Definition: QmitkEditPointDialog.h:41
mitkPointSet.h
QmitkEditPointDialog
A dialog for editing points directly (coordinates) via TextEdits.
Definition: QmitkEditPointDialog.h:27
MitkQtWidgetsExtExports.h
mitk::PointSet
Data structure which stores a set of points.
Definition: mitkPointSet.h:71