📄 qwtdata.3
字号:
.TH "QwtData" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtData \- .SH SYNOPSIS.br.PPInherited by \fBQwtArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtDoublePointData\fP..PP.SH "Detailed Description".PP QwtData defines an interface to any type of data. Classes, derived from QwtData may:.IP "\(bu" 2store the data in almost any type of container.IP "\(bu" 2calculate the data on the fly instead of storing it.IP "\(bu" 2implement data with error bars (this implies subclassing \fBQwtPlot\fP, \fBQwtCurve\fP and \fBQwtPlotCurve\fP).PP.PP\fBWarning:\fP.RS 4In the future, 'almost any type of container' may be limited to containers supporting bi-directional iterators like the vector, array and list classes in Qt or in the standard template library. .RE.PP.PPDefinition at line 40 of file qwt_data.h..SS "Public Member Functions".in +1c.ti -1c.RI "virtual \fBQwtData\fP * \fBcopy\fP () const =0".br.ti -1c.RI "virtual size_t \fBsize\fP () const =0".br.ti -1c.RI "virtual double \fBx\fP (size_t i) const =0".br.ti -1c.RI "virtual double \fBy\fP (size_t i) const =0".br.ti -1c.RI "virtual \fBQwtDoubleRect\fP \fBboundingRect\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "\fBQwtData\fP & \fBoperator=\fP (const \fBQwtData\fP &)".br.in -1c.SH "Member Function Documentation".PP .SS "\fBQwtDoubleRect\fP QwtData::boundingRect () const\fC [virtual]\fP".PPReturns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: \fBQwtDoubleRect::isValid()\fP == FALSE.PP\fBWarning:\fP.RS 4This is an slow implementation iterating over all points. It is intended to be overloaded by derived classes. In case of auto scaling \fBboundingRect()\fP is called for every replot, so it might be worth to implement a cache, or use x(0), x(\fBsize()\fP - 1) for ordered data ... .RE.PP.PPReimplemented in \fBQwtArrayData\fP, and \fBQwtCPointerData\fP..PPDefinition at line 33 of file qwt_data.cpp..PPReferences size(), x(), and y()..PPReferenced by QwtCurve::boundingRect()..SS "virtual \fBQwtData\fP* QwtData::copy () const\fC [pure virtual]\fP".PPReturn a pointer to a copy (virtual copy constructor) .PPImplemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, and \fBQwtCPointerData\fP..PPReferenced by QwtCurve::copy(), and QwtCurve::setData()..SS "\fBQwtData\fP& QwtData::operator= (const \fBQwtData\fP &)\fC [protected]\fP".PPAssignment operator (virtualized) .SS "virtual size_t QwtData::size () const\fC [pure virtual]\fP".PPReturn the size of the data set .PPImplemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, and \fBQwtCPointerData\fP..PPReferenced by boundingRect(), and QwtCurve::dataSize()..SS "virtual double QwtData::x (size_t i) const\fC [pure virtual]\fP".PPReturn the x value of data point i .PP\fBParameters:\fP.RS 4\fIi\fP Index .RE.PP\fBReturns:\fP.RS 4x X value of data point i .RE.PP.PPImplemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, and \fBQwtCPointerData\fP..PPReferenced by boundingRect()..SS "virtual double QwtData::y (size_t i) const\fC [pure virtual]\fP".PPReturn the y value of data point i .PP\fBParameters:\fP.RS 4\fIi\fP Index .RE.PP\fBReturns:\fP.RS 4y Y value of data point i .RE.PP.PPImplemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, and \fBQwtCPointerData\fP..PPReferenced by boundingRect(), and QwtCurve::y()..SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -