Main Page | Class List | Directories | File List | Class Members | File Members

ObitImageSel.h

Go to the documentation of this file.
00001 /* $Id: ObitImageSel.h,v 1.4 2007/08/31 17:24:48 bcotton Exp $    */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-2007                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;  This program is free software; you can redistribute it and/or    */
00006 /*;  modify it under the terms of the GNU General Public License as   */
00007 /*;  published by the Free Software Foundation; either version 2 of   */
00008 /*;  the License, or (at your option) any later version.              */
00009 /*;                                                                   */
00010 /*;  This program is distributed in the hope that it will be useful,  */
00011 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00012 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00013 /*;  GNU General Public License for more details.                     */
00014 /*;                                                                   */
00015 /*;  You should have received a copy of the GNU General Public        */
00016 /*;  License along with this program; if not, write to the Free       */
00017 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00018 /*;  MA 02139, USA.                                                   */
00019 /*;                                                                   */
00020 /*; Correspondence about this software should be addressed as follows:*/
00021 /*;         Internet email: bcotton@nrao.edu.                         */
00022 /*;         Postal address: William Cotton                            */
00023 /*;                         National Radio Astronomy Observatory      */
00024 /*;                         520 Edgemont Road                         */
00025 /*;                         Charlottesville, VA 22903-2475 USA        */
00026 /*--------------------------------------------------------------------*/
00027 #ifndef OBITIMAGESEL_H 
00028 #define OBITIMAGESEL_H 
00029 #include "Obit.h"
00030 #include "ObitErr.h"
00031 #include "ObitInfoList.h"
00032 #include "ObitImageDesc.h"
00033 #include "ObitFArray.h"
00034 
00035 /*-------- Obit: Software for the recently deceased ------------------*/
00052 /*------------------- Macroes ----------------------------------------*/
00058 #define ObitImageSelUnref(in) ObitUnref (in)
00059 
00065 #define ObitImageSelRef(in) ObitRef (in)
00066 
00073 #define ObitImageSelIsA(in) ObitIsA (in, ObitImageSelGetClass())
00074 
00076 #define IM_MAXDIM 7       /* maximum array dimension */
00077 
00078 /*--------------Class definitions-------------------------------------*/
00084 typedef struct {
00085 #include "ObitImageSelDef.h" /* actual definition */
00086 } ObitImageSel;
00087 
00088 /*---------------Public functions---------------------------*/
00090 void ObitImageSelClassInit (void);
00091 
00093 ObitImageSel* newObitImageSel (gchar *name);
00094 
00096 gconstpointer ObitImageSelGetClass (void);
00097 
00099 ObitImageSel* ObitImageSelCopy (ObitImageSel* in, ObitImageSel* out,
00100                                 ObitErr *err);
00101 
00103 ObitFArray* 
00104 ObitImageSelBuffer (ObitFArray *buffer, ObitImageDesc* desc, 
00105                     ObitImageSel* sel);
00106 
00108 void ObitImageSelDefault (ObitImageDesc* in, 
00109                           ObitImageSel* sel);
00110 
00112 void ObitImageSelSetDesc (ObitImageDesc* in, ObitImageSel* sel,
00113                           ObitImageDesc* out, ObitErr *err);
00114 /*-------------------Class Info--------------------------*/
00120 typedef struct  {
00121 #include "ObitImageSelClassDef.h" /* Actual definition */
00122 } ObitImageSelClassInfo; 
00123 
00124 #endif /* OBITIMAGESEL_H */ 
00125 

Generated on Fri Aug 31 22:13:04 2007 for Obit by  doxygen 1.3.9.1