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 =========================================================================*/
31 #ifndef vtkGenericImageInterpolator_h
32 #define vtkGenericImageInterpolator_h
33 
34 #include "vtkImageInterpolator.h"
35 #include "vtkImagingCoreModule.h" // For export macro
36 
37 class VTKIMAGINGCORE_EXPORT vtkGenericImageInterpolator : public vtkImageInterpolator
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
49  void Update() override;
50 
51 protected:
53  ~vtkGenericImageInterpolator() override;
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 
75 private:
77  void operator=(const vtkGenericImageInterpolator&) = delete;
78 };
79 
80 #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:39
virtual void Update()
Update the interpolator.
interpolate data values from images
static vtkImageInterpolator * New()
interpolate data values from images using vtkGenericDataArray API