QwtPointArrayData.3 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .TH "QwtPointArrayData" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtPointArrayData \- Interface for iterating over two QVector<double> objects\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_point_data\&.h>\fP
  11. .PP
  12. Inherits \fBQwtSeriesData< QPointF >\fP\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBQwtPointArrayData\fP (const QVector< double > &x, const QVector< double > &y)"
  17. .br
  18. .ti -1c
  19. .RI "\fBQwtPointArrayData\fP (const double *x, const double *y, size_t \fBsize\fP)"
  20. .br
  21. .ti -1c
  22. .RI "virtual QRectF \fBboundingRect\fP () const"
  23. .br
  24. .RI "Calculate the bounding rectangle\&. "
  25. .ti -1c
  26. .RI "virtual size_t \fBsize\fP () const"
  27. .br
  28. .ti -1c
  29. .RI "virtual QPointF \fBsample\fP (size_t index) const"
  30. .br
  31. .ti -1c
  32. .RI "const QVector< double > & \fBxData\fP () const"
  33. .br
  34. .ti -1c
  35. .RI "const QVector< double > & \fByData\fP () const"
  36. .br
  37. .in -1c
  38. .SS "Additional Inherited Members"
  39. .SH "Detailed Description"
  40. .PP
  41. Interface for iterating over two QVector<double> objects\&.
  42. .SH "Constructor & Destructor Documentation"
  43. .PP
  44. .SS "QwtPointArrayData::QwtPointArrayData (const QVector< double > & x, const QVector< double > & y)"
  45. Constructor
  46. .PP
  47. \fBParameters\fP
  48. .RS 4
  49. \fIx\fP Array of x values
  50. .br
  51. \fIy\fP Array of y values
  52. .RE
  53. .PP
  54. \fBSee also\fP
  55. .RS 4
  56. \fBQwtPlotCurve::setData()\fP, \fBQwtPlotCurve::setSamples()\fP
  57. .RE
  58. .PP
  59. .SS "QwtPointArrayData::QwtPointArrayData (const double * x, const double * y, size_t size)"
  60. Constructor
  61. .PP
  62. \fBParameters\fP
  63. .RS 4
  64. \fIx\fP Array of x values
  65. .br
  66. \fIy\fP Array of y values
  67. .br
  68. \fIsize\fP Size of the x and y arrays
  69. .RE
  70. .PP
  71. \fBSee also\fP
  72. .RS 4
  73. \fBQwtPlotCurve::setData()\fP, \fBQwtPlotCurve::setSamples()\fP
  74. .RE
  75. .PP
  76. .SH "Member Function Documentation"
  77. .PP
  78. .SS "QRectF QwtPointArrayData::boundingRect () const\fC [virtual]\fP"
  79. .PP
  80. Calculate the bounding rectangle\&. The bounding rectangle is calculated once by iterating over all points and is stored for all following requests\&.
  81. .PP
  82. \fBReturns\fP
  83. .RS 4
  84. Bounding rectangle
  85. .RE
  86. .PP
  87. .SS "QPointF QwtPointArrayData::sample (size_t index) const\fC [virtual]\fP"
  88. Return the sample at position i
  89. .PP
  90. \fBParameters\fP
  91. .RS 4
  92. \fIindex\fP Index
  93. .RE
  94. .PP
  95. \fBReturns\fP
  96. .RS 4
  97. Sample at position i
  98. .RE
  99. .PP
  100. .PP
  101. Implements \fBQwtSeriesData< QPointF >\fP\&.
  102. .SS "size_t QwtPointArrayData::size () const\fC [virtual]\fP"
  103. .PP
  104. \fBReturns\fP
  105. .RS 4
  106. Size of the data set
  107. .RE
  108. .PP
  109. .SS "const QVector< double > & QwtPointArrayData::xData () const"
  110. .PP
  111. \fBReturns\fP
  112. .RS 4
  113. Array of the x-values
  114. .RE
  115. .PP
  116. .SS "const QVector< double > & QwtPointArrayData::yData () const"
  117. .PP
  118. \fBReturns\fP
  119. .RS 4
  120. Array of the y-values
  121. .RE
  122. .PP
  123. .SH "Author"
  124. .PP
  125. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.