<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Qwt User's Guide: QwtCurveFitter Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Qwt User's Guide <span id="projectnumber">6.0.1</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <h1>QwtCurveFitter Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="QwtCurveFitter" --> <p>Abstract base class for a curve fitter. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="qwt__curve__fitter_8h_source.html">qwt_curve_fitter.h</a>></code></p> <div class="dynheader"> Inheritance diagram for QwtCurveFitter:</div> <div class="dyncontent"> <div class="center"><img src="class_qwt_curve_fitter__inherit__graph.png" border="0" usemap="#_qwt_curve_fitter_inherit__map" alt="Inheritance graph"/></div> <map name="_qwt_curve_fitter_inherit__map" id="_qwt_curve_fitter_inherit__map"> <area shape="rect" id="node3" href="class_qwt_spline_curve_fitter.html" title="A curve fitter using cubic splines." alt="" coords="5,83,147,112"/><area shape="rect" id="node5" href="class_qwt_weeding_curve_fitter.html" title="A curve fitter implementing Douglas and Peucker algorithm." alt="" coords="171,83,328,112"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="class_qwt_curve_fitter-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual QPolygonF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#afa9bf5b328aa553229e204533a60fec0">fitCurve</a> (const QPolygonF &polygon) const =0</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#a62919f309f0441d94adea94573d0f778">~QwtCurveFitter</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#ad804660017ae0f3ede604470724b3df3">QwtCurveFitter</a> ()</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Abstract base class for a curve fitter. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a62919f309f0441d94adea94573d0f778"></a><!-- doxytag: member="QwtCurveFitter::~QwtCurveFitter" ref="a62919f309f0441d94adea94573d0f778" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QwtCurveFitter::~QwtCurveFitter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> </div> </div> <a class="anchor" id="ad804660017ae0f3ede604470724b3df3"></a><!-- doxytag: member="QwtCurveFitter::QwtCurveFitter" ref="ad804660017ae0f3ede604470724b3df3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QwtCurveFitter::QwtCurveFitter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="afa9bf5b328aa553229e204533a60fec0"></a><!-- doxytag: member="QwtCurveFitter::fitCurve" ref="afa9bf5b328aa553229e204533a60fec0" args="(const QPolygonF &polygon) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual QPolygonF QwtCurveFitter::fitCurve </td> <td>(</td> <td class="paramtype">const QPolygonF & </td> <td class="paramname"><em>polygon</em></td><td>)</td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Find a curve which has the best fit to a series of data points</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">polygon</td><td>Series of data points </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Curve points </dd></dl> <p>Implemented in <a class="el" href="class_qwt_spline_curve_fitter.html#a14d64180d7777d0cd9c2adf81e120140">QwtSplineCurveFitter</a>, and <a class="el" href="class_qwt_weeding_curve_fitter.html#aa316dc6c60ae0d0c74ef0bc0fc239f0b">QwtWeedingCurveFitter</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>