29 #ifndef MEASURES_MCUVW_H 30 #define MEASURES_MCUVW_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/measures/Measures/Muvw.h> 35 #include <casacore/measures/Measures/MeasBase.h> 36 #include <casacore/measures/Measures/MeasRef.h> 37 #include <casacore/measures/Measures/MCBase.h> 38 #include <casacore/measures/Measures/MConvertBase.h> 39 #include <casacore/measures/Measures/MeasMath.h> 40 #include <casacore/casa/Quanta/MVDirection.h> 41 #include <casacore/casa/OS/Mutex.h> 48 template <
class T>
class Vector;
Wrapper around std::call_once.
static String showState()
Show the state of the conversion engine (mainly for debugging purposes)
virtual void initConvert(uInt which, MConvertBase &mc)
Create help structures for Measure conversion routines.
Routes
Each derived class should have a list of routines to be called:
static CallOnce0 theirInitOnce
Object to ensure safe multi-threaded lazy single initialization.
Base for Reference frame for physical measures.
Muvw conversion routines.
Base for specific measure conversions.
virtual void clearConvert()
Delete the pointers used in the MeasConvert help structure cache.
void toPole(MVPosition &in)
Rotate from direction to pole.
Measure conversion aid routines.
MVDirection MVDIR1
Belonging direction.
virtual void doConvert(MeasValue &in, MRBase &inref, MRBase &outref, const MConvertBase &mc)
Routines to convert uvws from one reference frame to another.
MeasMath measMath
Calculation class.
MCuvw & operator=(const MCuvw &other)
Assignment (not implemented)
static void doFillState()
Fill the global state.
Base class for values in a Measure.
void fromPole(MVPosition &in)
Rotate from pole to direction.
static uInt FromTo_p[Muvw::N_Types][Muvw::N_Types]
Transition matrix.
String: the storage and methods of handling collections of characters.
static uInt ToRef_p[N_Routes][3]
Transition list.
Vector of three direction cosines.
MCuvw()
Default constructor.
void getAPP()
Get the correct belonging direction from the frame.
this file contains all the compiler specific defines
virtual void getConvert(MConvertBase &mc, const MRBase &inref, const MRBase &outref)
Create conversion function pointer.
Conversion of Measures Base.