|
casacore
|
#include <MCFrame.h>
Public Member Functions | |
| MCFrame () | |
| Construct using the MeasFrame parent. | |
| MCFrame (const MCFrame &other) | |
| MCFrame (MCFrame &&other) | |
| ~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 (MeasFrame &frame) |
| Make full Epoch. | |
| void | makePosition (const MeasFrame &frame) |
| Make full Position. | |
| void | makeDirection (MeasFrame &frame) |
| Make full Direction. | |
| void | makeRadialVelocity (const MeasFrame &frame) |
| Make full RadialVelocity. | |
| void | makeComet () |
| Make full Comet. | |
| Bool | getTDB (Double &tdb, const MeasFrame &frame) |
| Get time as Temps Dynamique Barycentrique (TDB, or Barycentric Dynamical Time) in days. | |
| Bool | getUT1 (Double &tdb, const MeasFrame &frame) |
| Get UT1 in days. | |
| Bool | getTT (Double &tdb, const MeasFrame &frame) |
| Get TT in days. | |
| Bool | getLong (Double &tdb, const MeasFrame &frame) |
| Get the longitude (in rad). | |
| Bool | getLat (Double &tdb, const MeasFrame &frame) |
| Get the latitude (ITRF) (in rad). | |
| Bool | getITRF (MVPosition &tdb, const MeasFrame &frame) |
| Get the position. | |
| Bool | getRadius (Double &tdb, const MeasFrame &frame) |
| Get the geocentric position (in m). | |
| Bool | getLatGeo (Double &tdb, const MeasFrame &frame) |
| Get the geodetic latitude. | |
| Bool | getLAST (Double &tdb, const MeasFrame &frame) |
| Get the LAST (in days). | |
| Bool | getLASTr (Double &tdb, const MeasFrame &frame) |
| Get the LAST (in rad). | |
| Bool | getJ2000 (MVDirection &tdb, const MeasFrame &frame) |
| Get J2000 coordinates (direction cosines) and long/lat (rad). | |
| Bool | getJ2000Long (Double &tdb, const MeasFrame &frame) |
| Bool | getJ2000Lat (Double &tdb, const MeasFrame &frame) |
| Bool | getB1950 (MVDirection &tdb, const MeasFrame &frame) |
| Get B1950 coordinates (direction cosines) and long/lat (rad). | |
| Bool | getB1950Long (Double &tdb, const MeasFrame &frame) |
| Bool | getB1950Lat (Double &tdb, const MeasFrame &frame) |
| Bool | getApp (MVDirection &tdb, const MeasFrame &frame) |
| Get apparent coordinates (direction cosines) and long/lat (rad). | |
| Bool | getAppLong (Double &tdb, const MeasFrame &frame) |
| Bool | getAppLat (Double &tdb, const MeasFrame &frame) |
| Bool | getLSR (Double &tdb, const MeasFrame &frame) |
| Get LSR radial velocity (m/s). | |
| Bool | getCometType (uInt &tdb, const MeasFrame &frame) |
| Get Comet type. | |
| Bool | getComet (MVPosition &tdb, const MeasFrame &frame) |
| Get Comet position. | |
Private Member Functions | |
| MCFrame & | operator= (const MCFrame &other)=delete |
Private Attributes | |
| std::unique_ptr< MCFrameImplementation > | impl_ |
| pointer-to-implementation (pimpl) pattern is used to avoid a large number of dependencies in the header file. | |
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 | ( | ) |
Construct using the MeasFrame parent.
Referenced by MCFrame(), MCFrame(), and operator=().
| casacore::MCFrame::MCFrame | ( | const MCFrame & | other | ) |
References MCFrame().
| casacore::MCFrame::MCFrame | ( | MCFrame && | other | ) |
References MCFrame().
| casacore::MCFrame::~MCFrame | ( | ) |
Destructor.
| Bool casacore::MCFrame::getApp | ( | MVDirection & | tdb, |
| const MeasFrame & | frame ) |
Get apparent coordinates (direction cosines) and long/lat (rad).
| Bool casacore::MCFrame::getB1950 | ( | MVDirection & | tdb, |
| const MeasFrame & | frame ) |
Get B1950 coordinates (direction cosines) and long/lat (rad).
| Bool casacore::MCFrame::getComet | ( | MVPosition & | tdb, |
| const MeasFrame & | frame ) |
Get Comet position.
| Bool casacore::MCFrame::getITRF | ( | MVPosition & | tdb, |
| const MeasFrame & | frame ) |
Get the position.
| Bool casacore::MCFrame::getJ2000 | ( | MVDirection & | tdb, |
| const MeasFrame & | frame ) |
Get J2000 coordinates (direction cosines) and long/lat (rad).
Get the latitude (ITRF) (in rad).
Get the geodetic latitude.
Get the longitude (in rad).
Get LSR radial velocity (m/s).
Get the geocentric position (in m).
Get time as Temps Dynamique Barycentrique (TDB, or Barycentric Dynamical Time) in days.
| void casacore::MCFrame::makeComet | ( | ) |
Make full Comet.
| void casacore::MCFrame::makeDirection | ( | MeasFrame & | frame | ) |
Make full Direction.
| void casacore::MCFrame::makeEpoch | ( | MeasFrame & | frame | ) |
Make full Epoch.
| void casacore::MCFrame::makePosition | ( | const MeasFrame & | frame | ) |
Make full Position.
| void casacore::MCFrame::makeRadialVelocity | ( | const MeasFrame & | frame | ) |
Make full RadialVelocity.
| 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 |