casa
$Rev:20696$
|
Measure frame calculations proxy. More...
#include <MCFrame.h>
Public Member Functions | |
MCFrame (MeasFrame &inf) | |
Construct using the MeasFrame parent. | |
~MCFrame () | |
Destructor. | |
void | resetEpoch () |
Reset Epoch value. | |
void | resetPosition () |
Reset Position value. | |
void | resetDirection () |
Reset Direction value. | |
void | resetRadialVelocity () |
Reset RadialVelocity value. | |
void | resetComet () |
Reset Comet. | |
void | makeEpoch () |
Make full Epoch. | |
void | makePosition () |
Make full Position. | |
void | makeDirection () |
Make full Direction. | |
void | makeRadialVelocity () |
Make full RadialVelocity. | |
void | makeComet () |
Make full Comet. | |
Bool | getTDB (Double &tdb) |
Get TDB in days. | |
Bool | getUT1 (Double &tdb) |
Get UT1 in days. | |
Bool | getTT (Double &tdb) |
Get TT in days. | |
Bool | getLong (Double &tdb) |
Get the longitude (in rad) | |
Bool | getLat (Double &tdb) |
Get the latitude (ITRF) (in rad) | |
Bool | getITRF (MVPosition &tdb) |
Get the position. | |
Bool | getRadius (Double &tdb) |
Get the geocentric position (in m) | |
Bool | getLatGeo (Double &tdb) |
Get the geodetic latitude. | |
Bool | getLAST (Double &tdb) |
Get the LAST (in days) | |
Bool | getLASTr (Double &tdb) |
Get the LAST (in rad) | |
Bool | getJ2000 (MVDirection &tdb) |
Get J2000 coordinates (direction cosines) and long/lat (rad) | |
Bool | getJ2000Long (Double &tdb) |
Bool | getJ2000Lat (Double &tdb) |
Bool | getB1950 (MVDirection &tdb) |
Get B1950 coordinates (direction cosines) and long/lat (rad) | |
Bool | getB1950Long (Double &tdb) |
Bool | getB1950Lat (Double &tdb) |
Bool | getApp (MVDirection &tdb) |
Get apparent coordinates (direction cosines) and long/lat (rad) | |
Bool | getAppLong (Double &tdb) |
Bool | getAppLat (Double &tdb) |
Bool | getLSR (Double &tdb) |
Get LSR radial velocity (m/s) | |
Bool | getCometType (uInt &tdb) |
Get Comet type. | |
Bool | getComet (MVPosition &tdb) |
Get Comet position. | |
Private Member Functions | |
MCFrame () | |
Default constructor (not implemented) | |
MCFrame (const MCFrame &other) | |
Copy constructor (not implemented) | |
MCFrame & | operator= (const MCFrame &other) |
Copy assignment (not implemented) | |
Private Attributes | |
MeasFrame | myf |
The belonging frame pointer. | |
void * | epConvTDB |
The actual measure conversion values. | |
Double * | epTDBp |
TDB time. | |
void * | epConvUT1 |
Conversion to UT1 time. | |
Double * | epUT1p |
UT1 time. | |
void * | epConvTT |
Conversion to TT time. | |
Double * | epTTp |
TT time. | |
void * | epConvLAST |
Conversion to LAST time. | |
Double * | epLASTp |
LAST time. | |
void * | posConvLong |
Conversion to ITRF longitude/latitude. | |
Vector< Double > * | posLongp |
Longitude. | |
MVPosition * | posITRFp |
Position. | |
void * | posConvLongGeo |
Conversion to geodetic longitude/latitude. | |
Vector< Double > * | posLongGeop |
Latitude. | |
MVPosition * | posGeop |
Position. | |
void * | dirConvJ2000 |
Conversion to J2000. | |
Vector< Double > * | j2000Longp |
Longitude. | |
MVDirection * | dirJ2000p |
J2000 coordinates. | |
void * | dirConvB1950 |
Conversion to B1950. | |
Vector< Double > * | b1950Longp |
Longitude. | |
MVDirection * | dirB1950p |
B1950 coordinates. | |
void * | dirConvApp |
Conversion to apparent coordinates. | |
Vector< Double > * | appLongp |
Longitude. | |
MVDirection * | dirAppp |
Apparent coordinates. | |
void * | radConvLSR |
Conversion to LSR radial velocity. | |
Double * | radLSRp |
Radial velocity. |
Measure frame calculations proxy.
Internal
From Measure and Frame
The MeasFrame class contains the 'when and where' of an observed Measure. Calculations to get the appropiate value (e.g. the Earth's longitude) from this frame for conversions are done in this class, together with all the caching of (intermediate) results that can speed-up calculations.
The MCFrame class is used by the individual measure conversion classes (see MCBase class).
MEpoch my_epoch(Quantity(MeasData::MJDB1950,"d")); // an epoch MCFrame frame(my_epoch); // used in a frame frame.set(obser); // add observatory (an MPosition) MEpoch::Convert conv(my_epoch, MEPoch::Ref(MEpoch::LAST, frame));
The conv conversion engine will (transpararently) use the MCFrame class in calls from MCEpoch (the time conversions), which will be called by the MEpoch::Convert () operator.
To separate the frame calculations from the Measure containers, to enable e.g. Tables to have Measures.
casa::MCFrame::MCFrame | ( | MeasFrame & | inf | ) |
Construct using the MeasFrame parent.
Destructor.
casa::MCFrame::MCFrame | ( | ) | [private] |
Default constructor (not implemented)
casa::MCFrame::MCFrame | ( | const MCFrame & | other | ) | [private] |
Copy constructor (not implemented)
Bool casa::MCFrame::getApp | ( | MVDirection & | tdb | ) |
Get apparent coordinates (direction cosines) and long/lat (rad)
Bool casa::MCFrame::getAppLat | ( | Double & | tdb | ) |
Bool casa::MCFrame::getAppLong | ( | Double & | tdb | ) |
Bool casa::MCFrame::getB1950 | ( | MVDirection & | tdb | ) |
Get B1950 coordinates (direction cosines) and long/lat (rad)
Bool casa::MCFrame::getB1950Lat | ( | Double & | tdb | ) |
Bool casa::MCFrame::getB1950Long | ( | Double & | tdb | ) |
Bool casa::MCFrame::getComet | ( | MVPosition & | tdb | ) |
Get Comet position.
Bool casa::MCFrame::getCometType | ( | uInt & | tdb | ) |
Get Comet type.
Bool casa::MCFrame::getITRF | ( | MVPosition & | tdb | ) |
Get the position.
Bool casa::MCFrame::getJ2000 | ( | MVDirection & | tdb | ) |
Get J2000 coordinates (direction cosines) and long/lat (rad)
Bool casa::MCFrame::getJ2000Lat | ( | Double & | tdb | ) |
Bool casa::MCFrame::getJ2000Long | ( | Double & | tdb | ) |
Bool casa::MCFrame::getLAST | ( | Double & | tdb | ) |
Get the LAST (in days)
Bool casa::MCFrame::getLASTr | ( | Double & | tdb | ) |
Get the LAST (in rad)
Bool casa::MCFrame::getLat | ( | Double & | tdb | ) |
Get the latitude (ITRF) (in rad)
Bool casa::MCFrame::getLatGeo | ( | Double & | tdb | ) |
Get the geodetic latitude.
Bool casa::MCFrame::getLong | ( | Double & | tdb | ) |
Get the longitude (in rad)
Bool casa::MCFrame::getLSR | ( | Double & | tdb | ) |
Get LSR radial velocity (m/s)
Bool casa::MCFrame::getRadius | ( | Double & | tdb | ) |
Get the geocentric position (in m)
Bool casa::MCFrame::getTDB | ( | Double & | tdb | ) |
Get TDB in days.
Bool casa::MCFrame::getTT | ( | Double & | tdb | ) |
Get TT in days.
Bool casa::MCFrame::getUT1 | ( | Double & | tdb | ) |
Get UT1 in days.
void casa::MCFrame::makeComet | ( | ) |
Make full Comet.
void casa::MCFrame::makeDirection | ( | ) |
Make full Direction.
void casa::MCFrame::makeEpoch | ( | ) |
Make full Epoch.
void casa::MCFrame::makePosition | ( | ) |
Make full Position.
void casa::MCFrame::makeRadialVelocity | ( | ) |
Make full RadialVelocity.
Copy assignment (not implemented)
void casa::MCFrame::resetComet | ( | ) |
Reset Comet.
void casa::MCFrame::resetDirection | ( | ) |
Reset Direction value.
void casa::MCFrame::resetEpoch | ( | ) |
Reset Epoch value.
void casa::MCFrame::resetPosition | ( | ) |
Reset Position value.
void casa::MCFrame::resetRadialVelocity | ( | ) |
Reset RadialVelocity value.
Vector<Double>* casa::MCFrame::appLongp [private] |
Vector<Double>* casa::MCFrame::b1950Longp [private] |
MVDirection* casa::MCFrame::dirAppp [private] |
MVDirection* casa::MCFrame::dirB1950p [private] |
void* casa::MCFrame::dirConvApp [private] |
Conversion to apparent coordinates.
void* casa::MCFrame::dirConvB1950 [private] |
Conversion to B1950.
void* casa::MCFrame::dirConvJ2000 [private] |
Conversion to J2000.
MVDirection* casa::MCFrame::dirJ2000p [private] |
void* casa::MCFrame::epConvLAST [private] |
Conversion to LAST time.
void* casa::MCFrame::epConvTDB [private] |
The actual measure conversion values.
Conversion to TDB time (due to some (for me) unsolvable dependency errors) not the proper MeasConvert* here)
void* casa::MCFrame::epConvTT [private] |
Conversion to TT time.
void* casa::MCFrame::epConvUT1 [private] |
Conversion to UT1 time.
Double* casa::MCFrame::epLASTp [private] |
Double* casa::MCFrame::epTDBp [private] |
Double* casa::MCFrame::epTTp [private] |
Double* casa::MCFrame::epUT1p [private] |
Vector<Double>* casa::MCFrame::j2000Longp [private] |
MeasFrame casa::MCFrame::myf [private] |
void* casa::MCFrame::posConvLong [private] |
Conversion to ITRF longitude/latitude.
void* casa::MCFrame::posConvLongGeo [private] |
Conversion to geodetic longitude/latitude.
MVPosition* casa::MCFrame::posGeop [private] |
MVPosition* casa::MCFrame::posITRFp [private] |
Vector<Double>* casa::MCFrame::posLongGeop [private] |
Vector<Double>* casa::MCFrame::posLongp [private] |
void* casa::MCFrame::radConvLSR [private] |
Conversion to LSR radial velocity.
Double* casa::MCFrame::radLSRp [private] |