From 5e388c2be804f3d3502a2f6e1e1c0dd9457069d9 Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 3 Nov 2005 11:08:18 +0000 Subject: [PATCH] (try to) affect a legal to 'File Meta Information Version' --- src/gdcmDicomDirMeta.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/gdcmDicomDirMeta.cxx b/src/gdcmDicomDirMeta.cxx index f680555b..b6dec1c9 100644 --- a/src/gdcmDicomDirMeta.cxx +++ b/src/gdcmDicomDirMeta.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirMeta.cxx,v $ Language: C++ - Date: $Date: 2005/06/24 10:55:58 $ - Version: $Revision: 1.28 $ + Date: $Date: 2005/11/03 11:08:18 $ + Version: $Revision: 1.29 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -20,7 +20,7 @@ #include "gdcmDocument.h" #include "gdcmDocEntry.h" #include "gdcmGlobal.h" - +#include "gdcmDataEntry.h" namespace gdcm { //----------------------------------------------------------------------------- @@ -33,9 +33,13 @@ DicomDirMeta::DicomDirMeta(bool empty): { if ( !empty ) { + uint8_t fmiv[2] = {0x02,0x00}; ListDicomDirStudyElem const &elemList = Global::GetDicomDirElements()->GetDicomDirMetaElements(); FillObject(elemList); + + SetEntryBinArea(fmiv, 0x0002,0x0001, 2); + } } -- 2.48.1