Medical Imaging Interaction Toolkit  2026.06.00
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 
33 {
34  Q_OBJECT
35 
36 public:
42  QmitkEditPointDialog(QWidget *parent = nullptr, Qt::WindowFlags f = {});
43 
46 
56  void SetPoint(mitk::PointSet *_PointSet, mitk::PointSet::PointIdentifier _PointId, int timestep = 0);
57 
58 protected slots:
59  void OnOkButtonClicked(bool);
60 
61 protected:
62  QmitkEditPointDialogData *d;
63 };
64 
65 #endif
#define MITKQTWIDGETSEXT_EXPORT
A dialog for editing 3D point coordinates via text input fields.
void OnOkButtonClicked(bool)
void SetPoint(mitk::PointSet *_PointSet, mitk::PointSet::PointIdentifier _PointId, int timestep=0)
Set the point to edit.
QmitkEditPointDialogData * d
QmitkEditPointDialog(QWidget *parent=nullptr, Qt::WindowFlags f={})
Construct the edit point dialog.
~QmitkEditPointDialog() override
Destructor.
Data structure which stores a set of points.
Definition: mitkPointSet.h:71
DataType::PointIdentifier PointIdentifier
Definition: mitkPointSet.h:143