Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwtseriesdata(3) [debian man page]

QwtSeriesData(3)						 Qwt User's Guide						  QwtSeriesData(3)

NAME
QwtSeriesData - Abstract interface for iterating over samples. SYNOPSIS
#include <qwt_series_data.h> Inherited by QwtArraySeriesData< T >. Public Member Functions QwtSeriesData () virtual ~QwtSeriesData () virtual size_t size () const =0 virtual T sample (size_t i) const =0 virtual QRectF boundingRect () const =0 virtual void setRectOfInterest (const QRectF &) Protected Attributes QRectF d_boundingRect Detailed Description template<typename T> class QwtSeriesData< T > Abstract interface for iterating over samples. Qwt offers several implementations of the QwtSeriesData API, but in situations, where data of an application specific format needs to be displayed, without having to copy it, it is recommended to implement an individual data access. Constructor &; Destructor Documentation template<typename T > QwtSeriesData< T >::QwtSeriesData () Constructor. template<typename T > QwtSeriesData< T >::~QwtSeriesData () [virtual] Destructor. Member Function Documentation template<typename T> virtual QRectF QwtSeriesData< T >::boundingRect () const [pure virtual] Calculate the bounding rect of all samples The bounding rect is necessary for autoscaling and can be used for a couple of painting optimizations. qwtBoundingRect(...) offers slow implementations iterating over the samples. For large sets it is recommended to implement something faster f.e. by caching the bounding rect. Implemented in QwtPointSeriesData, QwtPoint3DSeriesData, QwtIntervalSeriesData, QwtSetSeriesData, QwtPointArrayData, QwtCPointerData, and QwtSyntheticPointData. template<typename T> virtual T QwtSeriesData< T >::sample (size_ti) const [pure virtual] Return a sample Parameters: i Index Returns: Sample at position i Implemented in QwtArraySeriesData< T >, QwtPointArrayData, QwtCPointerData, QwtSyntheticPointData, QwtArraySeriesData< QwtIntervalSample >, QwtArraySeriesData< QPointF >, QwtArraySeriesData< QwtPoint3D >, and QwtArraySeriesData< QwtSetSample >. template<typename T > void QwtSeriesData< T >::setRectOfInterest (const QRectF &) [virtual] Set a the 'rect of interest' QwtPlotSeriesItem defines the current area of the plot canvas as 'rect of interest' ( QwtPlotSeriesItem::updateScaleDiv() ). It can be used to implement different levels of details. The default implementation does nothing. Reimplemented in QwtSyntheticPointData. template<typename T> virtual size_t QwtSeriesData< T >::size () const [pure virtual] Returns: Number of samples Implemented in QwtArraySeriesData< T >, QwtPointArrayData, QwtCPointerData, QwtSyntheticPointData, QwtArraySeriesData< QwtIntervalSample >, QwtArraySeriesData< QPointF >, QwtArraySeriesData< QwtPoint3D >, and QwtArraySeriesData< QwtSetSample >. Member Data Documentation template<typename T> QRectF QwtSeriesData< T >::d_boundingRect [mutable, protected] Can be used to cache a calculated bounding rectangle. Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 6.0.0 Fri Apr 15 2011 QwtSeriesData(3)

Check Out this Related Man Page

QwtCPointerData(3)						 Qwt User's Guide						QwtCPointerData(3)

NAME
QwtCPointerData - Data class containing two pointers to memory blocks of doubles. SYNOPSIS
#include <qwt_data.h> Inherits QwtData. Public Member Functions virtual QwtDoubleRect boundingRect () const virtual QwtData * copy () const QwtCPointerData & operator= (const QwtCPointerData &) QwtCPointerData (const double *x, const double *y, size_t size) virtual size_t size () const virtual double x (size_t i) const const double * xData () const virtual double y (size_t i) const const double * yData () const Detailed Description Data class containing two pointers to memory blocks of doubles. Constructor &; Destructor Documentation QwtCPointerData::QwtCPointerData (const double *x, const double *y, size_tsize) 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::setRawData() Member Function Documentation QwtDoubleRect QwtCPointerData::boundingRect () const [virtual] Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false Reimplemented from QwtData. QwtData * QwtCPointerData::copy () const [virtual] Returns: Pointer to a copy (virtual copy constructor) Implements QwtData. QwtCPointerData & QwtCPointerData::operator= (const QwtCPointerData &data) Assignment. size_t QwtCPointerData::size () const [virtual] Returns: Size of the data set Implements QwtData. double QwtCPointerData::x (size_ti) const [virtual] Return the x value of data point i Parameters: i Index Returns: x X value of data point i Implements QwtData. const double * QwtCPointerData::xData () const Returns: Array of the x-values double QwtCPointerData::y (size_ti) const [virtual] Return the y value of data point i Parameters: i Index Returns: y Y value of data point i Implements QwtData. const double * QwtCPointerData::yData () const Returns: Array of the y-values Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtCPointerData(3)
Man Page