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

#include <point_series_xy.h>

Inheritance diagram for PointSeriesXY:
Inheritance graph
[legend]

Public Member Functions

const PlotDatadataX () const
 
const PlotDatadataY () const
 
RangeOpt getVisualizationRangeX () override
 
RangeOpt getVisualizationRangeY (Range range_X) override
 
const PlotDataXYplotData () const override
 
 PointSeriesXY (const PlotData *x_axis, const PlotData *y_axis)
 
virtual QPointF sample (size_t i) const override
 
std::optional< QPointF > sampleFromTime (double t) override
 
size_t size () const override
 
void updateCache (bool reset_old_data) override
 
- Public Member Functions inherited from QwtTimeseries
QRectF boundingRect () const override
 
 QwtTimeseries (const PlotData *data)
 
QPointF sample (size_t i) const override
 
void setTimeOffset (double offset)
 
void updateCache (bool) override
 
- Public Member Functions inherited from QwtSeriesWrapper
QRectF boundingRect () const override
 
 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

PlotDataXY _cached_curve
 
const PlotData_x_axis
 
const PlotData_y_axis
 
- Protected Attributes inherited from QwtTimeseries
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 12 of file point_series_xy.h.

Constructor & Destructor Documentation

◆ PointSeriesXY()

PointSeriesXY::PointSeriesXY ( const PlotData x_axis,
const PlotData y_axis 
)

Definition at line 11 of file point_series_xy.cpp.

Member Function Documentation

◆ dataX()

const PlotData* PointSeriesXY::dataX ( ) const
inline

Definition at line 33 of file point_series_xy.h.

◆ dataY()

const PlotData* PointSeriesXY::dataY ( ) const
inline

Definition at line 37 of file point_series_xy.h.

◆ getVisualizationRangeX()

RangeOpt PointSeriesXY::getVisualizationRangeX ( )
overridevirtual

Reimplemented from QwtTimeseries.

Definition at line 76 of file point_series_xy.cpp.

◆ getVisualizationRangeY()

RangeOpt PointSeriesXY::getVisualizationRangeY ( Range  range_X)
overridevirtual

Reimplemented from QwtTimeseries.

Definition at line 41 of file point_series_xy.cpp.

◆ plotData()

const PlotDataXY* PointSeriesXY::plotData ( ) const
inlineoverridevirtual

Reimplemented from QwtSeriesWrapper.

Definition at line 42 of file point_series_xy.h.

◆ sample()

virtual QPointF PointSeriesXY::sample ( size_t  i) const
inlineoverridevirtual

Return a sample

Parameters
iIndex
Returns
Sample at position i

Implements QwtSeriesData< QPointF >.

Definition at line 17 of file point_series_xy.h.

◆ sampleFromTime()

std::optional< QPointF > PointSeriesXY::sampleFromTime ( double  t)
overridevirtual

Reimplemented from QwtTimeseries.

Definition at line 25 of file point_series_xy.cpp.

◆ size()

size_t PointSeriesXY::size ( ) const
override

Definition at line 20 of file point_series_xy.cpp.

◆ updateCache()

void PointSeriesXY::updateCache ( bool  reset_old_data)
overridevirtual

Reimplemented from QwtSeriesWrapper.

Definition at line 46 of file point_series_xy.cpp.

Member Data Documentation

◆ _cached_curve

PlotDataXY PointSeriesXY::_cached_curve
protected

Definition at line 50 of file point_series_xy.h.

◆ _x_axis

const PlotData* PointSeriesXY::_x_axis
protected

Definition at line 48 of file point_series_xy.h.

◆ _y_axis

const PlotData* PointSeriesXY::_y_axis
protected

Definition at line 49 of file point_series_xy.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:50