changeset 1816:dccdc7e59929

removed test
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 May 2021 19:30:37 +0200
parents b81775f1b196
children 385c268e8b56
files Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Tue May 25 18:07:52 2021 +0200
+++ b/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Tue May 25 19:30:37 2021 +0200
@@ -3316,21 +3316,6 @@
     framesCache_.reset(new FramesCache);
     osiriXAnnotations_.reset(new OrthancStone::OsiriX::CollectionOfAnnotations);
 
-    {
-      // TODO - TEST
-      OrthancStone::AnnotationsSceneLayer l(0);
-      l.AddSegmentAnnotation(OrthancStone::ScenePoint2D(0, 0),
-                                              OrthancStone::ScenePoint2D(100, 100));
-      l.AddAngleAnnotation(OrthancStone::ScenePoint2D(100, 50),
-                                            OrthancStone::ScenePoint2D(150, 40),
-                                            OrthancStone::ScenePoint2D(200, 50));
-      l.AddCircleAnnotation(OrthancStone::ScenePoint2D(50, 200),
-                                             OrthancStone::ScenePoint2D(100, 250));
-      l.SetActiveTool(OrthancStone::AnnotationsSceneLayer::Tool_Edit);
-      StoneAnnotationsRegistry::GetInstance().Save("1.2.840.113543.6.6.4.7.64234348190163144631511103849051737563212", 0, l);
-    }
-
-    
     DISPATCH_JAVASCRIPT_EVENT("StoneInitialized");
   }