changeset 839:c47031d9f6b1

Added dose struct load in (ongoing) FusionMprSample + doc change
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 03 Jun 2019 14:37:17 +0200
parents e62e7361fd60
children 47fc7919977d
files Samples/Sdl/FusionMprSdl.cpp Samples/WebAssembly/NOTES.txt
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Samples/Sdl/FusionMprSdl.cpp	Fri May 31 16:34:26 2019 +0200
+++ b/Samples/Sdl/FusionMprSdl.cpp	Mon Jun 03 14:37:17 2019 +0200
@@ -645,10 +645,17 @@
     this->SetStructureSet(2, rtstructLoader);
 
 #if 1
-    // BGO data
+    /*
+    BGO data
+    http://localhost:8042/twiga-orthanc-viewer-demo/twiga-orthanc-viewer-demo.html?ct-series=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa
+    &
+    dose-instance=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb
+    &
+    struct-instance=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9
+    */
     ctLoader->LoadSeries("a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa");  // CT
-    //doseLoader->LoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb");  // RT-DOSE
-    //rtstructLoader->LoadInstance("54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9");  // RT-STRUCT
+    doseLoader->LoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb");  // RT-DOSE
+    rtstructLoader->LoadInstance("54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9");  // RT-STRUCT
 #else
     //ctLoader->LoadSeries("cb3ea4d1-d08f3856-ad7b6314-74d88d77-60b05618");  // CT
     //doseLoader->LoadInstance("41029085-71718346-811efac4-420e2c15-d39f99b6");  // RT-DOSE
--- a/Samples/WebAssembly/NOTES.txt	Fri May 31 16:34:26 2019 +0200
+++ b/Samples/WebAssembly/NOTES.txt	Mon Jun 03 14:37:17 2019 +0200
@@ -23,8 +23,8 @@
 cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON /mnt/c/osi/dev/orthanc-stone/Samples/WebAssembly -DCMAKE_INSTALL_PREFIX=/mnt/c/osi/dev/build_install_stone_newsamples_wasm_wsl
 ninja install
 
-On Windows
----------
+Then, on Windows
+-----------------
 docker run -p 4242:4242 -p 8042:8042 --rm -v "C:/osi/dev/build_install_stone_newsamples_wasm_wsl:/root/stone:ro" jodogne/orthanc-plugins:1.5.6 /root/stone/Configuration.json --verbose
 
 # WAIT A COUPLE OF SECS