Interface for iterating over two QVector<T> objects. More...
#include <qwt_point_data.h>
Public Member Functions | |
QwtPointArrayData (const QVector< T > &x, const QVector< T > &y) | |
QwtPointArrayData (const T *x, const T *y, size_t size) | |
virtual QPointF | sample (size_t index) const QWT_OVERRIDE |
virtual size_t | size () const QWT_OVERRIDE |
const QVector< T > & | xData () const |
const QVector< T > & | yData () const |
Public Member Functions inherited from QwtSeriesData< QPointF > | |
virtual QRectF | boundingRect () const |
QwtSeriesData () | |
Constructor. More... | |
virtual void | setRectOfInterest (const QRectF &rect) |
virtual size_t | size () const=0 |
virtual | ~QwtSeriesData () |
Destructor. More... | |
Private Attributes | |
QVector< T > | m_x |
QVector< T > | m_y |
Additional Inherited Members | |
Protected Attributes inherited from QwtSeriesData< QPointF > | |
QRectF | cachedBoundingRect |
Can be used to cache a calculated bounding rectangle. More... | |
Interface for iterating over two QVector<T> objects.
Definition at line 22 of file qwt_point_data.h.
QwtPointArrayData< T >::QwtPointArrayData | ( | const QVector< T > & | x, |
const QVector< T > & | y | ||
) |
Constructor
x | Array of x values |
y | Array of y values |
Definition at line 200 of file qwt_point_data.h.
QwtPointArrayData< T >::QwtPointArrayData | ( | const T * | x, |
const T * | y, | ||
size_t | size | ||
) |
Constructor
x | Array of x values |
y | Array of y values |
size | Size of the x and y arrays |
Definition at line 216 of file qwt_point_data.h.
|
virtual |
Return the sample at position i
index | Index |
Implements QwtSeriesData< QPointF >.
Definition at line 239 of file qwt_point_data.h.
|
virtual |
Definition at line 227 of file qwt_point_data.h.
const QVector< T > & QwtPointArrayData< T >::xData |
Definition at line 246 of file qwt_point_data.h.
const QVector< T > & QwtPointArrayData< T >::yData |
Definition at line 253 of file qwt_point_data.h.
|
private |
Definition at line 42 of file qwt_point_data.h.
|
private |
Definition at line 43 of file qwt_point_data.h.