VTK: Imaging/Core/vtkGenericImageInterpolator.h Source File

| 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:
29 static vtkGenericImageInterpolator* New();
30 vtkTypeMacro(vtkGenericImageInterpolator, vtkImageInterpolator);
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
38 void Update() override;
39
40 protected:
41 vtkGenericImageInterpolator();
42 ~vtkGenericImageInterpolator() override;
43
45
48 void GetInterpolationFunc(
49 void (**doublefunc)(vtkInterpolationInfo*, const double[3], double*)) override;
50 void GetInterpolationFunc(
51 void (**floatfunc)(vtkInterpolationInfo*, const float[3], float*)) override;
53
55
58 void GetRowInterpolationFunc(
59 void (**doublefunc)(vtkInterpolationWeights*, int, int, int, double*, int)) override;
60 void GetRowInterpolationFunc(
61 void (**floatfunc)(vtkInterpolationWeights*, int, int, int, float*, int)) override;
63
64 private:
65 vtkGenericImageInterpolator(const vtkGenericImageInterpolator&) = delete;
66 void operator=(const vtkGenericImageInterpolator&) = delete;
67 };
68
69 VTK_ABI_NAMESPACE_END
70 #endif
vtkGenericImageInterpolator
interpolate data values from images using vtkGenericDataArray API
Definition: vtkGenericImageInterpolator.h:27
vtkGenericImageInterpolator::GetRowInterpolationFunc
void GetRowInterpolationFunc(void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int)) override
Get the row interpolation functions.
vtkGenericImageInterpolator::Update
void Update() override
Update the interpolator.
vtkGenericImageInterpolator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericImageInterpolator::GetInterpolationFunc
void GetInterpolationFunc(void(**floatfunc)(vtkInterpolationInfo *, const float[3], float *)) override
Get the interpolation functions.
vtkGenericImageInterpolator::~vtkGenericImageInterpolator
~vtkGenericImageInterpolator() override
vtkGenericImageInterpolator::vtkGenericImageInterpolator
vtkGenericImageInterpolator()
vtkGenericImageInterpolator::New
static vtkGenericImageInterpolator * New()
vtkGenericImageInterpolator::GetRowInterpolationFunc
void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int)) override
Get the row interpolation functions.
vtkGenericImageInterpolator::GetInterpolationFunc
void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *)) override
Get the interpolation functions.
vtkImageInterpolator
interpolate data values from images
Definition: vtkImageInterpolator.h:30
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInterpolationInfo
Definition: vtkImageInterpolatorInternals.h:18
vtkInterpolationWeights
Definition: vtkImageInterpolatorInternals.h:34
vtkImageInterpolator.h