X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tools%2Fphm2if.cpp;h=1e6992efd1766638a12f0fb50c145d3d35168be7;hb=286d655a25df2668bd65ad365676c6ecc94415a1;hp=ce522b98ac13c00ffb2f880693f2fe7e4488a247;hpb=27a474e0622ebb7229fd5705552021f63d8f932d;p=ctsim.git diff --git a/tools/phm2if.cpp b/tools/phm2if.cpp index ce522b9..1e6992e 100644 --- a/tools/phm2if.cpp +++ b/tools/phm2if.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2if.cpp,v 1.2 2000/07/20 11:17:31 kevin Exp $ +** $Id: phm2if.cpp,v 1.3 2000/07/22 15:45:33 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 @@ -108,9 +108,9 @@ phm2if_main (int argc, char* argv[]) Phantom phm; int opt_nx = 0, opt_ny = 0; int opt_nsample = 1; - string optPhmName = Phantom::PHM_HERMAN_STR; + string optPhmName (Phantom::convertPhantomIDToName(Phantom::PHM_HERMAN)); string optFilterName; - string optDomainName = SignalFilter::DOMAIN_SPATIAL_STR; + string optDomainName (SignalFilter::convertDomainIDToName (SignalFilter::DOMAIN_SPATIAL)); char *opt_outfile = NULL; int opt_debug = 0; string opt_desc;