+
+ // Only for the first Coherent File List
+ // ( Why not ? Just an example, for testing )
+ // Display all the file names
+
+ std::string fileName;
+ l = s->GetFirstCoherentFileList();
+ for (std::vector<gdcm::File* >::iterator it = l->begin();
+ it != l->end();
+ ++it)
+ {
+ fileName = (*it)->GetFileName();
+ std::cout << fileName << std::endl;
+ // Remark : vtkGdcmReader users can use this loop to AddFileName(fileName)
+ // in the right order
+ }
+
+