67#ifndef vtkTupleInterpolator_h
68#define vtkTupleInterpolator_h
71#include "vtkRenderingCoreModule.h"
76VTK_ABI_NAMESPACE_BEGIN
131 void FillFromData(
int nb,
double* t,
double** data,
bool isSOADataArray =
false);
244 void RestoreTimedTuples(
const std::vector<double>& values,
int numComp);
250 void ReinitializeInterpolation(
int numComp);
a simple class to control print indentation
Defines a 1D piecewise function.
spline abstract class for interpolating splines
@ INTERPOLATION_TYPE_SPLINE
@ INTERPOLATION_TYPE_LINEAR
static vtkTupleInterpolator * New()
Instantiate the class.
virtual int GetNumberOfComponents()
Specify the number of tuple components to interpolate.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InterpolateTuple(double t, double tuple[])
Interpolate the list of tuples and determine a new tuple (i.e., fill in the tuple provided).
double GetMaximumT()
Obtain some information about the interpolation range.
std::vector< double > InterpolateTuple(double t)
vtkSpline * InterpolatingSpline
vtkPiecewiseFunction ** Linear
void SetNumberOfComponents(int numComp)
Specify the number of tuple components to interpolate.
void RemoveTuple(double t)
Delete the tuple at a particular parameter t.
void Initialize()
Reset the class so that it contains no (t,tuple) information.
void AddTuple(double t, double tuple[])
Add another tuple to the list of tuples to be interpolated.
void FillFromData(int nb, double *t, double **data, bool isSOADataArray=false)
Add all the tuples to the list of tuples in one time, and then sort them only once.
double GetMinimumT()
Obtain some information about the interpolation range.
~vtkTupleInterpolator() override
void SetInterpolationTypeToSpline()
Specify which type of function to use for interpolation.
void SetTimedTuples(const std::vector< double > &values)
Get/Set all (t, tuple) samples as a flat interleaved array: t0, c0_0, ..., c0_{n-1}...
void InitializeInterpolation()
std::vector< double > GetTimedTuples() const
Get/Set all (t, tuple) samples as a flat interleaved array: t0, c0_0, ..., c0_{n-1}...
void SetInterpolatingSpline(vtkSpline *)
If the InterpolationType is set to spline, then this method applies.
void SetInterpolationType(int type)
Specify which type of function to use for interpolation.
void SetInterpolationTypeToLinear()
Specify which type of function to use for interpolation.
int GetNumberOfTuples()
Return the number of tuples in the list of tuples to be interpolated.
#define VTK_SIZEHINT(...)