class_qwt_curve_fitter.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtCurveFitter Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_curve_fitter.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pro-methods">Protected Member Functions</a> &#124;
  86. <a href="class_qwt_curve_fitter-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">QwtCurveFitter Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>Abstract base class for a curve fitter.
  92. <a href="class_qwt_curve_fitter.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="qwt__curve__fitter_8h_source.html">qwt_curve_fitter.h</a>&gt;</code></p>
  94. <div class="dynheader">
  95. Inheritance diagram for QwtCurveFitter:</div>
  96. <div class="dyncontent">
  97. <div class="center"><img src="class_qwt_curve_fitter__inherit__graph.png" border="0" usemap="#a_qwt_curve_fitter_inherit__map" alt="Inheritance graph"/></div>
  98. <map name="_qwt_curve_fitter_inherit__map" id="a_qwt_curve_fitter_inherit__map">
  99. <area shape="rect" title="Abstract base class for a curve fitter." alt="" coords="113,5,223,32"/>
  100. <area shape="rect" href="class_qwt_spline_curve_fitter.html" title="A curve fitter using cubic splines." alt="" coords="5,80,152,107"/>
  101. <area shape="rect" href="class_qwt_weeding_curve_fitter.html" title="A curve fitter implementing Douglas and Peucker algorithm." alt="" coords="177,80,338,107"/>
  102. </map>
  103. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  104. <table class="memberdecls">
  105. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  106. Public Member Functions</h2></td></tr>
  107. <tr class="memitem:a62919f309f0441d94adea94573d0f778"><td class="memItemLeft" align="right" valign="top"><a id="a62919f309f0441d94adea94573d0f778"></a>
  108. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#a62919f309f0441d94adea94573d0f778">~QwtCurveFitter</a> ()</td></tr>
  109. <tr class="memdesc:a62919f309f0441d94adea94573d0f778"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  110. <tr class="separator:a62919f309f0441d94adea94573d0f778"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:afa9bf5b328aa553229e204533a60fec0"><td class="memItemLeft" align="right" valign="top">virtual QPolygonF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#afa9bf5b328aa553229e204533a60fec0">fitCurve</a> (const QPolygonF &amp;polygon) const =0</td></tr>
  112. <tr class="separator:afa9bf5b328aa553229e204533a60fec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. </table><table class="memberdecls">
  114. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  115. Protected Member Functions</h2></td></tr>
  116. <tr class="memitem:ad804660017ae0f3ede604470724b3df3"><td class="memItemLeft" align="right" valign="top"><a id="ad804660017ae0f3ede604470724b3df3"></a>
  117. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_curve_fitter.html#ad804660017ae0f3ede604470724b3df3">QwtCurveFitter</a> ()</td></tr>
  118. <tr class="memdesc:ad804660017ae0f3ede604470724b3df3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  119. <tr class="separator:ad804660017ae0f3ede604470724b3df3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. </table>
  121. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  122. <div class="textblock"><p>Abstract base class for a curve fitter. </p>
  123. </div><h2 class="groupheader">Member Function Documentation</h2>
  124. <a id="afa9bf5b328aa553229e204533a60fec0"></a>
  125. <h2 class="memtitle"><span class="permalink"><a href="#afa9bf5b328aa553229e204533a60fec0">&#9670;&nbsp;</a></span>fitCurve()</h2>
  126. <div class="memitem">
  127. <div class="memproto">
  128. <table class="mlabels">
  129. <tr>
  130. <td class="mlabels-left">
  131. <table class="memname">
  132. <tr>
  133. <td class="memname">virtual QPolygonF QwtCurveFitter::fitCurve </td>
  134. <td>(</td>
  135. <td class="paramtype">const QPolygonF &amp;&#160;</td>
  136. <td class="paramname"><em>polygon</em></td><td>)</td>
  137. <td> const</td>
  138. </tr>
  139. </table>
  140. </td>
  141. <td class="mlabels-right">
  142. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  143. </tr>
  144. </table>
  145. </div><div class="memdoc">
  146. <p>Find a curve which has the best fit to a series of data points</p>
  147. <dl class="params"><dt>Parameters</dt><dd>
  148. <table class="params">
  149. <tr><td class="paramname">polygon</td><td>Series of data points </td></tr>
  150. </table>
  151. </dd>
  152. </dl>
  153. <dl class="section return"><dt>Returns</dt><dd>Curve points </dd></dl>
  154. <p>Implemented in <a class="el" href="class_qwt_weeding_curve_fitter.html#acf876e668d027828c86288e8ac9808ab">QwtWeedingCurveFitter</a>, and <a class="el" href="class_qwt_spline_curve_fitter.html#ac91df6881bd84143efcc891344a84a7b">QwtSplineCurveFitter</a>.</p>
  155. </div>
  156. </div>
  157. </div><!-- contents -->
  158. </div><!-- doc-content -->
  159. <!-- start footer part -->
  160. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  161. <ul>
  162. <li class="navelem"><a class="el" href="class_qwt_curve_fitter.html">QwtCurveFitter</a></li>
  163. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  164. </ul>
  165. </div>
  166. </body>
  167. </html>