Qwt Polar User's Guide 1.0.0
|
00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** 00002 * QwtPolar Widget Library 00003 * Copyright (C) 2008 Uwe Rathmann 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the Qwt License, Version 1.0 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 virtual QPolygonF fitCurve( const QPolygonF & ) const; 00034 00035 private: 00036 class PrivateData; 00037 PrivateData *d_data; 00038 }; 00039 00040 #endif