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