Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
3rdparty
qwt
src
qwt_curve_fitter.h
Go to the documentation of this file.
1
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2
* Qwt Widget Library
3
* Copyright (C) 1997 Josef Wilgen
4
* Copyright (C) 2002 Uwe Rathmann
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the Qwt License, Version 1.0
8
*****************************************************************************/
9
10
#ifndef QWT_CURVE_FITTER_H
11
#define QWT_CURVE_FITTER_H
12
13
#include "
qwt_global.h
"
14
15
class
QPainterPath;
16
class
QPolygonF;
17
21
class
QWT_EXPORT
QwtCurveFitter
22
{
23
public
:
32
enum
Mode
33
{
40
Polygon
,
41
48
Path
49
};
50
51
virtual
~
QwtCurveFitter
();
52
53
Mode
mode()
const
;
54
63
virtual
QPolygonF fitCurve(
const
QPolygonF &polygon )
const
= 0;
64
73
virtual
QPainterPath fitCurvePath(
const
QPolygonF &polygon )
const
= 0;
74
75
protected
:
76
explicit
QwtCurveFitter
(
Mode
mode );
77
78
private
:
79
Q_DISABLE_COPY(
QwtCurveFitter
)
80
81
const
Mode
d_mode;
82
};
83
84
#endif
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
qwt_global.h
QwtCurveFitter::Polygon
Definition:
qwt_curve_fitter.h:40
QwtCurveFitter
Abstract base class for a curve fitter.
Definition:
qwt_curve_fitter.h:21
QwtCurveFitter::Mode
Mode
Preferred mode of the fitting algorithm.
Definition:
qwt_curve_fitter.h:32
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:10