CustusX  22.04-rc5
An IGT application
QuadraticSplineFitter< T > Class Template Reference

#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
 

Detailed Description

template<typename T>
class QuadraticSplineFitter< T >

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.

Constructor & Destructor Documentation

template<typename T>
QuadraticSplineFitter< T >::QuadraticSplineFitter ( )
inline

Default constructor

Definition at line 20 of file quadratic_spline_fitter.hpp.

template<typename T>
QuadraticSplineFitter< T >::QuadraticSplineFitter ( std::vector< T > &  points)
inline

Constructor

Parameters
pointsPoints to interpolate

Definition at line 28 of file quadratic_spline_fitter.hpp.

Member Function Documentation

template<typename T>
std::vector<T> QuadraticSplineFitter< T >::compute_control_points ( ) const
inline

Compute the control points necessary to interpolate the points set by setPoints

Returns
the control points

Definition at line 48 of file quadratic_spline_fitter.hpp.

template<typename T>
void QuadraticSplineFitter< T >::setPoints ( std::vector< T > &  points)
inline

Set points to interpolate

Parameters
pointspoints to interpolate

Definition at line 37 of file quadratic_spline_fitter.hpp.


The documentation for this class was generated from the following file: