#include <point_series_xy.h>

Public Member Functions | |
| QRectF | boundingRect () const override |
| PlotData::RangeTimeOpt | getVisualizationRangeX () override |
| PlotData::RangeValueOpt | getVisualizationRangeY (PlotData::RangeTime range_X) override |
| PointSeriesXY (const PlotData *y_axis, const PlotData *x_axis) | |
| virtual QPointF | sample (size_t i) const override |
| nonstd::optional< QPointF > | sampleFromTime (double t) override |
| bool | updateCache () override |
Public Member Functions inherited from DataSeriesBase | |
| QRectF | boundingRect () const override |
| void | calculateBoundingBox () |
| DataSeriesBase (const PlotData *transformed) | |
| void | setTimeOffset (double offset) |
| virtual size_t | size () const override |
| const PlotData * | transformedData () const |
Public Member Functions inherited from QwtSeriesData< QPointF > | |
| QwtSeriesData () | |
| Constructor. More... | |
| virtual void | setRectOfInterest (const QRectF &rect) |
| virtual | ~QwtSeriesData () |
| Destructor. More... | |
Protected Attributes | |
| PlotData | _cached_curve |
| const PlotData * | _x_axis |
| const PlotData * | _y_axis |
Protected Attributes inherited from DataSeriesBase | |
| QRectF | _bounding_box |
Protected Attributes inherited from QwtSeriesData< QPointF > | |
| QRectF | d_boundingRect |
| Can be used to cache a calculated bounding rectangle. More... | |
Definition at line 6 of file point_series_xy.h.
Definition at line 5 of file point_series_xy.cpp.
|
inlineoverridevirtual |
Calculate the bounding rect of all samples
The bounding rect is necessary for autoscaling and can be used for a couple of painting optimizations.
qwtBoundingRect(...) offers slow implementations iterating over the samples. For large sets it is recommended to implement something faster f.e. by caching the bounding rectangle.
Implements QwtSeriesData< QPointF >.
Definition at line 17 of file point_series_xy.h.
|
overridevirtual |
Reimplemented from DataSeriesBase.
Definition at line 14 of file point_series_xy.cpp.
|
overridevirtual |
Implements DataSeriesBase.
Definition at line 40 of file point_series_xy.cpp.
|
inlineoverridevirtual |
Return a sample
| i | Index |
Reimplemented from DataSeriesBase.
Definition at line 11 of file point_series_xy.h.
|
overridevirtual |
Implements DataSeriesBase.
Definition at line 24 of file point_series_xy.cpp.
|
overridevirtual |
Implements DataSeriesBase.
Definition at line 47 of file point_series_xy.cpp.
|
protected |
Definition at line 34 of file point_series_xy.h.
|
protected |
Definition at line 32 of file point_series_xy.h.
|
protected |
Definition at line 33 of file point_series_xy.h.