QwtIntervalData(3) | Qwt User's Guide | QwtIntervalData(3) |
NAME¶
QwtIntervalData - Series of samples of a value and an interval.SYNOPSIS¶
#include <qwt_interval_data.h>Public Member Functions¶
QwtDoubleRect boundingRect () const
Detailed Description¶
Series of samples of a value and an interval.Constructor & Destructor Documentation¶
QwtIntervalData::QwtIntervalData ()¶
Constructor.QwtIntervalData::QwtIntervalData (const QwtArray< QwtDoubleInterval > &intervals, const QwtArray< double > &values)¶
Constructor.QwtIntervalData::~QwtIntervalData ()¶
Destructor.Member Function Documentation¶
QwtDoubleRect QwtIntervalData::boundingRect () const Calculate the bounding rectangle of the samples¶
The x coordinates of the rectangle are built from the intervals, the y coordinates from the values. Returns:Bounding rectangle
const QwtDoubleInterval & QwtIntervalData::interval (size_ti) const [inline] Interval of a sample¶
Parameters:i Sample index
Returns:
Interval
See also:
value(), size()
void QwtIntervalData::setData (const QwtArray< QwtDoubleInterval > &intervals, const QwtArray< double > &values)¶
Assign samples.size_t QwtIntervalData::size () const [inline] Returns:¶
Number of samples
double QwtIntervalData::value (size_ti) const [inline] Value of a sample¶
Parameters:i Sample index
Returns:
Value
See also:
interval(), size()
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.Mon Aug 1 2011 | Version 5.2.2 |