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.
Definition at line 91 of file MCFrame.h.
casacore::MCFrame::~MCFrame | ( | ) |
Destructor.
casacore::MCFrame::MCFrame | ( | ) | [private] |
Default constructor (not implemented).
casacore::MCFrame::MCFrame | ( | const MCFrame & | other | ) | [private] |
Copy constructor (not implemented).
Bool casacore::MCFrame::getApp | ( | MVDirection & | tdb | ) |
Get apparent coordinates (direction cosines) and long/lat (rad).
Bool casacore::MCFrame::getB1950 | ( | MVDirection & | tdb | ) |
Get B1950 coordinates (direction cosines) and long/lat (rad).
Bool casacore::MCFrame::getComet | ( | MVPosition & | tdb | ) |
Get Comet position.
Bool casacore::MCFrame::getITRF | ( | MVPosition & | tdb | ) |
Get the position.
Bool casacore::MCFrame::getJ2000 | ( | MVDirection & | tdb | ) |
Get J2000 coordinates (direction cosines) and long/lat (rad).
void casacore::MCFrame::makeComet | ( | ) |
Make full Comet.
void casacore::MCFrame::makeDirection | ( | ) |
Make full Direction.
void casacore::MCFrame::makeEpoch | ( | ) |
Make full Epoch.
void casacore::MCFrame::makePosition | ( | ) |
Make full Position.
void casacore::MCFrame::makeRadialVelocity | ( | ) |
Make full RadialVelocity.
Copy assignment (not implemented).
void casacore::MCFrame::resetComet | ( | ) |
Reset Comet.
void casacore::MCFrame::resetDirection | ( | ) |
Reset Direction value.
void casacore::MCFrame::resetEpoch | ( | ) |
Reset Epoch value.
void casacore::MCFrame::resetPosition | ( | ) |
Reset Position value.
void casacore::MCFrame::resetRadialVelocity | ( | ) |
Reset RadialVelocity value.
Vector<Double>* casacore::MCFrame::appLongp [private] |
Vector<Double>* casacore::MCFrame::b1950Longp [private] |
MVDirection* casacore::MCFrame::dirAppp [private] |
MVDirection* casacore::MCFrame::dirB1950p [private] |
void* casacore::MCFrame::dirConvApp [private] |
Conversion to apparent coordinates.
void* casacore::MCFrame::dirConvB1950 [private] |
Conversion to B1950.
void* casacore::MCFrame::dirConvJ2000 [private] |
Conversion to J2000.
MVDirection* casacore::MCFrame::dirJ2000p [private] |
void* casacore::MCFrame::epConvLAST [private] |
Conversion to LAST time.
void* casacore::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* casacore::MCFrame::epConvTT [private] |
Conversion to TT time.
void* casacore::MCFrame::epConvUT1 [private] |
Conversion to UT1 time.
Double* casacore::MCFrame::epLASTp [private] |
Double* casacore::MCFrame::epTDBp [private] |
Double* casacore::MCFrame::epTTp [private] |
Double* casacore::MCFrame::epUT1p [private] |
Vector<Double>* casacore::MCFrame::j2000Longp [private] |
MeasFrame casacore::MCFrame::myf [private] |
void* casacore::MCFrame::posConvLong [private] |
Conversion to ITRF longitude/latitude.
void* casacore::MCFrame::posConvLongGeo [private] |
Conversion to geodetic longitude/latitude.
MVPosition* casacore::MCFrame::posGeop [private] |
MVPosition* casacore::MCFrame::posITRFp [private] |
Vector<Double>* casacore::MCFrame::posLongGeop [private] |
Vector<Double>* casacore::MCFrame::posLongp [private] |
void* casacore::MCFrame::radConvLSR [private] |
Conversion to LSR radial velocity.
Double* casacore::MCFrame::radLSRp [private] |