00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef QWT_POLAR_FITTER_H
00010 #define QWT_POLAR_FITTER_H
00011
00012 #include "qwt_polar_global.h"
00013 #include "qwt_curve_fitter.h"
00014
00024 class QWT_POLAR_EXPORT QwtPolarFitter: public QwtCurveFitter
00025 {
00026 public:
00027 QwtPolarFitter(int stepCount = 5);
00028 virtual ~QwtPolarFitter();
00029
00030 void setStepCount(int size);
00031 int stepCount() const;
00032
00033 #if QT_VERSION < 0x040000
00034 virtual QwtArray<QwtDoublePoint> fitCurve(
00035 const QwtArray<QwtDoublePoint> &) const;
00036 #else
00037 virtual QPolygonF fitCurve(const QPolygonF &) const;
00038 #endif
00039
00040 private:
00041 class PrivateData;
00042 PrivateData *d_data;
00043 };
00044
00045 #endif