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;
187 { theirMutexedInit.
exec(); }
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 MutexedInit theirMutexedInit
Mutex for thread-safety.
Base for Reference frame for physical measures.
Muvw conversion routines.
static void fillState()
Fill the global state in a thread-safe way.
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.
Thread-safe initialization of global variables.
MCuvw & operator=(const MCuvw &other)
Assignment (not implemented)
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.
void exec()
Execute the initialization function if not done yet.
String: the storage and methods of handling collections of characters.
static uInt ToRef_p[N_Routes][3]
Transition list.
Vector of three direction cosines.
static void doFillState(void *)
Fill the global state in a thread-safe way.
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.