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