QwtCPointerData< T > − Data class containing two pointers to memory blocks of T.
#include <qwt_point_data.h>
Inherits QwtSeriesData< QPointF >.
QwtCPointerData
(const T *x, const T *y, size_t size)
virtual size_t size () const override
virtual QPointF sample (size_t index) const override
const T * xData () const
const 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 QwtCPointerData< T >"Data class containing two pointers to memory blocks of T.
Definition at line 43 of file qwt_point_data.h.
Constructor
Parameters
x Array of x values
y Array of y values
size Size of the x and y arrays
Warning
The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object.
See also
QwtPlotCurve::setData(), QwtPlotCurve::setRawSamples()
Definition at line 326 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 347 of file qwt_point_data.h.
Returns
Size of the data set
Implements QwtSeriesData< QPointF >.
Definition at line 335 of file qwt_point_data.h.
Returns
Array of the x-values
Definition at line 354 of file qwt_point_data.h.
Returns
Array of the y-values
Definition at line 361 of file qwt_point_data.h.
Generated automatically by Doxygen for Qwt User’s Guide from the source code.