mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-11-25 11:43:44 +03:00
remove useless links
This commit is contained in:
parent
ecea56859d
commit
ea387b0673
|
@ -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>
|
||||||
|
|
12
index.js
12
index.js
|
@ -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']);
|
Loading…
Reference in New Issue
Block a user