** 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
}
} 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");
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