Qwt Polar User's Guide
0.1.0
Main Page
Related Pages
Classes
src
qwt_polar_fitter.h
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
24
class
QWT_POLAR_EXPORT
QwtPolarFitter
:
public
QwtCurveFitter
25
{
26
public
:
27
QwtPolarFitter
(
int
stepCount = 5);
28
virtual
~
QwtPolarFitter
();
29
30
void
setStepCount(
int
size);
31
int
stepCount()
const
;
32
33
#if QT_VERSION < 0x040000
34
virtual
QwtArray<QwtDoublePoint> fitCurve(
35
const
QwtArray<QwtDoublePoint> &)
const
;
36
#else
37
virtual
QPolygonF fitCurve(
const
QPolygonF &)
const
;
38
#endif
39
40
private
:
41
class
PrivateData;
42
PrivateData *d_data;
43
};
44
45
#endif
Generated by
1.8.1.2