13 #ifndef mitkBoundingShapeCropper_h
14 #define mitkBoundingShapeCropper_h
40 itkFactorylessNewMacro(
Self);
60 itkSetMacro(UseWholeInputRegion,
bool);
61 itkGetMacro(UseWholeInputRegion,
bool);
71 itkSetMacro(UseCropTimeStepOnly,
bool);
72 itkGetMacro(UseCropTimeStepOnly,
bool);
78 virtual const PixelType GetOutputPixelType();
83 void GenerateInputRequestedRegion()
override;
84 void GenerateOutputInformation()
override;
85 void GenerateData()
override;
90 template <
typename TPixel,
unsigned int VImageDimension>
91 void CutImage(itk::Image<TPixel, VImageDimension> *inputItkImage,
int timeStep);
96 virtual void ComputeData(
mitk::Image *input3D,
int boTimeStep);
114 bool m_UseCropTimeStepOnly;
119 int m_CurrentTimeStep;
123 bool m_UseWholeInputRegion;
135 typedef itk::ImageRegion<5> RegionType;
141 itk::TimeStamp m_TimeOfHeaderInitialization;