Public Member Functions | Protected Attributes | List of all members
QwtTimeseries Class Reference

#include <timeseries_qwt.h>

Inheritance diagram for QwtTimeseries:
Inheritance graph
[legend]

Public Member Functions

QRectF boundingRect () const override
 
virtual RangeOpt getVisualizationRangeX () override
 
virtual RangeOpt getVisualizationRangeY (Range range_X) override
 
 QwtTimeseries (const PlotData *data)
 
QPointF sample (size_t i) const override
 
virtual std::optional< QPointF > sampleFromTime (double t)
 
void setTimeOffset (double offset)
 
void updateCache (bool) override
 
- Public Member Functions inherited from QwtSeriesWrapper
QRectF boundingRect () const override
 
virtual const PlotDataXYplotData () const
 
 QwtSeriesWrapper (const PlotDataXY *data)
 
size_t size () const override
 
- Public Member Functions inherited from QwtSeriesData< QPointF >
virtual QRectF boundingRect () const
 
 QwtSeriesData ()
 Constructor. More...
 
virtual void setRectOfInterest (const QRectF &rect)
 
virtual size_t size () const=0
 
virtual ~QwtSeriesData ()
 Destructor. More...
 

Protected Attributes

double _time_offset = 0.0
 
const PlotData_ts_data
 
- Protected Attributes inherited from QwtSeriesData< QPointF >
QRectF cachedBoundingRect
 Can be used to cache a calculated bounding rectangle. More...
 

Detailed Description

Definition at line 44 of file timeseries_qwt.h.

Constructor & Destructor Documentation

◆ QwtTimeseries()

QwtTimeseries::QwtTimeseries ( const PlotData data)
inline

Definition at line 47 of file timeseries_qwt.h.

Member Function Documentation

◆ boundingRect()

QRectF QwtTimeseries::boundingRect ( ) const
override

Definition at line 156 of file timeseries_qwt.cpp.

◆ getVisualizationRangeX()

RangeOpt QwtTimeseries::getVisualizationRangeX ( )
overridevirtual

Reimplemented from QwtSeriesWrapper.

Reimplemented in PointSeriesXY.

Definition at line 207 of file timeseries_qwt.cpp.

◆ getVisualizationRangeY()

RangeOpt QwtTimeseries::getVisualizationRangeY ( Range  range_X)
overridevirtual

Reimplemented from QwtSeriesWrapper.

Reimplemented in PointSeriesXY.

Definition at line 32 of file timeseries_qwt.cpp.

◆ sample()

QPointF QwtTimeseries::sample ( size_t  i) const
overridevirtual

Return a sample

Parameters
iIndex
Returns
Sample at position i

Reimplemented from QwtSeriesWrapper.

Definition at line 179 of file timeseries_qwt.cpp.

◆ sampleFromTime()

std::optional< QPointF > QwtTimeseries::sampleFromTime ( double  t)
virtual

Reimplemented in PointSeriesXY.

Definition at line 59 of file timeseries_qwt.cpp.

◆ setTimeOffset()

void QwtTimeseries::setTimeOffset ( double  offset)

Definition at line 190 of file timeseries_qwt.cpp.

◆ updateCache()

void QwtTimeseries::updateCache ( bool  )
inlineoverridevirtual

Reimplemented from QwtSeriesWrapper.

Reimplemented in TransformedTimeseries.

Definition at line 63 of file timeseries_qwt.h.

Member Data Documentation

◆ _time_offset

double QwtTimeseries::_time_offset = 0.0
protected

Definition at line 69 of file timeseries_qwt.h.

◆ _ts_data

const PlotData* QwtTimeseries::_ts_data
protected

Definition at line 68 of file timeseries_qwt.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51