1
.TH "QwtSeriesData" 3 "Fri Apr 15 2011" "Version 6.0.0" "Qwt User's Guide" \" -*- nroff -*-
7
Abstract interface for iterating over samples.
13
\fC#include <qwt_series_data.h>\fP
15
Inherited by \fBQwtArraySeriesData< T >\fP.
16
.SS "Public Member Functions"
20
.RI "\fBQwtSeriesData\fP ()"
23
.RI "virtual \fB~QwtSeriesData\fP ()"
26
.RI "virtual size_t \fBsize\fP () const =0"
29
.RI "virtual T \fBsample\fP (size_t i) const =0"
32
.RI "virtual QRectF \fBboundingRect\fP () const =0"
35
.RI "virtual void \fBsetRectOfInterest\fP (const QRectF &)"
38
.SS "Protected Attributes"
42
.RI "QRectF \fBd_boundingRect\fP"
45
.SH "Detailed Description"
48
.SS "template<typename T> class QwtSeriesData< T >"
49
Abstract interface for iterating over samples.
51
Qwt offers several implementations of the \fBQwtSeriesData\fP 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.
52
.SH "Constructor & Destructor Documentation"
54
.SS "template<typename T > \fBQwtSeriesData\fP< T >::\fBQwtSeriesData\fP ()"
57
.SS "template<typename T > \fBQwtSeriesData\fP< T >::~\fBQwtSeriesData\fP ()\fC [virtual]\fP"
60
.SH "Member Function Documentation"
62
.SS "template<typename T> virtual QRectF \fBQwtSeriesData\fP< T >::boundingRect () const\fC [pure virtual]\fP"Calculate the bounding rect of all samples
64
The bounding rect is necessary for autoscaling and can be used for a couple of painting optimizations.
66
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.
68
Implemented in \fBQwtPointSeriesData\fP, \fBQwtPoint3DSeriesData\fP, \fBQwtIntervalSeriesData\fP, \fBQwtSetSeriesData\fP, \fBQwtPointArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtSyntheticPointData\fP.
69
.SS "template<typename T> virtual T \fBQwtSeriesData\fP< T >::sample (size_ti) const\fC [pure virtual]\fP"Return a sample
83
Implemented in \fBQwtArraySeriesData< T >\fP, \fBQwtPointArrayData\fP, \fBQwtCPointerData\fP, \fBQwtSyntheticPointData\fP, \fBQwtArraySeriesData< QwtIntervalSample >\fP, \fBQwtArraySeriesData< QPointF >\fP, \fBQwtArraySeriesData< QwtPoint3D >\fP, and \fBQwtArraySeriesData< QwtSetSample >\fP.
84
.SS "template<typename T > void \fBQwtSeriesData\fP< T >::setRectOfInterest (const QRectF &)\fC [virtual]\fP"Set a the 'rect of interest'
86
\fBQwtPlotSeriesItem\fP defines the current area of the plot canvas as 'rect of interest' ( \fBQwtPlotSeriesItem::updateScaleDiv()\fP ). It can be used to implement different levels of details.
88
The default implementation does nothing.
90
Reimplemented in \fBQwtSyntheticPointData\fP.
91
.SS "template<typename T> virtual size_t \fBQwtSeriesData\fP< T >::size () const\fC [pure virtual]\fP"\fBReturns:\fP
98
Implemented in \fBQwtArraySeriesData< T >\fP, \fBQwtPointArrayData\fP, \fBQwtCPointerData\fP, \fBQwtSyntheticPointData\fP, \fBQwtArraySeriesData< QwtIntervalSample >\fP, \fBQwtArraySeriesData< QPointF >\fP, \fBQwtArraySeriesData< QwtPoint3D >\fP, and \fBQwtArraySeriesData< QwtSetSample >\fP.
99
.SH "Member Data Documentation"
101
.SS "template<typename T> QRectF \fBQwtSeriesData\fP< T >::\fBd_boundingRect\fP\fC [mutable, protected]\fP"
103
Can be used to cache a calculated bounding rectangle.
107
Generated automatically by Doxygen for Qwt User's Guide from the source code.