Mercurial > hg > orthanc-stone
changeset 1517:307a805d0587
rtviewer --> stone-rtviewer
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 31 Jul 2020 12:46:22 +0200 |
parents | 2b7d34cb764f |
children | 433cf964838d |
files | OrthancStone/Samples/README.md OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp OrthancStone/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancStone/Samples/README.md Wed Jul 08 18:25:26 2020 +0200 +++ b/OrthancStone/Samples/README.md Fri Jul 31 12:46:22 2020 +0200 @@ -115,7 +115,7 @@ This sample application displays three MPR views of a CT+RTDOSE+RTSTRUCT dataset, loaded from Orthanc. The Orthanc IDs of the dataset must be supplied as URL parameters like: ``` -http://localhost:9979/rtviewer/index.html?loglevel=info&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9 +http://localhost:9979/stone-rtviewer/index.html?loglevel=info&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9 ``` (notice the loglevel parameter that can be `warning`, `info` or `trace`, in increasing verbosity order)
--- a/OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp Wed Jul 08 18:25:26 2020 +0200 +++ b/OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp Fri Jul 31 12:46:22 2020 +0200 @@ -147,8 +147,8 @@ Typically, in a native application (Qt, SDL), it will be an absolute URL like "http://localhost:8042". In wasm on the browser, it could be an absolute URL, provided you do not have cross-origin problems, or a relative URL. In our wasm samples, it is set to "..", because we set up either a reverse proxy or an Orthanc ServeFolders - plugin that serves the main web application from an URL like "http://localhost:8042/rtviewer" (with ".." leading - to the main Orthanc root URL) + plugin that serves the main web application from an URL like "http://localhost:8042/stone-rtviewer" (with ".." + leading to the main Orthanc root URL) */ std::string orthancUrl = arguments_["orthanc"];
--- a/OrthancStone/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js Wed Jul 08 18:25:26 2020 +0200 +++ b/OrthancStone/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js Fri Jul 31 12:46:22 2020 +0200 @@ -81,5 +81,5 @@ }); }); -// http://localhost:9979/rtviewer/index.html?loglevel=trace&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9 +// http://localhost:9979/stone-rtviewer/index.html?loglevel=trace&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9