35 #ifndef vtkTupleInterpolator_h
36 #define vtkTupleInterpolator_h
39 #include "vtkRenderingCoreModule.h"
41 VTK_ABI_NAMESPACE_BEGIN
61 void SetNumberOfComponents(
int numComp);
62 vtkGetMacro(NumberOfComponents,
int);
69 int GetNumberOfTuples();
94 void FillFromData(
int nb,
double* t,
double**
data,
bool isSOADataArray =
false);
102 void AddTuple(
double t,
double tuple[]);
108 void RemoveTuple(
double t);
116 void InterpolateTuple(
double t,
double tuple[]);
123 INTERPOLATION_TYPE_LINEAR = 0,
124 INTERPOLATION_TYPE_SPLINE
138 void SetInterpolationType(
int type);
139 vtkGetMacro(InterpolationType,
int);
154 vtkGetObjectMacro(InterpolatingSpline,
vtkSpline);
171 void InitializeInterpolation();
180 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Defines a 1D piecewise function.
vtkSpline * InterpolatingSpline
interpolate a tuple of arbitrary size
void SetInterpolationTypeToSpline()
Specify which type of function to use for interpolation.
a simple class to control print indentation
void SetInterpolationTypeToLinear()
Specify which type of function to use for interpolation.
spline abstract class for interpolating splines
vtkPiecewiseFunction ** Linear
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...