remove useless links

This commit is contained in:
ilia 2022-10-28 00:58:31 +03:00
parent ecea56859d
commit ea387b0673
2 changed files with 6 additions and 9 deletions

View File

@ -8,9 +8,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="/js/lib/dummy.js"></script>
<link rel="stylesheet" type="text/css" href="/css/result-light.css">
<script type="text/javascript" src="https://cdn.rawgit.com/konvajs/konva/8.3.0/konva.min.js"></script> <script type="text/javascript" src="https://cdn.rawgit.com/konvajs/konva/8.3.0/konva.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/i18next/21.6.0/i18next.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/i18next/21.6.0/i18next.min.js"></script>

View File

@ -16,12 +16,12 @@ app.addEventListener('load', function () {
app.setTool('Draw'); app.setTool('Draw');
app.setDrawShape(tools.Draw.options[0]); app.setDrawShape(tools.Draw.options[0]);
//var layer = new dwv.gui.DrawLayer('layerGroup0') //var layer = new dwv.gui.DrawLayer('layerGroup0')
factory = new dwv.tool.draw.CircleFactory(); // factory = new dwv.tool.draw.CircleFactory();
var point1 = new dwv.math.Point2D(10, 10) // var point1 = new dwv.math.Point2D(10, 10)
var point2 = new dwv.math.Point2D(10, 100) // var point2 = new dwv.math.Point2D(10, 100)
var draw = factory.create([point1, point2], app.getToolboxController().getSelectedTool().style, app.getActiveLayerGroup().getActiveViewLayer().getViewController()) // var draw = factory.create([point1, point2], app.getToolboxController().getSelectedTool().style, app.getActiveLayerGroup().getActiveViewLayer().getViewController())
app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().add(draw) // app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().add(draw)
console.log(app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().getChildren()[0]) // console.log(app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().getChildren()[0])
}); });
// load dicom data // load dicom data
app.loadURLs(['https://raw.githubusercontent.com/ivmartel/dwv/master/tests/data/bbmri-53323851.dcm']); app.loadURLs(['https://raw.githubusercontent.com/ivmartel/dwv/master/tests/data/bbmri-53323851.dcm']);