Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitknnInteractivePointInteractor.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 mitknnInteractivePointInteractor_h
14 #define mitknnInteractivePointInteractor_h
15 
17 #include <mitkPoint.h>
18 
19 #include <optional>
20 
21 namespace mitk::nnInteractive
22 {
31  {
32  public:
34  ~PointInteractor() override;
35 
36  bool HasInteractions() const override;
37 
38  std::optional<Point3D> GetLastPoint() const;
39 
40  private:
41  void OnEnable() override;
42  void OnDisable() override;
43  void OnReset() override;
44 
45  class Impl;
46  std::unique_ptr<Impl> m_Impl;
47  };
48 }
49 
50 #endif
mitk::nnInteractive
Definition: mitknnInteractiveBoxInteractor.h:23
mitkPoint.h
MITKPYTHONSEGMENTATION_EXPORT
#define MITKPYTHONSEGMENTATION_EXPORT
Definition: MitkPythonSegmentationExports.h:15
mitk::nnInteractive::Interactor
Base class for all nnInteractive interactors.
Definition: mitknnInteractiveInteractor.h:57
mitknnInteractiveInteractor.h
mitk::nnInteractive::PointInteractor
nnInteractive interactor for placing individual points.
Definition: mitknnInteractivePointInteractor.h:30