VTK  9.1.0
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 =========================================================================*/
28 #ifndef vtkGenericImageInterpolator_h
29 #define vtkGenericImageInterpolator_h
30 
31 #include "vtkImageInterpolator.h"
32 #include "vtkImagingCoreModule.h" // For export macro
33 
34 class VTKIMAGINGCORE_EXPORT vtkGenericImageInterpolator : public vtkImageInterpolator
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
46  void Update() override;
47 
48 protected:
51 
53 
57  void (**doublefunc)(vtkInterpolationInfo*, const double[3], double*)) override;
59  void (**floatfunc)(vtkInterpolationInfo*, const float[3], float*)) override;
61 
63 
67  void (**doublefunc)(vtkInterpolationWeights*, int, int, int, double*, int)) override;
69  void (**floatfunc)(vtkInterpolationWeights*, int, int, int, float*, int)) override;
71 
72 private:
74  void operator=(const vtkGenericImageInterpolator&) = delete;
75 };
76 
77 #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.
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
static vtkGenericImageInterpolator * New()
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:34