44 #ifndef vtkTupleInterpolator_h 45 #define vtkTupleInterpolator_h 47 #include "vtkRenderingCoreModule.h" 70 void SetNumberOfComponents(
int numComp);
71 vtkGetMacro(NumberOfComponents,
int);
78 int GetNumberOfTuples();
102 void AddTuple(
double t,
double tuple[]);
108 void RemoveTuple(
double t);
116 void InterpolateTuple(
double t,
double tuple[]);
121 enum {INTERPOLATION_TYPE_LINEAR=0,
122 INTERPOLATION_TYPE_SPLINE
136 void SetInterpolationType(
int type);
137 vtkGetMacro(InterpolationType,
int);
139 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
141 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
154 vtkGetObjectMacro(InterpolatingSpline,
vtkSpline);
171 void InitializeInterpolation();
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...