18 #ifndef __itkResampleImageFilter_h
19 #define __itkResampleImageFilter_h
83 template<
class TInputImage,
85 class TInterpolatorPrecisionType =
double >
110 itkStaticConstMacro(ImageDimension,
unsigned int,
111 TOutputImage::ImageDimension);
112 itkStaticConstMacro(InputImageDimension,
unsigned int,
113 TInputImage::ImageDimension);
122 typedef Transform< TInterpolatorPrecisionType,
123 itkGetStaticConstMacro(ImageDimension),
215 itkSetMacro(DefaultPixelValue,
PixelType);
216 itkGetConstReferenceMacro(DefaultPixelValue,
PixelType);
221 virtual void SetOutputSpacing(
const double *values);
225 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
229 virtual void SetOutputOrigin(
const double *values);
241 void SetOutputParametersFromImage(
const ImageBaseType *image);
245 itkSetMacro(OutputStartIndex,
IndexType);
248 itkGetConstReferenceMacro(OutputStartIndex,
IndexType);
255 void SetReferenceImage(
const TOutputImage *image);
257 const TOutputImage * GetReferenceImage()
const;
259 itkSetMacro(UseReferenceImage,
bool);
260 itkBooleanMacro(UseReferenceImage);
261 itkGetConstMacro(UseReferenceImage,
bool);
268 virtual void GenerateOutputInformation();
275 virtual void GenerateInputRequestedRegion();
279 virtual void BeforeThreadedGenerateData();
283 virtual void AfterThreadedGenerateData();
288 #ifdef ITK_USE_CONCEPT_CHECKING
299 void PrintSelf(std::ostream & os,
Indent indent)
const;
318 virtual void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
323 virtual void NonlinearThreadedGenerateData(
const OutputImageRegionType &
324 outputRegionForThread,
330 virtual void LinearThreadedGenerateData(
const OutputImageRegionType &
331 outputRegionForThread,
334 virtual PixelType CastPixelWithBoundsChecking(
const InterpolatorOutputType value,
335 const ComponentType minComponent,
336 const ComponentType maxComponent)
const;
340 void operator=(
const Self &);
360 #ifndef ITK_MANUAL_INSTANTIATION
361 #include "itkResampleImageFilter.hxx"