Mercurial > hg > orthanc-stone
annotate Applications/StoneWebViewer/WebApplication/configuration.json @ 1709:2931f5e15320
download study from Stone Web viewer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Nov 2020 15:36:40 +0100 |
parents | b5a8bf32d969 |
children | 673c163e1b3e |
rev | line source |
---|---|
1696
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 { |
1700
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
2 "StoneWebViewer" : |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
3 { |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
4 /** |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
5 * Defines how dates are displayed in the UI. If this option is not |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
6 * set, the DICOM tags will be displayed as such. "DD" will be |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
7 * replaced by the day, "MM" by the month, and "YYYY" by the year. |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
8 **/ |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
9 // "DateFormat" : "DD/MM/YYYY", |
1699
0598c87e1e88
"WindowingPresets" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1698
diff
changeset
|
10 |
1700
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
11 /** |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
12 * This option allows you to define windowing presets. |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
13 * For each preset, you must provide a name, the window width |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
14 * and window center. |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
15 **/ |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
16 "WindowingPresets" : [ |
1701
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
17 {"Name" : "CT Lung", "WindowCenter" : -400, "WindowWidth" : 1600}, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
18 {"Name" : "CT Abdomen", "WindowCenter" : 60, "WindowWidth" : 400}, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
19 {"Name" : "CT Bone", "WindowCenter" : 300, "WindowWidth" : 1500}, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
20 {"Name" : "CT Brain", "WindowCenter" : 40, "WindowWidth" : 80}, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
21 {"Name" : "CT Chest", "WindowCenter" : 40, "WindowWidth" : 400}, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
22 {"Name" : "CT Angio", "WindowCenter" : 300, "WindowWidth" : 600} |
1700
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
23 ], |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
24 |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
25 /** |
1701
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
26 * Enables/disables the combined tool. This is the default mode |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
27 * for mouse interactions. The combined tool allows to access the |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
28 * windowing, zoom and pan from a single mouse configuration. The |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
29 * behaviour of the combined tool is defined in |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
30 * CombinedToolBehaviour. The available mouse actions are |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
31 * "Crosshair", "Windowing", "Pan", "Rotate" and "Zoom". |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
32 **/ |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
33 "CombinedToolEnabled" : true, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
34 "CombinedToolBehaviour" : { |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
35 "LeftMouseButton" : "Windowing", |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
36 "MiddleMouseButton" : "Pan", |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
37 "RightMouseButton" : "Zoom" |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
38 }, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
39 |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
40 /** |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
41 * Enables/disables the print button. |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
42 **/ |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
43 "PrintEnabled" : true, |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
44 |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
45 /** |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
46 * Enables/disables the button to download a screenshot of the |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
47 * active viewport as a JPEG file. |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
48 **/ |
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
49 "DownloadAsJpegEnabled" : true, |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
50 |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
51 /** |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
52 * Enables/disables the button to download the display study. |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
53 **/ |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
54 "DownloadStudyEnabled" : true, |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
55 |
1701
b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1700
diff
changeset
|
56 /** |
1700
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
57 * The allowed origin for messages corresponding to dynamic actions |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
58 * triggered by another Web page using "window.postMessage()". The |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
59 * special value "*" will allow any origin, which is an insecure |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
60 * value to be used only during development. If this option is not |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
61 * set, all the requests for dynamic actions will be rejected. |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
62 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage |
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
63 **/ |
1709
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
64 "ExpectedMessageOrigin" : "http://localhost:8042", |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
65 |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
66 /** |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
67 * The following parameter can be set if running the Stone Web |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
68 * viewer from Orthanc, but without using the associated plugin. |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
69 * Using the plugin would overwrite this setting. |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
70 **/ |
2931f5e15320
download study from Stone Web viewer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1701
diff
changeset
|
71 "OrthancApiRoot" : "schnol" |
1700
f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1699
diff
changeset
|
72 } |
1696
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
73 } |