123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- .TH "QwtPointArrayData" 3 "Mon Dec 28 2020" "Version 6.1.6" "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
- .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
- .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\&.
|