Qwt User's Guide svn
Public Member Functions | Protected Member Functions
QwtCurveFitter Class Reference

#include <qwt_curve_fitter.h>

Inherited by QwtSplineCurveFitter, and QwtWeedingCurveFitter.

List of all members.

Public Member Functions

virtual QPolygonF fitCurve (const QPolygonF &polygon) const =0
virtual ~QwtCurveFitter ()

Protected Member Functions

 QwtCurveFitter ()

Detailed Description

Abstract base class for a curve fitter.


Constructor & Destructor Documentation

QwtCurveFitter::~QwtCurveFitter ( ) [virtual]

Destructor.

QwtCurveFitter::QwtCurveFitter ( ) [protected]

Constructor.


Member Function Documentation

virtual QPolygonF QwtCurveFitter::fitCurve ( const QPolygonF &  polygon) const [pure virtual]

Find a curve which has the best fit to a series of data points

Parameters:
polygonSeries of data points
Returns:
Curve points

Implemented in QwtWeedingCurveFitter, and QwtSplineCurveFitter.

qmi style