QwtIntervalData Class Reference
Series of samples of a value and an interval.
More...
#include <qwt_interval_data.h>
List of all members.
Detailed Description
Series of samples of a value and an interval.
QwtIntervalData is a series of samples of a value and an interval. F.e. error bars are built from samples [x, y1-y2], while a histogram might consist of [x1-x2, y] samples.
Constructor & Destructor Documentation
| QwtIntervalData::QwtIntervalData |
( |
| ) |
|
| QwtIntervalData::QwtIntervalData |
( |
const QwtArray< QwtDoubleInterval > & |
intervals, |
|
|
| const QwtArray< double > & |
values | |
|
| ) |
| |
|
| QwtIntervalData::~QwtIntervalData |
( |
| ) |
|
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
Interval of a sample
- Parameters:
-
- Returns:
- Interval
- See also:
- value(), size()
| void QwtIntervalData::setData |
( |
const QwtArray< QwtDoubleInterval > & |
intervals, |
|
|
| const QwtArray< double > & |
values | |
|
| ) |
| |
|
| size_t QwtIntervalData::size |
( |
| ) |
const [inline] |
- Returns:
- Number of samples
| double QwtIntervalData::value |
( |
size_t |
i |
) |
const [inline] |
Generated on Wed Sep 2 18:37:24 2009 for Qwt User's Guide by
1.6.1