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-2000 Kevin Rosenberg
12 ** $Id: ct.h,v 1.46 2000/12/17 23:09:46 kevin Exp $
14 ** This program is free software; you can redistribute it and/or modify
15 ** it under the terms of the GNU General Public License (version 2) as
16 ** published by the Free Software Foundation.
18 ** This program is distributed in the hope that it will be useful,
19 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ** GNU General Public License for more details.
23 ** You should have received a copy of the GNU General Public License
24 ** along with this program; if not, write to the Free Software
25 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 ******************************************************************************/
32 #include "msvc_compat.h"
39 #define HAVE_ANSI_CPP 1
50 #if defined(MSVC) || HAVE_SSTREAM
\r
53 #include <sstream_subst>
113 #ifdef HAVE_SYS_TYPES_H
114 #include <sys/types.h>
116 #ifdef HAVE_SYS_STAT_H
117 #include <sys/stat.h>
119 #ifdef HAVE_SYS_FCNTL_H
120 #include <sys/fcntl.h>
125 #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
131 #ifdef HAVE_SYS_PARAM_H
132 #include <sys/param.h> /* for htonl on FreeBSD */
134 #ifdef HAVE_NETINET_IN_H
135 #include <netinet/in.h> /* for htonl on Linux/Solaris */
137 #ifdef HAVE_INTTYPES_H
138 #include <inttypes.h> /* for htonl on Solaris */
141 #include <stdint.h> /* Standard ints on Linux */
155 #include "mpiworld.h"
158 #include "ctsupport.h"
159 #include "fnetorderstream.h"
167 #include "array2dfile.h"
168 #include "fnetorderstream.h"
169 #include "imagefile.h"
172 #include "backprojectors.h"
174 #include "procsignal.h"
175 #include "projections.h"
176 #include "reconstruct.h"