VTK  9.3.1
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 
22 #include "vtkImageInterpolator.h"
23 #include "vtkImagingCoreModule.h" // For export macro
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class VTKIMAGINGCORE_EXPORT vtkGenericImageInterpolator : public vtkImageInterpolator
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
38  void Update() override;
39 
40 protected:
42  ~vtkGenericImageInterpolator() override;
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 
64 private:
66  void operator=(const vtkGenericImageInterpolator&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #endif
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void Update()
Update the interpolator.
interpolate data values from images
static vtkImageInterpolator * New()
interpolate data values from images using vtkGenericDataArray API