-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·133 lines (117 loc) · 6.41 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
<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
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.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
<meta content="width=device-width,initial-scale=1,maximum-scale=5,user-scalable=yes" name="viewport">
<link rel="stylesheet" type="text/css" href="css/index.css" />
<!-- jQuery JS & CSS -->
<link rel="stylesheet" href="jquery/jquery.mobile-1.3.2.min.css" />
<script src="jquery/jquery-1.9.1.min.js"></script>
<script src="jquery/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/sampleIndices.js"></script>
<script type="text/javascript" src="js/loadingPoisFromApplicationModel.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<br/><br/>
<div data-role="page" id="page1" style="background: none;" >
<div id ="header-status" data-role="header" data-position="fixed" data-theme="a">
<h2>Wikitude Plugin</h2>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Enter World URL</h4>
<div data-role="fieldcontain">
<label for="url">World URL:</label>
<input type="url" name="url" id="url" value="http://" />
<input type="button" value="Launch" id="url-button" data-icon="arrow-r"/>
</div>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Image Recognition</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(0, 0));">1.1 Image on Target</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(0, 1));">1.2 Multiple Targets</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(0, 2));">1.3 Interactivity</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(0, 3));">1.4 Adding HTML content</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(0, 4));">1.5 Bonus: Sparkle Animations</a></li>
</ul>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Image Recognition and 3D</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(1, 0));">2.1 3D Model on Target</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(1, 1));">2.2 Appearing Animation</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(1, 2));">2.3 Interactivity</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(1, 3));">2.4 Snap To Screen</a></li>
</ul>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Point of Interest</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(2, 0));">3.1 POI at Location</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(2, 1));">3.2 POI with Label</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(2, 2));">3.3 Multiple POIs</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(2, 3));">3.4 Selecting POIs</a></li>
</ul>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Retrieving POI Data</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(3, 0));">4.1 From application model</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(3, 1));">4.2 From a local resource</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(3, 2));">4.3 From a web service</a></li>
</ul>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Browsing POIs</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(4, 0));">5.1 Presenting POI Details</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(4, 1));">5.2 POI and AR Radar</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(4, 2));">5.3 Limiting Visible POIs</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(4, 3));">5.4 Reloading Content</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(4, 4));">5.5 Capture Screen Bonus</a></li>
</ul>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Video Drawables</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(5, 0));">6.1 Simple Video</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(5, 1));">6.2 Playback States</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(5, 2));">6.3 Snapping Video</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(5, 3));">6.4 Bonus: Transparent Video</a></li>
</ul>
</div>
<div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="d">
<h4>Demos</h4>
<ul data-role="listview">
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(6, 0));">99.1 Image Recognition and Geo</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(6, 1));">99.2 Solar System (Geo)</a></li>
<li><a href="javascript:app.loadARchitectWorld(getSamplePath(6, 2));">99.3 Solar System (IR)</a></li>
</ul>
</div>
</div>
<script type="text/javascript">
$( "#url-button" ).bind( "click", function(event, ui) {
app.loadARchitectWorld($("#url").val());
});
</script>
</body>
</html>