Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/configuration.json @ 1701:b5a8bf32d969
new configuration options: "CombinedToolEnabled", "CombinedToolBehaviour" and "DownloadAsJpegEnabled"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2020 12:21:26 +0100 |
parents | f1bd464dc3e1 |
children | 2931f5e15320 |
comparison
equal
deleted
inserted
replaced
1700:f1bd464dc3e1 | 1701:b5a8bf32d969 |
---|---|
1 { | 1 { |
2 "StoneWebViewer" : | 2 "StoneWebViewer" : |
3 { | 3 { |
4 /** | |
5 * Enables/disables the print button. | |
6 **/ | |
7 "PrintEnabled" : true, | |
8 | |
9 /** | 4 /** |
10 * Defines how dates are displayed in the UI. If this option is not | 5 * Defines how dates are displayed in the UI. If this option is not |
11 * set, the DICOM tags will be displayed as such. "DD" will be | 6 * set, the DICOM tags will be displayed as such. "DD" will be |
12 * replaced by the day, "MM" by the month, and "YYYY" by the year. | 7 * replaced by the day, "MM" by the month, and "YYYY" by the year. |
13 **/ | 8 **/ |
17 * This option allows you to define windowing presets. | 12 * This option allows you to define windowing presets. |
18 * For each preset, you must provide a name, the window width | 13 * For each preset, you must provide a name, the window width |
19 * and window center. | 14 * and window center. |
20 **/ | 15 **/ |
21 "WindowingPresets" : [ | 16 "WindowingPresets" : [ |
22 {"Name": "CT Lung", "WindowCenter": -400, "WindowWidth": 1600}, | 17 {"Name" : "CT Lung", "WindowCenter" : -400, "WindowWidth" : 1600}, |
23 {"Name": "CT Abdomen", "WindowCenter": 60, "WindowWidth": 400}, | 18 {"Name" : "CT Abdomen", "WindowCenter" : 60, "WindowWidth" : 400}, |
24 {"Name": "CT Bone", "WindowCenter": 300, "WindowWidth": 1500}, | 19 {"Name" : "CT Bone", "WindowCenter" : 300, "WindowWidth" : 1500}, |
25 {"Name": "CT Brain", "WindowCenter": 40, "WindowWidth": 80}, | 20 {"Name" : "CT Brain", "WindowCenter" : 40, "WindowWidth" : 80}, |
26 {"Name": "CT Chest", "WindowCenter": 40, "WindowWidth": 400}, | 21 {"Name" : "CT Chest", "WindowCenter" : 40, "WindowWidth" : 400}, |
27 {"Name": "CT Angio", "WindowCenter": 300, "WindowWidth": 600} | 22 {"Name" : "CT Angio", "WindowCenter" : 300, "WindowWidth" : 600} |
28 ], | 23 ], |
24 | |
25 /** | |
26 * Enables/disables the combined tool. This is the default mode | |
27 * for mouse interactions. The combined tool allows to access the | |
28 * windowing, zoom and pan from a single mouse configuration. The | |
29 * behaviour of the combined tool is defined in | |
30 * CombinedToolBehaviour. The available mouse actions are | |
31 * "Crosshair", "Windowing", "Pan", "Rotate" and "Zoom". | |
32 **/ | |
33 "CombinedToolEnabled" : true, | |
34 "CombinedToolBehaviour" : { | |
35 "LeftMouseButton" : "Windowing", | |
36 "MiddleMouseButton" : "Pan", | |
37 "RightMouseButton" : "Zoom" | |
38 }, | |
39 | |
40 /** | |
41 * Enables/disables the print button. | |
42 **/ | |
43 "PrintEnabled" : true, | |
44 | |
45 /** | |
46 * Enables/disables the button to download a screenshot of the | |
47 * active viewport as a JPEG file. | |
48 **/ | |
49 "DownloadAsJpegEnabled" : true, | |
29 | 50 |
30 /** | 51 /** |
31 * The allowed origin for messages corresponding to dynamic actions | 52 * The allowed origin for messages corresponding to dynamic actions |
32 * triggered by another Web page using "window.postMessage()". The | 53 * triggered by another Web page using "window.postMessage()". The |
33 * special value "*" will allow any origin, which is an insecure | 54 * special value "*" will allow any origin, which is an insecure |