X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexSerieHelper.cxx;h=9922486ef7580a21109f1ad12d170c1db1aa95bb;hb=79145034a66bfc2f4f149b20ac9854364ebdfc24;hp=01e222dfcb8e6928b0844c7c8c0d242c9d2f3de5;hpb=0c1b69c840b2ab0f42ef1cdbbc1897c44a5ed264;p=gdcm.git diff --git a/Example/exSerieHelper.cxx b/Example/exSerieHelper.cxx index 01e222df..9922486e 100644 --- a/Example/exSerieHelper.cxx +++ b/Example/exSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2007/06/04 08:51:23 $ - Version: $Revision: 1.11 $ + Date: $Date: 2007/06/22 11:01:57 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -90,17 +90,17 @@ int main(int argc, char *argv[]) //--------------------------------------------------------- zspacing = s->GetZSpacing(); - // Just to show : GetZSpacing from a gdcm::SerieHelper is right + // Just to show : GetZSpacing from a GDCM_NAME_SPACE::SerieHelper is right std::cout << "GetZSpacing() of sorted SingleSerieUIDFileSet " - << "from gdcm::SerieHelper: " << zspacing << std::endl; + << "from GDCM_NAME_SPACE::SerieHelper: " << zspacing << std::endl; std::cout << " ('-1' means all the files have the same position)" << std::endl; - for (std::vector::iterator it = l->begin(); - it != l->end(); - ++it) + for (std::vector::iterator it2 = l->begin(); + it2 != l->end(); + ++it2) { - // Just to show : GetZSpacing from a gdcm::File may be different - std::cout << (*it)->GetFileName() << " --> GetZSpacing() from gdcm::File : " - << (*it)->GetZSpacing() << std::endl; + // Just to show : GetZSpacing from a GDCM_NAME_SPACE::File may be different + std::cout << (*it2)->GetFileName() << " --> GetZSpacing() from GDCM_NAME_SPACE::File : " + << (*it2)->GetZSpacing() << std::endl; } break; // we only deal with the first one ... Why not ?