

Definition at line 144 of file qwt_data.h.
Public Member Functions | |
| QwtCPointerData (const double *x, const double *y, size_t size) | |
| QwtCPointerData & | operator= (const QwtCPointerData &) |
| virtual QwtData * | copy () const |
| virtual size_t | size () const |
| virtual double | x (size_t i) const |
| virtual double | y (size_t i) const |
| const double * | xData () const |
| const double * | yData () const |
| virtual QwtDoubleRect | boundingRect () const |
| QwtCPointerData::QwtCPointerData | ( | const double * | x, | |
| const double * | y, | |||
| size_t | size | |||
| ) |
Constructor
| x | Array of x values | |
| y | Array of y values | |
| size | Size of the x and y arrays |
Definition at line 281 of file qwt_data.cpp.
Referenced by copy().
| QwtCPointerData & QwtCPointerData::operator= | ( | const QwtCPointerData & | data | ) |
| QwtData * QwtCPointerData::copy | ( | ) | const [virtual] |
Implements QwtData.
Definition at line 344 of file qwt_data.cpp.
References QwtCPointerData().
| size_t QwtCPointerData::size | ( | ) | const [virtual] |
Implements QwtData.
Definition at line 302 of file qwt_data.cpp.
Referenced by boundingRect().
| double QwtCPointerData::x | ( | size_t | i | ) | const [virtual] |
Return the x value of data point i
| i | Index |
Implements QwtData.
Definition at line 313 of file qwt_data.cpp.
| double QwtCPointerData::y | ( | size_t | i | ) | const [virtual] |
Return the y value of data point i
| i | Index |
Implements QwtData.
Definition at line 324 of file qwt_data.cpp.
| const double * QwtCPointerData::xData | ( | ) | const |
| const double * QwtCPointerData::yData | ( | ) | const |
| 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.
Definition at line 354 of file qwt_data.cpp.
References size().
1.5.5