Classes, derived from QwtData may:
Definition at line 47 of file qwt_data.h.
Public Member Functions | |
QwtData () | |
virtual | ~QwtData () |
virtual QwtData * | copy () const=0 |
virtual size_t | size () const=0 |
virtual double | x (size_t i) const=0 |
virtual double | y (size_t i) const=0 |
virtual QwtDoubleRect | boundingRect () const |
Protected Member Functions | |
QwtData & | operator= (const QwtData &) |
QwtData::QwtData | ( | ) |
QwtData::~QwtData | ( | ) | [virtual] |
virtual QwtData* QwtData::copy | ( | ) | const [pure virtual] |
Implemented in QwtPolygonFData, QwtArrayData, and QwtCPointerData.
Referenced by QwtPlotCurve::setData().
virtual size_t QwtData::size | ( | ) | const [pure virtual] |
Implemented in QwtPolygonFData, QwtArrayData, and QwtCPointerData.
Referenced by boundingRect(), and QwtPlotCurve::dataSize().
virtual double QwtData::x | ( | size_t | i | ) | const [pure virtual] |
Return the x value of data point i
i | Index |
Implemented in QwtPolygonFData, QwtArrayData, and QwtCPointerData.
Referenced by boundingRect(), and QwtPlotCurve::x().
virtual double QwtData::y | ( | size_t | i | ) | const [pure virtual] |
Return the y value of data point i
i | Index |
Implemented in QwtPolygonFData, QwtArrayData, and QwtCPointerData.
Referenced by boundingRect(), and QwtPlotCurve::y().
QwtDoubleRect QwtData::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 in QwtArrayData, and QwtCPointerData.
Definition at line 34 of file qwt_data.cpp.
References size(), x(), and y().
Referenced by QwtPlotCurve::boundingRect().