Qwt User's Guide  6.1.3
QwtSetSeriesData Class Reference

Interface for iterating over an array of samples. More...

#include <qwt_series_data.h>

Inheritance diagram for QwtSetSeriesData:

Public Member Functions

 QwtSetSeriesData (const QVector< QwtSetSample > &=QVector< QwtSetSample >())
virtual QRectF boundingRect () const
 Calculate the bounding rectangle. More...
- Public Member Functions inherited from QwtArraySeriesData< QwtSetSample >
 QwtArraySeriesData ()
 QwtArraySeriesData (const QVector< QwtSetSample > &samples)
void setSamples (const QVector< QwtSetSample > &samples)
const QVector< QwtSetSamplesamples () const
virtual size_t size () const
virtual QwtSetSample sample (size_t index) const
- Public Member Functions inherited from QwtSeriesData< QwtSetSample >
 QwtSeriesData ()
virtual ~QwtSeriesData ()
virtual void setRectOfInterest (const QRectF &rect)

Additional Inherited Members

- Protected Attributes inherited from QwtArraySeriesData< QwtSetSample >
QVector< QwtSetSampled_samples
 Vector of samples.
- Protected Attributes inherited from QwtSeriesData< QwtSetSample >
QRectF d_boundingRect
 Can be used to cache a calculated bounding rectangle.

Detailed Description

Interface for iterating over an array of samples.

Constructor & Destructor Documentation

QwtSetSeriesData::QwtSetSeriesData ( const QVector< QwtSetSample > &  samples = QVector<QwtSetSample>())



Member Function Documentation

QRectF QwtSetSeriesData::boundingRect ( ) const

Calculate the bounding rectangle.

The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.

Bounding rectangle

Implements QwtSeriesData< QwtSetSample >.