X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fif2img.cpp;h=a99b8012e20b53dad885940c1e69fabbe35d4dcc;hp=d25c39483f15c669c5fdd865d293a46468281d08;hb=4b16507e92bb80b09575b28bed66810e33d2681f;hpb=2451ac413848718a1dd666ce6f6464e974680f47 diff --git a/src/if2img.cpp b/src/if2img.cpp index d25c394..a99b801 100644 --- a/src/if2img.cpp +++ b/src/if2img.cpp @@ -9,7 +9,7 @@ ** 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 @@ -281,17 +281,17 @@ if2img_main (int argc, char *const argv[]) 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);