33 #ifndef vtkImageSincInterpolator_h
34 #define vtkImageSincInterpolator_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);
123 void SetWindowParameter(
double parm);
141 void SetBlurFactors(
double x,
double y,
double z);
143 this->SetBlurFactors(f[0], f[1], f[2]); }
145 f[0] = this->BlurFactors[0];
146 f[1] = this->BlurFactors[1];
147 f[2] = this->BlurFactors[2]; }
160 void SetAntialiasing(
int antialiasing);
173 void SetRenormalization(
int renormalization);
192 const double matrix[16],
const int extent[6],
int newExtent[6],
195 const float matrix[16],
const int extent[6],
int newExtent[6],
233 virtual void BuildKernelLookupTable();
236 virtual void FreeKernelLookupTable();
240 float *KernelLookupTable[3];
244 double BlurFactors[3];
245 double LastBlurFactors[3];
interpolate data values from images
void SetWindowFunctionToBlackmanHarris4()
#define VTK_KAISER_WINDOW
double * GetBlurFactors()
void SetWindowFunctionToKaiser()
#define VTK_LANCZOS_WINDOW
void RenormalizationOff()
virtual void InternalDeepCopy(vtkAbstractImageInterpolator *obj)=0
virtual void InternalUpdate()=0
void UseWindowParameterOn()
#define VTK_NUTTALL_WINDOW
#define VTK_BLACKMAN_NUTTALL4
void SetWindowFunctionToBlackmanNuttall3()
a simple class to control print indentation
virtual void PrecomputeWeightsForExtent(const double matrix[16], const int extent[6], int checkExtent[6], vtkInterpolationWeights *&weights)
void SetWindowFunctionToBlackmanHarris3()
topologically and geometrically regular array of data
void GetBlurFactors(double f[3])
void SetWindowFunctionToBlackman()
virtual void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int))
virtual void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *))
#define VTKIMAGINGCORE_EXPORT
virtual bool IsSeparable()=0
void SetWindowFunctionToHamming()
void SetWindowFunctionToCosine()
#define VTK_BLACKMAN_HARRIS4
void SetWindowFunctionToNuttall()
void SetWindowFunctionToLanczos()
virtual void FreePrecomputedWeights(vtkInterpolationWeights *&weights)
#define VTK_BLACKMAN_WINDOW
#define VTK_BLACKMAN_HARRIS3
int GetUseWindowParameter()
void UseWindowParameterOff()
void SetWindowFunctionToBlackmanNuttall4()
#define VTK_HAMMING_WINDOW
void SetWindowFunctionToHann()
virtual void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_BLACKMAN_NUTTALL3
perform sinc interpolation on images
double GetWindowParameter()
virtual void ComputeSupportSize(const double matrix[16], int support[3])=0
void SetBlurFactors(const double f[3])
#define VTK_COSINE_WINDOW