casacore
|
#include <MCFrame.h>
Public Member Functions | |
MCFrame (MeasFrame &inf) | |
Construct using the MeasFrame parent. More... | |
~MCFrame () | |
Destructor. More... | |
void | resetEpoch () |
Reset Epoch value. More... | |
void | resetPosition () |
Reset Position value. More... | |
void | resetDirection () |
Reset Direction value. More... | |
void | resetRadialVelocity () |
Reset RadialVelocity value. More... | |
void | resetComet () |
Reset Comet. More... | |
void | makeEpoch () |
Make full Epoch. More... | |
void | makePosition () |
Make full Position. More... | |
void | makeDirection () |
Make full Direction. More... | |
void | makeRadialVelocity () |
Make full RadialVelocity. More... | |
void | makeComet () |
Make full Comet. More... | |
Bool | getTDB (Double &tdb) |
Get TDB in days. More... | |
Bool | getUT1 (Double &tdb) |
Get UT1 in days. More... | |
Bool | getTT (Double &tdb) |
Get TT in days. More... | |
Bool | getLong (Double &tdb) |
Get the longitude (in rad) More... | |
Bool | getLat (Double &tdb) |
Get the latitude (ITRF) (in rad) More... | |
Bool | getITRF (MVPosition &tdb) |
Get the position. More... | |
Bool | getRadius (Double &tdb) |
Get the geocentric position (in m) More... | |
Bool | getLatGeo (Double &tdb) |
Get the geodetic latitude. More... | |
Bool | getLAST (Double &tdb) |
Get the LAST (in days) More... | |
Bool | getLASTr (Double &tdb) |
Get the LAST (in rad) More... | |
Bool | getJ2000 (MVDirection &tdb) |
Get J2000 coordinates (direction cosines) and long/lat (rad) More... | |
Bool | getJ2000Long (Double &tdb) |
Bool | getJ2000Lat (Double &tdb) |
Bool | getB1950 (MVDirection &tdb) |
Get B1950 coordinates (direction cosines) and long/lat (rad) More... | |
Bool | getB1950Long (Double &tdb) |
Bool | getB1950Lat (Double &tdb) |
Bool | getApp (MVDirection &tdb) |
Get apparent coordinates (direction cosines) and long/lat (rad) More... | |
Bool | getAppLong (Double &tdb) |
Bool | getAppLat (Double &tdb) |
Bool | getLSR (Double &tdb) |
Get LSR radial velocity (m/s) More... | |
Bool | getCometType (uInt &tdb) |
Get Comet type. More... | |
Bool | getComet (MVPosition &tdb) |
Get Comet position. More... | |
Private Member Functions | |
MCFrame () | |
Default constructor (not implemented) More... | |
MCFrame (const MCFrame &other) | |
Copy constructor (not implemented) More... | |
MCFrame & | operator= (const MCFrame &other) |
Copy assignment (not implemented) More... | |
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).
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.
casacore::MCFrame::~MCFrame | ( | ) |
Destructor.
|
private |
Default constructor (not implemented)
|
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.
|
private |
|
private |
|
private |
Conversion to apparent coordinates.
|
private |
Conversion to B1950.
|
private |
Conversion to J2000.
|
private |
|
private |
Conversion to LAST time.
|
private |
The actual measure conversion values.
Conversion to TDB time (due to some (for me) unsolvable dependency errors) not the proper MeasConvert* here)
|
private |
Conversion to TT time.
|
private |
Conversion to UT1 time.
|
private |
|
private |
Conversion to ITRF longitude/latitude.
|
private |
Conversion to geodetic longitude/latitude.
|
private |
|
private |
|
private |
Conversion to LSR radial velocity.
|
private |