Medical Imaging Interaction Toolkit  2025.12.02
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
#define MITKPYTHONSEGMENTATION_EXPORT
Base class for all nnInteractive interactors.
nnInteractive interactor for placing individual points.
bool HasInteractions() const override
Checks whether any interactions have occurred.
std::optional< Point3D > GetLastPoint() const