# HG changeset patch
# User Benjamin Golinvaux <bgo@osimis.io>
# Date 1596285751 -7200
# Node ID 31b0449a163ad847f0b7e9ca43e2324317c5cda5
# Parent  5bc305a166c2a19a17e36eed27bf009e18be8a41
JPEG mode re-enabled in MPR RT viewer + some docs

diff -r 5bc305a166c2 -r 31b0449a163a OrthancStone/Samples/Common/RtViewerApp.cpp
--- a/OrthancStone/Samples/Common/RtViewerApp.cpp	Sat Aug 01 14:42:03 2020 +0200
+++ b/OrthancStone/Samples/Common/RtViewerApp.cpp	Sat Aug 01 14:42:31 2020 +0200
@@ -116,7 +116,7 @@
       // "true" means use progressive quality (jpeg 50 --> jpeg 90 --> 16-bit raw)
       // "false" means only using hi quality
       // TODO: add flag for quality
-      ctLoader_ = OrthancSeriesVolumeProgressiveLoader::Create(*loadersContext_, ctVolume_, false);
+      ctLoader_ = OrthancSeriesVolumeProgressiveLoader::Create(*loadersContext_, ctVolume_, true);
       
       // better priority for CT vs dose and struct
       ctLoader_->SetSchedulingPriority(-100);
diff -r 5bc305a166c2 -r 31b0449a163a OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp
--- a/OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp	Sat Aug 01 14:42:03 2020 +0200
+++ b/OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp	Sat Aug 01 14:42:31 2020 +0200
@@ -101,13 +101,13 @@
        "Base URL of the Orthanc instance")
 
       ("ctseries", po::value<std::string>()->default_value("a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa"),
-       "Orthanc ID of the CT series to load")
+       "Orthanc ID of the CT series to load. This must be supplied.")
 
       ("rtdose", po::value<std::string>()->default_value("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"),
-       "Orthanc ID of the RTDOSE instance to load")
+       "Orthanc ID of the RTDOSE instance to load. This may be an empty string.")
 
       ("rtstruct", po::value<std::string>()->default_value("54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"),
-       "Orthanc ID of the RTSTRUCT instance to load")
+       "Orthanc ID of the RTSTRUCT instance to load. This may be an empty string.")
       ;
 
     po::variables_map vm;