casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
casa::PlotRasterMatrixData< T > Class Template Reference

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

#include <PlotData.h>

Inheritance diagram for casa::PlotRasterMatrixData< T >:

Public Types

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

Public Member Functions

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

Private Attributes

casacore::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 899 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 902 of file PlotData.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements PlotRasterData::colorBarValues().

Definition at line 1031 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_data, and max.

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

Gets/sets the indexing used for the matrix.

Definition at line 1052 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_indexing.

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

Implements PlotData::isValid().

Definition at line 933 of file PlotData.h.

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

Gets/sets the matrix.

Definition at line 1058 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_data.

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

Implements PlotRasterData::origin().

Definition at line 942 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_origin.

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

Implements PlotData::setDeleteData().

Definition at line 939 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_shouldDelete.

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

Definition at line 1053 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_indexing.

template<class T >
void casa::PlotRasterMatrixData< T >::setMatrix ( casacore::Matrix< T > *  m,
bool  shouldDelete = true 
)
inline
template<class T >
void casa::PlotRasterMatrixData< T >::setOrigin ( Origin  o)
inline

Implements PlotRasterData::setOrigin().

Definition at line 945 of file PlotData.h.

References casa::PlotRasterMatrixData< T >::m_origin.

template<class T >
void casa::PlotRasterMatrixData< T >::setXRange ( double  from,
double  to 
)
inline
template<class T >
void casa::PlotRasterMatrixData< T >::setYRange ( double  from,
double  to 
)
inline
template<class T >
double casa::PlotRasterMatrixData< T >::valueAt ( double  x,
double  y 
) const
inline
template<class T >
prange_t casa::PlotRasterMatrixData< T >::valueRange ( ) const
inline
template<class T >
bool casa::PlotRasterMatrixData< T >::willDeleteData ( ) const
inline
template<class T >
prange_t casa::PlotRasterMatrixData< T >::xRange ( ) const
inline
template<class T >
prange_t casa::PlotRasterMatrixData< T >::yRange ( ) const
inline

Member Data Documentation

template<class T >
double casa::PlotRasterMatrixData< T >::m_0From
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_0Pieces
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_0To
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_1From
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_1Pieces
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_1To
private
template<class T >
casacore::Matrix<T>* casa::PlotRasterMatrixData< T >::m_data
private
template<class T >
Indexing casa::PlotRasterMatrixData< T >::m_indexing
private
template<class T >
Origin casa::PlotRasterMatrixData< T >::m_origin
private
template<class T >
bool casa::PlotRasterMatrixData< T >::m_shouldDelete
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_valFrom
private
template<class T >
double casa::PlotRasterMatrixData< T >::m_valTo
private

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