QwtMatrixRasterData
A class representing a matrix of values as raster data.
- Provided by: libqwt-doc (Version: 6.0.0-1.2)
- Source: qwt
- Report a bug
A class representing a matrix of values as raster data.
#include <qwt_matrix_raster_data.h>
Inherits QwtRasterData.
enum ResampleMode { NearestNeighbour,
BilinearInterpolation }
QwtMatrixRasterData ()
virtual ~QwtMatrixRasterData ()
void setResampleMode (ResampleMode mode)
ResampleMode resampleMode () const
virtual void setInterval (Qt::Axis, const QwtInterval &)
void setValueMatrix (const QVector< double > &values, size_t
numColumns)
const QVector< double > valueMatrix () const
size_t numColumns () const
size_t numRows () const
virtual QRectF pixelHint (const QRectF &) const
virtual double value (double x, double y) const
A class representing a matrix of values as raster data.
QwtMatrixRasterData implements an interface for a matrix of equidistant values, that can be used by a QwtPlotRasterItem. It implements a couple of resampling algorithms, to provide values for positions, that or not on the value matrix.
Resampling algorithm The default setting is NearestNeighbour;.
Enumerator:
Constructor.
Destructor.
See also:
See also:
Pixel hint. .IP "•" 2 NearestNeighbour
pixelHint() returns the surrounding pixel of the top left value in the
matrix.
See also:
Reimplemented from QwtRasterData.
See also:
Assign the bounding interval for an axis. Setting the bounding intervals for the X/Y axis is mandatory to define the positions for the values of the value matrix. The interval in Z direction defines the possible range for the values in the matrix, what is f.e used by QwtPlotSpectrogram to map values to colors. The Z-interval might be the bounding interval of the values in the matrix, but usually it isn't. ( f.e a interval of 0.0-100.0 for values in percentage )
Parameters:
See also:
Reimplemented from QwtRasterData.
Set the resampling algorithm. Parameters:
See also:
Assign a value matrix. The positions of the values are calculated by dividing the bounding rectangle of the X/Y intervals into equidistant rectangles ( pixels ). Each value corresponds to the center of a pixel.
Parameters:
See also:
Parameters:
See also:
Implements QwtRasterData.
See also:
Generated automatically by Doxygen for Qwt User's Guide from the source code.