r114: *** empty log message ***
[ctsim.git] / src / phm2if.cpp
index 0eb5c9e1ebc544c765b6788db92e2cccf4b5ce5e..60e504b193038f01f3f9658480dce78417bbdc6e 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: phm2if.cpp,v 1.11 2000/06/19 17:58:13 kevin Exp $
+**  $Id: phm2if.cpp,v 1.12 2000/06/19 20:08:09 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
@@ -324,7 +324,7 @@ phm2if_main (int argc, char* argv[])
     }
   } else {
     TimerCollectiveMPI timerRasterize (mpiWorld.getComm());
-    phm_to_imagefile (phm, *imLocal, mpiWorld.getMyStartWorkUnit(),  mpiWorld.getMyLocalWorkUnits(), opt_nsample, opt_trace);
+    phm.convertToImagefile (*imLocal, opt_nsample, opt_trace, mpiWorld.getMyStartWorkUnit(), mpiWorld.getMyLocalWorkUnits());
     if (opt_verbose)
       timerRasterize.timerEndAndReport ("Time to rasterize phantom");
 
@@ -344,7 +344,7 @@ phm2if_main (int argc, char* argv[])
       if (opt_trace >= TRACE_PHM)
        phm.show();
 #endif
-      phm_to_imagefile (phm, *imGlobal, 0, opt_nx, opt_nsample, opt_trace);
+      phm.convertToImagefile (*imGlobal, opt_nsample, opt_trace);
   }
 #endif