source: ntrip/trunk/BNC/qwtpolar/qwt_polar_fitter.h@ 9448

Last change on this file since 9448 was 4272, checked in by mervart, 13 years ago
File size: 1.0 KB
RevLine 
[4272]1/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2 * QwtPolar Widget Library
3 * Copyright (C) 2008 Uwe Rathmann
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the Qwt License, Version 1.0
7 *****************************************************************************/
8
9#ifndef QWT_POLAR_FITTER_H
10#define QWT_POLAR_FITTER_H
11
12#include "qwt_polar_global.h"
13#include <qwt_curve_fitter.h>
14
15/*!
16 \brief A simple curve fitter for polar points
17
18 QwtPolarFitter adds equidistant points between 2 curve points,
19 so that the connection gets rounded according to the nature of
20 a polar plot.
21
22 \sa QwtPolarCurve::setCurveFitter()
23*/
24class QWT_POLAR_EXPORT QwtPolarFitter: public QwtCurveFitter
25{
26public:
27 QwtPolarFitter( int stepCount = 5 );
28 virtual ~QwtPolarFitter();
29
30 void setStepCount( int size );
31 int stepCount() const;
32
33 virtual QPolygonF fitCurve( const QPolygonF & ) const;
34
35private:
36 class PrivateData;
37 PrivateData *d_data;
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.