** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: scanner.cpp,v 1.9 2000/08/02 18:06:00 kevin Exp $
+** $Id: scanner.cpp,v 1.10 2000/08/03 09:21:12 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
pSGP->moveAbs (xs1, ys1);
pSGP->lineAbs (xs2, ys2);
}
-#endif
if (m_trace)
traceShowParam ("Current View :", "%5d", RAYSUM_TRACE_ROW_CURR_VIEW, C_LTMAGENTA, iview);
+#endif
projectSingleView (phm, detArray, xd1, yd1, xd2, yd2, xs1, ys1, xs2, ys2, pSGP);
detArray.setViewAngle (viewAngle);
#endif
sum += projectSingleLine (phm, xd, yd, xs, ys, pSGP);
+#ifdef HAVE_SGP
if (m_trace >= TRACE_RAYS)
traceShowParam ("Attenuation :", "%5.2f", RAYSUM_TRACE_ROW_ATTEN, C_LTMAGENTA, "sum");
-#ifdef HAVE_SGP
if (pSGP && m_trace >= TRACE_RAYS) {
pSGP->setColor (C_LTBLUE);
pSGP->moveAbs (xs, ys);