|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
QwtRasterData defines an interface to any type of raster data. More...
#include <qwt_raster_data.h>
Classes | |
| class | ContourPlane |
| class | PrivateData |
Public Types | |
| enum | Attribute { WithoutGaps = 0x01 } |
| Raster data attributes. More... | |
| enum | ConrecFlag { IgnoreAllVerticesOnLevel = 0x01 , IgnoreOutOfRange = 0x02 } |
| Flags to modify the contour algorithm . More... | |
| using | ContourLines = QMap< double, QPolygonF > |
| Contour lines. | |
Public Member Functions | |
| QwtRasterData () | |
| Constructor. | |
| virtual | ~QwtRasterData () |
| Destructor. | |
| void | setAttribute (Attribute, bool on=true) |
| Set an attribute. | |
| bool | testAttribute (Attribute) const |
| Test an attribute. | |
| virtual QwtInterval | interval (Qt::Axis) const =0 |
| virtual QRectF | pixelHint (const QRectF &) const |
| Return a hint for the raster item, about how to align the pixels. | |
| virtual void | initRaster (const QRectF &, const QSize &raster) |
| Initialize the raster. | |
| virtual void | discardRaster () |
| Discard the raster. | |
| virtual double | value (double x, double y) const =0 |
| virtual ContourLines | contourLines (const QRectF &rect, const QSize &raster, const QList< double > &levels, ConrecFlags) const |
| Calculate contour lines. | |
QwtRasterData defines an interface to any type of raster data.
Raster data attributes.
| Enumerator | |
|---|---|
| WithoutGaps | The bounding rectangle of the data is spanned by the interval(Qt::XAxis) and interval(Qt::YAxis). WithoutGaps indicates, that the data has no gaps ( unknown values ) in this area and the result of value() does not need to be checked for NaN values. Enabling this flag will have an positive effect on the performance of rendering a QwtPlotSpectrogram. The default setting is false.
|
| QwtRasterData::QwtRasterData | ( | ) |
Constructor.
|
virtual |
Destructor.
Destructor .
|
virtual |
Calculate contour lines.
|
virtual |
Discard the raster.
Discard a raster.
|
virtual |
Initialize the raster.
Initialize a raster.
|
pure virtual |
Implemented in QwtGridRasterData, and QwtMatrixRasterData.
|
virtual |
Return a hint for the raster item, about how to align the pixels.
Pixel hint.
Reimplemented in QwtGridRasterData, and QwtMatrixRasterData.
| void QwtRasterData::setAttribute | ( | Attribute | attribute, |
| bool | on = true |
||
| ) |
Set an attribute.
Specify an attribute of the data.
| bool QwtRasterData::testAttribute | ( | Attribute | attribute | ) | const |
Test an attribute.
Test if an attribute is enabled.
|
pure virtual |
Implemented in QwtGridRasterData, and QwtMatrixRasterData.