VTK  9.2.6
vtkGenericImageInterpolator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkGenericImageInterpolator.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
30
31#ifndef vtkGenericImageInterpolator_h
32#define vtkGenericImageInterpolator_h
33
35#include "vtkImagingCoreModule.h" // For export macro
36
37class VTKIMAGINGCORE_EXPORT vtkGenericImageInterpolator : public vtkImageInterpolator
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
49 void Update() override;
50
51protected:
54
56
60 void (**doublefunc)(vtkInterpolationInfo*, const double[3], double*)) override;
62 void (**floatfunc)(vtkInterpolationInfo*, const float[3], float*)) override;
64
66
70 void (**doublefunc)(vtkInterpolationWeights*, int, int, int, double*, int)) override;
72 void (**floatfunc)(vtkInterpolationWeights*, int, int, int, float*, int)) override;
74
75private:
77 void operator=(const vtkGenericImageInterpolator&) = delete;
78};
79
80#endif
void GetRowInterpolationFunc(void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int)) override
Get the row interpolation functions.
void Update() override
Update the interpolator.
static vtkGenericImageInterpolator * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetInterpolationFunc(void(**floatfunc)(vtkInterpolationInfo *, const float[3], float *)) override
Get the interpolation functions.
~vtkGenericImageInterpolator() override
void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int)) override
Get the row interpolation functions.
void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *)) override
Get the interpolation functions.
a simple class to control print indentation
Definition vtkIndent.h:40