Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkFillRegionTool.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 mitkFillRegionTool_h
14 #define mitkFillRegionTool_h
15 
16 #include "mitkFillRegionBaseTool.h"
18 
19 namespace us
20 {
21  class ModuleResource;
22 }
23 
24 namespace mitk
25 {
41  {
42  public:
44  itkFactorylessNewMacro(Self);
45  itkCloneMacro(Self);
46 
47  const char **GetXPM() const override;
48  us::ModuleResource GetCursorIconResource() const override;
49  us::ModuleResource GetIconResource() const override;
50 
51  const char *GetName() const override;
52 
53  protected:
54  void PrepareFilling(const Image* workingSlice, Point3D seedPoint) override;
55 
56  FillRegionTool() = default; // purposely hidden
57  ~FillRegionTool() = default;
58  };
59 
60 } // namespace
61 
62 #endif
mitk::FillRegionBaseTool
Base class for tools that fill a connected region of a 2D slice.
Definition: mitkFillRegionBaseTool.h:41
us
Definition: mitkAbstractFileReader.h:29
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
mitkFillRegionBaseTool.h
mitk::FillRegionTool
Fill the inside of a contour with the foreground pixel value.
Definition: mitkFillRegionTool.h:40
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::EventStateMachine
‍**
Definition: mitkEventStateMachine.h:111
mitk::Point< ScalarType, 3 >
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
us::ModuleResource
Definition: usModuleResource.h:55
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h