18 #ifndef __itkExtractOrthogonalSwath2DImageFilter_h
19 #define __itkExtractOrthogonalSwath2DImageFilter_h
41 template<
class 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)
119 output->SetRequestedRegionToLargestPossibleRegion();
129 m_Size[1] = 16 * 2 + 1;
130 m_Origin[0] = m_Origin[1] = 0.0;
131 m_Spacing[0] = m_Spacing[1] = 1.0;
135 void PrintSelf(std::ostream & os,
Indent indent)
const;
141 virtual void GenerateOutputInformation(
void);
144 virtual void GenerateInputRequestedRegion()
146 Superclass::GenerateInputRequestedRegion();
147 (
const_cast< ImageType *
>( this->GetImageInput() ) )->
148 SetRequestedRegionToLargestPossibleRegion();
149 (
const_cast< PathType *
>( this->GetPathInput() ) )->
150 SetRequestedRegionToLargestPossibleRegion();
154 virtual void GenerateData(
void);
160 void operator=(
const Self &);
164 double m_Origin[ImageDimension];
165 double m_Spacing[ImageDimension];
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkExtractOrthogonalSwath2DImageFilter.hxx"