|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A spline with C1 continuity. More...
#include <qwt_spline_local.h>
Public Types | |
| enum | Type { Cardinal , ParabolicBlending , Akima , PChip } |
| Spline interpolation type. More... | |
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... | |
Public Member Functions | |
| QwtSplineLocal (Type type) | |
| Constructor with spline type. | |
| virtual | ~QwtSplineLocal () |
| Destructor. | |
| Type | type () const |
| Get spline type. | |
| virtual uint | locality () const override |
| Get locality (number of points used for calculation) | |
| virtual QPainterPath | painterPath (const QPolygonF &) const override |
| Get painter path from polygon. | |
| virtual QVector< QLineF > | bezierControlLines (const QPolygonF &) const override |
| Get Bezier control lines. | |
| virtual QVector< QwtSplinePolynomial > | polynomials (const QPolygonF &) const override |
| Get polynomials from polygon. | |
| virtual QVector< double > | slopes (const QPolygonF &) const override |
| Get slopes at control points. | |
Public Member Functions inherited from QwtSplineC1 | |
| QwtSplineC1 () | |
| Constructor. | |
| virtual | ~QwtSplineC1 () |
| Destructor . | |
| virtual QPolygonF | equidistantPolygon (const QPolygonF &, double distance, bool withNodes) const override |
| Find an interpolated polygon with "equidistant" 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. | |
A spline with C1 continuity.
| enum QwtSplineLocal::Type |
Spline interpolation type.
|
explicit |
Constructor with spline type.
Constructor.
|
virtual |
Destructor.
Destructor
.
|
overridevirtual |
|
overridevirtual |
Get locality (number of points used for calculation)
Get the locality of the spline interpolation.
Reimplemented from QwtSpline.
|
overridevirtual |
Get painter path from polygon.
Interpolate a curve with Bezier curves.
Reimplemented from QwtSplineC1.
|
overridevirtual |
Get polynomials from polygon.
Calculate the interpolating polynomials for a non parametric spline.
Reimplemented from QwtSplineC1.
|
overridevirtual |
Get slopes at control points.
Find the first derivative at the control points.
Implements QwtSplineC1.
| QwtSplineLocal::Type QwtSplineLocal::type | ( | ) | const |
Get spline type.