33 #ifndef __vtkImageSincInterpolator_h
34 #define __vtkImageSincInterpolator_h
36 #include "vtkImagingCoreModule.h"
39 #define VTK_LANCZOS_WINDOW 0
40 #define VTK_KAISER_WINDOW 1
41 #define VTK_COSINE_WINDOW 2
42 #define VTK_HANN_WINDOW 3
43 #define VTK_HAMMING_WINDOW 4
44 #define VTK_BLACKMAN_WINDOW 5
45 #define VTK_BLACKMAN_HARRIS3 6
46 #define VTK_BLACKMAN_HARRIS4 7
47 #define VTK_NUTTALL_WINDOW 8
48 #define VTK_BLACKMAN_NUTTALL3 9
49 #define VTK_BLACKMAN_NUTTALL4 10
50 #define VTK_SINC_KERNEL_SIZE_MAX 32
70 virtual void SetWindowFunction(
int mode);
94 virtual const char *GetWindowFunctionAsString();
103 void SetWindowHalfWidth(
int n);
110 void SetUseWindowParameter(
int val);
122 void SetWindowParameter(
double parm);
140 void SetBlurFactors(
double x,
double y,
double z);
142 this->SetBlurFactors(f[0], f[1], f[2]); }
144 f[0] = this->BlurFactors[0];
145 f[1] = this->BlurFactors[1];
146 f[2] = this->BlurFactors[2]; }
159 void SetAntialiasing(
int antialiasing);
172 void SetRenormalization(
int antialiasing);
191 const double matrix[16],
const int extent[6],
int newExtent[6],
194 const float matrix[16],
const int extent[6],
int newExtent[6],
232 virtual void BuildKernelLookupTable();
235 virtual void FreeKernelLookupTable();
239 float *KernelLookupTable[3];
243 double BlurFactors[3];
244 double LastBlurFactors[3];