VTK  9.3.20240424
vtkGenericImageInterpolator.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
19#ifndef vtkGenericImageInterpolator_h
20#define vtkGenericImageInterpolator_h
21
23#include "vtkImagingCoreModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26class VTKIMAGINGCORE_EXPORT vtkGenericImageInterpolator : public vtkImageInterpolator
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
38 void Update() override;
39
40protected:
43
45
49 void (**doublefunc)(vtkInterpolationInfo*, const double[3], double*)) override;
51 void (**floatfunc)(vtkInterpolationInfo*, const float[3], float*)) override;
53
55
59 void (**doublefunc)(vtkInterpolationWeights*, int, int, int, double*, int)) override;
61 void (**floatfunc)(vtkInterpolationWeights*, int, int, int, float*, int)) override;
63
64private:
66 void operator=(const vtkGenericImageInterpolator&) = delete;
67};
68
69VTK_ABI_NAMESPACE_END
70#endif
interpolate data values from images using vtkGenericDataArray API
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.
interpolate data values from images
a simple class to control print indentation
Definition vtkIndent.h:108