Loading...
Searching...
No Matches
qwt_spline_cubic.h
/******************************************************************************
* Qwt Widget Library
* Copyright (C) 1997 Josef Wilgen
* Copyright (C) 2002 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
*****************************************************************************/
#ifndef QWT_SPLINE_CUBIC_H
#define QWT_SPLINE_CUBIC_H
#include "qwt_global.h"
#include "qwt_spline.h"
class QWT_EXPORT QwtSplineCubic : public QwtSplineC2
{
public:
QwtSplineCubic();
virtual ~QwtSplineCubic();
virtual uint locality() const QWT_OVERRIDE;
virtual QPainterPath painterPath( const QPolygonF& ) const QWT_OVERRIDE;
virtual QVector< QLineF > bezierControlLines( const QPolygonF& points ) const QWT_OVERRIDE;
// calculating the parametric equations
virtual QVector< QwtSplinePolynomial > polynomials( const QPolygonF& ) const QWT_OVERRIDE;
virtual QVector< double > slopes( const QPolygonF& ) const QWT_OVERRIDE;
virtual QVector< double > curvatures( const QPolygonF& ) const QWT_OVERRIDE;
private:
class PrivateData;
PrivateData* m_data;
};
#endif
QVector< QLineF >
QwtSplineC2
Base class for spline interpolations providing a second order parametric continuity ( C2 ) between ad...
Definition qwt_spline.h:268
QwtSplineC2::slopes
virtual QVector< double > slopes(const QPolygonF &) const override
Find the first derivative at the control points.
Definition qwt_spline.cpp:1339
QwtSplineC2::curvatures
virtual QVector< double > curvatures(const QPolygonF &) const =0
Find the second derivative at the control points.
QwtSplineC2::bezierControlLines
virtual QVector< QLineF > bezierControlLines(const QPolygonF &) const override
Interpolate a curve with Bezier curves.
Definition qwt_spline.cpp:1270
QwtSplineC2::polynomials
virtual QVector< QwtSplinePolynomial > polynomials(const QPolygonF &) const override
Calculate the interpolating polynomials for a non parametric spline.
Definition qwt_spline.cpp:1381
QwtSplineC2::painterPath
virtual QPainterPath painterPath(const QPolygonF &) const override
Interpolate a curve with Bezier curves.
Definition qwt_spline.cpp:1249
QwtSplineCubic
A cubic spline.
Definition qwt_spline_cubic.h:34
QwtSpline::locality
virtual uint locality() const
Definition qwt_spline.cpp:564