|
Qwt User's Guide
6.2.0
|
Interface for iterating over a QVector<T>. More...
#include <qwt_point_data.h>
Public Member Functions | |
| QwtValuePointData (const QVector< T > &y) | |
| QwtValuePointData (const T *y, size_t size) | |
| virtual size_t | size () const override |
| virtual QPointF | sample (size_t index) const override |
| const QVector< T > & | yData () const |
Public Member Functions inherited from QwtPointSeriesData | |
| QwtPointSeriesData (const QVector< QPointF > &=QVector< QPointF >()) | |
| virtual QRectF | boundingRect () const override |
| Calculate the bounding rectangle. More... | |
Public Member Functions inherited from QwtArraySeriesData< QPointF > | |
| QwtArraySeriesData () | |
| Constructor. | |
| QwtArraySeriesData (const QVector< QPointF > &samples) | |
| void | setSamples (const QVector< QPointF > &samples) |
| const QVector< QPointF > | samples () const |
Public Member Functions inherited from QwtSeriesData< QPointF > | |
| QwtSeriesData () | |
| Constructor. | |
| virtual | ~QwtSeriesData () |
| Destructor. | |
| virtual void | setRectOfInterest (const QRectF &rect) |
Additional Inherited Members | |
Protected Attributes inherited from QwtArraySeriesData< QPointF > | |
| QVector< QPointF > | m_samples |
| Vector of samples. | |
Protected Attributes inherited from QwtSeriesData< QPointF > | |
| QRectF | cachedBoundingRect |
| Can be used to cache a calculated bounding rectangle. | |
Interface for iterating over a QVector<T>.
The memory contains the y coordinates, while the index is interpreted as x coordinate.
Definition at line 67 of file qwt_point_data.h.
| QwtValuePointData< T >::QwtValuePointData | ( | const QVector< T > & | y | ) |
| QwtValuePointData< T >::QwtValuePointData | ( | const T * | y, |
| size_t | size | ||
| ) |
Constructor
| y | Array of y values |
| size | Size of the x and y arrays |
Definition at line 279 of file qwt_point_data.h.
|
overridevirtual |
Return the sample at position i
| index | Index |
Reimplemented from QwtArraySeriesData< QPointF >.
Definition at line 299 of file qwt_point_data.h.
|
overridevirtual |
Reimplemented from QwtArraySeriesData< QPointF >.
Definition at line 287 of file qwt_point_data.h.
| const QVector< T > & QwtValuePointData< T >::yData |
Definition at line 306 of file qwt_point_data.h.