Interface for iterating over an array of samples. More...
#include <qwt_series_data.h>
Public Member Functions | |
virtual QRectF | boundingRect () const |
Calculate the bounding rectangle. More... | |
QwtSetSeriesData (const QVector< QwtSetSample > &=QVector< QwtSetSample >()) | |
Public Member Functions inherited from QwtArraySeriesData< QwtSetSample > | |
QwtArraySeriesData () | |
Constructor. More... | |
QwtArraySeriesData (const QVector< QwtSetSample > &samples) | |
virtual QwtSetSample | sample (size_t index) const |
const QVector< QwtSetSample > | samples () const |
void | setSamples (const QVector< QwtSetSample > &samples) |
virtual size_t | size () const |
Public Member Functions inherited from QwtSeriesData< QwtSetSample > | |
QwtSeriesData () | |
Constructor. More... | |
virtual void | setRectOfInterest (const QRectF &rect) |
virtual | ~QwtSeriesData () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QwtArraySeriesData< QwtSetSample > | |
QVector< QwtSetSample > | d_samples |
Vector of samples. More... | |
Protected Attributes inherited from QwtSeriesData< QwtSetSample > | |
QRectF | d_boundingRect |
Can be used to cache a calculated bounding rectangle. More... | |
Interface for iterating over an array of samples.
Definition at line 236 of file qwt_series_data.h.
QwtSetSeriesData::QwtSetSeriesData | ( | const QVector< QwtSetSample > & | samples = QVector<QwtSetSample>() | ) |
|
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< QwtSetSample >.
Definition at line 314 of file qwt_series_data.cpp.