Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitknnInteractiveBoxInteractor.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 mitknnInteractiveBoxInteractor_h
14 #define mitknnInteractiveBoxInteractor_h
15 
17 
18 namespace mitk
19 {
20  class PlanarFigure;
21 }
22 
24 {
34  {
35  public:
36  BoxInteractor();
37  ~BoxInteractor() override;
38 
39  bool HasInteractions() const override;
40 
41  const PlanarFigure* GetLastBox() const;
42 
43  private:
44  void OnEnable() override;
45  void OnDisable() override;
46  void OnReset() override;
47 
48  class Impl;
49  std::unique_ptr<Impl> m_Impl;
50  };
51 }
52 
53 #endif
mitk::nnInteractive
Definition: mitknnInteractiveBoxInteractor.h:23
mitk::PlanarFigure
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons,...
Definition: mitkPlanarFigure.h:50
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
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::BoxInteractor
nnInteractive interactor for drawing rectangular boxes.
Definition: mitknnInteractiveBoxInteractor.h:33