changeset 1525:31b0449a163a

JPEG mode re-enabled in MPR RT viewer + some docs
author Benjamin Golinvaux <bgo@osimis.io>
date Sat, 01 Aug 2020 14:42:31 +0200
parents 5bc305a166c2
children 61023b0d39c8
files OrthancStone/Samples/Common/RtViewerApp.cpp OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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;