** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: rs2if.cpp,v 1.5 2000/06/13 16:20:31 kevin Exp $
+** $Id: rs2if.cpp,v 1.6 2000/06/15 19:07:10 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
{
printf ("Number of detectors: %d\n", rs->ndet);
printf (" Number of views: %d\n", rs->nview);
- printf (" Remark: %s\n", rs->remark);
+ printf (" Remark: %s\n", rs->remark.c_str());
}
im = new ImageFile (im_name, rs->ndet, rs->nview);
im->fileCreate ();
im->arrayDataWrite ();
- im->labelAdd (Array2dFileLabel::L_HISTORY, rs->remark, rs->calctime);
+ im->labelAdd (Array2dFileLabel::L_HISTORY, rs->remark.c_str(), rs->calctime);
im->labelAdd (Array2dFileLabel::L_HISTORY, "Conversion from .rs to .idf");
im->fileClose ();