⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qwtdata.3

📁 软件无线电的平台
💻 3
字号:
.TH "QwtData" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtData \- .SH SYNOPSIS.br.PPInherited by \fBQwtArrayData\fP, \fBQwtCPointerData\fP, \fBQwtDoublePointData\fP, and \fBQwtStdVectorData\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.PP.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.PPReimplemented in \fBQwtArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtStdVectorData\fP..SS "virtual \fBQwtData\fP* QwtData::copy () const\fC [pure virtual]\fP".PPReturn a pointer to a copy (virtual copy constructor) Implemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtStdVectorData\fP..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 Implemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtStdVectorData\fP..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.PPImplemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtStdVectorData\fP..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.PPImplemented in \fBQwtDoublePointData\fP, \fBQwtArrayData\fP, \fBQwtCPointerData\fP, and \fBQwtStdVectorData\fP..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 + -