Module: $RCSfile: gdcmFileHelper.cxx,v $
Language: C++
- Date: $Date: 2005/11/07 10:53:55 $
- Version: $Revision: 1.80 $
+ Date: $Date: 2005/11/18 11:42:48 $
+ Version: $Revision: 1.82 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Patient Orientation
// Can be computed from (0020|0037) : Image Orientation (Patient)
- gdcm::Orientation o;
- std::string ori = o.GetOrientation ( FileInternal );
+ gdcm::Orientation *o = gdcm::Orientation::New();
+ std::string ori = o->GetOrientation ( FileInternal );
+ o->Delete();
if (ori != "\\" )
CheckMandatoryEntry(0x0020,0x0020,ori);
else
{
Archive->Push(0x0020, 0x0052);
}
-
+
// Deal with element 0x0000 (group length) of each group.
// First stage : get all the different Groups
+ /*
GroupHT grHT;
DocEntry *d = FileInternal->GetFirstEntry();
while(d)
CheckMandatoryEntry(it->first, 0x0000, "0");
}
// Third stage : update all 'zero level' groups length
-
+*/
}
void FileHelper::CheckMandatoryEntry(uint16_t group,uint16_t elem,std::string value)