X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fbackprojectors.h;h=598c2449ff26ec56edd94fff430e7a7d3bbd5b4c;hb=27a474e0622ebb7229fd5705552021f63d8f932d;hp=297d8d156f36fce31c101415027716bf2e631cb3;hpb=3fba6928127cd65870bdcd96c8114ad5894247ae;p=ctsim.git diff --git a/include/backprojectors.h b/include/backprojectors.h index 297d8d1..598c244 100644 --- a/include/backprojectors.h +++ b/include/backprojectors.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: backprojectors.h,v 1.9 2000/07/13 07:03:21 kevin Exp $ +** $Id: backprojectors.h,v 1.11 2000/07/20 11:17:31 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 @@ -26,8 +26,14 @@ ******************************************************************************/ +#ifndef __BACKPROJECTORS_H +#define __BACKPROJECTORS_H + #undef HAVE_BSPLINE_INTERP +#include "imagefile.h" + + class Backproject; class Backprojector @@ -56,17 +62,29 @@ class Backprojector INTERP_FREQ_PREINTERPOLATION, } InterpolationID; - static const char BPROJ_TRIG_STR[]= "trig"; - static const char BPROJ_TABLE_STR[]= "table"; - static const char BPROJ_DIFF_STR[]= "diff"; - static const char BPROJ_DIFF2_STR[]= "diff2"; - static const char BPROJ_IDIFF2_STR[]= "idiff2"; - static const char BPROJ_IDIFF3_STR[]= "idiff3"; + static const char BPROJ_TRIG_STR[]; + static const char BPROJ_TABLE_STR[]; + static const char BPROJ_DIFF_STR[]; + static const char BPROJ_DIFF2_STR[]; + static const char BPROJ_IDIFF2_STR[]; + static const char BPROJ_IDIFF3_STR[]; + + static const char BPROJ_TRIG_TITLE_STR[]; + static const char BPROJ_TABLE_TITLE_STR[]; + static const char BPROJ_DIFF_TITLE_STR[]; + static const char BPROJ_DIFF2_TITLE_STR[]; + static const char BPROJ_IDIFF2_TITLE_STR[]; + static const char BPROJ_IDIFF3_TITLE_STR[]; - static const char INTERP_NEAREST_STR[]= "nearest"; - static const char INTERP_LINEAR_STR[]= "linear"; - static const char INTERP_BSPLINE_STR[]= "bspline"; - static const char INTERP_FREQ_PREINTERPOLATION_STR[]= "freq_preinterpolation"; + static const char INTERP_NEAREST_STR[]; + static const char INTERP_LINEAR_STR[]; + static const char INTERP_BSPLINE_STR[]; + static const char INTERP_FREQ_PREINTERPOLATION_STR[]; + + static const char INTERP_NEAREST_TITLE_STR[]; + static const char INTERP_LINEAR_TITLE_STR[]; + static const char INTERP_BSPLINE_TITLE_STR[]; + static const char INTERP_FREQ_PREINTERPOLATION_TITLE_STR[]; Backprojector (const Projections& proj, ImageFile& im, const char* const backprojName, const char* const interpName, const int interpFactor); @@ -202,3 +220,4 @@ class BackprojectIntDiff3 : public BackprojectDiff }; +#endif