** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: if2img.cpp,v 1.2 2000/06/08 16:43:10 kevin Exp $
+** $Id: if2img.cpp,v 1.3 2000/06/09 11:03:08 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
pim = new ImageFile (in_file);
ImageFile& im = *pim;
- if (! im.adf.fileRead()) {
+ if (! im.fileRead()) {
fprintf(stderr, "File %s does not exist\n", in_file);
return (1);
}
if (opt_labels) {
- int nlabels = im.adf.getNumLabels();
+ int nlabels = im.getNumLabels();
for (int i = 0; i < nlabels; i++) {
Array2dFileLabel label;
- im.adf.labelRead (label, i);
+ im.labelRead (label, i);
string str;
label.getDateString (str);