Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
3rdparty
qwt
src
qwt_weeding_curve_fitter.h
Go to the documentation of this file.
1
/******************************************************************************
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_WEEDING_CURVE_FITTER_H
11
#define QWT_WEEDING_CURVE_FITTER_H
12
13
#include "
qwt_curve_fitter.h
"
14
38
class
QWT_EXPORT
QwtWeedingCurveFitter
:
public
QwtCurveFitter
39
{
40
public
:
41
explicit
QwtWeedingCurveFitter
(
double
tolerance = 1.0 );
42
virtual
~
QwtWeedingCurveFitter
();
43
44
void
setTolerance(
double
);
45
double
tolerance()
const
;
46
47
void
setChunkSize( uint );
48
uint chunkSize()
const
;
49
50
virtual
QPolygonF
fitCurve
(
const
QPolygonF& )
const
QWT_OVERRIDE
;
51
virtual
QPainterPath
fitCurvePath
(
const
QPolygonF& )
const
QWT_OVERRIDE
;
52
53
private
:
54
virtual
QPolygonF simplify(
const
QPolygonF& )
const
;
55
56
class
Line
;
57
58
class
PrivateData
;
59
PrivateData
* m_data;
60
};
61
62
#endif
QwtWeedingCurveFitter::PrivateData
Definition:
qwt_weeding_curve_fitter.cpp:18
QwtWeedingCurveFitter::Line
Definition:
qwt_weeding_curve_fitter.cpp:31
QwtWeedingCurveFitter
A curve fitter implementing Douglas and Peucker algorithm.
Definition:
qwt_weeding_curve_fitter.h:38
QwtCurveFitter::fitCurve
virtual QPolygonF fitCurve(const QPolygonF &polygon) const =0
QwtCurveFitter
Abstract base class for a curve fitter.
Definition:
qwt_curve_fitter.h:21
qwt_curve_fitter.h
QwtCurveFitter::fitCurvePath
virtual QPainterPath fitCurvePath(const QPolygonF &polygon) const =0
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition:
qwt_global.h:53
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:25