QwtSplineCurveFitter.3 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .TH "QwtSplineCurveFitter" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtSplineCurveFitter \- A curve fitter using cubic splines\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_curve_fitter\&.h>\fP
  11. .PP
  12. Inherits \fBQwtCurveFitter\fP\&.
  13. .SS "Public Types"
  14. .in +1c
  15. .ti -1c
  16. .RI "enum \fBFitMode\fP { \fBAuto\fP, \fBSpline\fP, \fBParametricSpline\fP }"
  17. .br
  18. .in -1c
  19. .SS "Public Member Functions"
  20. .in +1c
  21. .ti -1c
  22. .RI "\fBQwtSplineCurveFitter\fP ()"
  23. .br
  24. .RI "Constructor\&. "
  25. .ti -1c
  26. .RI "virtual \fB~QwtSplineCurveFitter\fP ()"
  27. .br
  28. .RI "Destructor\&. "
  29. .ti -1c
  30. .RI "void \fBsetFitMode\fP (\fBFitMode\fP)"
  31. .br
  32. .ti -1c
  33. .RI "\fBFitMode\fP \fBfitMode\fP () const"
  34. .br
  35. .ti -1c
  36. .RI "void \fBsetSpline\fP (const \fBQwtSpline\fP &)"
  37. .br
  38. .ti -1c
  39. .RI "const \fBQwtSpline\fP & \fBspline\fP () const"
  40. .br
  41. .ti -1c
  42. .RI "\fBQwtSpline\fP & \fBspline\fP ()"
  43. .br
  44. .ti -1c
  45. .RI "void \fBsetSplineSize\fP (int)"
  46. .br
  47. .ti -1c
  48. .RI "int \fBsplineSize\fP () const"
  49. .br
  50. .ti -1c
  51. .RI "virtual QPolygonF \fBfitCurve\fP (const QPolygonF &) const"
  52. .br
  53. .in -1c
  54. .SS "Additional Inherited Members"
  55. .SH "Detailed Description"
  56. .PP
  57. A curve fitter using cubic splines\&.
  58. .SH "Member Enumeration Documentation"
  59. .PP
  60. .SS "enum \fBQwtSplineCurveFitter::FitMode\fP"
  61. Spline type The default setting is Auto
  62. .PP
  63. \fBSee also\fP
  64. .RS 4
  65. \fBsetFitMode()\fP, \fBFitMode()\fP
  66. .RE
  67. .PP
  68. .PP
  69. \fBEnumerator\fP
  70. .in +1c
  71. .TP
  72. \fB\fIAuto \fP\fP
  73. Use the default spline algorithm for polygons with increasing x values ( p[i-1] < p[i] ), otherwise use a parametric spline algorithm\&.
  74. .TP
  75. \fB\fISpline \fP\fP
  76. Use a default spline algorithm\&.
  77. .TP
  78. \fB\fIParametricSpline \fP\fP
  79. Use a parametric spline algorithm\&.
  80. .SH "Member Function Documentation"
  81. .PP
  82. .SS "QPolygonF QwtSplineCurveFitter::fitCurve (const QPolygonF & points) const\fC [virtual]\fP"
  83. Find a curve which has the best fit to a series of data points
  84. .PP
  85. \fBParameters\fP
  86. .RS 4
  87. \fIpoints\fP Series of data points
  88. .RE
  89. .PP
  90. \fBReturns\fP
  91. .RS 4
  92. Curve points
  93. .RE
  94. .PP
  95. .PP
  96. Implements \fBQwtCurveFitter\fP\&.
  97. .SS "\fBQwtSplineCurveFitter::FitMode\fP QwtSplineCurveFitter::fitMode () const"
  98. .PP
  99. \fBReturns\fP
  100. .RS 4
  101. Mode representing a spline algorithm
  102. .RE
  103. .PP
  104. \fBSee also\fP
  105. .RS 4
  106. \fBsetFitMode()\fP
  107. .RE
  108. .PP
  109. .SS "void QwtSplineCurveFitter::setFitMode (\fBFitMode\fP mode)"
  110. Select the algorithm used for building the spline
  111. .PP
  112. \fBParameters\fP
  113. .RS 4
  114. \fImode\fP Mode representing a spline algorithm
  115. .RE
  116. .PP
  117. \fBSee also\fP
  118. .RS 4
  119. \fBfitMode()\fP
  120. .RE
  121. .PP
  122. .SS "void QwtSplineCurveFitter::setSpline (const \fBQwtSpline\fP & spline)"
  123. Assign a spline
  124. .PP
  125. \fBParameters\fP
  126. .RS 4
  127. \fIspline\fP Spline
  128. .RE
  129. .PP
  130. \fBSee also\fP
  131. .RS 4
  132. \fBspline()\fP
  133. .RE
  134. .PP
  135. .SS "void QwtSplineCurveFitter::setSplineSize (int splineSize)"
  136. Assign a spline size ( has to be at least 10 points )
  137. .PP
  138. \fBParameters\fP
  139. .RS 4
  140. \fIsplineSize\fP Spline size
  141. .RE
  142. .PP
  143. \fBSee also\fP
  144. .RS 4
  145. \fBsplineSize()\fP
  146. .RE
  147. .PP
  148. .SS "\fBQwtSpline\fP & QwtSplineCurveFitter::spline ()"
  149. .PP
  150. \fBReturns\fP
  151. .RS 4
  152. Spline
  153. .RE
  154. .PP
  155. \fBSee also\fP
  156. .RS 4
  157. \fBsetSpline()\fP
  158. .RE
  159. .PP
  160. .SS "const \fBQwtSpline\fP & QwtSplineCurveFitter::spline () const"
  161. .PP
  162. \fBReturns\fP
  163. .RS 4
  164. Spline
  165. .RE
  166. .PP
  167. \fBSee also\fP
  168. .RS 4
  169. \fBsetSpline()\fP
  170. .RE
  171. .PP
  172. .SS "int QwtSplineCurveFitter::splineSize () const"
  173. .PP
  174. \fBReturns\fP
  175. .RS 4
  176. Spline size
  177. .RE
  178. .PP
  179. \fBSee also\fP
  180. .RS 4
  181. \fBsetSplineSize()\fP
  182. .RE
  183. .PP
  184. .SH "Author"
  185. .PP
  186. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.