From: jpr Date: Fri, 3 Feb 2006 16:37:42 +0000 (+0000) Subject: Some minor comments modifications X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5a47474d970952e2560191bd81e502e87dab0aca;p=gdcm.git Some minor comments modifications --- diff --git a/Dicts/CMakeLists.txt b/Dicts/CMakeLists.txt index ca7ee0f5..8b58c4a8 100644 --- a/Dicts/CMakeLists.txt +++ b/Dicts/CMakeLists.txt @@ -9,7 +9,7 @@ SET(ALL_DICTS #NIH.dic #the forbidden one... # SPI.dic # PHILIPS-Intera.dic # uncomment me if you want - GEMS.dic + #GEMS.dic #Commented out to avoid polluting 'non GEMS' images #GEMS-HiSpeed.dic # GEMS-Advance.dic ) diff --git a/Doc/Website/Sidebar.html b/Doc/Website/Sidebar.html index 40be20cf..239accde 100644 --- a/Doc/Website/Sidebar.html +++ b/Doc/Website/Sidebar.html @@ -29,7 +29,7 @@ News - Updated 2005.11.22 + Updated 2006.02.20 diff --git a/src/gdcmDataEntry.cxx b/src/gdcmDataEntry.cxx index 1d8706f9..a6d64ce4 100644 --- a/src/gdcmDataEntry.cxx +++ b/src/gdcmDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.cxx,v $ Language: C++ - Date: $Date: 2006/01/27 10:01:33 $ - Version: $Revision: 1.29 $ + Date: $Date: 2006/02/03 16:37:48 $ + Version: $Revision: 1.30 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -642,13 +642,8 @@ void DataEntry::Print(std::ostream &os, std::string const & ) v = GetString(); const VRKey &vr = GetVR(); - if( vr == "US" || vr == "SS" ) - s << " [" << GetString() << "]"; - else if( vr == "UL" || vr == "SL" ) - s << " [" << GetString() << "]"; - else if ( vr == "FL" ) - s << " [" << GetString() << "]"; - else if ( vr == "FD" ) + if( vr == "US" || vr == "SS" || vr == "UL" || vr == "SL" + || vr == "FL" || vr == "FD") s << " [" << GetString() << "]"; else { diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index 371a1567..88069e5c 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -4,8 +4,8 @@ Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2006/01/27 10:01:34 $ - Version: $Revision: 1.89 $ + Date: $Date: 2006/02/03 16:37:48 $ + Version: $Revision: 1.90 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1640,12 +1640,19 @@ void FileHelper::CheckMandatoryElements() // if (0028 0008)Number of Frames exists // Push out (0020 0052),Frame of Reference UID // (only meaningfull within a Serie) + + // Well ... + // Maybe not! + // dciodvfy complains when missing (Type 1 element) + /// todo add it when missing (?) + /* DataEntry *e_0028_0008 = FileInternal->GetDataEntry(0x0028, 0x0008); if ( !e_0028_0008 ) { Archive->Push(0x0020, 0x0052); } - + */ + // Deal with element 0x0000 (group length) of each group. // First stage : get all the different Groups /* diff --git a/vtk/vtkgdcmSerieViewer2.cxx b/vtk/vtkgdcmSerieViewer2.cxx index 9104d44d..73b18dc5 100755 --- a/vtk/vtkgdcmSerieViewer2.cxx +++ b/vtk/vtkgdcmSerieViewer2.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkgdcmSerieViewer2.cxx,v $ Language: C++ - Date: $Date: 2006/01/26 16:01:06 $ - Version: $Revision: 1.2 $ + Date: $Date: 2006/02/03 16:37:50 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -219,6 +219,7 @@ int main(int argc, char *argv[]) { std::cout << "Sort list : " << nbFiles << " long" << std::endl; sh->OrderFileList(l); // sort the list + std::cout << "List sorted" << std::endl; break; // The first one is OK. user will have to check } else