CustusX
22.04-rc5
An IGT application
|
#include <quadratic_spline_fitter.hpp>
Public Member Functions | |
QuadraticSplineFitter () | |
QuadraticSplineFitter (std::vector< T > &points) | |
void | setPoints (std::vector< T > &points) |
std::vector< T > | compute_control_points () const |
Quadratic B-spline curve fitter This class computes the control points necessary to make a quadratic B-spline curve interpolating a known set of points.
Definition at line 13 of file quadratic_spline_fitter.hpp.
|
inline |
Default constructor
Definition at line 20 of file quadratic_spline_fitter.hpp.
|
inline |
Constructor
points | Points to interpolate |
Definition at line 28 of file quadratic_spline_fitter.hpp.
|
inline |
Compute the control points necessary to interpolate the points set by setPoints
Definition at line 48 of file quadratic_spline_fitter.hpp.
|
inline |
Set points to interpolate
points | points to interpolate |
Definition at line 37 of file quadratic_spline_fitter.hpp.