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),
219 itkSetMacro(DefaultPixelValue,
PixelType);
222 itkGetConstReferenceMacro(DefaultPixelValue,
PixelType);
226 virtual void SetOutputSpacing(
const double *values);
230 itkGetConstReferenceMacro(OutputSpacing,
SpacingType);
234 virtual void SetOutputOrigin(
const double *values);
246 void SetOutputParametersFromImage(
const ImageBaseType *image);
250 itkSetMacro(OutputStartIndex,
IndexType);
253 itkGetConstReferenceMacro(OutputStartIndex,
IndexType);
260 void SetReferenceImage(
const TOutputImage *image);
262 const TOutputImage * GetReferenceImage()
const;
264 itkSetMacro(UseReferenceImage,
bool);
265 itkBooleanMacro(UseReferenceImage);
266 itkGetConstMacro(UseReferenceImage,
bool);
273 virtual void GenerateOutputInformation();
280 virtual void GenerateInputRequestedRegion();
284 virtual void BeforeThreadedGenerateData();
288 virtual void AfterThreadedGenerateData();
293 #ifdef ITK_USE_CONCEPT_CHECKING
304 void PrintSelf(std::ostream & os,
Indent indent)
const;
323 virtual void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
328 virtual void NonlinearThreadedGenerateData(
const OutputImageRegionType &
329 outputRegionForThread,
335 virtual void LinearThreadedGenerateData(
const OutputImageRegionType &
336 outputRegionForThread,
339 virtual PixelType CastPixelWithBoundsChecking(
const InterpolatorOutputType value,
340 const ComponentType minComponent,
341 const ComponentType maxComponent)
const;
345 void operator=(
const Self &);
365 #ifndef ITK_MANUAL_INSTANTIATION
366 #include "itkResampleImageFilter.hxx"