|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
Abstract interface for iterating over samples 更多...
#include <qwt_series_data.h>
Public 成员函数 | |
| QwtSeriesData () | |
| Constructor | |
| virtual | ~QwtSeriesData () |
| Destructor | |
| virtual size_t | size () const =0 |
| virtual T | sample (size_t i) const =0 |
| Return a sample | |
| virtual QRectF | boundingRect () const =0 |
| Calculate the bounding rect of all samples | |
| virtual void | setRectOfInterest (const QRectF &rect) |
| Set a the "rect of interest" | |
Protected 属性 | |
| QRectF | cachedBoundingRect |
| Can be used to cache a calculated bounding rectangle | |
Abstract interface for iterating over samples
Qwt offers several implementations of the QwtSeriesData API, but in situations, where data of an application specific format needs to be displayed, without having to copy it, it is recommended to implement an individual data access.
A subclass of QwtSeriesData<QPointF> must implement:
|
pure virtual |
Calculate the bounding rect of all samples
在 QwtSyntheticPointData, QwtPointSeriesData, QwtPoint3DSeriesData, QwtIntervalSeriesData, QwtSetSeriesData, QwtVectorFieldData, QwtTradingChartData, QwtBoxChartData , 以及 QwtBoxOutlierChartData 内被实现.
|
pure virtual |
Return a sample
在 QwtPointArrayData< T >, QwtCPointerData< T >, QwtValuePointData< T >, QwtCPointerValueData< T >, QwtSyntheticPointData, QwtArraySeriesData< T >, QwtArraySeriesData< QPointF >, QwtArraySeriesData< QwtBoxOutlierSample >, QwtArraySeriesData< QwtBoxSample >, QwtArraySeriesData< QwtIntervalSample >, QwtArraySeriesData< QwtOHLCSample >, QwtArraySeriesData< QwtPoint3D >, QwtArraySeriesData< QwtSetSample > , 以及 QwtArraySeriesData< QwtVectorFieldSample > 内被实现.
|
virtual |
Set a the "rect of interest"
被 QwtSyntheticPointData 重载.
|
pure virtual |
在 QwtPointArrayData< T >, QwtCPointerData< T >, QwtValuePointData< T >, QwtCPointerValueData< T >, QwtSyntheticPointData, QwtArraySeriesData< T >, QwtArraySeriesData< QPointF >, QwtArraySeriesData< QwtBoxOutlierSample >, QwtArraySeriesData< QwtBoxSample >, QwtArraySeriesData< QwtIntervalSample >, QwtArraySeriesData< QwtOHLCSample >, QwtArraySeriesData< QwtPoint3D >, QwtArraySeriesData< QwtSetSample > , 以及 QwtArraySeriesData< QwtVectorFieldSample > 内被实现.