From: jpr Date: Tue, 19 Jul 2005 15:28:54 +0000 (+0000) Subject: Fix comments X-Git-Tag: Version1.2.bp~290 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ac954771575ed03dde66e0ebb7349e32c6312379;p=gdcm.git Fix comments --- diff --git a/vtk/vtkgdcmSerieViewer.cxx b/vtk/vtkgdcmSerieViewer.cxx index 27cd1f41..5931f66e 100644 --- a/vtk/vtkgdcmSerieViewer.cxx +++ b/vtk/vtkgdcmSerieViewer.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkgdcmSerieViewer.cxx,v $ Language: C++ - Date: $Date: 2005/07/17 04:36:14 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/07/19 15:28:54 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -112,7 +112,7 @@ int main(int argc, char *argv[]) while (l) { nbFiles = l->size() ; - if ( l->size() > 0 ) // Why not ? Just an example, for testing + if ( l->size() > 1 ) { std::cout << "Sort list : " << nbFiles << " long" << std::endl; sh->OrderFileList(l); // sort the list @@ -125,15 +125,13 @@ int main(int argc, char *argv[]) l = sh->GetNextCoherentFileList(); } + // Only the first FileList is dealt with (just an example) + // (The files will not be parsed twice by the reader) + + //--------------------------------------------------------- reader->SetCoherentFileList(l); + //--------------------------------------------------------- -/* - if( argc == 2 ) - reader->SetFileName( argv[1] ); - else - for(int i=1; i< argc; i++) - reader->AddFileName( argv[i] ); -*/ // TODO : allow user to choose Load Mode