casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Attributes
casa::PlotRasterMatrixData< T > Class Template Reference

Implementation of raster data using casa::Matrix. More...

#include <PlotData.h>

List of all members.

Public Types

enum  Indexing {
  ROW_COL,
  X_Y
}
 Whether the indexing is (row,col) or (x,y). More...

Public Member Functions

 PlotRasterMatrixData (Matrix< T > &data, bool shouldDelete=false)
 ~PlotRasterMatrixData ()
bool isValid () const
 Implements PlotData::isValid().
bool willDeleteData () const
 Implements PlotData::willDeleteData().
void setDeleteData (bool del=true)
 Implements PlotData::setDeleteData().
Origin origin () const
 Implements PlotRasterData::origin().
void setOrigin (Origin o)
 Implements PlotRasterData::setOrigin().
prange_t xRange () const
 Implements PlotRasterData::xRange().
prange_t yRange () const
 Implements PlotRasterData::yRange().
void setXRange (double from, double to)
 Implements PlotRasterData::setXRange().
void setYRange (double from, double to)
 Implements PlotRasterData::setYRange().
prange_t valueRange () const
 Implements PlotRasterData::valueRange().
double valueAt (double x, double y) const
 Implements PlotRasterData::valueAt().
vector< double > * colorBarValues (unsigned int max=1000) const
 Implements PlotRasterData::colorBarValues().
Indexing indexing () const
 Gets/sets the indexing used for the matrix.
void setIndexing (Indexing i)
Matrix< T > * matrix ()
 Gets/sets the matrix.
void setMatrix (Matrix< T > *m, bool shouldDelete=true)

Private Attributes

Matrix< T > * m_data
 
     

double m_0From
double m_0To
double m_1From
double m_1To
double m_0Pieces
double m_1Pieces
double m_valFrom
double m_valTo
Origin m_origin
Indexing m_indexing
bool m_shouldDelete

Detailed Description

template<class T>
class casa::PlotRasterMatrixData< T >

Implementation of raster data using casa::Matrix.

Definition at line 891 of file PlotData.h.


Member Enumeration Documentation

template<class T >
enum casa::PlotRasterMatrixData::Indexing

Whether the indexing is (row,col) or (x,y).

Default is (row,col).

Enumerator:
ROW_COL 
X_Y 

Definition at line 894 of file PlotData.h.


Constructor & Destructor Documentation

template<class T >
casa::PlotRasterMatrixData< T >::PlotRasterMatrixData ( Matrix< T > &  data,
bool  shouldDelete = false 
) [inline]
template<class T >
casa::PlotRasterMatrixData< T >::~PlotRasterMatrixData ( ) [inline]

Definition at line 922 of file PlotData.h.


Member Function Documentation

template<class T >
vector<double>* casa::PlotRasterMatrixData< T >::colorBarValues ( unsigned int  max = 1000) const [inline]

Implements PlotRasterData::colorBarValues().

Definition at line 1023 of file PlotData.h.

References casa::max().

template<class T >
Indexing casa::PlotRasterMatrixData< T >::indexing ( ) const [inline]

Gets/sets the indexing used for the matrix.

Definition at line 1044 of file PlotData.h.

template<class T >
bool casa::PlotRasterMatrixData< T >::isValid ( ) const [inline]

Implements PlotData::isValid().

Definition at line 925 of file PlotData.h.

template<class T >
Matrix<T>* casa::PlotRasterMatrixData< T >::matrix ( ) [inline]

Gets/sets the matrix.

Definition at line 1050 of file PlotData.h.

template<class T >
Origin casa::PlotRasterMatrixData< T >::origin ( ) const [inline]

Implements PlotRasterData::origin().

Definition at line 934 of file PlotData.h.

template<class T >
void casa::PlotRasterMatrixData< T >::setDeleteData ( bool  del = true) [inline]

Implements PlotData::setDeleteData().

Definition at line 931 of file PlotData.h.

template<class T >
void casa::PlotRasterMatrixData< T >::setIndexing ( Indexing  i) [inline]

Definition at line 1045 of file PlotData.h.

template<class T >
void casa::PlotRasterMatrixData< T >::setMatrix ( Matrix< T > *  m,
bool  shouldDelete = true 
) [inline]

Definition at line 1051 of file PlotData.h.

template<class T >
void casa::PlotRasterMatrixData< T >::setOrigin ( Origin  o) [inline]

Implements PlotRasterData::setOrigin().

Definition at line 937 of file PlotData.h.

template<class T >
void casa::PlotRasterMatrixData< T >::setXRange ( double  from,
double  to 
) [inline]

Implements PlotRasterData::setXRange().

Definition at line 956 of file PlotData.h.

template<class T >
void casa::PlotRasterMatrixData< T >::setYRange ( double  from,
double  to 
) [inline]

Implements PlotRasterData::setYRange().

Definition at line 976 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::valueAt ( double  x,
double  y 
) const [inline]

Implements PlotRasterData::valueAt().

Definition at line 999 of file PlotData.h.

template<class T >
prange_t casa::PlotRasterMatrixData< T >::valueRange ( ) const [inline]

Implements PlotRasterData::valueRange().

Definition at line 996 of file PlotData.h.

template<class T >
bool casa::PlotRasterMatrixData< T >::willDeleteData ( ) const [inline]

Implements PlotData::willDeleteData().

Definition at line 928 of file PlotData.h.

template<class T >
prange_t casa::PlotRasterMatrixData< T >::xRange ( ) const [inline]

Implements PlotRasterData::xRange().

Definition at line 944 of file PlotData.h.

template<class T >
prange_t casa::PlotRasterMatrixData< T >::yRange ( ) const [inline]

Implements PlotRasterData::yRange().

Definition at line 950 of file PlotData.h.


Member Data Documentation

template<class T >
double casa::PlotRasterMatrixData< T >::m_0From [private]

Definition at line 1060 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_0Pieces [private]

Definition at line 1062 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_0To [private]

Definition at line 1060 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_1From [private]

Definition at line 1061 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_1Pieces [private]

Definition at line 1062 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_1To [private]

Definition at line 1061 of file PlotData.h.

template<class T >
Matrix<T>* casa::PlotRasterMatrixData< T >::m_data [private]

     

Definition at line 1059 of file PlotData.h.

template<class T >
Indexing casa::PlotRasterMatrixData< T >::m_indexing [private]

Definition at line 1065 of file PlotData.h.

template<class T >
Origin casa::PlotRasterMatrixData< T >::m_origin [private]

Definition at line 1064 of file PlotData.h.

template<class T >
bool casa::PlotRasterMatrixData< T >::m_shouldDelete [private]

Definition at line 1066 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_valFrom [private]

Definition at line 1063 of file PlotData.h.

template<class T >
double casa::PlotRasterMatrixData< T >::m_valTo [private]

Definition at line 1063 of file PlotData.h.


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