Go to the documentation of this file.
44 #ifndef vtkTupleInterpolator_h
45 #define vtkTupleInterpolator_h
47 #include "vtkRenderingCoreModule.h"
71 vtkGetMacro(NumberOfComponents,
int);
121 enum {INTERPOLATION_TYPE_LINEAR=0,
122 INTERPOLATION_TYPE_SPLINE
137 vtkGetMacro(InterpolationType,
int);
139 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
141 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
vtkPiecewiseFunction ** Linear
void Initialize()
Reset the class so that it contains no (t,tuple) information.
void SetInterpolatingSpline(vtkSpline *)
If the InterpolationType is set to spline, then this method applies.
abstract base class for most VTK objects
static vtkTupleInterpolator * New()
Instantiate the class.
void SetInterpolationTypeToSpline()
int GetNumberOfTuples()
Return the number of tuples in the list of tuples to be interpolated.
void SetNumberOfComponents(int numComp)
Specify the number of tuple components to interpolate.
double GetMinimumT()
Obtain some information about the interpolation range.
void SetInterpolationType(int type)
Specify which type of function to use for interpolation.
a simple class to control print indentation
void RemoveTuple(double t)
Delete the tuple at a particular parameter t.
spline abstract class for interpolating splines
void InitializeInterpolation()
void InterpolateTuple(double t, double tuple[])
Interpolate the list of tuples and determine a new tuple (i.e., fill in the tuple provided).
Defines a 1D piecewise function.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInterpolationTypeToLinear()
interpolate a tuple of arbitrary size
void AddTuple(double t, double tuple[])
Add another tuple to the list of tuples to be interpolated.
~vtkTupleInterpolator() override
vtkSpline * InterpolatingSpline