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

Public Member Functions | |
| virtual QRectF | boundingRect () const |
| QwtPoint3DSeriesData (const QVector< QwtPoint3D > &=QVector< QwtPoint3D >()) | |
| virtual QwtPoint3D | sample (size_t) const |
| const QVector< QwtPoint3D > | samples () const |
| virtual void | setRectOfInterest (const QRectF &) |
| void | setSamples (const QVector< QwtPoint3D > &) |
| virtual size_t | size () const |
Protected Attributes | |
| QRectF | d_boundingRect |
| QVector< QwtPoint3D > | d_samples |
Interface for iterating over an array of 3D points.
| QwtPoint3DSeriesData::QwtPoint3DSeriesData | ( | const QVector< QwtPoint3D > & | samples = QVector<QwtPoint3D>() | ) |
Constructor
| samples | Samples |
| QRectF QwtPoint3DSeriesData::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< QwtPoint3D >.
| virtual QwtPoint3D QwtArraySeriesData< QwtPoint3D >::sample | ( | size_t | i | ) | const [virtual, inherited] |
Return a sample
| i | Index |
Implements QwtSeriesData< QwtPoint3D >.
| virtual size_t QwtArraySeriesData< QwtPoint3D >::size | ( | ) | const [virtual, inherited] |
Implements QwtSeriesData< QwtPoint3D >.
QRectF QwtSeriesData< QwtPoint3D >::d_boundingRect [mutable, protected, inherited] |
Can be used to cache a calculated bounding rectangle.
QVector<QwtPoint3D > QwtArraySeriesData< QwtPoint3D >::d_samples [protected, inherited] |
Vector of samples.
1.7.3