17 #ifndef BOUNDINGSHAPECROPPER_H
18 #define BOUNDINGSHAPECROPPER_H
44 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
63 itkSetMacro(UseWholeInputRegion,
bool);
64 itkGetMacro(UseWholeInputRegion,
bool);
74 itkSetMacro(UseCropTimeStepOnly,
bool);
75 itkGetMacro(UseCropTimeStepOnly,
bool);
81 virtual const PixelType GetOutputPixelType();
86 virtual void GenerateInputRequestedRegion()
override;
87 virtual void GenerateOutputInformation()
override;
88 virtual void GenerateData()
override;
93 template <
typename TPixel,
unsigned int VImageDimension>
94 void CutImage(itk::Image<TPixel, VImageDimension> *inputItkImage,
int timeStep);
99 virtual void ComputeData(
mitk::Image *input3D,
int boTimeStep);
117 bool m_UseCropTimeStepOnly;
122 int m_CurrentTimeStep;
126 bool m_UseWholeInputRegion;
138 typedef itk::ImageRegion<5> RegionType;
144 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.