|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Base class for spline interpolations with C1 (first order parametric) continuity. More...
#include <qwt_spline.h>
Public Member Functions | |
| QwtSplineC1 () | |
| Constructor. | |
| virtual | ~QwtSplineC1 () |
| Destructor . | |
| virtual QPainterPath | painterPath (const QPolygonF &) const override |
| Calculate an interpolated painter path. | |
| virtual QVector< QLineF > | bezierControlLines (const QPolygonF &) const override |
| Interpolate a curve with Bezier curves. | |
| virtual QPolygonF | equidistantPolygon (const QPolygonF &, double distance, bool withNodes) const override |
| Find an interpolated polygon with "equidistant" points. | |
| virtual QVector< QwtSplinePolynomial > | polynomials (const QPolygonF &) const |
| Calculate the interpolating polynomials for a non-parametric spline. | |
| virtual QVector< double > | slopes (const QPolygonF &) const =0 |
| Find the first derivative at the control points. | |
| virtual double | slopeAtBeginning (const QPolygonF &, double slopeNext) const |
| Calculate the slope at the beginning of the spline. | |
| virtual double | slopeAtEnd (const QPolygonF &, double slopeBefore) const |
| Calculate the slope at the end of the spline. | |
Public Member Functions inherited from QwtSplineG1 | |
| QwtSplineG1 () | |
| Constructor . | |
| virtual | ~QwtSplineG1 () |
| Destructor . | |
Public Member Functions inherited from QwtSplineInterpolating | |
| QwtSplineInterpolating () | |
| Constructor . | |
| virtual | ~QwtSplineInterpolating () |
| Destructor . | |
| virtual QPolygonF | polygon (const QPolygonF &, double tolerance) const override |
| Interpolate a curve by a polygon. | |
Public Member Functions inherited from QwtSpline | |
| QwtSpline () | |
| Constructor. | |
| virtual | ~QwtSpline () |
| Destructor. | |
| void | setParametrization (int type) |
| Set parametrization by type. | |
| void | setParametrization (QwtSplineParametrization *) |
| Set parametrization object. | |
| const QwtSplineParametrization * | parametrization () const |
| Get parametrization. | |
| void | setBoundaryType (BoundaryType) |
| Set boundary type. | |
| BoundaryType | boundaryType () const |
| Get boundary type. | |
| void | setBoundaryValue (BoundaryPosition, double value) |
| Set boundary value. | |
| double | boundaryValue (BoundaryPosition) const |
| Get boundary value. | |
| void | setBoundaryCondition (BoundaryPosition, int condition) |
| Set boundary condition. | |
| int | boundaryCondition (BoundaryPosition) const |
| Get boundary condition. | |
| void | setBoundaryConditions (int condition, double valueBegin=0.0, double valueEnd=0.0) |
| Set boundary conditions for both ends. | |
| virtual uint | locality () const |
| Get locality (number of points used for calculation) | |
Additional Inherited Members | |
Public Types inherited from QwtSpline | |
| enum | BoundaryType { ConditionalBoundaries , PeriodicPolygon , ClosedPolygon } |
| Boundary type specifying the spline at its endpoints. More... | |
| enum | BoundaryPosition { AtBeginning , AtEnd } |
| position of a boundary condition More... | |
| enum | BoundaryCondition { Clamped1 , Clamped2 , Clamped3 , LinearRunout } |
| Boundary condition. More... | |
Base class for spline interpolations with C1 (first order parametric) continuity.
| QwtSplineC1::QwtSplineC1 | ( | ) |
Constructor.
|
virtual |
Destructor .
|
overridevirtual |
Interpolate a curve with Bezier curves.
Implements QwtSplineInterpolating.
Reimplemented in QwtSplineC2, QwtSplineLocal, and QwtSplineCubic.
|
overridevirtual |
Find an interpolated polygon with "equidistant" points.
Reimplemented from QwtSplineInterpolating.
Reimplemented in QwtSplineC2.
|
overridevirtual |
Calculate an interpolated painter path.
Reimplemented from QwtSplineInterpolating.
Reimplemented in QwtSplineC2, QwtSplineCubic, and QwtSplineLocal.
|
virtual |
Calculate the interpolating polynomials for a non-parametric spline.
Reimplemented in QwtSplineC2, QwtSplineCubic, and QwtSplineLocal.
|
virtual |
Calculate the slope at the beginning of the spline.
|
virtual |
Calculate the slope at the end of the spline.
|
pure virtual |
Find the first derivative at the control points.
| points | Control nodes of the spline |
Implemented in QwtSplineC2, QwtSplineCubic, and QwtSplineLocal.