X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fscanner.cpp;h=75da0ae4e2986b7f1c600682df044f33fe9ab0a7;hb=980bef9b95bef1ab728634181a5672088fd47066;hp=d4a398ef995006d1e1eca15f9ecec17a40482aaf;hpb=711cae0ee02e046370fdb4d6c6f440596ff71980;p=ctsim.git diff --git a/libctsim/scanner.cpp b/libctsim/scanner.cpp index d4a398e..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.6 2000/07/28 08:28: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 @@ -217,8 +217,8 @@ Scanner::collectProjections (Projections& proj, const Phantom& phm, const int st pSGP->moveAbs (0., 0.); pSGP->drawCircle (wsize); // raysum_trace_menu_column = (crt->xsize * crt->asp) / 8 + 3; - traceShowParam ("X-Ray Simulator", "%s", RAYSUM_TRACE_ROW_TITLE, 8+C_LTWHITE, " "); - traceShowParam ("---------------", "%s", RAYSUM_TRACE_ROW_TITLE2, 8+C_LTWHITE, " "); + traceShowParam ("X-Ray Simulator", "%s", RAYSUM_TRACE_ROW_TITLE, C_BLACK, " "); + traceShowParam ("---------------", "%s", RAYSUM_TRACE_ROW_TITLE2, C_BLACK, " "); traceShowParam ("Phantom:", "%s", RAYSUM_TRACE_ROW_PHANT_ID, C_YELLOW, " Herman"); traceShowParam ("Chomaticity :", "%s", RAYSUM_TRACE_ROW_CHROMATIC, C_LTGREEN, "Mono"); traceShowParam ("Scatter :", "%5.1f", RAYSUM_TRACE_ROW_SCATTER, C_LTGREEN, 0.); @@ -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); }