Qwt User's Guide 6.3.0
|
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 size_t | size () const override |
virtual QPointF | sample (size_t index) const override |
const QVector< T > & | xData () const |
const QVector< T > & | yData () const |
Public Member Functions inherited from QwtSeriesData< QPointF > | |
QwtSeriesData () | |
Constructor. | |
virtual | ~QwtSeriesData () |
Destructor. | |
QPointF | firstSample () const |
QPointF | lastSample () const |
virtual QRectF | boundingRect () const |
virtual void | setRectOfInterest (const QRectF &rect) |
Additional Inherited Members | |
Protected Attributes inherited from QwtSeriesData< QPointF > | |
QRectF | cachedBoundingRect |
Can be used to cache a calculated bounding rectangle. | |
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.
|
overridevirtual |
Return the sample at position i
index | Index |
Implements QwtSeriesData< QPointF >.
Definition at line 239 of file qwt_point_data.h.
|
overridevirtual |
Implements QwtSeriesData< QPointF >.
Definition at line 227 of file qwt_point_data.h.
const QVector< T > & QwtPointArrayData< T >::xData | ( | ) | const |
Definition at line 246 of file qwt_point_data.h.
const QVector< T > & QwtPointArrayData< T >::yData | ( | ) | const |
Definition at line 253 of file qwt_point_data.h.