FeatherCurveType.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef FEATHERCURVETYPE_H_
00027 #define FEATHERCURVETYPE_H_
00028
00029 namespace casa {
00030
00039 class FeatherCurveType {
00040 public:
00041
00042
00043
00044
00045
00046 enum CurveType {SUM_LOW_HIGH, WEIGHT_LOW,
00047 WEIGHT_HIGH, LOW_ORIGINAL, LOW_WEIGHTED, LOW_CONVOLVED_HIGH,
00048 LOW_CONVOLVED_HIGH_WEIGHTED,
00049 HIGH_ORIGINAL, HIGH_WEIGHTED,
00050 HIGH_CONVOLVED_LOW, HIGH_CONVOLVED_LOW_WEIGHTED, DIRTY_ORIGINAL,
00051 DIRTY_WEIGHTED, DIRTY_CONVOLVED_LOW, DIRTY_CONVOLVED_LOW_WEIGHTED,
00052
00053 ZOOM, DISH_DIAMETER,
00054
00055 X_Y,CURVES_END};
00056
00057 static bool isSumCurve( CurveType curveType ){
00058 bool sumCurve = false;
00059 if (curveType == SUM_LOW_HIGH ){
00060 sumCurve = true;
00061 }
00062 return sumCurve;
00063 }
00064
00065 static bool isWeightCurve( CurveType curveType ) {
00066 bool weightCurve = false;
00067 if ( curveType == WEIGHT_LOW || curveType == WEIGHT_HIGH ){
00068 weightCurve = true;
00069 }
00070 return weightCurve;
00071 }
00072
00073 static bool isSliceCurve( CurveType curveType ){
00074 bool sliceCurve = false;
00075 if ( curveType == WEIGHT_LOW || curveType == WEIGHT_HIGH ||
00076 curveType == LOW_ORIGINAL || curveType == LOW_WEIGHTED ||
00077 curveType == HIGH_ORIGINAL || curveType==HIGH_WEIGHTED ||
00078 curveType == HIGH_CONVOLVED_LOW || curveType ==HIGH_CONVOLVED_LOW_WEIGHTED ||
00079 curveType == DIRTY_ORIGINAL || curveType ==DIRTY_WEIGHTED ||
00080 curveType == DIRTY_CONVOLVED_LOW || curveType == DIRTY_CONVOLVED_LOW_WEIGHTED ||
00081 curveType ==LOW_CONVOLVED_HIGH ||
00082 curveType ==LOW_CONVOLVED_HIGH_WEIGHTED
00083 ){
00084 sliceCurve = true;
00085 }
00086 return sliceCurve;
00087 }
00088 private:
00089 FeatherCurveType();
00090
00091 virtual ~FeatherCurveType();
00092 };
00093
00094 }
00095 #endif