diff Framework/Loaders/DicomResourcesLoader.cpp @ 1484:121d01aa328e

SeriesThumbnailsLoader working on raw dicom files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jun 2020 17:46:40 +0200
parents 474360793956
children
line wrap: on
line diff
--- a/Framework/Loaders/DicomResourcesLoader.cpp	Sat Jun 20 11:16:55 2020 +0200
+++ b/Framework/Loaders/DicomResourcesLoader.cpp	Mon Jun 22 17:46:40 2020 +0200
@@ -27,6 +27,7 @@
 
 #if ORTHANC_ENABLE_DCMTK == 1
 #  include "../Oracle/ParseDicomFromFileCommand.h"
+#  include <DicomParsing/ParsedDicomDir.h>
 #  include <DicomParsing/ParsedDicomFile.h>
 #endif
 
@@ -864,7 +865,7 @@
     boost::shared_ptr<Orthanc::IDynamicObject> protection(userPayload);
     
 #if ORTHANC_ENABLE_DCMTK == 1
-    std::unique_ptr<ParseDicomFromFileCommand> command(new ParseDicomFromFileCommand(path));
+    std::unique_ptr<ParseDicomFromFileCommand> command(new ParseDicomFromFileCommand(source, path));
     command->SetPixelDataIncluded(includePixelData);
     command->AcquirePayload(new Handler(shared_from_this(), target, priority, source, protection));