Does a dataset, sent by the following piece of code include elements > DCM_MaxReadLength when sent over the wire?
Or do I need to use fileformat.loadAllDataIntoMemory()?
Code: Select all
fileformat.loadFile(vector_image_object[i].slocation, EXS_Unknown, EGL_recalcGL, DCM_MaxReadLength, ERM_fileOnly);
fileformat.getDataset()->putAndInsertString(DCM_StudyInstanceUID, studyUID);
DcmDataset* ds = fileformat.getDataset();
result = scu.sendSTORERequest(0, NULL, ds, rspStatusCode);
Tried to mimic with (without loadAllDataIntoMemory):
Code: Select all
fileformat.loadFile(vector_image_object[i].slocation, EXS_Unknown, EGL_recalcGL, 4, ERM_fileOnly);
Thanks.