 |
VTK
9.0.1
|
Go to the documentation of this file.
31 #ifndef vtkImageSincInterpolator_h
32 #define vtkImageSincInterpolator_h
35 #include "vtkImagingCoreModule.h"
37 #define VTK_LANCZOS_WINDOW 0
38 #define VTK_KAISER_WINDOW 1
39 #define VTK_COSINE_WINDOW 2
40 #define VTK_HANN_WINDOW 3
41 #define VTK_HAMMING_WINDOW 4
42 #define VTK_BLACKMAN_WINDOW 5
43 #define VTK_BLACKMAN_HARRIS3 6
44 #define VTK_BLACKMAN_HARRIS4 7
45 #define VTK_NUTTALL_WINDOW 8
46 #define VTK_BLACKMAN_NUTTALL3 9
47 #define VTK_BLACKMAN_NUTTALL4 10
48 #define VTK_SINC_KERNEL_SIZE_MAX 32
69 virtual void SetWindowFunction(
int mode);
82 virtual const char* GetWindowFunctionAsString();
92 void SetWindowHalfWidth(
int n);
99 void SetUseWindowParameter(
int val);
112 void SetWindowParameter(
double parm);
132 void SetBlurFactors(
double x,
double y,
double z);
136 f[0] = this->BlurFactors[0];
137 f[1] = this->BlurFactors[1];
138 f[2] = this->BlurFactors[2];
153 void SetAntialiasing(
int antialiasing);
165 void SetRenormalization(
int renormalization);
235 virtual void BuildKernelLookupTable();
240 virtual void FreeKernelLookupTable();
244 float* KernelLookupTable[3];
248 double BlurFactors[3];
249 double LastBlurFactors[3];
#define VTK_BLACKMAN_HARRIS4
void UseWindowParameterOn()
void SetBlurFactors(const double f[3])
virtual void FreePrecomputedWeights(vtkInterpolationWeights *&weights)
Free the weights that were provided by PrecomputeWeightsForExtent.
virtual void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int))
Get the row interpolation functions.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void SetWindowFunctionToCosine()
void SetWindowFunctionToNuttall()
#define VTK_BLACKMAN_NUTTALL4
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetWindowFunctionToBlackmanHarris4()
#define VTK_BLACKMAN_HARRIS3
void GetBlurFactors(double f[3])
virtual void InternalDeepCopy(vtkAbstractImageInterpolator *obj)=0
Subclass-specific copy.
#define VTK_COSINE_WINDOW
#define VTK_BLACKMAN_NUTTALL3
void UseWindowParameterOff()
#define VTK_SIZEHINT(...)
int GetUseWindowParameter()
double GetWindowParameter()
void SetWindowFunctionToHamming()
virtual void ComputeSupportSize(const double matrix[16], int support[3])=0
Get the support size for use in computing update extents.
#define VTK_LANCZOS_WINDOW
topologically and geometrically regular array of data
a simple class to control print indentation
#define VTK_KAISER_WINDOW
#define VTK_HAMMING_WINDOW
virtual void InternalUpdate()=0
Subclass-specific updates.
void SetWindowFunctionToBlackmanNuttall3()
void SetWindowFunctionToBlackmanHarris3()
void SetWindowFunctionToBlackman()
void SetWindowFunctionToBlackmanNuttall4()
void SetWindowFunctionToKaiser()
void SetWindowFunctionToLanczos()
virtual bool IsSeparable()=0
True if the interpolation is separable, which means that the weights can be precomputed in order to a...
virtual void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *))
Get the interpolation functions.
#define VTK_NUTTALL_WINDOW
void RenormalizationOff()
perform sinc interpolation on images
interpolate data values from images
virtual void PrecomputeWeightsForExtent(const double matrix[16], const int extent[6], int checkExtent[6], vtkInterpolationWeights *&weights)
If the data is going to be sampled on a regular grid, then the interpolation weights can be precomput...
void SetWindowFunctionToHann()
#define VTK_BLACKMAN_WINDOW
double * GetBlurFactors()