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
std::ofstream *fp = new std::ofstream(fileName.c_str(),
std::ios::out | std::ios::binary);
std::ofstream *fp = new std::ofstream(fileName.c_str(),
std::ios::out | std::ios::binary);
binary_write( *fp, "DICM");
DicomDirMeta *ptrMeta = GetMeta();
binary_write( *fp, "DICM");
DicomDirMeta *ptrMeta = GetMeta();
- (*cc)->WriteContent( fp, ExplicitVR, false );
+ (*cc)->WriteContent( fp, ExplicitVR, false, true );
{
// get the current file characteristics
patCurName = (*it)->GetEntryString(0x0010,0x0010);
{
// get the current file characteristics
patCurName = (*it)->GetEntryString(0x0010,0x0010);
patCurID = (*it)->GetEntryString(0x0010,0x0011);
studCurInstanceUID = (*it)->GetEntryString(0x0020,0x000d);
studCurID = (*it)->GetEntryString(0x0020,0x0010);
patCurID = (*it)->GetEntryString(0x0010,0x0011);
studCurInstanceUID = (*it)->GetEntryString(0x0020,0x000d);
studCurID = (*it)->GetEntryString(0x0020,0x0010);