da-view.html
18.6 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
<style>
/*Dated:22-07-2016 Issue#4958:In Open body view, the side buttons are getting disturbed on layer change. */
.btn-resize {
padding: 6px 11px;
border: 0px solid #000;
border-radius: 1px;
}
</style>
<style>
/*Dated:22-07-2016 Issue#4958:In Open body view, the side buttons are getting disturbed on layer change. */
.btn-resize {
padding: 6px 11px;
border: 0px solid #000;
border-radius: 1px;
}
</style>
<style>
.draggable_navigator {
opacity: 0.2;
border: solid;
position: absolute;
/*Bug #24255: Mac > DA > Body Navigator is not appear properly.*/
height: 14px !important;
}
#wrapper {
position: relative;
width: 100%;
height: 100%;
margin: 20px auto;
}
.tooltip-custom + .tooltip > .tooltip-inner {
background-color: #fff;
border: 1px solid #000;
color: #000;
border-radius: 0;
}
.tooltip-custom + .tooltip > .tooltip-arrow {
display: none;
}
.custom-tooltip {
background-color: #333;
border: 0 none;
color: #fff !important;
left: -52px;
/*opacity: 0.9;*/
padding: 7px;
position: absolute;
text-align: center;
top: 45px;
width: 120px;
display: none;
z-index: 10000;
border: 1px solid #000;
color: #000;
border-radius: 0;
}
.custom-tooltip1 {
background-color: #333;
border: 0 none;
color: #fff !important;
left: 52px;
/*opacity: 0.9;*/
padding: 7px;
position: absolute;
text-align: center;
top: 45px;
width: 70px;
display: none;
z-index: 10000;
border: 1px solid #000;
color: #000;
border-radius: 0;
}
.custom-tooltip2 {
background-color: #333;
border: 0 none;
color: #fff !important;
right: 10px;
/*opacity: 0.9;*/
padding: 7px;
position: absolute;
text-align: center;
top: 45px;
width: 60px;
display: none;
z-index: 10000;
border: 1px solid #000;
color: #000;
border-radius: 0;
}
.pad0 {
padding: 0;
}
</style>
<!--Annotation Toolbar: Jcanvas-->
<style>
.canvas-annotationStyle {
display: none;
background-color: transparent;
z-index: 12000;
position: absolute;
left: 0;
right: 0;
}
.canvas-annotationStyle1 {
display: none;
background-color: transparent;
z-index: 12000;
position: absolute;
left: 0;
right: 0;
}
</style>
<div class=" " id="daView" ng-controller="DAController">
<div class="pos-relative leftToolBar tools pull-left">
<div class="toggle-icon toggleBar toggleHeadingButton" id="sidebarId" onclick="SideBarToggleDA(event)" title="Show/Hide Sidebar" style="top:220px;"></div>
<div class="" style="top:20px">
<div class="col-xs-6">
<button id="btnIdentify" onclick="OnIdentifyClick()" class="btn btn-primary btn-sm tooltip-custom" data-toggle="tooltip" data-placement="bottom" title="Identify"> <img src="content/images/icon-identity.png" alt=""></button>
</div>
<div class="col-xs-6 pull-right">
<button class="btn btn-black btn-sm pull-right tooltip-custom" onclick="OnZoom(event)" id="btnZoom" data-toggle="tooltip" data-placement="bottom" title="Zoom-in/Zoom-out">
<img src="content/images/icon-zoom.png" alt="">
</button>
</div>
<div class="col-xs-12">
<button id="btnTranparency" class="btn btn-black btn-sm btn-block marginTop5 tooltip-custom" onclick="onTboxCreation()" data-toggle="tooltip" data-placement="bottom" title="Transparency Box"><img src="content/images/icon-transparency.png" alt=""></button>
</div>
<div class="col-xs-12 pad0">
<div class="col-xs-6">
<button id="btnNormalMode" class="btn btn-primary btn-sm marginTop5 tooltip-custom" onclick="OnEnableNormalMode()" data-toggle="tooltip" data-placement="bottom" title="Normal"> <img src="content/images/bulb.png" alt=""></button>
</div>
<div class="col-xs-6">
<button id="btnExtract" class="btn btn-black btn-sm pull-right marginTop5 tooltip-custom" onclick="OnEnableExtract()" data-toggle="tooltip" data-placement="bottom" title="Extract"><img src="content/images/bulb1.png" alt=""></button>
</div>
</div>
<div class="col-xs-12 pad0">
<div class="col-xs-6">
<button id="btnHighLight" class="btn btn-black btn-sm marginTop5 tooltip-custom btn-resize" onclick="OnEnableHighlight()" data-toggle="tooltip" data-placement="bottom" title="Highlight"> <img src="content/images/Highlight-bulb.png" alt=""></button>
</div>
<div class="col-xs-6 dropdown hover-tool">
<div class="custom-tooltip">Highlight Options</div>
<button class="btn btn-black btn-sm pull-right marginTop5 dropdown-toggle" type="button" id="dropdownMenu2" onclick="LoadBodySystemData(event)"><img src="content/images/icon-highlight.png" alt="" title=""></button>
<ul class="tool-dropdown-menu" id="structureDropdown" style="height:270px; overflow:auto;">
<li id="CurrentStructure">
<a href="#" title="Current Structure" id="0" onclick="OnBodySystemSelection(event)">
Current Structure
</a>
</li>
<li role="separator" class="divider"></li>
<li id="Cardiovascular" class="disabledSelectedSystem"><a href="#" title="Cardiovascular" id="1" onclick="OnBodySystemSelection(event)">Cardiovascular</a></li>
<li id="Digestive" class="disabledSelectedSystem"><a href="#" title="Digestive" id="2" onclick="OnBodySystemSelection(event)">Digestive</a></li>
<li id="Endocrine" class="disabledSelectedSystem"><a href="#" title="Endocrine" id="3" onclick="OnBodySystemSelection(event)">Endocrine</a></li>
<li id="Immune" class="disabledSelectedSystem"><a href="#" title="Immune" id="4" onclick="OnBodySystemSelection(event)">Immune</a></li>
<li id="Integumentary" class="disabledSelectedSystem"><a href="#" title="Integumentary" id="5" onclick="OnBodySystemSelection(event)">Integumentary</a></li>
<li id="Lymphatic" class="disabledSelectedSystem"><a href="#" title="Lymphatic" id="6" onclick="OnBodySystemSelection(event)">Lymphatic</a></li>
<li id="Muscular" class="disabledSelectedSystem"><a href="#" title="Muscular" id="7" onclick="OnBodySystemSelection(event)">Muscular</a></li>
<li id="Nervous" class="disabledSelectedSystem"><a href="#" title="Nervous" id="8" onclick="OnBodySystemSelection(event)">Nervous</a></li>
<li id="Reproductive" class="disabledSelectedSystem"><a href="#" title="Reproductive" id="9" onclick="OnBodySystemSelection(event)">Reproductive</a></li>
<li id="Respiratory" class="disabledSelectedSystem"><a href="#" title="Respiratory" id="10" onclick="OnBodySystemSelection(event)">Respiratory</a></li>
<li id="Skeletal" class="disabledSelectedSystem"><a href="#" title="Skeletal" id="11" onclick="OnBodySystemSelection(event)">Skeletal</a></li>
<li id="Urinary" class="disabledSelectedSystem"><a href="#" title="Urinary" id="12" onclick="OnBodySystemSelection(event)">Urinary</a></li>
</ul>
</div>
</div>
<div class="col-xs-12 pad0">
<div class="col-xs-6 hover-gender-tool">
<div class=" custom-tooltip1">Gender</div>
<button class="btn btn-black btn-sm marginTop5 dropdown-toggle" type="button" id="dropdownMenu4" onclick="genderChange(event)"> <i class=" fa fa-intersex font16"></i></button>
<ul class="tool-dropdown-menu" id="genderChangeId">
<li id="IdMale">
<a href="#" title="Male" onclick="OnGenderChange(event)">Male</a>
</li>
<li id="IdFemale">
<a href="#" title="Female" onclick="OnGenderChange(event)">Female</a>
</li>
</ul>
</div>
<div class="col-xs-6 tooltip-View-custom">
<div class="custom-tooltip2">View</div>
<button class="btn btn-black btn-sm pull-right marginTop5" type="button" id="dropdownMenu3" onclick="viewChange(event)"><img src="content/images/view.png" alt="" title=""></button>
<ul class="tool-dropdown-menu" id="viewChangeID">
<li id="Anterior"><a href="#" title="Anterior" onclick="OnViewChange(event)">Anterior</a></li>
<li id="Lateral"><a href="#" title="Lateral" onclick="OnViewChange(event)">Lateral</a></li>
<li id="Medial"><a href="#" title="Medial" onclick="OnViewChange(event)">Medial</a></li>
<li id="Posterior"><a href="#" title="Posterior" onclick="OnViewChange(event)">Posterior</a></li>
<li id="LateralArm"><a href="#" title="Lateral Arm" onclick="OnViewChange(event)">Lateral Arm</a></li>
<li id="MedialArm"><a href="#" title="Medial Arm" onclick="OnViewChange(event)">Medial Arm</a></li>
</ul>
</div>
</div>
<div class="col-xs-12">
<button id="btnStrutureBox" onclick="enableShowHideStructureBox(event)" class="btn btn-primary btn-sm marginTop5 btn-block tooltip-custom" data-toggle="tooltip" data-placement="bottom" name="showAnnotationStructure" title="Show/Hide Structure Name Boxes"> <img src="content/images/comment-box.png" alt=""></button>
</div>
</div>
<div class="">
<!--'x' button is displaying inside the input box in IE browser.-->
<div style="width:80px;margin:10px 0 0 15px;display:inline-block;">
<input type="text" class="form-control item" id="txtlayerNumber" value="0" ng-keyup="LayerValueChangeBasedOnKeyUp($event)" ng-keydown="LayerChangeBasedOnKeyPressed($event)" style="height:32px;border-radius:0;text-align:center;">
</div>
<div class="slider" id="layerChangeSlider" style="margin: 15px auto 10px;height: 180px;clear: both;width: 1rem;"></div>
</div>
</div>
<div class="main2">
<div class="stickey-area" style="margin-left:7px">
<div class="breadcrumb " style="margin-bottom:0px">
<div class="">
<div class="input-group col-sm-8 col-xs-7 col-md-8 pull-left" id="da-input">
<div id="backdrop">
<div id="searchListDiv" class="col-sm-12 col-xs-12 col-md-12 col-lg-12 pull-left">
<select id="termlistfilter" class="form-control" style="height:130px;width:100%;overflow-y:scroll;position:absolute;z-index:60001;display:none;padding:0px;left:0px;" size="10" onclick="if (typeof (this.selectedIndex) != 'undefined') onListManagerTermSelection(this.options[this.selectedIndex].id, false)" ng-blur="HideSearch()"></select>
</div>
</div>
</div>
<div class="btn-group" style="vertical-align:top;">
<button type="button" id="btnDATermSearch" style="padding: 5px 10px 4px 10px !important;border: none;" class="btn btn-success btn-sm" onclick="OnSearch(event)">
<!--<img src="~/../content/images/DA/go-to.png" style="height: 30px;width:50px">-->
<i class="fa fa-caret-down" style="font-size:20px;"></i>
</button>
</div>
<div class="btn-group" style="vertical-align:top;">
<!-- <h6 class="text-center text-primary txt-white f11 col-xs-12">Search</h6>-->
<button type="button" id="btnSearchList" class="btn btn-primary btn-sm col-xs-12" ng-click="ApplySearch($event)" style="margin-right:2px;">
<!-- <i class="fa fa-search"></i>-->
Search
</button>
</div>
<div class="btn-group open" id="da-body-nav" style="float: right; margin-left: 2px;right: 20px;">
<button type="button" style="padding:0px 0px 10px 1px !important;background-color:rgba(255,255,255,0.0); border:none;" class="btn btn-primary dropdown-toggle btn-sm" id="navigatorBtn">
<img src="~/../content/images/DA/navigator-view.png" style="height:30px; width:50px" />
</button>
<div class="dropdown-menu" id="navigatorDiv" style="min-height: initial; min-width: initial;left:-30px; ">
<div id="navDiv" align="center" style="min-width: initial; height: 119px; ">
<img id="navimg" alt="" />
<div id="draggable" class="draggable ui-widget-content dragdivposition draggable_navigator" ng-mouseup="ScrollCanvasDiv($event)">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=" canavsParent" id="cp" style="margin-left:12px">
<div class="container-fluid">
<div class="row" id="bfDiv">
<input type="hidden" id="zoomValue" value="x" />
<div id="canvasDiv" class="img-thumbnail" style="width:100%;position:relative" align="center">
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="ui-widget-content" id="transparencyScale" style="width: 350px; height: 150px;visibility:hidden;display:block;float:left">
<div>
<div>
<div class="modal-header annotation-modal-header">
<button id="btnTBoxClose" type="button" onclick="onTboxClose()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4>Transparency</h4>
</div>
<div>
<div class="row">
<div class="col-sm-12">
<div class="padded25">
<!--<div class="slider" id="sliderScale"></div>-->
<div class="slider" id="tbSlider"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="searchedTermListPopUp" style="display:none">
<div class="modal-header annotation-modal-header">
<button type="button" class="close" aria-label="Close" ng-click="closeSerachTermListPopUp()"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Search List</h4>
</div>
<div class="modal-body">
<div class="row paddingTopBtm10">
<div class="col-sm-12" style="top:3px">
<div style="">
<!--DA > List Manager > Multiple structure selection should not be available.-->
<div class="form-group">
<select id="searchTermListUl" class="form-control" size="10" onclick="if (typeof (this.selectedIndex) != 'undefined') selectTerm(event)" ></select>
</div>
</div>
<div style="clear:both;"></div>
</div>
</div>
</div>
<div class="modal-footer" id="totalTerms">
</div>
</div>
</div>
<!--<script src="../../../libs/jquery/1.11.4/jquery-ui.js"></script>-->
<script src="libs/jquery/jquery_plugin/slider-pips/jquery-ui-slider-pips.js"></script>
<script>
$(window).load(function () {
$(".stickey-area").sticky();
});</script>
<script>
$(function () {
var regExp = /[0-9\.\,]/;
$('#txtlayerNumber').on('keydown keyup', function (e) {
var value = String.fromCharCode(e.which) || e.key;
// Only numbers, dots and commas
if (!regExp.test(value)
&& e.which != 188 // ,
&& e.which != 190 // .
&& e.which != 8 // backspace
&& e.which != 46 // delete
&& (e.which < 37 // arrow keys
|| e.which > 40)
&& (e.keyCode < 96 // Dissectible Anatomy > Num Lock is not working for enter the layer.
|| e.keyCode > 105)) {
e.preventDefault();
return false;
}
});
});
</script>
<script src="libs/jquery/jquery_plugin/slider-pips/jquery-ui-slider-pips.js"></script>
<script>
$(function () {
var $ua = navigator.userAgent;
if (($ua.match(/(iPod|iPhone|iPad|android)/i))) {
}
else {
$("#dropdownMenu2").mouseover(function () {
$(".custom-tooltip").css("display", "block");
});
$("#dropdownMenu2").mouseout(function () {
$(".custom-tooltip").css("display", "none");
});
$("#dropdownMenu4").mouseover(function () {
$(".custom-tooltip1").css("display", "block");
});
$("#dropdownMenu4").mouseout(function () {
$(".custom-tooltip1").css("display", "none");
});
$("#dropdownMenu3").mouseover(function () {
$(".custom-tooltip2").css("display", "block");
});
$("#dropdownMenu3").mouseout(function () {
$(".custom-tooltip2").css("display", "none");
});
}
});
</script>
<script>
$(".tooltip-custom").tooltip({
tooltipClass: 'customTooltip'
});
</script>
<script>
$(function () {
$(".modal").draggable();
});
</script>