X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fbackprojectors.h;h=f19b9043ecd0a1fcafd5e0ce2a404e46cebd54fb;hb=ab4a3ba2c1ba9672136b5022897f81fc55d03493;hp=ab15930d600eb6ca695f3adb2e407b0cf736977a;hpb=30e455abcd8cac05ce7afe43216ec9e26342e1cf;p=ctsim.git diff --git a/include/backprojectors.h b/include/backprojectors.h index ab15930..f19b904 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.8 2000/07/11 10:32:44 kevin Exp $ +** $Id: backprojectors.h,v 1.10 2000/07/19 04:33:27 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 @@ -109,12 +115,12 @@ class Backproject void Backproject::errorIndexOutsideDetector (int ix, int iy, double theta, double r, double phi, double L, int ni); void Backproject::errorIndexOutsideDetector (int ix, int iy, double theta, double L, int ni); - Backprojector::InterpolationID interpType; const Projections& proj; ImageFile& im; + Backprojector::InterpolationID interpType; ImageFileArray v; - kuint32 nx; - kuint32 ny; + kint32 nx; + kint32 ny; double detInc; double rotInc; int iDetCenter; // index refering to L=0 projection @@ -202,3 +208,4 @@ class BackprojectIntDiff3 : public BackprojectDiff }; +#endif