18 #ifndef itkExtractOrthogonalSwath2DImageFilter_h
19 #define itkExtractOrthogonalSwath2DImageFilter_h
42 template <
typename TImage>
79 static constexpr
unsigned int PathDimension = 2;
80 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
89 SetSpacing(
const double * spacing);
92 SetSpacing(
const float * spacing);
94 virtual const double *
102 SetOrigin(
const double * origin);
105 SetOrigin(
const float * origin);
107 virtual const double *
136 m_Size[1] = 16 * 2 + 1;
137 m_Origin[0] = m_Origin[1] = 0.0;
138 m_Spacing[0] = m_Spacing[1] = 1.0;
143 PrintSelf(std::ostream & os,
Indent indent)
const override;
150 GenerateOutputInformation()
override;
156 Superclass::GenerateInputRequestedRegion();
157 this->GetNonConstImageInput()->SetRequestedRegionToLargestPossibleRegion();
158 this->GetNonConstPathInput()->SetRequestedRegionToLargestPossibleRegion();
163 GenerateData()
override;
171 double m_Origin[ImageDimension]{};
172 double m_Spacing[ImageDimension]{};
176 #ifndef ITK_MANUAL_INSTANTIATION
177 # include "itkExtractOrthogonalSwath2DImageFilter.hxx"