28 #ifndef MEASURES_MEASFRAME_H 29 #define MEASURES_MEASFRAME_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Arrays/Vector.h> 34 #include <casacore/measures/Measures/Measure.h> 35 #include <casacore/casa/iosfwd.h> 43 class MVRadialVelocity;
47 template <
class T>
class Vector;
48 template <
class Qtype>
class Quantum;
202 void set(
const Measure &meas1);
Bool getUT1(Double &tdb) const
Get UT1 in days.
Bool getLong(Double &tdb) const
Get the ITRF longitude (in rad)
void errorReset(const String &txt)
Throw reset error.
Position for comets and other solar system bodies.
const MeasComet * comet() const
Get the comet pointer (0 if not present)
void fill(const Measure *in)
Fill a MeasFrame element.
Bool getComet(MVPosition &tdb) const
Get the comet coordinates.
void resetComet(const MeasComet &val)
void unlock(const uInt locker)
Unlock the frame.
FrameTypes
Enumeration for the different farme entries possible.
Bool operator==(const MeasFrame &other) const
Comparisons.
void makeRadialVelocity()
Make full RadialVelocity.
Bool getITRF(MVPosition &tdb) const
Get the position.
void makeComet()
Make full Comet.
Container for Measure frame.
Physical quantities within reference frame.
void makeDirection()
Make full Direction.
Bool empty() const
Test if empty (i.e.
const Measure * radialVelocity() const
Get the radial velocity pointer (0 if not present)
Measure frame calculations proxy.
Bool getLAST(Double &tdb) const
Get the LAST (in days)
Bool getB1950(MVDirection &tdb) const
Get B1950 coordinates (direction cosines)
friend Bool MCFrameGetmvdir(void *dmf, uInt tp, MVDirection &result)
friend Bool MCFrameGetuint(void *dmf, uInt tp, uInt &result)
Internal value for MRadialVelocity.
Bool getLat(Double &tdb) const
Get the ITRF latitude (in rad)
Bool getB1950Lat(Double &tdb) const
const Measure * direction() const
Get the direction pointer (0 if not present)
Bool getLatGeo(Double &tdb) const
Get the geodetic latitude.
void resetDirection(const Vector< Double > &val)
Bool getLSR(Double &tdb) const
Get LSR radial velocity (m/s)
void create()
Create an instance of the MeasFrame class.
Bool getAppLong(Double &tdb) const
Bool getTDB(Double &tdb) const
Get data from frame.
const Measure * epoch() const
Get the epoch pointer (0 if not present)
Bool operator!=(const MeasFrame &other) const
void resetRadialVelocity(const Vector< Double > &val)
bool Bool
Define the standard types used by Casacore.
MeasFrame()
Default constructor.
Bool getRadius(Double &tdb) const
Get the geocentric position (in m)
MeasFrame & operator=(const MeasFrame &other)
Copy assignment (reference semantics)
Bool getTT(Double &tdb) const
Get TT in days.
friend Bool MCFrameGetmvpos(void *dmf, uInt tp, MVPosition &result)
Bool getJ2000(MVDirection &tdb) const
Get J2000 coordinates (direction cosines) and its longitude/latitude (rad)
Bool getJ2000Long(Double &tdb) const
A class for high precision time.
Bool getJ2000Lat(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 getAppLat(Double &tdb) const
const Measure * position() const
Get the position pointer (0 if not present)
void resetPosition(const Vector< Double > &val)
Bool getCometType(uInt &tdb) const
Get the comet table reference type.
void makePosition()
Make full Position.
friend Bool MCFrameGetdbl(void *dmf, uInt tp, Double &result)
this file contains all the compiler specific defines
Bool getApp(MVDirection &tdb) const
Get apparent coordinates (direction cosines)
Bool getB1950Long(Double &tdb) const
Bool getLASTr(Double &tdb) const
Get the LAST (in rad)
void lock(uInt &locker)
Lock the frame to make sure deletion occurs when needed.