casa  $Rev:20696$
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
casa::MSPlotConvertParallacticangle Class Reference

#include <MsPlotConvert.h>

Inheritance diagram for casa::MSPlotConvertParallacticangle:
casa::TPConvertBase

List of all members.

Public Member Functions

 MSPlotConvertParallacticangle (MSDerivedValues *derived, ROMSColumns *columns, Bool onXaxis)
 Constructor.
 ~MSPlotConvertParallacticangle ()
 Destructor.
Double Xconvert (Double x, Int row, Int tblNum)
 Conversion along the Xaxis.
Double Yconvert (Double y, Int row, Int tblNum)
 Conversion along the Yaxis.

Protected Member Functions

Double findValue (Double value, Int row)

Private Attributes

Bool convertOnX
 Variables.
MSDerivedValuesitsMsDerived
Int curFieldId
Int lastFieldId
Vector< IntitsFieldIds
ROMSColumnsitsColumns
SLoglog
 Message logger.
uInt numPlotted
 A counter for messaging.

Static Private Attributes

static const String clname

Detailed Description

Definition at line 697 of file MsPlotConvert.h.


Constructor & Destructor Documentation

casa::MSPlotConvertParallacticangle::MSPlotConvertParallacticangle ( MSDerivedValues derived,
ROMSColumns columns,
Bool  onXaxis 
) [inline]

Constructor.

Determine wether the converted value is along the x or y axis.

Store the data bits we need. We could get away with keeping less info around. It's the old speed versus space trade of.

We keep track of the lastFieldId seen by these class. This saves us some calculation time, if the current one is the same as the last we use the stored value rather then recalculate.

Set the antenna info in the MS Derived

this is the average of all antennas. Use observatory position instead?

the following block is needed by parAngle()

Definition at line 701 of file MsPlotConvert.h.

References casa::ROMSColumns::antenna(), clname, convertOnX, casa::ROMSMainColumns::fieldId(), casa::SLog::FnEnter(), casa::SLog::FnExit(), casa::ROScalarColumn< T >::getColumn(), itsColumns, itsFieldIds, itsMsDerived, lastFieldId, log, casa::ROMSAntennaColumns::mount(), casa::ROMSAntennaColumns::nrow(), numPlotted, casa::MSDerivedValues::setAntennaMount(), casa::MSDerivedValues::setAntennas(), and casa::SLog::slog().

casa::MSPlotConvertParallacticangle::~MSPlotConvertParallacticangle ( ) [inline]

Destructor.

Definition at line 746 of file MsPlotConvert.h.

References clname, casa::SLog::FnEnter(), casa::SLog::FnExit(), and log.


Member Function Documentation

Double casa::MSPlotConvertParallacticangle::findValue ( Double  value,
Int  row 
) [inline, protected]
Double casa::MSPlotConvertParallacticangle::Xconvert ( Double  x,
Int  row,
Int  tblNum 
) [inline, virtual]
Double casa::MSPlotConvertParallacticangle::Yconvert ( Double  y,
Int  row,
Int  tblNum 
) [inline, virtual]

Member Data Documentation

Variables.

Definition at line 867 of file MsPlotConvert.h.

Referenced by MSPlotConvertParallacticangle(), Xconvert(), and Yconvert().

Definition at line 869 of file MsPlotConvert.h.

Referenced by findValue().

Definition at line 871 of file MsPlotConvert.h.

Referenced by findValue(), and MSPlotConvertParallacticangle().

Definition at line 870 of file MsPlotConvert.h.

Referenced by findValue(), MSPlotConvertParallacticangle(), Xconvert(), and Yconvert().

Definition at line 868 of file MsPlotConvert.h.

Referenced by findValue(), and MSPlotConvertParallacticangle().

Definition at line 869 of file MsPlotConvert.h.

Referenced by findValue(), and MSPlotConvertParallacticangle().

Message logger.

Definition at line 874 of file MsPlotConvert.h.

Referenced by findValue(), MSPlotConvertParallacticangle(), Xconvert(), Yconvert(), and ~MSPlotConvertParallacticangle().

A counter for messaging.

We really don't need to display millions of messages for debugging purposes. This seems to slow things down a lot if we do anyway -- even if they aren't printed to the logger.

Definition at line 880 of file MsPlotConvert.h.

Referenced by findValue(), MSPlotConvertParallacticangle(), Xconvert(), and Yconvert().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines