Medical Imaging Interaction Toolkit  2026.06.00
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 {
39  {
40  public:
42  itkFactorylessNewMacro(Self);
43  itkCloneMacro(Self);
44 
47 
50 
52  const char *GetName() const override;
53 
54  protected:
56  void PrepareFilling(const Image* workingSlice, Point3D seedPoint) override;
57 
58  FillRegionTool() = default; // purposely hidden
59  ~FillRegionTool() = default;
60  };
61 
62 } // namespace
63 
64 #endif
#define MITKSEGMENTATION_EXPORT
Base class for tools that fill a connected region of a 2D slice.
Fill a connected region with the active label's pixel value.
us::ModuleResource GetCursorIconResource() const override
Return the cursor icon resource for this tool.
~FillRegionTool()=default
us::ModuleResource GetIconResource() const override
Return the toolbar icon resource for this tool.
mitkClassMacro(FillRegionTool, FillRegionBaseTool)
FillRegionTool()=default
void PrepareFilling(const Image *workingSlice, Point3D seedPoint) override
Configure fill parameters to use the active label value with merge style.
const char * GetName() const override
Return the human-readable name of this tool ("Fill").
Image class for storing multi-dimensional medical image data.
Definition: mitkImage.h:76
Represents a resource (text file, image, etc.) embedded in a CppMicroServices module.
Find image slices visible on a given plane.