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
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
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