r166: *** empty log message ***
[ctsim.git] / libctsim / scanner.cpp
index e39fca5d7ff0a8625c3d335893b0c641c1051bd6..75da0ae4e2986b7f1c600682df044f33fe9ab0a7 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: scanner.cpp,v 1.7 2000/07/29 19:50:08 kevin Exp $
+**  $Id: scanner.cpp,v 1.8 2000/07/31 14:48:35 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
@@ -260,6 +260,7 @@ Scanner::collectProjections (Projections& proj, const Phantom& phm, const int st
 
 #ifdef HAVE_SGP
     if (pSGP && m_trace >= TRACE_PHM) {
+      pSGP->setColor (C_RED);
       pSGP->moveAbs (xd1, yd1);
       pSGP->lineAbs (xd2, yd2);
       pSGP->moveAbs (xs1, ys1);
@@ -275,6 +276,7 @@ Scanner::collectProjections (Projections& proj, const Phantom& phm, const int st
 #ifdef HAVE_SGP
     if (pSGP && m_trace >= TRACE_PHM) {
       //       rs_plot (detArray, xd1, yd1, xcent, ycent, theta);
+      pSGP->setColor (C_RED);
       pSGP->moveAbs (xd1, yd1);
       pSGP->lineAbs (xd2, yd2);
       pSGP->moveAbs (xs1, ys1);
@@ -348,6 +350,7 @@ Scanner::projectSingleView (const Phantom& phm, DetectorArray& detArray, const d
       for (unsigned int i = 0; i < m_nSample; i++) {
 #ifdef HAVE_SGP
        if (pSGP && m_trace >= TRACE_RAYS) {
+         pSGP->setColor (C_LTBLUE);
          pSGP->moveAbs (xs, ys);
          pSGP->lineAbs (xd, yd);
        }
@@ -359,6 +362,7 @@ Scanner::projectSingleView (const Phantom& phm, DetectorArray& detArray, const d
 
 #ifdef HAVE_SGP
        if (pSGP && m_trace >= TRACE_RAYS) {
+         pSGP->setColor (C_LTBLUE);
          pSGP->moveAbs (xs, ys);
          pSGP->lineAbs (xd, yd);
        }