1
.TH "QwtRasterData" 3 "11 Jun 2007" "Version 5.0.2" "Qwt User's Guide" \" -*- nroff -*-
9
Inherited by QwtPlotSpectrogram::PrivateData::DummyData.
11
.SH "Detailed Description"
13
\fBQwtRasterData\fP defines an interface to any type of raster data.
15
Definition at line 53 of file qwt_raster_data.h.
20
.RI "typedef QMap< double, QPolygonF > \fBContourLines\fP"
23
.RI "enum \fBConrecAttribute\fP { \fBIgnoreAllVerticesOnLevel\fP = 1, \fBIgnoreOutOfRange\fP = 2 }"
26
.SS "Public Member Functions"
30
.RI "\fBQwtRasterData\fP ()"
33
.RI "\fBQwtRasterData\fP (const QwtDoubleRect &)"
36
.RI "virtual \fB~QwtRasterData\fP ()"
39
.RI "virtual \fBQwtRasterData\fP * \fBcopy\fP () const =0"
42
.RI "virtual void \fBsetBoundingRect\fP (const QwtDoubleRect &)"
45
.RI "QwtDoubleRect \fBboundingRect\fP () const "
48
.RI "virtual QSize \fBrasterHint\fP (const QwtDoubleRect &) const "
51
.RI "virtual void \fBinitRaster\fP (const QwtDoubleRect &, const QSize &raster)"
54
.RI "virtual void \fBdiscardRaster\fP ()"
57
.RI "virtual double \fBvalue\fP (double x, double y) const =0"
60
.RI "virtual \fBQwtDoubleInterval\fP \fBrange\fP () const =0"
63
.RI "virtual \fBContourLines\fP \fBcontourLines\fP (const QwtDoubleRect &rect, const QSize &raster, const QList< double > &levels, int flags) const "
66
.SH "Member Function Documentation"
68
.SS "\fBQwtRasterData::ContourLines\fP QwtRasterData::contourLines (const QwtDoubleRect & rect, const QSize & raster, const QList< double > & levels, int flags) const\fC [virtual]\fP"
70
Calculate contour lines
72
An adaption of CONREC, a simple contouring algorithm. http://astronomy.swin.edu.au/~pbourke/projection/conrec
74
Definition at line 270 of file qwt_raster_data.cpp.
76
References QwtDoubleInterval::isValid().
77
.SS "virtual \fBQwtRasterData\fP* QwtRasterData::copy () const\fC [pure virtual]\fP"
81
Referenced by QwtPlotSpectrogram::setData().
82
.SS "void QwtRasterData::discardRaster ()\fC [virtual]\fP"
86
After the composition of an image \fBQwtPlotSpectrogram\fP calls \fBdiscardRaster()\fP.
88
The default implementation does nothing, but if data has been loaded in \fBinitRaster()\fP, it could deleted now.
92
\fBinitRaster()\fP, \fBvalue()\fP
97
Definition at line 236 of file qwt_raster_data.cpp.
98
.SS "void QwtRasterData::initRaster (const QwtDoubleRect &, const QSize & raster)\fC [virtual]\fP"
102
Before the composition of an image \fBQwtPlotSpectrogram\fP calls initRaster, announcing the area and its resolution that will be requested.
104
The default implementation does nothing, but for data sets that are stored in files, it might be good idea to reimplement initRaster, where the data is resampled and loaded into memory.
108
\fIrect\fP Area of the raster
110
\fIraster\fP Number of horizontal and vertical pixels
115
\fBinitRaster()\fP, \fBvalue()\fP
120
Definition at line 222 of file qwt_raster_data.cpp.
121
.SS "virtual \fBQwtDoubleInterval\fP QwtRasterData::range () const\fC [pure virtual]\fP"
125
the range of the values
129
.SS "QSize QwtRasterData::rasterHint (const QwtDoubleRect &) const\fC [virtual]\fP"
131
Find the raster of the data for an area.
133
The resolution is the number of horizontal and vertical pixels that the data can return for an area. An invalid resolution indicates that the data can return values for any detail level.
135
The resolution will limit the size of the image that is rendered from the data. F.e. this might be important when printing a spectrogram to a A0 printer with 600 dpi.
137
The default implementation returns an invalid resolution (size)
141
\fIrect\fP In most implementations the resolution of the data doesn't depend on the requested rectangle.
146
Resolution, as number of horizontal and vertical pixels
151
Definition at line 258 of file qwt_raster_data.cpp.
152
.SS "virtual double QwtRasterData::value (double x, double y) const\fC [pure virtual]\fP"
156
the value at a raster position
163
Generated automatically by Doxygen for Qwt User's Guide from the source code.