class_qwt_polar_fitter.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.5"/>
  7. <title>Qwt Polar User&#39;s Guide: QwtPolarFitter Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/search.js"></script>
  13. <script type="text/javascript">
  14. $(document).ready(function() { searchBox.OnSelectItem(0); });
  15. </script>
  16. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  17. </head>
  18. <body>
  19. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  20. <div id="titlearea">
  21. <table cellspacing="0" cellpadding="0">
  22. <tbody>
  23. <tr style="height: 56px;">
  24. <td style="padding-left: 0.5em;">
  25. <div id="projectname">Qwt Polar User&#39;s Guide
  26. &#160;<span id="projectnumber">1.1.1</span>
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.5 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  42. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  65. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="class_qwt_polar_fitter-members.html">List of all members</a> </div>
  86. <div class="headertitle">
  87. <div class="title">QwtPolarFitter Class Reference</div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>A simple curve fitter for polar points.
  91. <a href="class_qwt_polar_fitter.html#details">More...</a></p>
  92. <p><code>#include &lt;<a class="el" href="qwt__polar__fitter_8h_source.html">qwt_polar_fitter.h</a>&gt;</code></p>
  93. <div class="dynheader">
  94. Inheritance diagram for QwtPolarFitter:</div>
  95. <div class="dyncontent">
  96. <div class="center"><img src="class_qwt_polar_fitter__inherit__graph.png" border="0" usemap="#_qwt_polar_fitter_inherit__map" alt="Inheritance graph"/></div>
  97. <map name="_qwt_polar_fitter_inherit__map" id="_qwt_polar_fitter_inherit__map">
  98. </map>
  99. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  100. <table class="memberdecls">
  101. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  102. Public Member Functions</h2></td></tr>
  103. <tr class="memitem:a88d0ab40691bab03bd52399bce35f46b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_fitter.html#a88d0ab40691bab03bd52399bce35f46b">QwtPolarFitter</a> (int <a class="el" href="class_qwt_polar_fitter.html#a8e44f8c47ba4c4d35860d2723dfb05ce">stepCount</a>=5)</td></tr>
  104. <tr class="separator:a88d0ab40691bab03bd52399bce35f46b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:af44b4b5f62393add4ea35b11b6723c12"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af44b4b5f62393add4ea35b11b6723c12"></a>
  106. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_fitter.html#af44b4b5f62393add4ea35b11b6723c12">~QwtPolarFitter</a> ()</td></tr>
  107. <tr class="memdesc:af44b4b5f62393add4ea35b11b6723c12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
  108. <tr class="separator:af44b4b5f62393add4ea35b11b6723c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a3250f0d3fe6e7a658ce46920fe7efcab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_fitter.html#a3250f0d3fe6e7a658ce46920fe7efcab">setStepCount</a> (int size)</td></tr>
  110. <tr class="separator:a3250f0d3fe6e7a658ce46920fe7efcab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a8e44f8c47ba4c4d35860d2723dfb05ce"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_fitter.html#a8e44f8c47ba4c4d35860d2723dfb05ce">stepCount</a> () const </td></tr>
  112. <tr class="separator:a8e44f8c47ba4c4d35860d2723dfb05ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a564aaaf5efa7b075175336b3ced50c30"><td class="memItemLeft" align="right" valign="top">virtual QPolygonF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_fitter.html#a564aaaf5efa7b075175336b3ced50c30">fitCurve</a> (const QPolygonF &amp;) const </td></tr>
  114. <tr class="separator:a564aaaf5efa7b075175336b3ced50c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. </table>
  116. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  117. <div class="textblock"><p>A simple curve fitter for polar points. </p>
  118. <p><a class="el" href="class_qwt_polar_fitter.html" title="A simple curve fitter for polar points. ">QwtPolarFitter</a> adds equidistant points between 2 curve points, so that the connection gets rounded according to the nature of a polar plot.</p>
  119. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_qwt_polar_curve.html#abcd7ce0a4b6dbfe470bce5370cdffb7c" title="Insert a curve fitter. ">QwtPolarCurve::setCurveFitter()</a> </dd></dl>
  120. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  121. <a class="anchor" id="a88d0ab40691bab03bd52399bce35f46b"></a>
  122. <div class="memitem">
  123. <div class="memproto">
  124. <table class="memname">
  125. <tr>
  126. <td class="memname">QwtPolarFitter::QwtPolarFitter </td>
  127. <td>(</td>
  128. <td class="paramtype">int&#160;</td>
  129. <td class="paramname"><em>stepCount</em> = <code>5</code></td><td>)</td>
  130. <td></td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. <p>Constructor</p>
  135. <dl class="params"><dt>Parameters</dt><dd>
  136. <table class="params">
  137. <tr><td class="paramname">stepCount</td><td>Number of points, that will be inserted between 2 points </td></tr>
  138. </table>
  139. </dd>
  140. </dl>
  141. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_qwt_polar_fitter.html#a3250f0d3fe6e7a658ce46920fe7efcab">setStepCount()</a> </dd></dl>
  142. </div>
  143. </div>
  144. <h2 class="groupheader">Member Function Documentation</h2>
  145. <a class="anchor" id="a564aaaf5efa7b075175336b3ced50c30"></a>
  146. <div class="memitem">
  147. <div class="memproto">
  148. <table class="mlabels">
  149. <tr>
  150. <td class="mlabels-left">
  151. <table class="memname">
  152. <tr>
  153. <td class="memname">QPolygonF QwtPolarFitter::fitCurve </td>
  154. <td>(</td>
  155. <td class="paramtype">const QPolygonF &amp;&#160;</td>
  156. <td class="paramname"><em>points</em></td><td>)</td>
  157. <td> const</td>
  158. </tr>
  159. </table>
  160. </td>
  161. <td class="mlabels-right">
  162. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  163. </tr>
  164. </table>
  165. </div><div class="memdoc">
  166. <p>Insert <a class="el" href="class_qwt_polar_fitter.html#a8e44f8c47ba4c4d35860d2723dfb05ce">stepCount()</a> number of additional points between 2 elements of points.</p>
  167. <dl class="params"><dt>Parameters</dt><dd>
  168. <table class="params">
  169. <tr><td class="paramname">points</td><td>Array of points </td></tr>
  170. </table>
  171. </dd>
  172. </dl>
  173. <dl class="section return"><dt>Returns</dt><dd>Array of points including the additional points </dd></dl>
  174. </div>
  175. </div>
  176. <a class="anchor" id="a3250f0d3fe6e7a658ce46920fe7efcab"></a>
  177. <div class="memitem">
  178. <div class="memproto">
  179. <table class="memname">
  180. <tr>
  181. <td class="memname">void QwtPolarFitter::setStepCount </td>
  182. <td>(</td>
  183. <td class="paramtype">int&#160;</td>
  184. <td class="paramname"><em>stepCount</em></td><td>)</td>
  185. <td></td>
  186. </tr>
  187. </table>
  188. </div><div class="memdoc">
  189. <p>Assign the number of points, that will be inserted between 2 points The default value is 5.</p>
  190. <dl class="params"><dt>Parameters</dt><dd>
  191. <table class="params">
  192. <tr><td class="paramname">stepCount</td><td>Number of steps</td></tr>
  193. </table>
  194. </dd>
  195. </dl>
  196. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_qwt_polar_fitter.html#a8e44f8c47ba4c4d35860d2723dfb05ce">stepCount()</a> </dd></dl>
  197. </div>
  198. </div>
  199. <a class="anchor" id="a8e44f8c47ba4c4d35860d2723dfb05ce"></a>
  200. <div class="memitem">
  201. <div class="memproto">
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">int QwtPolarFitter::stepCount </td>
  205. <td>(</td>
  206. <td class="paramname"></td><td>)</td>
  207. <td> const</td>
  208. </tr>
  209. </table>
  210. </div><div class="memdoc">
  211. <dl class="section return"><dt>Returns</dt><dd>Number of points, that will be inserted between 2 points </dd></dl>
  212. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_qwt_polar_fitter.html#a3250f0d3fe6e7a658ce46920fe7efcab">setStepCount()</a> </dd></dl>
  213. </div>
  214. </div>
  215. </div><!-- contents -->
  216. <!-- start footer part -->
  217. <hr class="footer"/><address class="footer"><small>
  218. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  219. <img class="footer" src="doxygen.png" alt="doxygen"/>
  220. </a> 1.8.5
  221. </small></address>
  222. </body>
  223. </html>