QwtSeriesData(3) | Qwt User's Guide | QwtSeriesData(3) |
NAME¶
QwtSeriesData - Abstract interface for iterating over samples.SYNOPSIS¶
#include <qwt_series_data.h> Inherited by QwtArraySeriesData< T >.Public Member Functions¶
QwtSeriesData ()
Protected Attributes¶
QRectF d_boundingRect
Detailed Description¶
template<typename T> class QwtSeriesData< T >¶
Abstract interface for iterating over samples.Constructor & Destructor Documentation¶
template<typename T > QwtSeriesData< T >::QwtSeriesData ()¶
Constructor.template<typename T > QwtSeriesData< T >::~QwtSeriesData () [virtual]¶
Destructor.Member Function Documentation¶
template<typename T> virtual QRectF QwtSeriesData< T >::boundingRect () const [pure virtual] Calculate the bounding rect of all samples¶
The bounding rect is necessary for autoscaling and can be used for a couple of painting optimizations. qwtBoundingRect(...) offers slow implementations iterating over the samples. For large sets it is recommended to implement something faster f.e. by caching the bounding rect. Implemented in QwtPointSeriesData, QwtPoint3DSeriesData, QwtIntervalSeriesData, QwtSetSeriesData, QwtPointArrayData, QwtCPointerData, and QwtSyntheticPointData.template<typename T> virtual T QwtSeriesData< T >::sample (size_ti) const [pure virtual] Return a sample¶
Parameters:i Index
Returns:
Sample at position i
template<typename T > void QwtSeriesData< T >::setRectOfInterest (const QRectF &) [virtual] Set a the 'rect of interest'¶
QwtPlotSeriesItem defines the current area of the plot canvas as 'rect of interest' ( QwtPlotSeriesItem::updateScaleDiv() ). It can be used to implement different levels of details. The default implementation does nothing. Reimplemented in QwtSyntheticPointData.template<typename T> virtual size_t QwtSeriesData< T >::size () const [pure virtual] Returns:¶
Number of samples
Member Data Documentation¶
template<typename T> QRectF QwtSeriesData< T >:: d_boundingRect [mutable, protected]¶
Can be used to cache a calculated bounding rectangle.Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.Fri Apr 15 2011 | Version 6.0.0 |