forked from UTCSheffield/minecraft_pi_lidar_importer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (91 loc) · 3.68 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
<!--
index.html
Copyright 2016 Martyn Eggleton <martyn@martyn-Inspiron-1545>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Geany 1.23.1" />
<title>Minecraft Pi LIDAR Importer</title>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>Minecraft Pi LIDAR Importer</h1>
<!--<h3>Imports LIDAR data into Minecraft Pi Edition</h3>-->
<h2 id="msg"></h2>
<div>
<h2>Location</h2>
<label>Location List</label><select id="locations"><option value="manual">Manual Entry</option></select></br>
<label>Place Name </label><input id="placename" type="string" /><button onclick="searchplace();">Search</button><br />
<div id="searchresults_container">
<label>Search results</label><select size="5" id="searchresults"></select></br>
<button onclick="useplace();">Use</button><br />
</div>
<label>Grid Ref</label><input id="gridref" type="string" /><br />
<label>Resolution</label><select id="res"><option value="1">1m</option><option value="2" selected="selected" >2m</option></select></br>
<label></label><button onclick="loadfile()">Load</button>
</div>
<div id="downloadmissing"></div>
<div id="build_control" style="display:none;">
<h2>Loaded ... Import the LIDAR data into Minecraft</h2>
<label>Terrain Blocks</label><select id="terrain_blocks"></select><br />
<label>Building Blocks</label><select id="building_blocks"></select> <br />
<label>Area in Minecraft</label><select id="areas">
<option value="0">North West</option>
<option value="1">North East</option>
<option value="2">South West</option>
<option value="3">South East</option>
<option value="centre">Centre</option>
</select><br />
<label></label><button id="build" onclick="buildthezone();" >Build</button>
</div>
<div>
<h2>Flood Fill</h2>
<label>Fill With</label><select id="fill_blocks"></select><br />
<label>Fill Direction</label>
<select id="vertical">
<option value="false">Flat</option>
<option value="true">Vertical as Well</option>
</select><br />
<label></label><button id="floodfill" onclick="floodfill();">Fill</button>
</div>
<div>
<h2>Teleport</h2>
<label>Direction </label><select id="direction">
<option>Up</option>
<option>Down</option>
<option>North</option>
<option>East</option>
<option>South</option>
<option>West</option>
</select>
<br />
<label>Distance</label><input id="distance" value = "10" />
<br />
<label></label><button id="teleport" onclick="teleport();" >Go</button>
</div>
<br />
</div>
<!--
<webview id="foo" src="http://environment.data.gov.uk/ds/survey/index.jsp" style="width:640px; height:500px"></webview>
-->
<script src="index.js"></script>
</body>
</html>