#include <SplineApproximator.h>
Inheritance diagram for Go::SplineApproximator:
Public Member Functions | |
SplineApproximator () | |
Constructor takes no arguments. | |
virtual | ~SplineApproximator () |
Virtual destructor ensures safe inheritance. | |
virtual const BsplineBasis & | basis () |
after the function interpolate() has been successfully run, this function can be called to get the BsplineBasis of the generated curve. | |
virtual void | interpolate (int num_points, int dimension, const double *param_start, const double *data_start, std::vector< double > &coefs) |
The interpolating function, as inherited by Interpolator. | |
void | setNumCoefs (int num) |
Specify the number of basis functions / control points to use in the approximating curve. | |
void | setSplineSpace (const BsplineBasis &basis) |
Directly specify the spline space in which to search for the approximating function. |
Definition at line 50 of file SplineApproximator.h.
virtual const BsplineBasis& Go::SplineApproximator::basis | ( | ) | [virtual] |
after the function interpolate() has been successfully run, this function can be called to get the BsplineBasis of the generated curve.
Implements Go::Interpolator.
Referenced by setSplineSpace().
virtual void Go::SplineApproximator::interpolate | ( | int | num_points, | |
int | dimension, | |||
const double * | param_start, | |||
const double * | data_start, | |||
std::vector< double > & | coefs | |||
) | [virtual] |
The interpolating function, as inherited by Interpolator.
Prior to calling this function, the user must have specified:
Implements Go::Interpolator.