Public Member Functions | List of all members
QwtPointSeriesData Class Reference

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

#include <qwt_series_data.h>

Inheritance diagram for QwtPointSeriesData:
Inheritance graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Interface for iterating over an array of points.

Definition at line 207 of file qwt_series_data.h.

Constructor & Destructor Documentation

QwtPointSeriesData::QwtPointSeriesData ( const QVector< QPointF > &  samples = QVector<QPointF>())

Constructor

Parameters
samplesSamples

Definition at line 222 of file qwt_series_data.cpp.

Member Function Documentation

QRectF QwtPointSeriesData::boundingRect ( ) const
virtual

Calculate the bounding rectangle.

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

Returns
Bounding rectangle

Implements QwtSeriesData< QPointF >.

Definition at line 236 of file qwt_series_data.cpp.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:19