28 #ifndef MEASURES_MEASFRAME_H
29 #define MEASURES_MEASFRAME_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/ArrayFwd.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/measures/Measures/Measure.h>
36 #include <casacore/casa/iosfwd.h>
44 class MVRadialVelocity;
48 template <
class Qtype>
class Quantum;
Bool getCometType(uInt &tdb) const
Get the comet table reference type.
void resetEpoch(const MVEpoch &val)
MeasFrame & operator=(const MeasFrame &other)
Copy assignment (reference semantics)
Bool getTDB(Double &tdb) const
Get data from frame.
void resetPosition(const Quantum< Vector< Double > > &val)
void resetRadialVelocity(const Measure &val)
void resetEpoch(const Vector< Double > &val)
const Measure * radialVelocity() const
Get the radial velocity pointer (0 if not present)
Bool getJ2000Long(Double &tdb) const
void resetDirection(const Measure &val)
void resetEpoch(const Quantum< Double > &val)
void resetDirection(const MVDirection &val)
Bool getLat(Double &tdb) const
Get the ITRF latitude (in rad)
MeasFrame(const Measure &meas1)
Construct frame with specified measures.
const Measure * direction() const
Get the direction pointer (0 if not present)
void set(const Measure &meas1, const Measure &meas2)
const Measure * epoch() const
Get the epoch pointer (0 if not present)
void makeEpoch()
Make full Epoch.
void resetEpoch(Double val)
Reset a frame element and its cached derived values.
void makeRadialVelocity()
Make full RadialVelocity.
Bool getUT1(Double &tdb) const
Get UT1 in days.
MeasFrame()
Default constructor.
void resetRadialVelocity(const MVRadialVelocity &val)
void resetEpoch(const Quantum< Vector< Double > > &val)
Bool getB1950(MVDirection &tdb) const
Get B1950 coordinates (direction cosines)
void resetDirection(const Vector< Double > &val)
void resetRadialVelocity(const Vector< Double > &val)
void resetRadialVelocity(const Quantum< Vector< Double > > &val)
MeasFrame(const Measure &meas1, const Measure &meas2)
Bool getTT(Double &tdb) const
Get TT in days.
void makeComet()
Make full Comet.
Bool getLAST(Double &tdb) const
Get the LAST (in days)
FrameTypes
Enumeration for the different farme entries possible.
Bool getLatGeo(Double &tdb) const
Get the geodetic latitude.
friend ostream & operator<<(ostream &os, MeasFrame &mf)
Output a frame.
FrameRep * rep
Representation of MeasFrame.
void unlock(const uInt locker)
Unlock the frame.
Bool getLong(Double &tdb) const
Get the ITRF longitude (in rad)
Bool operator==(const MeasFrame &other) const
Comparisons.
void resetEpoch(const Measure &val)
void makeDirection()
Make full Direction.
void resetPosition(const Vector< Double > &val)
Bool getB1950Lat(Double &tdb) const
void errorReset(const String &txt)
Throw reset error.
friend Bool MCFrameGetmvpos(void *dmf, uInt tp, MVPosition &result)
MeasFrame(const Measure &meas1, const Measure &meas2, const Measure &meas3)
void fill(const Measure *in)
Fill a MeasFrame element.
void resetPosition(const MVPosition &val)
Bool getJ2000Lat(Double &tdb) const
const MeasComet * comet() const
Get the comet pointer (0 if not present)
void set(const Measure &meas1, const Measure &meas2, const Measure &meas3)
Bool getComet(MVPosition &tdb) const
Get the comet coordinates.
void lock(uInt &locker)
Lock the frame to make sure deletion occurs when needed.
Bool empty() const
Test if empty (i.e.
Bool getAppLat(Double &tdb) const
void resetComet(const MeasComet &val)
void resetPosition(const Measure &val)
Bool getJ2000(MVDirection &tdb) const
Get J2000 coordinates (direction cosines) and its longitude/latitude (rad)
void set(const Measure &meas1)
Set frame elements.
void makePosition()
Make full Position.
Bool operator!=(const MeasFrame &other) const
MeasFrame(const MeasFrame &other)
Copy constructor (reference semantics)
Bool getRadius(Double &tdb) const
Get the geocentric position (in m)
void fill(const MeasComet *in)
friend Bool MCFrameGetmvdir(void *dmf, uInt tp, MVDirection &result)
Bool getB1950Long(Double &tdb) const
Bool getAppLong(Double &tdb) const
friend Bool MCFrameGetuint(void *dmf, uInt tp, uInt &result)
void set(const MeasComet &meas)
const Measure * position() const
Get the position pointer (0 if not present)
Bool getITRF(MVPosition &tdb) const
Get the position.
Bool getLSR(Double &tdb) const
Get LSR radial velocity (m/s)
void resetDirection(const Quantum< Vector< Double > > &val)
friend Bool MCFrameGetdbl(void *dmf, uInt tp, Double &result)
Bool getApp(MVDirection &tdb) const
Get apparent coordinates (direction cosines)
Bool getLASTr(Double &tdb) const
Get the LAST (in rad)
void create()
Create an instance of the MeasFrame class.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.