QWT 7.0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QwtIntervalSeriesData Class Reference

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

#include <qwt_series_data.h>

Inheritance diagram for QwtIntervalSeriesData:
QwtArraySeriesData< QwtIntervalSample > QwtSeriesData< T >

Public Member Functions

 QwtIntervalSeriesData (const QVector< QwtIntervalSample > &=QVector< QwtIntervalSample >())
 Constructor.
 
virtual QRectF boundingRect () const QWT_OVERRIDE
 Calculate the bounding rectangle.
 
- Public Member Functions inherited from QwtArraySeriesData< QwtIntervalSample >
 QwtArraySeriesData ()
 Constructor.
 
 QwtArraySeriesData (const QVector< QwtIntervalSample > &samples)
 Constructor.
 
 QwtArraySeriesData (QVector< QwtIntervalSample > &&samples)
 
void setSamples (const QVector< QwtIntervalSample > &samples)
 Assign an array of samples.
 
void setSamples (QVector< QwtIntervalSample > &&samples)
 
const QVector< QwtIntervalSamplesamples () const
 
virtual size_t size () const QWT_OVERRIDE
 
virtual QwtIntervalSample sample (size_t index) const QWT_OVERRIDE
 
- Public Member Functions inherited from QwtSeriesData< T >
 QwtSeriesData ()
 Constructor.
 
virtual ~QwtSeriesData ()
 Destructor.
 
virtual void setRectOfInterest (const QRectF &rect)
 Set a the "rect of interest".
 

Additional Inherited Members

- Protected Attributes inherited from QwtArraySeriesData< QwtIntervalSample >
QVector< QwtIntervalSamplem_samples
 Vector of samples.
 
- Protected Attributes inherited from QwtSeriesData< T >
QRectF cachedBoundingRect
 Can be used to cache a calculated bounding rectangle.
 

Detailed Description

Interface for iterating over an array of intervals.

Constructor & Destructor Documentation

◆ QwtIntervalSeriesData()

QwtIntervalSeriesData::QwtIntervalSeriesData ( const QVector< QwtIntervalSample > &  samples = QVectorQwtIntervalSample >())

Constructor.

Parameters
samplesSamples

Member Function Documentation

◆ boundingRect()

QRectF QwtIntervalSeriesData::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< T >.


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