QwtValuePointData< T > − Interface for iterating over a QVector<T>.
#include <qwt_point_data.h>
Inherits QwtSeriesData< QPointF >.
QwtValuePointData
(const QVector< T > &y)
QwtValuePointData (const T *y, size_t size)
virtual size_t size () const override
virtual QPointF sample (size_t index) const override
const QVector< T > & yData ()
const
Public Member Functions inherited from QwtSeriesData< QPointF >
QwtSeriesData ()
Constructor.
virtual ˜QwtSeriesData ()
Destructor.
QPointF firstSample () const
QPointF lastSample () const
virtual QRectF boundingRect () const
virtual void setRectOfInterest (const QRectF
&rect)
Protected Attributes inherited from QwtSeriesData< QPointF >
QRectF
cachedBoundingRect
Can be used to cache a calculated bounding rectangle.
class QwtValuePointData< T >"Interface for iterating over a QVector<T>.
The memory contains the y coordinates, while the index is interpreted as x coordinate.
Definition at line 67 of file qwt_point_data.h.
Constructor
Parameters
y Array of y values
See also
QwtPlotCurve::setData(), QwtPlotCurve::setSamples()
Definition at line 266 of file qwt_point_data.h.
Constructor
Parameters
y Array of y values
size Size of the x and y arrays
See also
QwtPlotCurve::setData(), QwtPlotCurve::setSamples()
Definition at line 279 of file qwt_point_data.h.
Return the sample at position i
Parameters
index Index
Returns
Sample at position i
Implements QwtSeriesData< QPointF >.
Definition at line 299 of file qwt_point_data.h.
Returns
Size of the data set
Implements QwtSeriesData< QPointF >.
Definition at line 287 of file qwt_point_data.h.
Returns
Array of the y-values
Definition at line 306 of file qwt_point_data.h.
Generated automatically by Doxygen for Qwt User’s Guide from the source code.