casa
$Rev:20696$
|
00001 //# PGPLOT.h: AIPS++ interface to PGPLOT routines 00002 //# Copyright (C) 1993,1994,1995,2000,2002 00003 //# Associated Universities, Inc. Washington DC, USA. 00004 //# 00005 //# This library is free software; you can redistribute it and/or modify it 00006 //# under the terms of the GNU Library General Public License as published by 00007 //# the Free Software Foundation; either version 2 of the License, or (at your 00008 //# option) any later version. 00009 //# 00010 //# This library is distributed in the hope that it will be useful, but WITHOUT 00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 //# License for more details. 00014 //# 00015 //# You should have received a copy of the GNU Library General Public License 00016 //# along with this library; if not, write to the Free Software Foundation, 00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00018 //# 00019 //# Correspondence concerning AIPS++ should be addressed as follows: 00020 //# Internet email: aips2-request@nrao.edu. 00021 //# Postal address: AIPS++ Project Office 00022 //# National Radio Astronomy Observatory 00023 //# 520 Edgemont Road 00024 //# Charlottesville, VA 22903-2475 USA 00025 //# 00026 //# $Id$ 00027 00028 #ifndef GRAPHICS_PGPLOT_H 00029 #define GRAPHICS_PGPLOT_H 00030 00031 #include <casa/aips.h> 00032 00033 #if !defined(NEED_FORTRAN_UNDERSCORES) 00034 #define NEED_FORTRAN_UNDERSCORES 1 00035 #endif 00036 00037 #if NEED_FORTRAN_UNDERSCORES 00038 #define wpgbegin wpgbegin_ 00039 #define wpgenv wpgenv_ 00040 #define wpgask wpgask_ 00041 #define wpghist wpghist_ 00042 #define wpglabel wpglabel_ 00043 #define wpgend wpgend_ 00044 #define wpgline wpgline_ 00045 #define wpgpoint wpgpoint_ 00046 #define wpgiden wpgiden_ 00047 #define wpgtext wpgtext_ 00048 #define wpgcont wpgcont_ 00049 #define wpggray wpggray_ 00050 #define wpgerrx wpgerrx_ 00051 #define wpgerry wpgerry_ 00052 #define MAIN MAIN_ 00053 #endif 00054 00055 namespace casa { //# NAMESPACE CASA - BEGIN 00056 00057 00058 // <summary>PGPLOT interface calls</summary> 00059 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos=""> 00060 // </reviewed> 00061 // <group name=interface> 00062 extern "C" { 00063 // PGPLOT routines 00064 void wpgbegin (int *, const char *, int *, int *, int *); 00065 void wpgask (int *); 00066 void wpghist (int *, float *, float *, float *, int *, int *); 00067 void wpglabel (const char *, const char *, const char *, int *, int *, int *); 00068 void wpgiden (); 00069 void wpgenv (float *, float *, float *, float *, int *, int *); 00070 void wpgline (int *, float *, float *); 00071 void wpgpoint (int *, float *, float *, int *); 00072 void wpgcont (float *, int *, int *, int *, int *, int *, int *, 00073 float *, int *, float *); 00074 void wpggray (float *, int *, int *, int *, int *, int *, int *, 00075 float *, float *, float *); 00076 void wpgerrx (int *, float *, float *, float *, float *); 00077 void wpgerry (int *, float *, float *, float *, float *); 00078 void wpgend (); 00079 00080 // called by fortran initialization, may not be needed on all machines, 00081 // in fact, this might cause problems on some machines. 00082 void MAIN_(); 00083 }; 00084 // </group> 00085 00086 } //# NAMESPACE CASA - END 00087 00088 #endif