Mercurial > hg > orthanc-stl
comparison Sources/OrthancExplorer.js @ 8:d1267c6c33e1
added route /stl/encode-nifti
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 18 Jul 2023 15:58:21 +0200 |
parents | 1cc024bb662a |
children | 8b265e711351 |
comparison
equal
deleted
inserted
replaced
7:e3e59de705f6 | 8:d1267c6c33e1 |
---|---|
106 var structure = $('#' + id + '-structure').val(); | 106 var structure = $('#' + id + '-structure').val(); |
107 var resolution = $('#' + id + '-resolution').val(); | 107 var resolution = $('#' + id + '-resolution').val(); |
108 var smooth = $('#' + id + '-smooth').is(':checked'); | 108 var smooth = $('#' + id + '-smooth').is(':checked'); |
109 | 109 |
110 $.ajax({ | 110 $.ajax({ |
111 url: '../stl/encode', | 111 url: '../stl/encode-rtstruct', |
112 type: 'POST', | 112 type: 'POST', |
113 data: JSON.stringify({ | 113 data: JSON.stringify({ |
114 'Instance' : instanceId, | 114 'Instance' : instanceId, |
115 'RoiNames' : [ structure ], | 115 'RoiNames' : [ structure ], |
116 'Smooth' : smooth, | 116 'Smooth' : smooth, |