Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkErasePaintbrushTool.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 mitkErasePaintbrushTool_h
14 #define mitkErasePaintbrushTool_h
15 
16 #include "mitkPaintbrushTool.h"
18 
19 namespace us
20 {
21  class ModuleResource;
22 }
23 
24 namespace mitk
25 {
43  {
44  public:
46  itkFactorylessNewMacro(Self);
47  itkCloneMacro(Self);
48 
49  const char **GetXPM() const override;
50  us::ModuleResource GetCursorIconResource() const override;
51  us::ModuleResource GetIconResource() const override;
52 
53  const char *GetName() const override;
54 
55  protected:
56  ErasePaintbrushTool(); // purposely hidden
57  ~ErasePaintbrushTool() override;
58 
59  void OnInvertLogic(StateMachineAction* action, InteractionEvent* event) override;
60  };
61 
62 } // namespace
63 
64 #endif
mitk::ErasePaintbrushTool
Paintbrush tool for InteractiveSegmentation.
Definition: mitkErasePaintbrushTool.h:42
mitk::InteractionEvent
Definition: mitkInteractionEvent.h:26
us
Definition: mitkAbstractFileReader.h:29
mitkPaintbrushTool.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::EventStateMachine
‍**
Definition: mitkEventStateMachine.h:111
mitk::PaintbrushTool
Paintbrush tool for InteractiveSegmentation.
Definition: mitkPaintbrushTool.h:41
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
us::ModuleResource
Definition: usModuleResource.h:55
mitk::StateMachineAction
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Definition: mitkStateMachineAction.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h