X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2Ftest4DSplitter.cxx;h=f5918187d948164053ef4dd9adfec0ab6b7d793a;hb=021186647facd499ce95526682c645c5d0a6f617;hp=9c6f8ccfe5a9d8a7d8a1e1c6409b188a515f0957;hpb=68fe377d4e6396c109849870190bb73e27f4043d;p=gdcm.git diff --git a/vtk/test4DSplitter.cxx b/vtk/test4DSplitter.cxx index 9c6f8ccf..f5918187 100644 --- a/vtk/test4DSplitter.cxx +++ b/vtk/test4DSplitter.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: test4DSplitter.cxx,v $ Language: C++ - Date: $Date: 2011/04/08 00:11:36 $ - Version: $Revision: 1.4 $ + Date: $Date: 2011/04/08 00:14:18 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -111,10 +111,10 @@ std::cout << "--------------------------------" << std::endl; std::cout << "Vector size " << output->size() << std::endl; std::cout << "--------------------------------" << std::endl; +// Print the first one (why not?) //(*output)[0]->PrintSelf(std::cout, vtkIndent(2)); -std::vector::iterator it; -// Print the first one (why not?) + std::vector::iterator it; for(it=output->begin(); it!=output->end(); ++it) { std::cout << "========================================" << std::endl; (*it)->PrintSelf(std::cout, vtkIndent(2));