Manpage logo

QwtPointArrayData - (unknown subject)

NAME  SYNOPSIS  Public Member Functions  Additional Inherited Members  Detailed Description  template<typename T>  Constructor & Destructor Documentation  template<typename T> QwtPointArrayData< T >::QwtPointArrayData (constQVector< T > & x, const QVector< T > & y)  template<typename T> QwtPointArrayData< T >::QwtPointArrayData (const T *x, const T * y, size_t size)  Member Function Documentation  template<typename T> QPointF QwtPointArrayData< T >::sample (size_t index)const [override], [virtual]  template<typename T> size_t QwtPointArrayData< T >::size () const[override], [virtual]  template<typename T> const QVector< T > & QwtPointArrayData< T >::xData ()const  template<typename T> const QVector< T > & QwtPointArrayData< T >::yData ()const  Author 

NAME

QwtPointArrayData< T > − Interface for iterating over two QVector<T> objects.

SYNOPSIS

#include <qwt_point_data.h>

Inherits QwtSeriesData< QPointF >.

Public Member Functions

QwtPointArrayData (const QVector< T > &x, const QVector< T > &y)
QwtPointArrayData
(const T *x, const T *y, size_t size)
virtual size_t size () const override
virtual QPointF sample (size_t index) const override
const QVector< T > & xData () const
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)

Additional Inherited Members

Protected Attributes inherited from QwtSeriesData< QPointF >

QRectF cachedBoundingRect
Can be used to cache a calculated bounding rectangle.

Detailed Description

template<typename T>

class QwtPointArrayData< T >"Interface for iterating over two QVector<T> objects.

Definition at line 22 of file qwt_point_data.h.

Constructor & Destructor Documentation

template<typename T> QwtPointArrayData< T >::QwtPointArrayData (constQVector< T > & x, const QVector< T > & y)

Constructor

Parameters

x Array of x values
y
Array of y values

See also

QwtPlotCurve::setData(), QwtPlotCurve::setSamples()

Definition at line 200 of file qwt_point_data.h.

template<typename T> QwtPointArrayData< T >::QwtPointArrayData (const T *x, const T * y, size_t size)

Constructor

Parameters

x Array of x values
y
Array of y values
size
Size of the x and y arrays

See also

QwtPlotCurve::setData(), QwtPlotCurve::setSamples()

Definition at line 216 of file qwt_point_data.h.

Member Function Documentation

template<typename T> QPointF QwtPointArrayData< T >::sample (size_t index)const [override], [virtual]

Return the sample at position i

Parameters

index Index

Returns

Sample at position i

Implements QwtSeriesData< QPointF >.

Definition at line 239 of file qwt_point_data.h.

template<typename T> size_t QwtPointArrayData< T >::size () const[override], [virtual]

Returns

Size of the data set

Implements QwtSeriesData< QPointF >.

Definition at line 227 of file qwt_point_data.h.

template<typename T> const QVector< T > & QwtPointArrayData< T >::xData ()const

Returns

Array of the x-values

Definition at line 246 of file qwt_point_data.h.

template<typename T> const QVector< T > & QwtPointArrayData< T >::yData ()const

Returns

Array of the y-values

Definition at line 253 of file qwt_point_data.h.

Author

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


Updated 2026-06-01 - jenkler.se | uex.se