43 #ifndef __vtkTupleInterpolator_h
44 #define __vtkTupleInterpolator_h
64 void SetNumberOfComponents(
int numComp);
65 vtkGetMacro(NumberOfComponents,
int);
69 int GetNumberOfTuples();
87 void AddTuple(
double t,
double tuple[]);
91 void RemoveTuple(
double t);
97 void InterpolateTuple(
double t,
double tuple[]);
102 enum {INTERPOLATION_TYPE_LINEAR=0,
103 INTERPOLATION_TYPE_SPLINE
117 void SetInterpolationType(
int type);
118 vtkGetMacro(InterpolationType,
int);
120 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
122 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
133 vtkGetObjectMacro(InterpolatingSpline,
vtkSpline);
150 void InitializeInterpolation();
abstract base class for most VTK objects
Defines a 1D piecewise function.
vtkSpline * InterpolatingSpline
interpolate a tuple of arbitray size
void SetInterpolationTypeToSpline()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
void SetInterpolationTypeToLinear()
spline abstract class for interpolating splines
vtkPiecewiseFunction ** Linear