Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//---------------------------------------------------------
s->OrderFileList(l); // sort the list (and compute ZSpacing !)
//---------------------------------------------------------
//---------------------------------------------------------
s->OrderFileList(l); // sort the list (and compute ZSpacing !)
//---------------------------------------------------------
zspacing = s->GetZSpacing();
// Just to show : GetZSpacing from a GDCM_NAME_SPACE::SerieHelper is right
std::cout << "GetZSpacing() of sorted SingleSerieUIDFileSet "
<< "from GDCM_NAME_SPACE::SerieHelper: " << zspacing << std::endl;
std::cout << " ('-1' means all the files have the same position)" << std::endl;
zspacing = s->GetZSpacing();
// Just to show : GetZSpacing from a GDCM_NAME_SPACE::SerieHelper is right
std::cout << "GetZSpacing() of sorted SingleSerieUIDFileSet "
<< "from GDCM_NAME_SPACE::SerieHelper: " << zspacing << std::endl;
std::cout << " ('-1' means all the files have the same position)" << std::endl;