** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ir.h,v 1.16 2000/05/24 22:48:17 kevin Exp $
+** $Id: ir.h,v 1.18 2000/06/05 01:32:45 kevin Exp $
** $Log: ir.h,v $
+** Revision 1.18 2000/06/05 01:32:45 kevin
+** Added C++ compatibility
+**
+** Revision 1.17 2000/06/03 06:29:08 kevin
+** *** empty log message ***
+**
** Revision 1.16 2000/05/24 22:48:17 kevin
** First functional version of SDF library for X-window
**
} FunctionSymmetry;
/* interpolation methods */
+#undef HAVE_BSPLINE_INTERP
typedef enum { /* Interpolation methods */
I_NEAREST, /* Nearest neighbor */
- I_LINEAR, /* Linear interpolation */
+#if HAVE_BSPLINE_INTERP
I_BSPLINE,
I_1BSPLINE, /* 1st order B-Spline */
I_2BSPLINE,
- I_3BSPLINE
+ I_3BSPLINE,
+#endif
+ I_LINEAR /* Linear interpolation */
} InterpolationType;
/* Constants for sizing PHANTOM */
void usage (const char *program);
/* From reconstr.c */
-IMAGE *image_reconst (IMAGE *im, RAYSUM *rs, int filt_type, double filt_param, const InterpolationType interp_type, int interp_param, const BackprojType backproj_type, int const ir_trace);
+IMAGE *image_reconst (IMAGE *im, RAYSUM *rs, const FilterType filt_type, double filt_param, InterpolationType interp_type, int interp_param, const BackprojType backproj_type, int const ir_trace);
/* From bproj.c */
void backproj_init (const RAYSUM *rs, IMAGE *im, const BackprojType bproj_method);