X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fphm2pj.cpp;h=2734b2d6a94eac0a0e792ad3edd62c7e2a755145;hb=6435258bbafabf9a4ce4445edfd97f771318eb6d;hp=4ed549ee36271a4a80f93fa47657871005c098fa;hpb=08f34bf3ba14d4f436f4d2ef0ee5af1d6eb266ac;p=ctsim.git diff --git a/src/phm2pj.cpp b/src/phm2pj.cpp index 4ed549e..2734b2d 100644 --- a/src/phm2pj.cpp +++ b/src/phm2pj.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2pj.cpp,v 1.4 2000/06/25 17:32:24 kevin Exp $ +** $Id: phm2pj.cpp,v 1.6 2000/07/04 22:21:01 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 @@ -133,7 +133,7 @@ phm2pj_main (int argc, char* argv[]) break; break; case O_TRACE: - if ((opt_trace = opt_set_trace(optarg)) < 0) { + if ((opt_trace = convertTraceNameToID(optarg)) == TRACE_INVALID) { phm2pj_usage(argv[0]); return (1); } @@ -203,7 +203,7 @@ phm2pj_main (int argc, char* argv[]) } ostringstream desc; - desc << "Raysum_Collect: NDet=" << opt_ndet << ", Nview=" << opt_nview << ", NRay=" << opt_nray << ", RotAngle=" << opt_rotangle << ", "; + desc << "phm2pj: NDet=" << opt_ndet << ", Nview=" << opt_nview << ", NRay=" << opt_nray << ", RotAngle=" << opt_rotangle << ", "; if (optPhmFileName.length()) { desc << "PhantomFile=" << optPhmFileName; } else if (optPhmName != "") {