- bookworm 6.1.4-2
- testing 6.1.4-2
- unstable 6.1.4-2
- experimental 6.2.0-1
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¶
QwtSplineCurveFitter ()
Constructor. virtual ~QwtSplineCurveFitter ()
Destructor. void setFitMode (FitMode)
FitMode fitMode () const
void setSpline (const QwtSpline &)
const QwtSpline & spline () const
QwtSpline & spline ()
void setSplineSize (int)
int splineSize () const
virtual QPolygonF fitCurve (const QPolygonF &) const
Additional Inherited Members¶
Detailed Description¶
A curve fitter using cubic splines.
Member Enumeration Documentation¶
enum QwtSplineCurveFitter::FitMode¶
Spline type The default setting is Auto
See also:
Enumerator
- Auto
- Use the default spline algorithm for polygons with increasing x values ( p[i-1] < p[i] ), otherwise use a parametric spline algorithm.
- Spline
- Use a default spline algorithm.
- ParametricSpline
- Use a parametric spline algorithm.
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:
Returns:
Implements QwtCurveFitter.
QwtSplineCurveFitter::FitMode QwtSplineCurveFitter::fitMode () const¶
Returns:
See also:
void QwtSplineCurveFitter::setFitMode (FitMode mode)¶
Select the algorithm used for building the spline
Parameters:
See also:
void QwtSplineCurveFitter::setSpline (const QwtSpline & spline)¶
Assign a spline
Parameters:
See also:
void QwtSplineCurveFitter::setSplineSize (int splineSize)¶
Assign a spline size ( has to be at least 10 points )
Parameters:
See also:
const QwtSpline & QwtSplineCurveFitter::spline () const¶
Returns:
See also:
QwtSpline & QwtSplineCurveFitter::spline ()¶
Returns:
See also:
int QwtSplineCurveFitter::splineSize () const¶
Returns:
See also:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |