43 #ifndef __vtkTupleInterpolator_h
44 #define __vtkTupleInterpolator_h
46 #include "vtkRenderingCoreModule.h"
65 void SetNumberOfComponents(
int numComp);
66 vtkGetMacro(NumberOfComponents,
int);
70 int GetNumberOfTuples();
88 void AddTuple(
double t,
double tuple[]);
92 void RemoveTuple(
double t);
98 void InterpolateTuple(
double t,
double tuple[]);
103 enum {INTERPOLATION_TYPE_LINEAR=0,
104 INTERPOLATION_TYPE_SPLINE
118 void SetInterpolationType(
int type);
119 vtkGetMacro(InterpolationType,
int);
120 void SetInterpolationTypeToLinear()
121 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
122 void SetInterpolationTypeToSpline()
123 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
134 vtkGetObjectMacro(InterpolatingSpline,
vtkSpline);
151 void InitializeInterpolation();