Mercurial > hg > orthanc-stone
diff Framework/Oracle/GenericOracleRunner.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 | 30deba7bc8e2 |
children |
line wrap: on
line diff
--- a/Framework/Oracle/GenericOracleRunner.cpp Sat Jun 20 11:16:55 2020 +0200 +++ b/Framework/Oracle/GenericOracleRunner.cpp Mon Jun 22 17:46:40 2020 +0200 @@ -345,7 +345,8 @@ reader.HasPixelData())) { // Reuse the DICOM file from the cache - ParseDicomSuccessMessage message(command, reader.GetDicom(), reader.GetFileSize(), reader.HasPixelData()); + ParseDicomSuccessMessage message(command, command.GetSource(), reader.GetDicom(), + reader.GetFileSize(), reader.HasPixelData()); emitter.EmitMessage(receiver, message); return; } @@ -362,7 +363,8 @@ { ParseDicomSuccessMessage message - (command, *parsed, static_cast<size_t>(fileSize), command.IsPixelDataIncluded()); + (command, command.GetSource(), *parsed, + static_cast<size_t>(fileSize), command.IsPixelDataIncluded()); emitter.EmitMessage(receiver, message); } @@ -393,7 +395,8 @@ reader.HasPixelData()) { // Reuse the DICOM file from the cache - ParseDicomSuccessMessage message(command, reader.GetDicom(), reader.GetFileSize(), reader.HasPixelData()); + ParseDicomSuccessMessage message(command, command.GetSource(), reader.GetDicom(), + reader.GetFileSize(), reader.HasPixelData()); emitter.EmitMessage(receiver, message); return; } @@ -421,7 +424,7 @@ std::unique_ptr<Orthanc::ParsedDicomFile> parsed(ParseDicomSuccessMessage::ParseWadoAnswer(fileSize, answer, answerHeaders)); { - ParseDicomSuccessMessage message(command, *parsed, fileSize, + ParseDicomSuccessMessage message(command, command.GetSource(), *parsed, fileSize, true /* pixel data always is included in WADO-RS */); emitter.EmitMessage(receiver, message); }