Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitknnInteractiveScribbleInteractor.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 mitknnInteractiveScribbleInteractor_h
14 #define mitknnInteractiveScribbleInteractor_h
15 
17 
18 namespace mitk
19 {
20  class Image;
21 }
22 
23 namespace mitk::nnInteractive
24 {
33  {
34  public:
36  ~ScribbleInteractor() override;
37 
38  bool HasInteractions() const override;
39 
40  const Image* GetLastScribbleMask() const;
41 
42  private:
43  void OnSetToolManager() override;
44  void OnHandleEvent(InteractionEvent* event) override;
45  void OnEnable() override;
46  void OnDisable() override;
47  void OnReset() override;
48 
49  class Impl;
50  std::unique_ptr<Impl> m_Impl;
51  };
52 }
53 
54 #endif
mitk::InteractionEvent
Definition: mitkInteractionEvent.h:26
mitk::nnInteractive
Definition: mitknnInteractiveBoxInteractor.h:23
mitk::nnInteractive::ScribbleInteractor
nnInteractive interactor for freehand brushstrokes.
Definition: mitknnInteractiveScribbleInteractor.h:32
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
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
itk::Image
class ITK_EXPORT Image
Definition: mitkGeometryClipImageFilter.h:25
mitknnInteractiveInteractor.h