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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:18