1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
3
<X3D profile='Full' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.3.xsd'>
5
<meta name='comment' content='World of Titania'/>
6
<meta name='created' content='Fri, 10 Apr 2015 06:06:50 GMT'/>
7
<meta name='creator' content='Holger Seelig'/>
8
<meta name='generator' content='Titania V0.7.7, http://titania.create3000.de'/>
9
<meta name='modified' content='Fri, 10 Apr 2015 06:06:50 GMT'/>
10
<meta name='title' content='PlaneSensor'/>
14
translation='3.65468 0.0348776 2.6975'
15
rotation='-0.57735 0.57735 0.577351 2.09439'
16
scale='26.825 26.8249 26.825'
17
scaleOrientation='0.025734 0.998112 0.0557681 0.774604'>
20
position='0.00763417 1.06064 5.59705'
21
centerOfRotation='0.00763417 1.06064 0'/>
25
orientation='0 1 0 3.14159'/>
29
orientation='-0 -1 -0 1.5708'/>
33
orientation='0 1 0 1.5708'/>
34
<PlaneSensor DEF='Touch1'
35
axisRotation='0 0 1 0.78'
37
<Transform DEF='Button1'
38
scaleOrientation='-0.357407 0.862856 -0.357407 4.51948'>
39
<Transform DEF='Shape1'>
56
colorPerVertex='false'
57
colorIndex='0, 1, 2, 3, 4, 5'
58
texCoordIndex='0, 1, 3, 2, -1, 0, 1, 3, 2, -1, 0, 1, 3, 2, -1, 0, 1, 3, 2, -1, 0, 1, 3, 2, -1, 0, 1, 3, 2, -1'
59
coordIndex='0, 1, 3, 2, -1, 4, 5, 7, 6, -1, 6, 7, 1, 0, -1, 2, 3, 5, 4, -1, 6, 0, 2, 4, -1, 1, 7, 5, 3, -1'>
61
color='1 0 0, 0 1 0, 0 0 1, 1 1 0, 0 1 1, 1 0 1'/>
63
point='0 1, 0 0, 1 1, 1 0'/>
65
point='-1 1 1, -1 -1 1, 1 1 1, 1 -1 1, 1 1 -1, 1 -1 -1, -1 1 -1, -1 -1 -1'/>
72
translation='0 -1.49012e-08 0'
75
scaleOrientation='7.82146e-14 7.82146e-14 -1 1.5708'>
78
coordIndex='0, 1, 2, 3, 4, -1'>
80
point='0 0 0, 1 0 0, 1 1 0, 0 1 0, 0 0 0'/>
84
<Transform DEF='TrackPoint'
85
translation='-3.96299e-08 -4.25478e-08 0'
86
scaleOrientation='-0.357407 0.862856 -0.357407 4.51948'>
90
linewidthScaleFactor='5'/>
100
<field accessType='inputOnly' type='SFVec3f' name='set_trackPoint1'/>
101
<field accessType='inputOnly' type='SFBool' name='set_isOver1'/>
102
<field accessType='inputOnly' type='SFBool' name='set_isActive1'/>
104
function set_trackPoint1 (value)
106
print ('Touch 1 trackPoint: ' + value);
109
function set_isOver1 (value)
111
print ('Touch 1 isOver: ' + value);
114
function set_isActive1 (value)
116
print ('Touch 1 isActive: ' + value);
122
position='-88.6722 213.073 -140.126'
123
orientation='-0.687201 0.577929 0.440173 2.68045'
124
centerOfRotation='-3.18198 0.0348932 2.69748'/>
125
<ROUTE fromNode='Touch1' fromField='trackPoint_changed' toNode='TrackPoint' toField='set_translation'/>
126
<ROUTE fromNode='BBox' fromField='rotation_changed' toNode='Touch1' toField='set_axisRotation'/>
127
<ROUTE fromNode='BBox' fromField='rotation_changed' toNode='Cube' toField='set_rotation'/>
128
<ROUTE fromNode='Touch1' fromField='trackPoint_changed' toNode='Debug' toField='set_trackPoint1'/>
129
<ROUTE fromNode='Touch1' fromField='isOver' toNode='Debug' toField='set_isOver1'/>
130
<ROUTE fromNode='Touch1' fromField='isActive' toNode='Debug' toField='set_isActive1'/>
131
<ROUTE fromNode='Touch1' fromField='translation_changed' toNode='Button1' toField='set_translation'/>