Interface for iterating over an array of vector field samples. More...
#include <qwt_series_data.h>
Public Member Functions | |
virtual QRectF | boundingRect () const QWT_OVERRIDE |
Calculate the bounding rectangle. More... | |
QwtVectorFieldData (const QVector< QwtVectorFieldSample > &=QVector< QwtVectorFieldSample >()) | |
![]() | |
QwtArraySeriesData () | |
Constructor. More... | |
QwtArraySeriesData (const QVector< QwtVectorFieldSample > &samples) | |
virtual QwtVectorFieldSample | sample (size_t index) const QWT_OVERRIDE |
const QVector< QwtVectorFieldSample > | samples () const |
void | setSamples (const QVector< QwtVectorFieldSample > &samples) |
virtual size_t | size () const QWT_OVERRIDE |
![]() | |
QwtSeriesData () | |
Constructor. More... | |
virtual void | setRectOfInterest (const QRectF &rect) |
virtual | ~QwtSeriesData () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
QVector< QwtVectorFieldSample > | m_samples |
Vector of samples. More... | |
![]() | |
QRectF | cachedBoundingRect |
Can be used to cache a calculated bounding rectangle. More... | |
Interface for iterating over an array of vector field samples.
Definition at line 249 of file qwt_series_data.h.
QwtVectorFieldData::QwtVectorFieldData | ( | const QVector< QwtVectorFieldSample > & | samples = QVector< QwtVectorFieldSample >( ) | ) |
|
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< QwtVectorFieldSample >.
Definition at line 341 of file qwt_series_data.cpp.