Qwt User's Guide 6.3.0
|
A simple curve fitter for polar points. More...
#include <qwt_polar_fitter.h>
Public Member Functions | |
QwtPolarFitter (int stepCount=5) | |
virtual | ~QwtPolarFitter () |
Destructor. | |
void | setStepCount (int size) |
int | stepCount () const |
virtual QPolygonF | fitCurve (const QPolygonF &) const override |
virtual QPainterPath | fitCurvePath (const QPolygonF &) const override |
Public Member Functions inherited from QwtCurveFitter | |
virtual | ~QwtCurveFitter () |
Destructor. | |
Mode | mode () const |
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) | |
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.
Definition at line 24 of file qwt_polar_fitter.h.
QwtPolarFitter::QwtPolarFitter | ( | int | stepCount = 5 | ) |
Constructor
stepCount | Number of points, that will be inserted between 2 points |
Definition at line 30 of file qwt_polar_fitter.cpp.
|
virtual |
Destructor.
Definition at line 38 of file qwt_polar_fitter.cpp.
|
overridevirtual |
Insert stepCount() number of additional points between 2 elements of points.
points | Array of points |
Implements QwtCurveFitter.
Definition at line 72 of file qwt_polar_fitter.cpp.
|
overridevirtual |
points | Series of data points |
Implements QwtCurveFitter.
Definition at line 110 of file qwt_polar_fitter.cpp.
void QwtPolarFitter::setStepCount | ( | int | stepCount | ) |
Assign the number of points, that will be inserted between 2 points The default value is 5.
stepCount | Number of steps |
Definition at line 51 of file qwt_polar_fitter.cpp.
int QwtPolarFitter::stepCount | ( | ) | const |
Definition at line 60 of file qwt_polar_fitter.cpp.