Medical Imaging Interaction Toolkit  2025.12.02
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
#define MITKPYTHONSEGMENTATION_EXPORT
Image class for storing images.
Definition: mitkImage.h:70
Base class for all nnInteractive interactors.
nnInteractive interactor for drawing contours.
bool HasInteractions() const override
Checks whether any interactions have occurred.
const Image * GetLastLassoMask() const
class ITK_EXPORT Image
Find image slices visible on a given plane.