A curve fitter using a spline interpolation.
More...
#include <qwt_spline_curve_fitter.h>
|
|
| QwtSplineCurveFitter () |
| | Constructor.
|
| |
|
virtual | ~QwtSplineCurveFitter () |
| | Destructor.
|
| |
| void | setSpline (QwtSpline *) |
| | Assign a spline.
|
| |
| const QwtSpline * | spline () const |
| |
| QwtSpline * | spline () |
| |
| virtual QPolygonF | fitCurve (const QPolygonF &) const QWT_OVERRIDE |
| | Find a curve which has the best fit to a series of data points.
|
| |
| virtual QPainterPath | fitCurvePath (const QPolygonF &) const QWT_OVERRIDE |
| | Find a curve path which has the best fit to a series of data points.
|
| |
|
virtual | ~QwtCurveFitter () |
| | Destructor.
|
| |
| Mode | mode () const |
| |
A curve fitter using a spline interpolation.
The default setting for the spline is a cardinal spline with uniform parametrization.
- See also
- QwtSpline, QwtSplineLocal
◆ fitCurve()
| QPolygonF QwtSplineCurveFitter::fitCurve |
( |
const QPolygonF & |
points | ) |
const |
|
virtual |
Find a curve which has the best fit to a series of data points.
- Parameters
-
| points | Series of data points |
- Returns
- Fitted Curve
- See also
- fitCurvePath()
Implements QwtCurveFitter.
◆ fitCurvePath()
| QPainterPath QwtSplineCurveFitter::fitCurvePath |
( |
const QPolygonF & |
points | ) |
const |
|
virtual |
Find a curve path which has the best fit to a series of data points.
- Parameters
-
| points | Series of data points |
- Returns
- Fitted Curve
- See also
- fitCurve()
Implements QwtCurveFitter.
◆ setSpline()
| void QwtSplineCurveFitter::setSpline |
( |
QwtSpline * |
spline | ) |
|
Assign a spline.
The spline needs to be allocated by new and will be deleted in the destructor of the fitter.
- Parameters
-
- See also
- spline()
◆ spline() [1/2]
◆ spline() [2/2]
| const QwtSpline * QwtSplineCurveFitter::spline |
( |
| ) |
const |
The documentation for this class was generated from the following files: