FeatherCurveType.h

Go to the documentation of this file.
00001 //# Copyright (C) 2005
00002 //# Associated Universities, Inc. Washington DC, USA.
00003 //#
00004 //# This library is free software; you can redistribute it and/or modify it
00005 //# under the terms of the GNU Library General Public License as published by
00006 //# the Free Software Foundation; either version 2 of the License, or (at your
00007 //# option) any later version.
00008 //#
00009 //# This library is distributed in the hope that it will be useful, but WITHOUT
00010 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00012 //# License for more details.
00013 //#
00014 //# You should have received a copy of the GNU Library General Public License
00015 //# along with this library; if not, write to the Free Software Foundation,
00016 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00017 //#
00018 //# Correspondence concerning AIPS++ should be addressed as follows:
00019 //#        Internet email: aips2-request@nrao.edu.
00020 //#        Postal address: AIPS++ Project Office
00021 //#                        National Radio Astronomy Observatory
00022 //#                        520 Edgemont Road
00023 //#                        Charlottesville, VA 22903-2475 USA
00024 //#
00025 
00026 #ifndef FEATHERCURVETYPE_H_
00027 #define FEATHERCURVETYPE_H_
00028 
00029 namespace casa {
00030 
00039 class FeatherCurveType {
00040 public:
00041 
00042         //Note:  Order in this listing is important.
00043         //First, we list things which will have legend items in the slice plot.
00044         //Next, we list things in the slice plot that do not have legend items.
00045         //Finally, we list items in the scatter plot
00046         enum CurveType {SUM_LOW_HIGH,  WEIGHT_LOW,
00047                 WEIGHT_HIGH, LOW_ORIGINAL, LOW_WEIGHTED, LOW_CONVOLVED_HIGH,
00048                 LOW_CONVOLVED_HIGH_WEIGHTED,/*LOW_CONVOLVED_DIRTY,
00049                 LOW_CONVOLVED_DIRTY_WEIGHTED,*/ 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                 //Items in slice plot not appearing in legend
00053                 ZOOM, DISH_DIAMETER,
00054                 //Scatter plot curves
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 //|| curveType ==LOW_CONVOLVED_DIRTY ||
00083                 /*curveType ==LOW_CONVOLVED_DIRTY_WEIGHTED*/){
00084                         sliceCurve = true;
00085                 }
00086                 return sliceCurve;
00087         }
00088 private:
00089         FeatherCurveType();
00090 
00091         virtual ~FeatherCurveType();
00092 };
00093 
00094 } /* namespace casa */
00095 #endif /* FEATHERTYPE_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1