casa
$Rev:20696$
|
#include <QtRasterData.h>
Classes | |
struct | structMinMax |
struct | structXY |
Public Member Functions | |
QtRasterData (QwtPlotSpectrogram *s) | |
Constructor giving back the QwtRasterData Constructor. | |
~QtRasterData () | |
void | initRaster (const QwtDoubleRect &r, const QSize &raster) |
QwtRasterData * | copy () const |
double | value (double x, double y) const |
void | setData (const QList< double > &array, int sizex, int sizey) |
QwtDoubleInterval | range () const |
void | setBoundingRect (const QwtDoubleRect &rect) |
void | setRangeX (const double min, const double max) |
void | setRangeY (const double min, const double max) |
int | ArrPos (const int x, const int y) const |
Private Member Functions | |
void | setData (const double *array, int sizex, int sizey, double min, double max) |
void | fillAndFindMinMax (const QList< double > &array, double &min, double &max) |
Private Attributes | |
double * | m_Array |
double | m_minValue |
double | m_maxValue |
structMinMax | m_RangeX |
structMinMax | m_RangeY |
structXY | m_DataSize |
QwtDoubleRect | bounding_box |
structXY | m_RealToArray |
int | length_ |
QwtPlotSpectrogram * | spect |
Static Private Attributes | |
static int | output_limit |
Definition at line 16 of file QtRasterData.h.
casa::QtRasterData::QtRasterData | ( | QwtPlotSpectrogram * | s | ) | [inline] |
Constructor giving back the QwtRasterData Constructor.
Definition at line 49 of file QtRasterData.h.
casa::QtRasterData::~QtRasterData | ( | ) | [inline] |
Definition at line 51 of file QtRasterData.h.
References m_Array.
int casa::QtRasterData::ArrPos | ( | const int | x, |
const int | y | ||
) | const [inline] |
Definition at line 71 of file QtRasterData.h.
References length_, m_DataSize, and casa::QtRasterData::structXY::y.
QwtRasterData* casa::QtRasterData::copy | ( | ) | const |
void casa::QtRasterData::fillAndFindMinMax | ( | const QList< double > & | array, |
double & | min, | ||
double & | max | ||
) | [private] |
void casa::QtRasterData::initRaster | ( | const QwtDoubleRect & | r, |
const QSize & | raster | ||
) |
QwtDoubleInterval casa::QtRasterData::range | ( | ) | const |
void casa::QtRasterData::setBoundingRect | ( | const QwtDoubleRect & | rect | ) |
void casa::QtRasterData::setData | ( | const double * | array, |
int | sizex, | ||
int | sizey, | ||
double | min, | ||
double | max | ||
) | [private] |
void casa::QtRasterData::setData | ( | const QList< double > & | array, |
int | sizex, | ||
int | sizey | ||
) |
void casa::QtRasterData::setRangeX | ( | const double | min, |
const double | max | ||
) | [inline] |
Definition at line 61 of file QtRasterData.h.
References m_RangeX, casa::QtRasterData::structMinMax::max, casa::max(), casa::QtRasterData::structMinMax::min, and casa::min().
void casa::QtRasterData::setRangeY | ( | const double | min, |
const double | max | ||
) | [inline] |
Definition at line 66 of file QtRasterData.h.
References m_RangeY, casa::QtRasterData::structMinMax::max, casa::max(), casa::QtRasterData::structMinMax::min, and casa::min().
double casa::QtRasterData::value | ( | double | x, |
double | y | ||
) | const |
QwtDoubleRect casa::QtRasterData::bounding_box [private] |
Definition at line 38 of file QtRasterData.h.
int casa::QtRasterData::length_ [private] |
Definition at line 43 of file QtRasterData.h.
Referenced by ArrPos().
double* casa::QtRasterData::m_Array [private] |
Definition at line 20 of file QtRasterData.h.
Referenced by ~QtRasterData().
structXY casa::QtRasterData::m_DataSize [private] |
Definition at line 37 of file QtRasterData.h.
Referenced by ArrPos().
double casa::QtRasterData::m_maxValue [private] |
Definition at line 22 of file QtRasterData.h.
double casa::QtRasterData::m_minValue [private] |
Definition at line 21 of file QtRasterData.h.
structMinMax casa::QtRasterData::m_RangeX [private] |
Definition at line 34 of file QtRasterData.h.
Referenced by setRangeX().
structMinMax casa::QtRasterData::m_RangeY [private] |
Definition at line 35 of file QtRasterData.h.
Referenced by setRangeY().
structXY casa::QtRasterData::m_RealToArray [private] |
Definition at line 39 of file QtRasterData.h.
int casa::QtRasterData::output_limit [static, private] |
Definition at line 18 of file QtRasterData.h.
QwtPlotSpectrogram* casa::QtRasterData::spect [private] |
Definition at line 45 of file QtRasterData.h.