13 #ifndef BOUNDINGSHAPECROPPER_H 14 #define BOUNDINGSHAPECROPPER_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;
#define MITKBOUNDINGSHAPE_EXPORT
Crops or masks an Boundingbox defined by GeometryData out of an mitk Image.
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
itk::ImageRegion< RegionDimension > RegionType
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
Superclass of all classes having one or more Images as input and generating Images as output...
Data class only having a BaseGeometry but not containing any specific data.
Class for defining the data type of pixels.