|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
A simple curve fitter for polar points 更多...
#include <qwt_polar_fitter.h>
类 | |
| class | PrivateData |
Public 成员函数 | |
| QwtPolarFitter (int stepCount=5) | |
| Constructor | |
| ~QwtPolarFitter () override | |
| Destructor | |
| void | setStepCount (int size) |
| Set the step count | |
| int | stepCount () const |
| Get the step count | |
| virtual QPolygonF | fitCurve (const QPolygonF &) const override |
| Fit a curve | |
| virtual QPainterPath | fitCurvePath (const QPolygonF &) const override |
| Fit a curve path | |
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 simple curve fitter for polar points
QwtPolarFitter adds equidistant points between 2 curve points, so that the connection gets rounded according to the nature of a polar plot.
| QwtPolarFitter::QwtPolarFitter | ( | int | stepCount = 5 | ) |
Constructor
| stepCount | Number of points that will be inserted between 2 points |
Destructor
|
overridevirtual |
Fit a curve
Insert stepCount() number of additional points between 2 elements of points
| points | Array of points |
实现了 QwtCurveFitter.
|
overridevirtual |
Fit a curve path
Create a curve path from the data points
| points | Series of data points |
实现了 QwtCurveFitter.
| void QwtPolarFitter::setStepCount | ( | int | stepCount | ) |
Set the step count
Assign the number of points that will be inserted between 2 points
The default value is 5.
| stepCount | Number of steps |
| int QwtPolarFitter::stepCount | ( | ) | const |
Get the step count
Get the number of points that will be inserted between 2 points