diff Applications/StoneWebViewer/WebApplication/app.js @ 1593:b782f78aed42

rendering osirix annotations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Oct 2020 17:39:16 +0200
parents 2a4a6b967053
children 4fb8fdf03314
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/app.js	Fri Oct 23 15:15:32 2020 +0200
+++ b/Applications/StoneWebViewer/WebApplication/app.js	Fri Oct 23 17:39:16 2020 +0200
@@ -548,6 +548,31 @@
       app.leftMode = 'full';
     }
   }
+
+
+
+  // TODO - TEST
+  axios.get('length.xml')
+    .then(function (response) {
+      stone.LoadOsiriXAnnotations(response.data, false);
+    });
+  
+  axios.get('angle.xml')
+    .then(function (response) {
+      stone.LoadOsiriXAnnotations(response.data, false);
+    });
+  
+  axios.get('arrow.xml')
+    .then(function (response) {
+      stone.LoadOsiriXAnnotations(response.data, false);
+    });
+  
+  axios.get('text.xml')
+    .then(function (response) {
+      stone.LoadOsiriXAnnotations(response.data, false);
+    });
+  
+  
 });