1
.TH "QwtCPointerData" 3 "22 Mar 2009" "Qwt User's Guide" \" -*- nroff -*-
5
QwtCPointerData \- Data class containing two pointers to memory blocks of doubles.
11
\fC#include <qwt_data.h>\fP
13
Inherits \fBQwtData\fP.
15
.SS "Public Member Functions"
19
.RI "\fBQwtCPointerData\fP (const double *x, const double *y, size_t size)"
22
.RI "\fBQwtCPointerData\fP & \fBoperator=\fP (const \fBQwtCPointerData\fP &)"
25
.RI "virtual \fBQwtData\fP * \fBcopy\fP () const "
28
.RI "virtual size_t \fBsize\fP () const "
31
.RI "virtual double \fBx\fP (size_t i) const "
34
.RI "virtual double \fBy\fP (size_t i) const "
37
.RI "const double * \fBxData\fP () const "
40
.RI "const double * \fByData\fP () const "
43
.RI "virtual QwtDoubleRect \fBboundingRect\fP () const "
46
.SH "Detailed Description"
48
Data class containing two pointers to memory blocks of doubles.
49
.SH "Constructor & Destructor Documentation"
51
.SS "QwtCPointerData::QwtCPointerData (const double * x, const double * y, size_t size)"
57
\fIx\fP Array of x values
59
\fIy\fP Array of y values
61
\fIsize\fP Size of the x and y arrays
66
The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object.
71
\fBQwtPlotCurve::setData()\fP, \fBQwtPlotCurve::setRawData()\fP
75
.SH "Member Function Documentation"
77
.SS "QwtDoubleRect QwtCPointerData::boundingRect () const\fC [virtual]\fP"
79
Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false
81
Reimplemented from \fBQwtData\fP.
82
.SS "\fBQwtData\fP * QwtCPointerData::copy () const\fC [virtual]\fP"
86
Pointer to a copy (virtual copy constructor)
91
Implements \fBQwtData\fP.
92
.SS "\fBQwtCPointerData\fP & QwtCPointerData::operator= (const \fBQwtCPointerData\fP & data)"
96
.SS "size_t QwtCPointerData::size () const\fC [virtual]\fP"
105
Implements \fBQwtData\fP.
106
.SS "double QwtCPointerData::x (size_t i) const\fC [virtual]\fP"
108
Return the x value of data point i
117
x X value of data point i
122
Implements \fBQwtData\fP.
123
.SS "const double * QwtCPointerData::xData () const"
127
Array of the x-values
131
.SS "double QwtCPointerData::y (size_t i) const\fC [virtual]\fP"
133
Return the y value of data point i
142
y Y value of data point i
147
Implements \fBQwtData\fP.
148
.SS "const double * QwtCPointerData::yData () const"
152
Array of the y-values
159
Generated automatically by Doxygen for Qwt User's Guide from the source code.