From ea387b0673789a1ed93d955342651c47b3e0a293 Mon Sep 17 00:00:00 2001 From: ilia Date: Fri, 28 Oct 2022 00:58:31 +0300 Subject: [PATCH] remove useless links --- index.html | 3 --- index.js | 12 ++++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index bd2e6e4..57d2720 100644 --- a/index.html +++ b/index.html @@ -8,9 +8,6 @@ - - - diff --git a/index.js b/index.js index 02dbd46..af1059a 100644 --- a/index.js +++ b/index.js @@ -16,12 +16,12 @@ app.addEventListener('load', function () { app.setTool('Draw'); app.setDrawShape(tools.Draw.options[0]); //var layer = new dwv.gui.DrawLayer('layerGroup0') - factory = new dwv.tool.draw.CircleFactory(); - var point1 = new dwv.math.Point2D(10, 10) - var point2 = new dwv.math.Point2D(10, 100) - var draw = factory.create([point1, point2], app.getToolboxController().getSelectedTool().style, app.getActiveLayerGroup().getActiveViewLayer().getViewController()) - app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().add(draw) - console.log(app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().getChildren()[0]) +// factory = new dwv.tool.draw.CircleFactory(); +// var point1 = new dwv.math.Point2D(10, 10) +// var point2 = new dwv.math.Point2D(10, 100) +// var draw = factory.create([point1, point2], app.getToolboxController().getSelectedTool().style, app.getActiveLayerGroup().getActiveViewLayer().getViewController()) +// app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().add(draw) +// console.log(app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().getChildren()[0]) }); // load dicom data app.loadURLs(['https://raw.githubusercontent.com/ivmartel/dwv/master/tests/data/bbmri-53323851.dcm']); \ No newline at end of file