** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2pj.cpp,v 1.12 2000/08/31 08:38:58 kevin Exp $
+** $Id: phm2pj.cpp,v 1.14 2000/11/22 07:17:06 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
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.12 2000/08/31 08:38:58 kevin Exp $";
+static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.14 2000/11/22 07:17:06 kevin Exp $";
void
string optGeometryName = Scanner::convertGeometryIDToName(Scanner::GEOMETRY_PARALLEL);
char *opt_outfile = NULL;
string opt_desc;
+ string optPhmName;
string optPhmFileName;
int opt_ndet;
int opt_nview;
double dOptFocalLength = 1.;
double dOptFieldOfView = 1.;
int opt_trace = Trace::TRACE_NONE;
- string optPhmName (Phantom::convertPhantomIDToName(Phantom::PHM_HERMAN));
int opt_verbose = 0;
int opt_debug = 0;
double opt_rotangle = 1;
if (opt_verbose) {
ostringstream os;
pjGlobal.printScanInfo(os);
- cout << os;
+ cout << os.str();
}
Projections pjLocal (scanner);