Data class containing two pointers to memory blocks of T. More...
#include <qwt_point_data.h>
Public Member Functions | |
QwtCPointerData (const T *x, const T *y, size_t size) | |
virtual QPointF | sample (size_t index) const QWT_OVERRIDE |
virtual size_t | size () const QWT_OVERRIDE |
const T * | xData () const |
const T * | yData () const |
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... | |
Private Attributes | |
size_t | m_size |
const T * | m_x |
const T * | m_y |
Additional Inherited Members | |
Protected Attributes inherited from QwtSeriesData< QPointF > | |
QRectF | cachedBoundingRect |
Can be used to cache a calculated bounding rectangle. More... | |
Data class containing two pointers to memory blocks of T.
Definition at line 43 of file qwt_point_data.h.
QwtCPointerData< T >::QwtCPointerData | ( | const T * | x, |
const T * | y, | ||
size_t | size | ||
) |
Constructor
x | Array of x values |
y | Array of y values |
size | Size of the x and y arrays |
Definition at line 326 of file qwt_point_data.h.
|
virtual |
Return the sample at position i
index | Index |
Implements QwtSeriesData< QPointF >.
Definition at line 347 of file qwt_point_data.h.
|
virtual |
Definition at line 335 of file qwt_point_data.h.
const T * QwtCPointerData< T >::xData |
Definition at line 354 of file qwt_point_data.h.
const T * QwtCPointerData< T >::yData |
Definition at line 361 of file qwt_point_data.h.
|
private |
Definition at line 57 of file qwt_point_data.h.
|
private |
Definition at line 55 of file qwt_point_data.h.
|
private |
Definition at line 56 of file qwt_point_data.h.