| Qwt User's Guide
    6.1.3
    | 
Interface for iterating over two QVector<double> objects. More...
#include <qwt_point_data.h>

| Public Member Functions | |
| QwtPointArrayData (const QVector< double > &x, const QVector< double > &y) | |
| QwtPointArrayData (const double *x, const double *y, size_t size) | |
| virtual QRectF | boundingRect () const | 
| Calculate the bounding rectangle.  More... | |
| virtual size_t | size () const | 
| virtual QPointF | sample (size_t i) const | 
| const QVector< double > & | xData () const | 
| const QVector< double > & | yData () const | 
|  Public Member Functions inherited from QwtSeriesData< QPointF > | |
| QwtSeriesData () | |
| Constructor. | |
| virtual | ~QwtSeriesData () | 
| Destructor. | |
| virtual void | setRectOfInterest (const QRectF &rect) | 
| Additional Inherited Members | |
|  Protected Attributes inherited from QwtSeriesData< QPointF > | |
| QRectF | d_boundingRect | 
| Can be used to cache a calculated bounding rectangle. | |
Interface for iterating over two QVector<double> objects.
| QwtPointArrayData::QwtPointArrayData | ( | const QVector< double > & | x, | 
| const QVector< double > & | y | ||
| ) | 
Constructor
| x | Array of x values | 
| y | Array of y values | 
| QwtPointArrayData::QwtPointArrayData | ( | const double * | x, | 
| const double * | y, | ||
| size_t | size | ||
| ) | 
Constructor
| x | Array of x values | 
| y | Array of y values | 
| size | Size of the x and y arrays | 
| 
 | virtual | 
Calculate the bounding rectangle.
The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.
Implements QwtSeriesData< QPointF >.
| 
 | virtual | 
Return the sample at position i
| index | Index | 
Implements QwtSeriesData< QPointF >.
| 
 | virtual | 
Implements QwtSeriesData< QPointF >.
| const QVector< double > & QwtPointArrayData::xData | ( | ) | const | 
| const QVector< double > & QwtPointArrayData::yData | ( | ) | const |