Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwtsplinecurvefitter(3) [debian man page]

QwtSplineCurveFitter(3) 					 Qwt User's Guide					   QwtSplineCurveFitter(3)

NAME
QwtSplineCurveFitter - A curve fitter using cubic splines. SYNOPSIS
#include <qwt_curve_fitter.h> Inherits QwtCurveFitter. Public Types enum FitMode { Auto, Spline, ParametricSpline } Public Member Functions virtual QPolygonF fitCurve (const QPolygonF &) const FitMode fitMode () const QwtSplineCurveFitter () void setFitMode (FitMode) void setSpline (const QwtSpline &) void setSplineSize (int size) QwtSpline & spline () const QwtSpline & spline () const int splineSize () const virtual ~QwtSplineCurveFitter () Detailed Description A curve fitter using cubic splines. Constructor &; Destructor Documentation QwtSplineCurveFitter::QwtSplineCurveFitter () Constructor. QwtSplineCurveFitter::~QwtSplineCurveFitter () [virtual] Destructor. Member Function Documentation QPolygonF QwtSplineCurveFitter::fitCurve (const QPolygonF &points) const [virtual] Find a curve which has the best fit to a series of data points Parameters: points Series of data points Returns: Curve points Implements QwtCurveFitter. QwtSplineCurveFitter::FitMode QwtSplineCurveFitter::fitMode () const Returns: Mode representing a spline algorithm See also: setFitMode() void QwtSplineCurveFitter::setFitMode (FitModemode) Select the algorithm used for building the spline Parameters: mode Mode representing a spline algorithm See also: fitMode() void QwtSplineCurveFitter::setSplineSize (intsplineSize) Assign a spline size ( has to be at least 10 points ) Parameters: splineSize Spline size See also: splineSize() int QwtSplineCurveFitter::splineSize () const Returns: Spline size See also: setSplineSize() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtSplineCurveFitter(3)

Check Out this Related Man Page

QwtWeedingCurveFitter(3)					 Qwt User's Guide					  QwtWeedingCurveFitter(3)

NAME
QwtWeedingCurveFitter - A curve fitter implementing Douglas and Peucker algorithm. SYNOPSIS
#include <qwt_curve_fitter.h> Inherits QwtCurveFitter. Public Member Functions QwtWeedingCurveFitter (double tolerance=1.0) virtual ~QwtWeedingCurveFitter () void setTolerance (double) double tolerance () const virtual QPolygonF fitCurve (const QPolygonF &) const Detailed Description A curve fitter implementing Douglas and Peucker algorithm. The purpose of the Douglas and Peucker algorithm is that given a 'curve' composed of line segments to find a curve not too dissimilar but that has fewer points. The algorithm defines 'too dissimilar' based on the maximum distance (tolerance) between the original curve and the smoothed curve. The smoothed curve consists of a subset of the points that defined the original curve. In opposite to QwtSplineCurveFitter the Douglas and Peucker algorithm reduces the number of points. By adjusting the tolerance parameter according to the axis scales QwtSplineCurveFitter can be used to implement different level of details to speed up painting of curves of many points. Constructor &; Destructor Documentation QwtWeedingCurveFitter::QwtWeedingCurveFitter (doubletolerance = 1.0) Constructor Parameters: tolerance Tolerance See also: setTolerance(), tolerance() QwtWeedingCurveFitter::~QwtWeedingCurveFitter () [virtual] Destructor. Member Function Documentation QPolygonF QwtWeedingCurveFitter::fitCurve (const QPolygonF &points) const [virtual] Parameters: points Series of data points Returns: Curve points Implements QwtCurveFitter. void QwtWeedingCurveFitter::setTolerance (doubletolerance) Assign the tolerance The tolerance is the maximum distance, that is accaptable between the original curve and the smoothed curve. Increasing the tolerance will reduce the number of the resulting points. Parameters: tolerance Tolerance See also: tolerance() double QwtWeedingCurveFitter::tolerance () const Returns: Tolerance See also: setTolerance() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 6.0.0 Fri Apr 15 2011 QwtWeedingCurveFitter(3)
Man Page