28 #ifndef MEASURES_MEASFRAME_H
29 #define MEASURES_MEASFRAME_H
43 class MVRadialVelocity;
47 template <
class T>
class Vector;
48 template <
class Qtype>
class Quantum;
Bool getLAST(Double &tdb) const
Get the LAST (in days)
Bool getLat(Double &tdb) const
Get the ITRF latitude (in rad)
void set(const Measure &meas1)
Set frame elements.
void errorReset(const String &txt)
Throw reset error.
std::vector< double > Vector
Position for comets and other solar system bodies.
Bool getJ2000Long(Double &tdb) const
void fill(const Measure *in)
Fill a MeasFrame element.
const MeasComet * comet() const
Get the comet pointer (0 if not present)
void resetComet(const MeasComet &val)
void unlock(const uInt locker)
Unlock the frame.
FrameTypes
Enumeration for the different farme entries possible.
void makeRadialVelocity()
Make full RadialVelocity.
Bool getComet(MVPosition &tdb) const
Get the comet coordinates.
void makeComet()
Make full Comet.
Container for Measure frame.
const Measure * position() const
Get the position pointer (0 if not present)
Physical quantities within reference frame.
void makeDirection()
Make full Direction.
Bool getTT(Double &tdb) const
Get TT in days.
const Measure * radialVelocity() const
Get the radial velocity pointer (0 if not present)
Bool getLSR(Double &tdb) const
Get LSR radial velocity (m/s)
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
Bool getITRF(MVPosition &tdb) const
Get the position.
Measure frame calculations proxy.
const Measure * direction() const
Get the direction pointer (0 if not present)
friend Bool MCFrameGetmvdir(void *dmf, uInt tp, MVDirection &result)
friend Bool MCFrameGetuint(void *dmf, uInt tp, uInt &result)
Bool getCometType(uInt &tdb) const
Get the comet table reference type.
Bool getLASTr(Double &tdb) const
Get the LAST (in rad)
Internal value for MRadialVelocity.
Bool getJ2000(MVDirection &tdb) const
Get J2000 coordinates (direction cosines) and its longitude/latitude (rad)
Bool getAppLat(Double &tdb) const
void resetDirection(const Vector< Double > &val)
Bool getLong(Double &tdb) const
Get the ITRF longitude (in rad)
void create()
Create an instance of the MeasFrame class.
void resetRadialVelocity(const Vector< Double > &val)
bool Bool
Define the standard types used by Casacore.
MeasFrame()
Default constructor.
Bool getApp(MVDirection &tdb) const
Get apparent coordinates (direction cosines)
Bool getRadius(Double &tdb) const
Get the geocentric position (in m)
const Measure * epoch() const
Get the epoch pointer (0 if not present)
Bool getB1950(MVDirection &tdb) const
Get B1950 coordinates (direction cosines)
MeasFrame & operator=(const MeasFrame &other)
Copy assignment (reference semantics)
Bool getB1950Lat(Double &tdb) const
Bool operator!=(const MeasFrame &other) const
friend Bool MCFrameGetmvpos(void *dmf, uInt tp, MVPosition &result)
Bool operator==(const MeasFrame &other) const
Comparisons.
Bool empty() const
Test if empty (i.e.
A class for high precision time.
Bool getJ2000Lat(Double &tdb) const
Bool getB1950Long(Double &tdb) const
FrameRep * rep
Representation of MeasFrame.
void resetEpoch(Double val)
Reset a frame element and its cached derived values.
String: the storage and methods of handling collections of characters.
void makeEpoch()
Make full Epoch.
Vector of three direction cosines.
friend ostream & operator<<(ostream &os, MeasFrame &mf)
Output a frame.
Bool getLatGeo(Double &tdb) const
Get the geodetic latitude.
void resetPosition(const Vector< Double > &val)
void makePosition()
Make full Position.
friend Bool MCFrameGetdbl(void *dmf, uInt tp, Double &result)
Bool getUT1(Double &tdb) const
Get UT1 in days.
Bool getAppLong(Double &tdb) const
Bool getTDB(Double &tdb) const
Get data from frame.
void lock(uInt &locker)
Lock the frame to make sure deletion occurs when needed.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.