Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkBoundingObjectToSegmentationFilter.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 #ifndef mitkBoundingObjectToSegmentationFilter_h
13 #define mitkBoundingObjectToSegmentationFilter_h
14 
16 #include <mitkImageToImageFilter.h>
17 
19 
20 namespace mitk
21 {
38  {
39  public:
41  itkFactorylessNewMacro(Self);
42  itkCloneMacro(Self);
43 
52  void SetBoundingObject(mitk::BoundingObject::Pointer boundingObject);
53 
54  protected:
57 
58  void GenerateData() override;
59 
60  mitk::BoundingObjectGroup::Pointer m_boundingObjectGroup;
61 
62  }; // class
63 } // namespace
64 #endif
#define MITKALGORITHMSEXT_EXPORT
Converts a BoundingObject or BoundingObjectGroup into a binary segmentation image.
void SetBoundingObject(mitk::BoundingObject::Pointer boundingObject)
Set the bounding object to be rasterized into the segmentation.
mitkClassMacro(BoundingObjectToSegmentationFilter, ImageToImageFilter)
Superclass of all classes having one or more Images as input and generating Images as output.
Find image slices visible on a given plane.