Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkAddContourTool.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 mitkAddContourTool_h
14 #define mitkAddContourTool_h
15 
16 #include "mitkContourTool.h"
18 
19 namespace us
20 {
21  class ModuleResource;
22 }
23 
24 namespace mitk
25 {
46  {
47  public:
49  itkFactorylessNewMacro(Self);
50  itkCloneMacro(Self);
51 
52  const char **GetXPM() const override;
53  us::ModuleResource GetCursorIconResource() const override;
54  us::ModuleResource GetIconResource() const override;
55 
56  const char *GetName() const override;
57 
58  protected:
59  AddContourTool(); // purposely hidden
60  ~AddContourTool() override;
61 
62  void OnInvertLogic(StateMachineAction* action, InteractionEvent* event) override;
63  };
64 
65 } // namespace
66 
67 #endif
mitk::InteractionEvent
Definition: mitkInteractionEvent.h:26
us
Definition: mitkAbstractFileReader.h:29
mitkContourTool.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ContourTool
Simple contour filling tool.
Definition: mitkContourTool.h:46
mitk::EventStateMachine
‍**
Definition: mitkEventStateMachine.h:111
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
us::ModuleResource
Definition: usModuleResource.h:55
mitk::AddContourTool
Fill the inside of a contour with 1.
Definition: mitkAddContourTool.h:45
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