13 #ifndef mitkBoundingObjectCutter_h
14 #define mitkBoundingObjectCutter_h
38 itkFactorylessNewMacro(
Self);
51 itkSetMacro(UseInsideValue,
bool);
52 itkGetMacro(UseInsideValue,
bool);
53 itkBooleanMacro(UseInsideValue);
57 itkSetMacro(AutoOutsideValue,
bool);
58 itkGetMacro(AutoOutsideValue,
bool);
59 itkBooleanMacro(AutoOutsideValue);
61 itkGetMacro(InsidePixelCount,
unsigned int);
62 itkGetMacro(OutsidePixelCount,
unsigned int);
64 itkSetMacro(UseWholeInputRegion,
bool);
65 itkGetMacro(UseWholeInputRegion,
bool);
71 virtual const PixelType GetOutputPixelType();
73 void GenerateInputRequestedRegion()
override;
74 void GenerateOutputInformation()
override;
75 void GenerateData()
override;
77 template <
typename TPixel,
unsigned int VImageDimension,
typename TOutputPixel>
78 friend void CutImageWithOutputTypeSelect(itk::Image<TPixel, VImageDimension> *inputItkImage,
82 template <
typename TPixel,
unsigned int VImageDimension,
typename TOutputPixel>
83 friend void CutImageWithOutputTypeSelect(itk::VectorImage<TPixel, VImageDimension> *inputItkImage,
87 template <
typename TPixel,
unsigned int VImageDimension>
88 friend void CutImage(itk::Image<TPixel, VImageDimension> *itkImage,
91 template <
typename TPixel,
unsigned int VImageDimension>
92 friend void CutImage(itk::VectorImage<TPixel, VImageDimension> *itkImage,
95 virtual void ComputeData(
mitk::Image *input3D,
int boTimeStep);