|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
用于遍历两个 QVector<T> 对象的接口 更多...
#include <qwt_point_data.h>
Public 成员函数 | |
| QwtPointArrayData (const QVector< T > &x, const QVector< T > &y) | |
| Constructor with QVector references | |
| QwtPointArrayData (QVector< T > &&x, QVector< T > &&y) | |
| Constructor with rvalue references | |
| QwtPointArrayData (const T *x, const T *y, size_t size) | |
| Constructor with C-style arrays | |
| virtual size_t | size () const override |
| Get the size of the data set | |
| virtual QPointF | sample (size_t index) const override |
| Get the sample at a specific index | |
| const QVector< T > & | xData () const |
| Get the x-data vector | |
| const QVector< T > & | yData () const |
| Get the y-data vector | |
Public 成员函数 继承自 QwtPointSeriesData | |
| QwtPointSeriesData (const QVector< QPointF > &=QVector< QPointF >()) | |
| Constructor | |
| virtual QRectF | boundingRect () const override |
| Calculate the bounding rectangle | |
Public 成员函数 继承自 QwtArraySeriesData< QPointF > | |
| QwtArraySeriesData () | |
| Constructor | |
| QwtArraySeriesData (const QVector< QPointF > &samples) | |
| Constructor | |
| QwtArraySeriesData (QVector< QPointF > &&samples) | |
| void | setSamples (const QVector< QPointF > &samples) |
| Assign an array of samples | |
| void | setSamples (QVector< QPointF > &&samples) |
| const QVector< QPointF > | samples () const |
Public 成员函数 继承自 QwtSeriesData< T > | |
| QwtSeriesData () | |
| Constructor | |
| virtual | ~QwtSeriesData () |
| Destructor | |
| virtual void | setRectOfInterest (const QRectF &rect) |
| Set a the "rect of interest" | |
额外继承的成员函数 | |
Protected 属性 继承自 QwtArraySeriesData< QPointF > | |
| QVector< QPointF > | m_samples |
| Vector of samples | |
Protected 属性 继承自 QwtSeriesData< T > | |
| QRectF | cachedBoundingRect |
| Can be used to cache a calculated bounding rectangle | |
用于遍历两个 QVector<T> 对象的接口
|
overridevirtual |
Get the sample at a specific index
|
overridevirtual |
Get the size of the data set