1 /*****************************************************************************
5 ** Purpose: Master header file for CTSim
6 ** Programmer: Kevin Rosenberg
7 ** Date Started: Aug 1984
9 ** This is part of the CTSim program
10 ** Copyright (c) 1983-2009 Kevin Rosenberg
12 ** This program is free software; you can redistribute it and/or modify
13 ** it under the terms of the GNU General Public License (version 2) as
14 ** published by the Free Software Foundation.
16 ** This program is distributed in the hope that it will be useful,
17 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ** GNU General Public License for more details.
21 ** You should have received a copy of the GNU General Public License
22 ** along with this program; if not, write to the Free Software
23 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 ******************************************************************************/
29 #define NO_MAIN 1 // filter out all old main blocks
32 #include "msvc_compat.h"
44 #define HAVE_ANSI_CPP 1
55 #if defined(MSVC) || HAVE_SSTREAM
58 #include <sstream_subst>
118 #ifdef HAVE_SYS_TYPES_H
119 #include <sys/types.h>
121 #ifdef HAVE_SYS_STAT_H
122 #include <sys/stat.h>
124 #ifdef HAVE_SYS_FCNTL_H
125 #include <sys/fcntl.h>
130 #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
136 #ifdef HAVE_SYS_PARAM_H
137 #include <sys/param.h> /* for htonl on FreeBSD */
139 #ifdef HAVE_NETINET_IN_H
140 #include <netinet/in.h> /* for htonl on Linux/Solaris */
142 #ifdef HAVE_INTTYPES_H
143 #include <inttypes.h> /* for htonl on Solaris */
146 #include <stdint.h> /* Standard ints on Linux */
160 #include "mpiworld.h"
163 #include "ctsupport.h"
164 #include "fnetorderstream.h"
172 #include "array2dfile.h"
173 #include "fnetorderstream.h"
174 #include "imagefile.h"
177 #include "backprojectors.h"
180 #include "procsignal.h"
181 #include "projections.h"
182 #include "reconstruct.h"
183 #include "plotfile.h"
186 #include "ctglobals.h"