00001 /* $Id: ObitFitRegionList.h,v 1.2 2007/08/31 17:24:48 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2006,2007 */ 00004 /*; Associated Universities, Inc. Washington DC, USA. */ 00005 /*; */ 00006 /*; This program is free software; you can redistribute it and/or */ 00007 /*; modify it under the terms of the GNU General Public License as */ 00008 /*; published by the Free Software Foundation; either version 2 of */ 00009 /*; the License, or (at your option) any later version. */ 00010 /*; */ 00011 /*; This program is distributed in the hope that it will be useful, */ 00012 /*; but WITHOUT ANY WARRANTY; without even the implied warranty of */ 00013 /*; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 00014 /*; GNU General Public License for more details. */ 00015 /*; */ 00016 /*; You should have received a copy of the GNU General Public */ 00017 /*; License along with this program; if not, write to the Free */ 00018 /*; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, */ 00019 /*; MA 02139, USA. */ 00020 /*; */ 00021 /*;Correspondence about this software should be addressed as follows: */ 00022 /*; Internet email: bcotton@nrao.edu. */ 00023 /*; Postal address: William Cotton */ 00024 /*; National Radio Astronomy Observatory */ 00025 /*; 520 Edgemont Road */ 00026 /*; Charlottesville, VA 22903-2475 USA */ 00027 /*--------------------------------------------------------------------*/ 00028 #ifndef OBITFITREGIONLIST_H 00029 #define OBITFITREGIONLIST_H 00030 00031 #include "Obit.h" 00032 #include "ObitErr.h" 00033 #include "ObitImage.h" 00034 #include "ObitFitRegion.h" 00035 00036 /*-------- Obit: Software for the recently deceased ------------------*/ 00055 /*--------------Class definitions-------------------------------------*/ 00057 typedef struct { 00058 #include "ObitFitRegionListDef.h" /* this class definition */ 00059 } ObitFitRegionList; 00060 00061 /*----------------- Macroes ---------------------------*/ 00067 #define ObitFitRegionListUnref(in) ObitUnref (in) 00068 00074 #define ObitFitRegionListRef(in) ObitRef (in) 00075 00082 #define ObitFitRegionListIsA(in) ObitIsA (in, ObitFitRegionListGetClass()) 00083 00084 /*---------------Public functions---------------------------*/ 00086 void ObitFitRegionListClassInit (void); 00087 00089 ObitFitRegionList* newObitFitRegionList (gchar* name); 00090 00092 ObitFitRegionList* ObitFitRegionListCreate (gchar* name, ObitImage *image); 00094 typedef ObitFitRegionList* 00095 (*ObitFitRegionListCreateFP) (gchar* name, ObitImage *image); 00096 00098 gconstpointer ObitFitRegionListGetClass (void); 00099 00101 void ObitFitRegionListAppend(ObitFitRegionList *in, ObitFitRegion *reg); 00102 00104 void ObitFitRegionListRemove (ObitFitRegionList *in, ObitFitRegion *reg); 00105 00107 ObitFitRegion* ObitFitRegionListFind(ObitFitRegionList *in, gchar *name); 00108 00110 void ObitFitRegionListSubtract (ObitFitRegionList *in, ObitImage *outImage, 00111 ObitErr *err); 00112 00113 /*----------- ClassInfo Structure -----------------------------------*/ 00119 typedef struct { 00120 #include "ObitFitRegionListClassDef.h" 00121 } ObitFitRegionListClassInfo; 00122 00123 #endif /* OBITFFITREGIONLIST_H */
1.3.9.1