3rdparty
qwt
src
qwt_spline_local.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_SPLINE_LOCAL_H
11
#define QWT_SPLINE_LOCAL_H
12
13
#include "
qwt_global.h
"
14
#include "
qwt_spline.h
"
15
24
class
QWT_EXPORT
QwtSplineLocal
:
public
QwtSplineC1
25
{
26
public
:
34
enum
Type
35
{
42
Cardinal,
43
48
ParabolicBlending,
49
53
Akima,
54
62
PChip
63
};
64
65
QwtSplineLocal
(
Type
type
);
66
virtual
~
QwtSplineLocal
();
67
68
Type
type
()
const
;
69
70
virtual
uint
locality
() const
QWT_OVERRIDE
;
71
72
virtual QPainterPath painterPath( const QPolygonF& ) const
QWT_OVERRIDE
;
73
virtual
QVector
< QLineF > bezierControlLines( const QPolygonF& ) const
QWT_OVERRIDE
;
74
75
// calculating the parametric equations
76
virtual
QVector
<
QwtSplinePolynomial
> polynomials( const QPolygonF& ) const
QWT_OVERRIDE
;
77
virtual
QVector
<
double
> slopes( const QPolygonF& ) const
QWT_OVERRIDE
;
78
79
private:
80
const
Type
m_type;
81
};
82
83
#endif
backward::ColorMode::type
type
Definition:
backward.hpp:3600
QwtSplinePolynomial
A cubic polynomial without constant term.
Definition:
qwt_spline_polynomial.h:30
QVector
Definition:
qwt_clipper.h:23
qwt_global.h
QwtTriangle::Type
Type
Definition:
qwt_symbol.cpp:32
QwtSpline::locality
virtual uint locality() const
Definition:
qwt_spline.cpp:564
QwtSplineLocal
A spline with C1 continuity.
Definition:
qwt_spline_local.h:24
qwt_spline.h
QwtSplineC1
Base class for spline interpolations providing a first order parametric continuity ( C1 ) between adj...
Definition:
qwt_spline.h:235
QwtSplineLocal::Type
Type
Spline interpolation type.
Definition:
qwt_spline_local.h:41
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 Mon Nov 11 2024 03:23:46