#include <qwt_series_data.h>
Public Member Functions | |
virtual QRectF | boundingRect () const QWT_OVERRIDE |
Calculate the bounding rectangle. More... | |
virtual double | maxMagnitude () const |
QwtVectorFieldData (const QVector< QwtVectorFieldSample > &=QVector< QwtVectorFieldSample >()) | |
Public Member Functions inherited from QwtArraySeriesData< 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 |
Public Member Functions inherited from QwtSeriesData< QwtVectorFieldSample > | |
QwtSeriesData () | |
Constructor. More... | |
virtual void | setRectOfInterest (const QRectF &rect) |
virtual | ~QwtSeriesData () |
Destructor. More... | |
Protected Attributes | |
double | d_maxMagnitude |
Protected Attributes inherited from QwtArraySeriesData< QwtVectorFieldSample > | |
QVector< QwtVectorFieldSample > | d_samples |
Vector of samples. More... | |
Protected Attributes inherited from QwtSeriesData< QwtVectorFieldSample > | |
QRectF | d_boundingRect |
Can be used to cache a calculated bounding rectangle. More... | |
Definition at line 248 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 345 of file qwt_series_data.cpp.
|
virtual |
Definition at line 353 of file qwt_series_data.cpp.
|
mutableprotected |
Definition at line 258 of file qwt_series_data.h.