10#ifndef QWT_MATRIX_RASTER_DATA_H
11#define QWT_MATRIX_RASTER_DATA_H
13#include "qwt_global.h"
14#include "qwt_raster_data.h"
16#if QT_VERSION < 0x060000
17template<
typename T >
class QVector;
59 void setResampleMode(ResampleMode mode);
60 ResampleMode resampleMode()
const;
68 void setValue(
int row,
int col,
double value );
70 int numColumns()
const;
73 virtual QRectF
pixelHint(
const QRectF& )
const QWT_OVERRIDE;
75 virtual double value(
double x,
double y )
const QWT_OVERRIDE;
A class representing an interval.
A class representing a matrix of values as raster data.
ResampleMode
Resampling algorithm The default setting is NearestNeighbour;.
QwtRasterData defines an interface to any type of raster data.
virtual QRectF pixelHint(const QRectF &) const
Pixel hint.
virtual double value(double x, double y) const =0
virtual QwtInterval interval(Qt::Axis) const =0