QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
QwtSeriesData< T > 模板类 参考abstract

Abstract interface for iterating over samples 更多...

#include <qwt_series_data.h>

类 QwtSeriesData< T > 继承关系图:
QwtArraySeriesData< QwtBoxSample > QwtArraySeriesData< QwtBoxOutlierSample > QwtArraySeriesData< QwtIntervalSample > QwtArraySeriesData< QwtPoint3D > QwtArraySeriesData< QPointF > QwtArraySeriesData< QwtSetSample > QwtArraySeriesData< QwtOHLCSample > QwtArraySeriesData< QwtVectorFieldSample > QwtArraySeriesData< T >

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
 

详细描述

template<typename T>
class QwtSeriesData< T >

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:

成员函数说明

◆ boundingRect()

template<typename T >
virtual QRectF QwtSeriesData< T >::boundingRect ( ) const
pure virtual

◆ sample()

template<typename T >
virtual T QwtSeriesData< T >::sample ( size_t  i) const
pure virtual

◆ setRectOfInterest()

template<typename T >
void QwtSeriesData< T >::setRectOfInterest ( const QRectF &  rect)
virtual

Set a the "rect of interest"

QwtSyntheticPointData 重载.

◆ size()

template<typename T >
virtual size_t QwtSeriesData< T >::size ( ) const
pure virtual

该类的文档由以下文件生成: