X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkGdcmWriter.cxx;h=d73ddccc8decb526cf072b7bdc72e96e55c8a318;hb=b746b4a0b5182b37104616c263f381d78e1af10f;hp=e97fae2ba06791b53a295f67bf11df2019d8612d;hpb=9317c3709915a7fd018c6d45c2426a2047931de7;p=gdcm.git diff --git a/vtk/vtkGdcmWriter.cxx b/vtk/vtkGdcmWriter.cxx index e97fae2b..d73ddccc 100644 --- a/vtk/vtkGdcmWriter.cxx +++ b/vtk/vtkGdcmWriter.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkGdcmWriter.cxx,v $ Language: C++ - Date: $Date: 2005/03/03 18:26:48 $ - Version: $Revision: 1.20 $ + Date: $Date: 2005/04/11 17:01:16 $ + Version: $Revision: 1.21 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,7 +27,7 @@ #include #include -vtkCxxRevisionMacro(vtkGdcmWriter, "$Revision: 1.20 $"); +vtkCxxRevisionMacro(vtkGdcmWriter, "$Revision: 1.21 $"); vtkStandardNewMacro(vtkGdcmWriter); //----------------------------------------------------------------------------- @@ -189,7 +189,7 @@ void SetImageInformation(gdcm::FileHelper *file, vtkImageData *image) // We are about to enter floating point value. By default ostringstream are smart and don't do fixed point // thus forcing to fixed point value str.setf( std::ios::fixed ); - str << sp[0] << "\\" << sp[1]; + str << sp[1] << "\\" << sp[0]; file->InsertValEntry(str.str(),0x0028,0x0030); // Pixel Spacing str.str(""); str << sp[2];