|
Qwt User's Guide 6.0.1
|
Interface for iterating over an array of points. More...
#include <qwt_series_data.h>

Public Member Functions | |
| virtual QRectF | boundingRect () const |
| QwtPointSeriesData (const QVector< QPointF > &=QVector< QPointF >()) | |
| virtual QPointF | sample (size_t) const |
| const QVector< QPointF > | samples () const |
| virtual void | setRectOfInterest (const QRectF &) |
| void | setSamples (const QVector< QPointF > &) |
| virtual size_t | size () const |
Protected Attributes | |
| QRectF | d_boundingRect |
| QVector< QPointF > | d_samples |
Interface for iterating over an array of points.
| QwtPointSeriesData::QwtPointSeriesData | ( | const QVector< QPointF > & | samples = QVector<QPointF>() | ) |
Constructor
| samples | Samples |
| QRectF QwtPointSeriesData::boundingRect | ( | ) | const [virtual] |
Calculate the bounding rect.
The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.
Implements QwtSeriesData< QPointF >.
| virtual QPointF QwtArraySeriesData< QPointF >::sample | ( | size_t | i | ) | const [virtual, inherited] |
Return a sample
| i | Index |
Implements QwtSeriesData< QPointF >.
| virtual size_t QwtArraySeriesData< QPointF >::size | ( | ) | const [virtual, inherited] |
Implements QwtSeriesData< QPointF >.
QRectF QwtSeriesData< QPointF >::d_boundingRect [mutable, protected, inherited] |
Can be used to cache a calculated bounding rectangle.
QVector<QPointF > QwtArraySeriesData< QPointF >::d_samples [protected, inherited] |
Vector of samples.
1.7.3