#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. | |
void | setBoundaryType (BoundaryType) |
void | setParametrization (int type) |
void | setParametrization (QwtSplineParametrization *) |
virtual | ~QwtSplineApproximation () |
Destructor. | |
Private Attributes | |
PrivateData * | d_data |
Definition at line 18 of file qwt_spline_approximation.h.
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.
Constructor.
The default setting is a non closing spline with chordal parametrization
Definition at line 39 of file qwt_spline_approximation.cpp.
QwtSplineApproximation::~QwtSplineApproximation | ( | ) | [virtual] |
Destructor.
Definition at line 45 of file qwt_spline_approximation.cpp.
Definition at line 96 of file qwt_spline_approximation.cpp.
uint QwtSplineApproximation::locality | ( | ) | const [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.
virtual QPainterPath QwtSplineApproximation::painterPath | ( | const QPolygonF & | ) | const [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.
PrivateData* QwtSplineApproximation::d_data [private] |
Definition at line 56 of file qwt_spline_approximation.h.