18 #ifndef itkExtractOrthogonalSwath2DImageFilter_h
19 #define itkExtractOrthogonalSwath2DImageFilter_h
41 template<
typename TImage >
77 itkStaticConstMacro(PathDimension,
unsigned int,
79 itkStaticConstMacro(ImageDimension,
unsigned int,
80 TImage::ImageDimension);
89 virtual void SetSpacing(
const double *spacing);
91 virtual void SetSpacing(
const float *spacing);
93 virtual const double * GetSpacing()
const;
99 virtual void SetOrigin(
const double *origin);
101 virtual void SetOrigin(
const float *origin);
103 virtual const double * GetOrigin()
const;
117 virtual
void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE
119 output->SetRequestedRegionToLargestPossibleRegion();
130 m_Size[1] = 16 * 2 + 1;
131 m_Origin[0] = m_Origin[1] = 0.0;
132 m_Spacing[0] = m_Spacing[1] = 1.0;
136 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
142 virtual void GenerateOutputInformation(
void) ITK_OVERRIDE;
145 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE
147 Superclass::GenerateInputRequestedRegion();
148 this->GetNonConstImageInput()->SetRequestedRegionToLargestPossibleRegion();
149 this->GetNonConstPathInput()->SetRequestedRegionToLargestPossibleRegion();
153 virtual void GenerateData(
void) ITK_OVERRIDE;
163 double m_Origin[ImageDimension];
164 double m_Spacing[ImageDimension];
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "itkExtractOrthogonalSwath2DImageFilter.hxx"
Light weight base class for most itk classes.
Superclass::OutputType OutputType
Represent the size (bounds) of a n-dimensional image.
Superclass::InputType InputType
Base class for filters that take both a path and an image as input and produce a path as output...
A templated class holding a point in n-Dimensional image space.
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType