|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
A curve fitter using a spline interpolation 更多...
#include <qwt_spline_curve_fitter.h>
Public 成员函数 | |
| QwtSplineCurveFitter () | |
| Constructor | |
| ~QwtSplineCurveFitter () override | |
| Destructor | |
| void | setSpline (QwtSpline *) |
| Assign a spline | |
| const QwtSpline * | spline () const |
| Get the spline (const version) | |
| QwtSpline * | spline () |
| Get the spline (non-const version) | |
| virtual QPolygonF | fitCurve (const QPolygonF &) const override |
| Find a curve which has the best fit to a series of data points | |
| virtual QPainterPath | fitCurvePath (const QPolygonF &) const override |
| Find a curve path which has the best fit to a series of data points | |
Public 成员函数 继承自 QwtCurveFitter | |
| virtual | ~QwtCurveFitter () |
| Destructor | |
| Mode | mode () const |
| Get the preferred fitting mode | |
额外继承的成员函数 | |
Public 类型 继承自 QwtCurveFitter | |
| enum | Mode { Polygon , Path } |
| Preferred mode of the fitting algorithm 更多... | |
Protected 成员函数 继承自 QwtCurveFitter | |
| QwtCurveFitter (Mode mode) | |
| Constructor | |
A curve fitter using a spline interpolation
The default setting for the spline is a cardinal spline with uniform parametrization.
| QwtSplineCurveFitter::QwtSplineCurveFitter | ( | ) |
Constructor
Creates a spline curve fitter with a cardinal spline using uniform parametrization.
|
override |
Destructor
Deletes the internal spline object.
|
overridevirtual |
Find a curve which has the best fit to a series of data points
| points | Series of data points |
实现了 QwtCurveFitter.
|
overridevirtual |
Find a curve path which has the best fit to a series of data points
| points | Series of data points |
实现了 QwtCurveFitter.
| 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.
| spline | Spline |
| QwtSpline * QwtSplineCurveFitter::spline | ( | ) |
| const QwtSpline * QwtSplineCurveFitter::spline | ( | ) | const |