casa
$Rev:20696$
|
This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI. More...
Public Member Functions | |
MSPlotAntennaCallBack (Vector< String > inAntNames, Vector< String > inFieldNames) | |
~MSPlotAntennaCallBack () | |
casa::Bool | releasetable (Int, Int, Int, String) |
casa::Bool | createiterplotlabels (Vector< String > iteraxes, Vector< Double > values, String &titleString) |
casa::Bool | flagdata (String) |
casa::Bool | flagdata (Int, Vector< String >, Matrix< Double >, Vector< String >, Bool) |
casa::Bool | printlocateinfo (Vector< String >, Matrix< Double > infomat, Vector< String >) |
Private Attributes | |
Vector< String > | itsAntNames |
Vector< String > | itsFieldNames |
SLog * | log |
Message logger. | |
Static Private Attributes | |
static const String | clname |
This class is provided to TablePlot to allow MsPlot to do the proper thing when button's are pressed on the plotting GUI.
Internal
Callbacks from TablePlot to MsPlot that are executed when buttons are pressed on the plotting GUI, and the data that has been plotted resides in the Antenna subtable of the Measurement Set.
Note: The full list of columns in the Antenna subtable (VLA) are:
OFFSET
(x,y,z) offset value
POSITIION
(x,y,z) position value
TYPE
ground-base or not telescope
DISH_DIAMETER
FLAG_ROW
MOUNT
type of mount
NAME
antenna name
STATION
antenna station name </tbody>
To provide a way for the TablePlot object to inform the MsPlot object that a particular button has been pressed on the plotting GUI and to allow MS Plot to over ride the default TablePlot behaviour if necessary.
Definition at line 1311 of file MsPlotHooks.h.
MSPlotAntennaCallBack::MSPlotAntennaCallBack | ( | Vector< String > | inAntNames, |
Vector< String > | inFieldNames | ||
) | [inline] |
itsPlotOptions.LocateColumns[0] = "NAME"; itsPlotOptions.LocateColumns[1] = "STATION";
Definition at line 1314 of file MsPlotHooks.h.
References clname, itsAntNames, itsFieldNames, casa::log(), casa::SLog::slog(), and String.
MSPlotAntennaCallBack::~MSPlotAntennaCallBack | ( | ) | [inline] |
Definition at line 1337 of file MsPlotHooks.h.
References clname, casa::log(), and String.
casa::Bool MSPlotAntennaCallBack::createiterplotlabels | ( | Vector< String > | iteraxes, |
Vector< Double > | values, | ||
String & | titleString | ||
) | [inline] |
Definition at line 1365 of file MsPlotHooks.h.
References clname, casa::LogMessage::DEBUG1, itsAntNames, itsFieldNames, casa::log(), String, casa::vpf::toString(), casa::True, and casa::upcase().
casa::Bool MSPlotAntennaCallBack::flagdata | ( | String | ) | [inline] |
Definition at line 1445 of file MsPlotHooks.h.
References clname, casa::log(), String, and casa::True.
casa::Bool MSPlotAntennaCallBack::flagdata | ( | Int | , |
Vector< String > | , | ||
Matrix< Double > | , | ||
Vector< String > | , | ||
Bool | |||
) | [inline] |
cout << "MSPlotAntennaCallBack::flagdata" << endl;
Definition at line 1455 of file MsPlotHooks.h.
References String, and casa::True.
casa::Bool MSPlotAntennaCallBack::printlocateinfo | ( | Vector< String > | , |
Matrix< Double > | infomat, | ||
Vector< String > | |||
) | [inline] |
Definition at line 1466 of file MsPlotHooks.h.
References clname, itsAntNames, casa::log(), casa::LogMessage::NORMAL, casa::position(), String, casa::vpf::toString(), and casa::True.
casa::Bool MSPlotAntennaCallBack::releasetable | ( | Int | , |
Int | , | ||
Int | , | ||
String | |||
) | [inline] |
Definition at line 1346 of file MsPlotHooks.h.
References clname, casa::log(), String, and casa::True.
const String MSPlotAntennaCallBack::clname [static, private] |
Definition at line 1563 of file MsPlotHooks.h.
Vector<String> MSPlotAntennaCallBack::itsAntNames [private] |
Definition at line 1555 of file MsPlotHooks.h.
Vector<String> MSPlotAntennaCallBack::itsFieldNames [private] |
Definition at line 1559 of file MsPlotHooks.h.
SLog* MSPlotAntennaCallBack::log [private] |
Message logger.
Definition at line 1562 of file MsPlotHooks.h.