Classes | Public Types | Public Member Functions | Private Attributes
QwtSplineApproximation Class Reference

#include <qwt_spline_approximation.h>

List of all members.

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 QwtSplineParametrizationparametrization () const
 QwtSplineApproximation ()
 Constructor.
void setBoundaryType (BoundaryType)
void setParametrization (int type)
void setParametrization (QwtSplineParametrization *)
virtual ~QwtSplineApproximation ()
 Destructor.

Private Attributes

PrivateDatad_data

Detailed Description

Definition at line 18 of file qwt_spline_approximation.h.


Member Enumeration Documentation

Enumerator:
ConditionalBoundaries 
PeriodicPolygon 
ClosedPolygon 

ClosedPolygon is similar to PeriodicPolygon beside, that the interpolation includes the connection between the last and the first control point.

Note:
Only works for parametrizations, where the parameter increment for the the final closing line is positive. This excludes QwtSplineParametrization::ParameterX and QwtSplineParametrization::ParameterY

Definition at line 21 of file qwt_spline_approximation.h.


Constructor & Destructor Documentation

Constructor.

The default setting is a non closing spline with chordal parametrization

See also:
setParametrization(), setClosing()

Definition at line 39 of file qwt_spline_approximation.cpp.

Destructor.

Definition at line 45 of file qwt_spline_approximation.cpp.


Member Function Documentation

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 ).

Returns:
Order of locality

Definition at line 63 of file qwt_spline_approximation.cpp.

virtual QPainterPath QwtSplineApproximation::painterPath ( const QPolygonF &  ) const [pure virtual]

Definition at line 86 of file qwt_spline_approximation.cpp.

Definition at line 91 of file qwt_spline_approximation.cpp.

Definition at line 68 of file qwt_spline_approximation.cpp.

Definition at line 77 of file qwt_spline_approximation.cpp.


Member Data Documentation

Definition at line 56 of file qwt_spline_approximation.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:58