r292: *** empty log message ***
[ctsim.git] / libctsim / scanner.cpp
index cf6c78cf8a8a55e99f3985e1ef9b3381ca39c2b0..98eb8a8013cfae6476949e12ad1a0fb6c772ea6d 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: scanner.cpp,v 1.19 2000/12/16 02:44:26 kevin Exp $
+**  $Id: scanner.cpp,v 1.21 2000/12/18 02:23:43 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
@@ -365,7 +365,7 @@ Scanner::collectProjections (Projections& proj, const Phantom& phm, const int iS
       traceShowParam ("Current View:", "%d (%.0f%%)", PROJECTION_TRACE_ROW_CURR_VIEW, C_RED, iView + iStartView, (iView + iStartView) / static_cast<double>(m_nView) * 100.);
 #endif
     if (m_trace == Trace::TRACE_CONSOLE)
-       cout << "Current View: " << iView+iStartView << endl;
+               std::cout << "Current View: " << iView+iStartView << std::endl;
 
     projectSingleView (phm, detArray, xd1, yd1, xd2, yd2, xs1, ys1, xs2, ys2, viewAngle + 3 * HALFPI);
     detArray.setViewAngle (viewAngle);
@@ -532,15 +532,7 @@ Scanner::traceShowParamRasterOp (int iRasterOp, const char *szLabel, const char
 {  
   char szValue[256];
 
-#ifdef MSVC
-  vsprintf (szValue, fmt, args);
-#else
   vsnprintf (szValue, sizeof(szValue), fmt, args);
-#endif
-
-  //  cio_set_cpos (raysum_trace_menu_column, row);
-  //  cio_set_text_clr (color - 8, 0);
-  //  cio_set_text_clr (color, 0);
 
 #ifdef HAVE_SGP
   if (m_pSGP) {