00001 #ifndef IMAGES_PIXELVALUEMANIPULATORDATA_H 00002 #define IMAGES_PIXELVALUEMANIPULATORDATA_H 00003 00004 #include <casa/typeinfo.h> 00005 00006 namespace casa { 00007 00008 class String; 00009 00010 class PixelValueManipulatorData { 00011 // <summary> 00012 // Non-templated data related bits for PixelValueManipulator. 00013 // </summary> 00014 00015 // <reviewed reviewer="" date="" tests="" demos=""> 00016 // </reviewed> 00017 00018 // <prerequisite> 00019 // </prerequisite> 00020 00021 // <etymology> 00022 // Data for PixelValueManipulator. 00023 // </etymology> 00024 00025 // <synopsis> 00026 // </synopsis> 00027 00028 // <example> 00029 // </example> 00030 00031 public: 00032 00033 enum SpectralType { 00034 DEFAULT, 00035 RELATIVISTIC, 00036 RADIO_VELOCITY, 00037 OPTICAL_VELOCITY, 00038 AIR_WAVELENGTH, 00039 WAVELENGTH, 00040 }; 00041 00042 PixelValueManipulatorData() = delete; 00043 00044 // destructor 00045 ~PixelValueManipulatorData() {} 00046 00047 // convert a string to a spectral type. Acceptable values are (case insensitive, 00048 // minimum match supported): "default", "optical velocity", "radio velocity", 00049 // "wavelength", "air wavelength", and "" (which returns DEFAULT) 00050 static SpectralType spectralType(const String& specString); 00051 00052 }; 00053 } 00054 00055 #endif