qwt_matrix_raster_data.h
Go to the documentation of this file.
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2  * Qwt Widget Library
3  * Copyright (C) 1997 Josef Wilgen
4  * Copyright (C) 2002 Uwe Rathmann
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the Qwt License, Version 1.0
8  *****************************************************************************/
9 
10 #ifndef QWT_MATRIX_RASTER_DATA_H
11 #define QWT_MATRIX_RASTER_DATA_H 1
12 
13 #include "qwt_global.h"
14 #include "qwt_raster_data.h"
15 #include <qvector.h>
16 
26 {
27 public:
33  {
39 
44  BilinearInterpolation
45  };
46 
48  virtual ~QwtMatrixRasterData();
49 
50  void setResampleMode(ResampleMode mode);
51  ResampleMode resampleMode() const;
52 
53  void setInterval( Qt::Axis, const QwtInterval & );
54  QwtInterval interval( Qt::Axis axis) const;
55 
56  void setValueMatrix( const QVector<double> &values, int numColumns );
57  const QVector<double> valueMatrix() const;
58 
59  void setValue( int row, int col, double value );
60 
61  int numColumns() const;
62  int numRows() const;
63 
64  virtual QRectF pixelHint( const QRectF & ) const;
65 
66  virtual double value( double x, double y ) const;
67 
68 private:
69  void update();
70 
71  class PrivateData;
73 };
74 
75 #endif
virtual QRectF pixelHint(const QRectF &) const
Pixel hint.
A class representing an interval.
Definition: qwt_interval.h:26
#define QWT_EXPORT
Definition: qwt_global.h:38
TFSIMD_FORCE_INLINE void setValue(const tfScalar &x, const tfScalar &y, const tfScalar &z)
ResampleMode
Resampling algorithm The default setting is NearestNeighbour;.
virtual QwtInterval interval(Qt::Axis) const =0
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
A class representing a matrix of values as raster data.
virtual double value(double x, double y) const =0
QwtRasterData defines an interface to any type of raster data.


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17