Ubuntu Manpages

QwtCPointerData

Data class containing two pointers to memory blocks of doubles.

#include <qwt_series_data.h>

Inherits QwtSeriesData< QPointF >.


QwtCPointerData (const double *x, const double *y, size_t size)
virtual QRectF boundingRect () const
virtual size_t size () const
virtual QPointF sample (size_t i) const
const double * xData () const
const double * yData () const

Data class containing two pointers to memory blocks of doubles.

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()

Calculate the bounding rect. The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.

Returns:

Bounding rectangle

Implements QwtSeriesData< QPointF >.

Parameters:

i Index

Returns:

Sample at position i

Implements QwtSeriesData< QPointF >.

Size of the data set

Implements QwtSeriesData< QPointF >.

Array of the x-values

Array of the y-values

Generated automatically by Doxygen for Qwt User's Guide from the source code.