#include <qwt_spline_approximation.h>
Classes | |
class | PrivateData |
Public Types | |
enum | BoundaryType { ConditionalBoundaries, PeriodicPolygon, ClosedPolygon } |
Public Member Functions | |
BoundaryType | boundaryType () const |
virtual uint | locality () const |
virtual QPainterPath | painterPath (const QPolygonF &) const =0 |
const QwtSplineParametrization * | parametrization () const |
QwtSplineApproximation () | |
Constructor. More... | |
void | setBoundaryType (BoundaryType) |
void | setParametrization (int type) |
void | setParametrization (QwtSplineParametrization *) |
virtual | ~QwtSplineApproximation () |
Destructor. More... | |
Private Attributes | |
PrivateData * | d_data |
Definition at line 18 of file qwt_spline_approximation.h.
Enumerator | |
---|---|
ConditionalBoundaries | |
PeriodicPolygon | |
ClosedPolygon |
ClosedPolygon is similar to PeriodicPolygon beside, that the interpolation includes the connection between the last and the first control point.
|
Definition at line 21 of file qwt_spline_approximation.h.
QwtSplineApproximation::QwtSplineApproximation | ( | ) |
Constructor.
The default setting is a non closing spline with chordal parametrization
Definition at line 39 of file qwt_spline_approximation.cpp.
|
virtual |
Destructor.
Definition at line 45 of file qwt_spline_approximation.cpp.
QwtSplineApproximation::BoundaryType QwtSplineApproximation::boundaryType | ( | ) | const |
Definition at line 96 of file qwt_spline_approximation.cpp.
|
virtual |
The locality of an spline interpolation identifies how many adjacent polynoms are affected, when changing the position of one point.
A locality of 'n' means, that changing the coordinates of a point has an effect on 'n' leading and 'n' following polynoms. Those polynoms can be calculated from a local subpolygon.
A value of 0 means, that the interpolation is not local and any modification of the polygon requires to recalculate all polynoms ( f.e cubic splines ).
Definition at line 63 of file qwt_spline_approximation.cpp.
|
pure virtual |
const QwtSplineParametrization * QwtSplineApproximation::parametrization | ( | ) | const |
Definition at line 86 of file qwt_spline_approximation.cpp.
void QwtSplineApproximation::setBoundaryType | ( | BoundaryType | boundaryType | ) |
Definition at line 91 of file qwt_spline_approximation.cpp.
void QwtSplineApproximation::setParametrization | ( | int | type | ) |
Definition at line 68 of file qwt_spline_approximation.cpp.
void QwtSplineApproximation::setParametrization | ( | QwtSplineParametrization * | parametrization | ) |
Definition at line 77 of file qwt_spline_approximation.cpp.
|
private |
Definition at line 56 of file qwt_spline_approximation.h.