QwtCPointerData.3 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .TH "QwtCPointerData" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtCPointerData \- Data class containing two pointers to memory blocks of doubles\&.
  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 "\fBQwtCPointerData\fP (const double *x, const double *y, size_t \fBsize\fP)"
  17. .br
  18. .ti -1c
  19. .RI "virtual QRectF \fBboundingRect\fP () const"
  20. .br
  21. .RI "Calculate the bounding rectangle\&. "
  22. .ti -1c
  23. .RI "virtual size_t \fBsize\fP () const"
  24. .br
  25. .ti -1c
  26. .RI "virtual QPointF \fBsample\fP (size_t index) const"
  27. .br
  28. .ti -1c
  29. .RI "const double * \fBxData\fP () const"
  30. .br
  31. .ti -1c
  32. .RI "const double * \fByData\fP () const"
  33. .br
  34. .in -1c
  35. .SS "Additional Inherited Members"
  36. .SH "Detailed Description"
  37. .PP
  38. Data class containing two pointers to memory blocks of doubles\&.
  39. .SH "Constructor & Destructor Documentation"
  40. .PP
  41. .SS "QwtCPointerData::QwtCPointerData (const double * x, const double * y, size_t size)"
  42. Constructor
  43. .PP
  44. \fBParameters\fP
  45. .RS 4
  46. \fIx\fP Array of x values
  47. .br
  48. \fIy\fP Array of y values
  49. .br
  50. \fIsize\fP Size of the x and y arrays
  51. .RE
  52. .PP
  53. \fBWarning\fP
  54. .RS 4
  55. The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object\&.
  56. .RE
  57. .PP
  58. \fBSee also\fP
  59. .RS 4
  60. \fBQwtPlotCurve::setData()\fP, \fBQwtPlotCurve::setRawSamples()\fP
  61. .RE
  62. .PP
  63. .SH "Member Function Documentation"
  64. .PP
  65. .SS "QRectF QwtCPointerData::boundingRect () const\fC [virtual]\fP"
  66. .PP
  67. Calculate the bounding rectangle\&. The bounding rectangle is calculated once by iterating over all points and is stored for all following requests\&.
  68. .PP
  69. \fBReturns\fP
  70. .RS 4
  71. Bounding rectangle
  72. .RE
  73. .PP
  74. .SS "QPointF QwtCPointerData::sample (size_t index) const\fC [virtual]\fP"
  75. Return the sample at position i
  76. .PP
  77. \fBParameters\fP
  78. .RS 4
  79. \fIindex\fP Index
  80. .RE
  81. .PP
  82. \fBReturns\fP
  83. .RS 4
  84. Sample at position i
  85. .RE
  86. .PP
  87. .PP
  88. Implements \fBQwtSeriesData< QPointF >\fP\&.
  89. .SS "size_t QwtCPointerData::size () const\fC [virtual]\fP"
  90. .PP
  91. \fBReturns\fP
  92. .RS 4
  93. Size of the data set
  94. .RE
  95. .PP
  96. .SS "const double * QwtCPointerData::xData () const"
  97. .PP
  98. \fBReturns\fP
  99. .RS 4
  100. Array of the x-values
  101. .RE
  102. .PP
  103. .SS "const double * QwtCPointerData::yData () const"
  104. .PP
  105. \fBReturns\fP
  106. .RS 4
  107. Array of the y-values
  108. .RE
  109. .PP
  110. .SH "Author"
  111. .PP
  112. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.