A simple curve fitter for polar points. More...
#include <qwt_polar_fitter.h>
Classes | |
class | PrivateData |
Public Member Functions | |
virtual QPolygonF | fitCurve (const QPolygonF &) const QWT_OVERRIDE |
virtual QPainterPath | fitCurvePath (const QPolygonF &) const QWT_OVERRIDE |
QwtPolarFitter (int stepCount=5) | |
void | setStepCount (int size) |
int | stepCount () const |
virtual | ~QwtPolarFitter () |
Destructor. More... | |
Public Member Functions inherited from QwtCurveFitter | |
Mode | mode () const |
virtual | ~QwtCurveFitter () |
Destructor. More... | |
Private Attributes | |
PrivateData * | d_data |
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.
|
virtual |
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.
|
virtual |
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.
|
private |
Definition at line 37 of file qwt_polar_fitter.h.