MatrixData Class Reference

#include <Spectrogram.h>

List of all members.

Public Member Functions

virtual QwtRasterData * copy () const
 MatrixData (Matrix *m)
virtual QwtDoubleInterval range () const
virtual QSize rasterHint (const QwtDoubleRect &) const
virtual double value (double x, double y) const
 ~MatrixData ()

Private Attributes

double ** d_m
 Vector used to store in memory the data from the source matrix window.
Matrixd_matrix
 Pointer to the source data matrix.
double dx
 Data resolution in x(columns) and y(rows).
double dy
double max_z
double min_z
 Min and max values in the source data matrix.
int n_cols
int n_rows
 Data size.
double x_start
 X axis left value in the data matrix.
double y_start
 Y axis bottom value in the data matrix.


Constructor & Destructor Documentation

MatrixData::MatrixData ( Matrix m  )  [inline]

MatrixData::~MatrixData (  )  [inline]

References d_m, and n_rows.


Member Function Documentation

virtual QwtRasterData* MatrixData::copy (  )  const [inline, virtual]

References d_matrix, and MatrixData().

virtual QwtDoubleInterval MatrixData::range (  )  const [inline, virtual]

References max_z, and min_z.

virtual QSize MatrixData::rasterHint ( const QwtDoubleRect &   )  const [inline, virtual]

References n_cols, and n_rows.

double MatrixData::value ( double  x,
double  y 
) const [virtual]

References d_m, dx, dy, n_cols, x_start, and y_start.


Member Data Documentation

double** MatrixData::d_m [private]

Vector used to store in memory the data from the source matrix window.

Referenced by MatrixData(), value(), and ~MatrixData().

Pointer to the source data matrix.

Referenced by copy(), and MatrixData().

double MatrixData::dx [private]

Data resolution in x(columns) and y(rows).

Referenced by MatrixData(), and value().

double MatrixData::dy [private]

Referenced by MatrixData(), and value().

double MatrixData::max_z [private]

Referenced by MatrixData(), and range().

double MatrixData::min_z [private]

Min and max values in the source data matrix.

Referenced by MatrixData(), and range().

int MatrixData::n_cols [private]

Referenced by MatrixData(), rasterHint(), and value().

int MatrixData::n_rows [private]

Data size.

Referenced by MatrixData(), rasterHint(), and ~MatrixData().

double MatrixData::x_start [private]

X axis left value in the data matrix.

Referenced by MatrixData(), and value().

double MatrixData::y_start [private]

Y axis bottom value in the data matrix.

Referenced by MatrixData(), and value().


The documentation for this class was generated from the following files:

Generated on Fri Nov 7 03:36:55 2008 for QtiPlot by  doxygen 1.5.6