casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
casa::QtRasterData Class Reference

#include <QtRasterData.h>

List of all members.

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

Detailed Description

Definition at line 16 of file QtRasterData.h.


Constructor & Destructor Documentation

casa::QtRasterData::QtRasterData ( QwtPlotSpectrogram *  s) [inline]

Constructor giving back the QwtRasterData Constructor.

Definition at line 49 of file QtRasterData.h.

Definition at line 51 of file QtRasterData.h.

References m_Array.


Member Function Documentation

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]
void casa::QtRasterData::setRangeY ( const double  min,
const double  max 
) [inline]
double casa::QtRasterData::value ( double  x,
double  y 
) const

Member Data Documentation

QwtDoubleRect casa::QtRasterData::bounding_box [private]

Definition at line 38 of file QtRasterData.h.

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().

Definition at line 37 of file QtRasterData.h.

Referenced by ArrPos().

Definition at line 22 of file QtRasterData.h.

Definition at line 21 of file QtRasterData.h.

Definition at line 34 of file QtRasterData.h.

Referenced by setRangeX().

Definition at line 35 of file QtRasterData.h.

Referenced by setRangeY().

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.


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