** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ct.h,v 1.30 2000/08/03 09:57:33 kevin Exp $
+** $Id: ct.h,v 1.34 2000/11/28 14:54:07 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
typedef long off_t;
#define HAVE_STRING_H 1
#include <fcntl.h>
- #define snprintf _snprintf
- #define vsnprintf _vsnprintf
#define strcasecmp stricmp
#define strncasecmp strnicmp
#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+
+#include <cmath>
+#include <complex>
+#include <cstdio>
+#include <cctype>
+#include <fstream>
+#include <iostream>
+#include <sstream>
+#include <string>
+#include <iterator>
+#include <algorithm>
+#include <exception>
+#include <stdexcept>
+#include <memory>
+
+#define __MATH_H__ 1
+
#ifdef HAVE_DMALLOC
#include <dmalloc.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef HAVE_PNG
#include "png.h"
#endif
}
#endif
#endif
-#ifdef HAVE_STDIO_H
-#include <stdio.h>
-#endif
+
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
-#ifdef HAVE_CTYPE_H
-#include <ctype.h>
-#endif
-#ifdef HAVE_MATH_H
-#include <math.h>
-#endif
#ifdef HAVE_SYS_FCNTL_H
#include <sys/fcntl.h>
#endif
#if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
#include <getopt.h>
#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#endif
#include <assert.h>
#endif
+
+#if 0
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
+#ifdef HAVE_MATH_H
+#include <math.h>
+#endif
+#ifdef HAVE_STDIO_H
+#include <stdio.h>
+#endif
+#endif
+
#ifdef HAVE_FFTW
#include <rfftw.h>
#include <fftw.h>
#endif
-#include <fstream>
-#include <iostream>
-#include <sstream>
-#include <string>
-#include <iterator>
-#include <algorithm>
-#include <exception>
-#include <stdexcept>
-#include <memory>
-#include <complex>
-
using namespace std;
#ifdef HAVE_MPI
#include "scanner.h"
#include "backprojectors.h"
#include "filter.h"
+#include "procsignal.h"
#include "projections.h"
+#include "reconstruct.h"
#include "trace.h"