|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
A simple curve fitter for polar points. More...
#include <qwt_polar_fitter.h>
Classes | |
| class | PrivateData |
Public Member Functions | |
| 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 Member Functions inherited from QwtCurveFitter | |
| virtual | ~QwtCurveFitter () |
| Destructor. | |
| Mode | mode () const |
| Get the preferred fitting mode. | |
Additional Inherited Members | |
Public Types inherited from QwtCurveFitter | |
| enum | Mode { Polygon , Path } |
| Preferred mode of the fitting algorithm. More... | |
Protected Member Functions inherited from 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 |
Implements QwtCurveFitter.
|
overridevirtual |
Fit a curve path.
Create a curve path from the data points.
| points | Series of data points |
Implements 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.