2003-07-07 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
* vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
We were obtaining error message from vtk. Now, creation of file list
- is made in an internal list to prevent this problem.
+ is made in an internal list to prevent this problem.
Bug fix when output is empty.
Bug fix in update of progress value. Previous commit for this was a bad
correction.
+ * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
2003-07-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
* src/gdcmHeader.h : added method to get the file name
-// $Header: /cvs/public/gdcm/vtk/vtkGdcmReader.h,v 1.8 2003/07/07 09:10:33 regrain Exp $
+// $Header: /cvs/public/gdcm/vtk/vtkGdcmReader.h,v 1.9 2003/07/07 10:06:36 regrain Exp $
#ifndef __vtkGdcmReader_h
#define __vtkGdcmReader_h
// List of filenames to be read in order to build a stack of images
// or volume. The order in the list shall be the order of the images.
std::list<std::string> FileNameList;
+
+ // List of filenames created in ExecuteInformation and used in
+ // ExecuteData.
+ // If FileNameList isn't empty, InternalFileNameList is a copy of
+ // FileNameList
+ // Otherwise, InternalFileNameList correspond to the list of
+ // files patterned
std::list<std::string> InternalFileNameList;
size_t LoadImageInMemory(std::string FileName, unsigned char * Dest,