33 #ifndef __vtkImageSincInterpolator_h
34 #define __vtkImageSincInterpolator_h
38 #define VTK_LANCZOS_WINDOW 0
39 #define VTK_KAISER_WINDOW 1
40 #define VTK_COSINE_WINDOW 2
41 #define VTK_HANN_WINDOW 3
42 #define VTK_HAMMING_WINDOW 4
43 #define VTK_BLACKMAN_WINDOW 5
44 #define VTK_BLACKMAN_HARRIS3 6
45 #define VTK_BLACKMAN_HARRIS4 7
46 #define VTK_NUTTALL_WINDOW 8
47 #define VTK_BLACKMAN_NUTTALL3 9
48 #define VTK_BLACKMAN_NUTTALL4 10
49 #define VTK_SINC_KERNEL_SIZE_MAX 32
69 virtual void SetWindowFunction(
int mode);
93 virtual const char *GetWindowFunctionAsString();
102 void SetWindowHalfWidth(
int n);
109 void SetUseWindowParameter(
int val);
121 void SetWindowParameter(
double parm);
139 void SetBlurFactors(
double x,
double y,
double z);
141 this->SetBlurFactors(f[0], f[1], f[2]); }
143 f[0] = this->BlurFactors[0];
144 f[1] = this->BlurFactors[1];
145 f[2] = this->BlurFactors[2]; }
158 void SetAntialiasing(
int antialiasing);
171 void SetRenormalization(
int antialiasing);
190 const double matrix[16],
const int extent[6],
int newExtent[6],
193 const float matrix[16],
const int extent[6],
int newExtent[6],
231 virtual void BuildKernelLookupTable();
234 virtual void FreeKernelLookupTable();
238 float *KernelLookupTable[3];
242 double BlurFactors[3];
243 double LastBlurFactors[3];