Cartesian< DataType > Class Template Reference

#include <Cartesian.hxx>

Inheritance diagram for Cartesian< DataType >:
Inheritance graph
[legend]
Collaboration diagram for Cartesian< DataType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cartesian ()
 Constructor just sets the method name.
virtual ~Cartesian ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
void setTarget (IntMap &cols, StringMap units)
void doit (TableData< DataType > &data, int row1, int row2)
 Cary out the Cartesian calculations on the data.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int cxColno
int cyColno
int czColno
int raColno
int decColno
double mDecFact
double mRAFact

Detailed Description

template<typename DataType>
class Cartesian< DataType >

Class to implement the calculation of Cartesian coordinates from coordinates expressed in polar angles


Constructor & Destructor Documentation

template<typename DataType >
Cartesian< DataType >::Cartesian (  )  [inline]

Constructor just sets the method name.

Referenced by Cartesian< DataType >::~Cartesian().

template<typename DataType >
virtual Cartesian< DataType >::~Cartesian (  )  [inline, virtual]

Destructor.

References Cartesian< DataType >::Cartesian().


Member Function Documentation

template<typename DataType >
void Cartesian< DataType >::doit ( TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void Cartesian< DataType >::doit2 ( TableData< DataType > &  rawData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void Cartesian< DataType >::setSource ( IntMap tbls,
IntMap cols,
StringMap  units 
) [inline, virtual]

The source data columns are those containing the polar angles. They are called RA and DEC here, but this will work in any coordinate system.

Implements DataMethod< DataType >.

template<typename DataType >
void Cartesian< DataType >::setTarget ( IntMap cols,
StringMap  units 
) [inline, virtual]

The target is three data columns giving the Cartesian values in x, y, and z respectively.

Implements DataMethod< DataType >.


Member Data Documentation

template<typename DataType >
int Cartesian< DataType >::cxColno [private]
template<typename DataType >
int Cartesian< DataType >::cyColno [private]
template<typename DataType >
int Cartesian< DataType >::czColno [private]
template<typename DataType >
int Cartesian< DataType >::decColno [private]
template<typename DataType >
double Cartesian< DataType >::mDecFact [private]
template<typename DataType >
double Cartesian< DataType >::mRAFact [private]
template<typename DataType >
int Cartesian< DataType >::raColno [private]

The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:21 2010 for WfcamSrc by  doxygen 1.6.3