X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fscanner.cpp;h=75da0ae4e2986b7f1c600682df044f33fe9ab0a7;hb=980bef9b95bef1ab728634181a5672088fd47066;hp=e39fca5d7ff0a8625c3d335893b0c641c1051bd6;hpb=08a5cd04c3994d5ea24713b9b000791bd2e406fe;p=ctsim.git diff --git a/libctsim/scanner.cpp b/libctsim/scanner.cpp index e39fca5..75da0ae 100644 --- a/libctsim/scanner.cpp +++ b/libctsim/scanner.cpp @@ -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); }