-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathtfjsexample.html
executable file
·86 lines (65 loc) · 2.97 KB
/
tfjsexample.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!--- LICENSE
_This file is Copyright 2018 by the Image Processing and Analysis Group (BioImage Suite Team). Dept. of Radiology & Biomedical Imaging, Yale School of Medicine._
BioImage Suite Web is licensed under the Apache License, Version 2.0 (the "License");
- you may not use this software except in compliance with the License.
- You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
__Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.__
ENDLICENSE -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>TFJS Example</title>
<meta http-equiv="content-type" content="text/html; charset=UTF8">
<link rel="icon" href="images/favicon.ico">
<!-- begin webpack/gulp modifications -->
<!-- external css files -->
<!-- build:css -->
<link rel="stylesheet" type="text/css" href="../lib/css/bootstrap_dark.css">
<link rel="stylesheet" type="text/css" href="../node_modules/jstree/dist/themes/default/style.css">
<link rel="stylesheet" type="text/css" href="biscommon.css">
<!-- endbuild -->
<!-- all javascript files -->
<!-- build:js -->
<script src="bis.js"></script>
<script src="../build/web/webcomponents-lite.js"></script>
<script src="../build/web/jquery.min.js"></script>
<script src="../build/web/three.min.js"></script>
<script src="../build/web/bootstrap.min.js"></script>
<script src="../build/web/libbiswasm_wasm.js"></script>
<script src="../build/web/bislib.js"></script>
<!-- endbuild -->
<!-- end webpack/gulp modifications -->
<script src="./tfjsexample.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<button class="btn btn-danger" type="submit" id="compute">Run 2D</button>
<button class="btn btn-danger" type="submit" id="compute3d">Run 3D</button>
</nav>
<nav class="navbar navbar-default navbar-fixed-bottom">
<H4>Open the JS Console to see the print outputs</H4>
</nav>
<!-- this is an optional viewer so that you can see what is going on -->
<div class="bisviewerwidget" style="width:800px;
left:25px;position:absolute;padding:10 10 10 10;
top:65px; background-color:#2222222">
<bisweb-viewerlayoutelement
id="viewer_layout"
bis-dockwidth="300"
bis-coreopen="true"
bis-noresize="1">
</bisweb-viewerlayoutelement>
<bisweb-colormapcontrollerelement id="viewer_cmap">
</bisweb-colormapcontrollerelement>
<bisweb-orthogonalviewer
id="viewer"
bis-layoutwidgetid="#viewer_layout"
bis-colormapeditorid="#viewer_cmap">
</bisweb-orthogonalviewer>
</div>
</body>
</html>