Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitknnInteractiveLassoInteractor.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 mitknnInteractiveLassoInteractor_h
14 #define mitknnInteractiveLassoInteractor_h
15 
17 
18 namespace mitk
19 {
20  class Image;
21 }
22 
23 namespace mitk::nnInteractive
24 {
34  {
35  public:
37  ~LassoInteractor() override;
38 
39  bool HasInteractions() const override;
40 
41  const Image* GetLastLassoMask() const;
42 
43  private:
44  void OnSetToolManager() override;
45  void OnHandleEvent(InteractionEvent* event) override;
46  void OnEnable() override;
47  void OnDisable() override;
48  void OnReset() override;
49 
50  class Impl;
51  std::unique_ptr<Impl> m_Impl;
52  };
53 }
54 
55 #endif
mitk::InteractionEvent
Definition: mitkInteractionEvent.h:26
mitk::nnInteractive
Definition: mitknnInteractiveBoxInteractor.h:23
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::LassoInteractor
nnInteractive interactor for drawing contours.
Definition: mitknnInteractiveLassoInteractor.h:33
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