-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
188 lines (172 loc) · 6.95 KB
/
index.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
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
dive
<html>
<head>
<title>3D data visualization</title>
<style>
#frame {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 0;
overflow: auto;
}
#panel {
position: absolute;
left: 0;
top: 0;
/*height: 1024px;*/
bottom: 0;
width: 285px;
right: 0;
z-index: 100;
overflow: auto;
background-color: white;
border-bottom: 1px solid #dedede;
}
#sliderObj {
position: absolute;
top: 35;
left: 305;
z-index: 1;
font-family: sans-serif;
}
#labelproperty2 {
position: absolute;
top: 5;
left: 305;
z-index: 1;
color: black;
font-family: sans-serif;
}
#title {
position: absolute;
top: 15;
right: 15;
z-index: 1;
color: white;
font-family: sans-serif;
}
#colortable {
position: absolute;
top: 320;
left: 15;
z-index: 1;
font-family: sans-serif;
}
#label {
position: absolute;
top: 25;
left: 305;
z-index: 1;
color: darkblue;
font-family: sans-serif;
}
#labelsearch {
position: absolute;
bottom: 5;
left: 305;
z-index: 1;
color: darkblue;
font-family: sans-serif;
}
</style>
<style type="text/css">
.fieldset-auto-width {
display: inline-block;
}
</style>
</head>
<body>
<div id="panel" class="collapsed">
<h1 style=" font: 20px Arial ; color: darkblue">DiVE: Interactive 3D embedded data visualization</h1>
<p> </p>
<p> </p>
<p> </p>
<!--UI components-->
<fieldset class="fieldset-auto-width" style="font: 15px Arial">
<legend style=" font: 15px Arial">Upload local data file </legend>
<input type="file" id="dataFile" multiple size="50" onchange="LoadLocalDataSet()">
</fieldset>
<p> </p> <p> </p>
<fieldset class="fieldset-auto-width" style="font: 15px Arial">
<legend style=" font: 15px Arial">Search by id, name, category, etc... </legend>
<input type="text" name="search" id="search" class="textbox" onclick="empty_notification()" />
<button style=" font: 14px Arial" onclick="searchSequence()" name="button">Search</button>
<br>
<label style=" font: 12px Arial; color: darkred" id="label_search2"></label>
<br> <text style=" font: 12px Arial">
Example: x OR y AND NOT z <br> x, y and z are regular expressions. <br>
NOT has the highest priority, OR the lowest.
</text>
<p> </p>
<input type="checkbox" name="show_found_nodes" id="show_found_nodes" />
<label style=" font: 15px Arial"> Show only found points</label>
<br> <text style=" font: 12px Arial">For perspective, it shows at least 15 points <br>
</fieldset>
<p> </p> <p> </p>
<fieldset class="fieldset-auto-width" style="font: 15px Arial">
<legend style=" font: 15px Arial">Visualization options</legend>
<button style=" font: 14px Arial" onclick="redrawInitialScene(false)" name="buttonCentralize">Show all data</button>
<button style=" font: 14px Arial" onclick="redrawInitialScene(true)" name="buttonCentralize">Show most data</button>
<p> </p>
<input type="checkbox" name="sizeattenuation" id="sizeattenuation" />
<label style=" font: 15px Arial"> Scale point size </label>
<text style=" font: 12px Arial">
<br> Uncheck to zoom-in into a dense region
</text>
<!--<p> </p>
<label style=" font: 15px Arial"> Point size </label>
<input type="number" name="nodesize" id="nodesize" min="1" max="200" value="10" />
<button onclick="ChangeNodeSize()">Change</button>-->
<p> </p>
<!--<input type="checkbox" name="show_popup" id="show_popup" />-->
<label style=" font: 15px Arial"> Show in popup </label>
<form>
<input type="radio" name="whatInPopup" value="image" > Image
<input type="radio" name="whatInPopup" value="text"> Text
<input type="radio" name="whatInPopup" value="nopopup" checked> No popup
</form>
</fieldset>
<p> </p>
<div id="labelsearch" style=" font: 12px Arial ; color: darkblue"></div>
<div>
<fieldset class="fieldset-auto-width" style="font: 15px Arial">
<legend style=" font: 15px Arial">Coloring by property</legend>
<p> Select a property: </p>
<select name="combo" id="combo" onchange="HandlePropertyChange()"></select>
<p>
<input type="checkbox" name="show_color_map" id="show_color_map" onchange="HandleShowColorMapChange()" checked="true" />
<label style=" font: 12px Arial"> Show color map </label>
</p>
<p>
Click inside the field to select a color
<br> <text style=" font: 12px Arial"> Only for numerical properties
</p>
<input type="text" id="inputcolor" colorbox="true">
<!--<p>
<button style=" font: 14px Arial" onclick="ReturnAllColors()" name="button">Resume colors</button>
</p>-->
</fieldset>
</div>
</div>
<div id="frame"></div>
<div id="sliderObj" min="0" step="1" value="0" vertical="false" size="245"></div>
<div id="labelproperty2" style=" font: 15px Arial">Hover over a point to see its information. Click to rotate, click again to stop a rotation.</div>
<div id="label" style=" font: 12px Arial ; color: darkblue"></div>
<link rel="stylesheet" type="text/css" href="dhtmlx/dhtmlxcolorpicker.css">
<script src="dhtmlx/dhtmlxcolorpicker.js"></script>
<link rel="stylesheet" type="text/css" href="dhtmlx/dhtmlxpopup.css">
<script src="dhtmlx/dhtmlxpopup.js"></script>
<script src="dist/graphosaurus.js"></script>
<script src="scripts_DiVE/search.js"></script>
<script src="scripts_DiVE/user_interface.js"></script>
<script src="jquery/jquery-2.1.3.min.js"></script>
<script src="scripts_DiVE/data_logic.js"></script>
<script src="scripts_DiVE/drawing.js"></script>
<script src="data/data.js"></script>
<script src="scripts_DiVE/randomColor.js"></script>
<script src="scripts_DiVE/main.js"></script>
</body>
</html>