casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
casa::QtRasterData Class Reference

#include <QtRasterData.h>

Inheritance diagram for casa::QtRasterData:

Classes

struct  structMinMax
 
struct  structXY
 

Public Member Functions

 QtRasterData (QwtPlotSpectrogram *s)
 Constructor giving back the QwtRasterData Constructor. More...
 
 ~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 17 of file QtRasterData.h.

Constructor & Destructor Documentation

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

Constructor giving back the QwtRasterData Constructor.

Definition at line 50 of file QtRasterData.h.

References setRangeX(), and setRangeY().

casa::QtRasterData::~QtRasterData ( )
inline

Definition at line 54 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 74 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 39 of file QtRasterData.h.

int casa::QtRasterData::length_
private

Definition at line 44 of file QtRasterData.h.

Referenced by ArrPos().

double* casa::QtRasterData::m_Array
private

Definition at line 21 of file QtRasterData.h.

Referenced by ~QtRasterData().

structXY casa::QtRasterData::m_DataSize
private

Definition at line 38 of file QtRasterData.h.

Referenced by ArrPos().

double casa::QtRasterData::m_maxValue
private

Definition at line 23 of file QtRasterData.h.

double casa::QtRasterData::m_minValue
private

Definition at line 22 of file QtRasterData.h.

structMinMax casa::QtRasterData::m_RangeX
private

Definition at line 35 of file QtRasterData.h.

Referenced by setRangeX().

structMinMax casa::QtRasterData::m_RangeY
private

Definition at line 36 of file QtRasterData.h.

Referenced by setRangeY().

structXY casa::QtRasterData::m_RealToArray
private

Definition at line 40 of file QtRasterData.h.

int casa::QtRasterData::output_limit
staticprivate

Definition at line 19 of file QtRasterData.h.

QwtPlotSpectrogram* casa::QtRasterData::spect
private

Definition at line 46 of file QtRasterData.h.


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