qwt_spline_cubic.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_CUBIC_H
11 #define QWT_SPLINE_CUBIC_H
12 
13 #include "qwt_global.h"
14 #include "qwt_spline.h"
15 
34 {
35  public:
37  virtual ~QwtSplineCubic();
38 
39  virtual uint locality() const QWT_OVERRIDE;
40 
41  virtual QPainterPath painterPath( const QPolygonF& ) const QWT_OVERRIDE;
42  virtual QVector< QLineF > bezierControlLines( const QPolygonF& points ) const QWT_OVERRIDE;
43 
44  // calculating the parametric equations
45  virtual QVector< QwtSplinePolynomial > polynomials( const QPolygonF& ) const QWT_OVERRIDE;
46  virtual QVector< double > slopes( const QPolygonF& ) const QWT_OVERRIDE;
47  virtual QVector< double > curvatures( const QPolygonF& ) const QWT_OVERRIDE;
48 
49  private:
50  class PrivateData;
52 };
53 
54 #endif
QwtSplineC2::polynomials
virtual QVector< QwtSplinePolynomial > polynomials(const QPolygonF &) const QWT_OVERRIDE
Calculate the interpolating polynomials for a non parametric spline.
Definition: qwt_spline.cpp:1381
QVector< QLineF >
qwt_global.h
QwtSplineC2::bezierControlLines
virtual QVector< QLineF > bezierControlLines(const QPolygonF &) const QWT_OVERRIDE
Interpolate a curve with Bezier curves.
Definition: qwt_spline.cpp:1270
QwtSplineC2::curvatures
virtual QVector< double > curvatures(const QPolygonF &) const =0
Find the second derivative at the control points.
QwtSpline::locality
virtual uint locality() const
Definition: qwt_spline.cpp:564
qwt_spline.h
QwtSplineC2::painterPath
virtual QPainterPath painterPath(const QPolygonF &) const QWT_OVERRIDE
Interpolate a curve with Bezier curves.
Definition: qwt_spline.cpp:1249
QwtSplineC2
Base class for spline interpolations providing a second order parametric continuity ( C2 ) between ad...
Definition: qwt_spline.h:267
QwtSplineCubic
A cubic spline.
Definition: qwt_spline_cubic.h:33
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition: qwt_global.h:53
QWT_EXPORT
#define QWT_EXPORT
Definition: qwt_global.h:38
QwtSpline::m_data
PrivateData * m_data
Definition: qwt_spline.h:183
QwtSplineC2::slopes
virtual QVector< double > slopes(const QPolygonF &) const QWT_OVERRIDE
Find the first derivative at the control points.
Definition: qwt_spline.cpp:1339
QwtSplineCubic::PrivateData
Definition: qwt_spline_cubic.cpp:958


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46