1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
4 | <head> |
5 | <meta name='title' content='driver.x3d'/> |
6 | <meta name='reference' content='http://www.nist.gov/vrml.html'/> |
7 | <meta name='reference' content='http://www.itl.nist.gov/div897/ctg/vrml/vrml.html'/> |
8 | <meta name='creator' content='http://www.itl.nist.gov/div897/ctg/vrml/members.html'/> |
9 | <meta name='disclaimer' content='This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology (NIST). This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. '/> |
10 | <meta name='reference' content='Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml'/> |
11 | <meta name='reference' content='Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml'/> |
12 | <meta name='info' content='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d'/> |
13 | <meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/> |
14 | <meta name='translated' content='21 January 2001'/> |
15 | <meta name='modified' content='28 August 2023'/> |
16 | <meta name='reference' content='X3dForWebAuthorsTextFontStyleFigure2.11.png'/> |
17 | <meta name='reference' content='X3dForWebAuthorsTextFontStyleFigure2.12.png'/> |
18 | <meta name='description' content='Test all possible combinations of "horizontal", "justify", "leftToRight" and "topToBottom" for major and minor Text axes. The viewer can select any combination of buttons and verify the correct Text orientation and spacing using the example images to the left of the browser window.'/> |
19 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/driver.x3d'/> |
20 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
21 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
22 | <meta name='license' content='../../license.html'/> |
23 | </head> |
24 | <Scene> |
25 | <WorldInfo title='driver.x3d'/> |
26 | <Viewpoint description='Click white boxes to change settings' position='0 0 26'/> |
27 | |
28 | <Shape> |
29 | <Appearance> |
30 | <Material/> |
31 | </Appearance> |
32 | <Text DEF='MYTEXT' string='"Read" "some text" "today!"'> |
33 | |
34 | </Text> |
35 | </Shape> |
36 | </Transform> |
37 | <Transform scale='0.9 0.9 0.9'> |
38 | <Shape> |
39 | <IndexedLineSet DEF='LINES' coordIndex='0 1 -1 1 2 -1 3 4 -1 4 5 -1 6 7 -1 7 8 -1 9 10 -1 10 11 -1 12 13 -1 13 14 -1 15 16 -1 16 17 -1 18 19 -1 19 20 -1 21 22 -1 22 23 -1 24 25 -1 25 26 -1 27 28 -1 28 29 -1 30 31 -1 31 32 -1 33 34 -1 34 35 -1 36 37 -1 37 38 -1 39 40 -1 40 41 -1 42 43 -1 43 44 -1 45 46 -1 46 47 -1 48 49 -1 49 50 -1 51 52 -1 52 53 -1 54 55 -1 55 56 -1 57 58 -1 58 59 -1'> |
40 | <Coordinate point='-10 -5 0 0 -5 0 10 -5 0 -10 -4 0 0 -4 0 10 -4 0 -10 -3 0 0 -3 0 10 -3 0 -10 -2 0 0 -2 0 10 -2 0 -10 -1 0 0 -1 0 10 -1 0 -10 1 0 0 1 0 10 1 0 -10 2 0 0 2 0 10 2 0 -10 3 0 0 3 0 10 3 0 -10 4 0 0 4 0 10 4 0 -10 5 0 0 5 0 10 5 0 -4 6 0 0 6 0 4 6 0 -4 7 0 0 7 0 4 7 0 -4 8 0 0 8 0 4 8 0 -4 9 0 0 9 0 4 9 0 -4 10 0 0 10 0 4 10 0 -4 -6 0 0 -6 0 4 -6 0 -4 -7 0 0 -7 0 4 -7 0 -4 -8 0 0 -8 0 4 -8 0 -4 -9 0 0 -9 0 4 -9 0 -4 -10 0 0 -10 0 4 -10 0'/> |
41 | </IndexedLineSet> |
42 | <Appearance> |
43 | <Material emissiveColor='0 1 0'/> |
44 | </Appearance> |
45 | </Shape> |
46 | </Transform> |
47 | |
48 | <Shape> |
49 | <Appearance> |
50 | <Material emissiveColor='1 0 0'/> |
51 | </Appearance> |
52 | <IndexedLineSet coordIndex='0 1 -1 2 3 -1'> |
53 | <Coordinate point='-10 0 0 10 0 0 0 10 0 0 -10 0'/> |
54 | </IndexedLineSet> |
55 | </Shape> |
56 | </Transform> |
57 | <Transform DEF='BEGIN_TRANS'> |
58 | <Transform translation='-12.5 7 0'> |
59 | <Shape> |
60 | <Appearance> |
61 |
<!-- Material
BEGINMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='BEGINMATERIAL' ambientIntensity='1' diffuseColor='0 1 0'/> |
62 | </Appearance> |
63 | <Box DEF='BEGIN' size='4.5 3 0.1'/> |
64 | </Shape> |
65 | <Transform translation='-1.2 0.5 0.2'> |
66 | <Shape> |
67 | <Appearance> |
68 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
69 | </Appearance> |
70 | <Text string='"justify" "BEGIN" "(major)"'> |
71 | <FontStyle size='0.8' style='BOLD'/> |
72 | </Text> |
73 | </Shape> |
74 | </Transform> |
75 | </Transform> |
76 |
<!-- ROUTE information for TOUCHBEGIN node:
[from touchTime to TEXT_SCRIPT.justifyMajorBegin
]
-->
<TouchSensor DEF='TOUCHBEGIN' description='reset Fontstyle to indicated setting'/> |
77 | </Transform> |
78 | <Transform DEF='FIRST_TRANS'> |
79 | <Transform translation='-6 7 0'> |
80 | <Shape> |
81 | <Appearance> |
82 |
<!-- Material
FIRSTMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='FIRSTMATERIAL' ambientIntensity='1' diffuseColor='1 1 1'/> |
83 | </Appearance> |
84 | <Box DEF='FIRST' size='4.5 3 0.1'/> |
85 | </Shape> |
86 | <Transform translation='-1.2 0.5 0.2'> |
87 | <Shape> |
88 | <Appearance> |
89 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
90 | </Appearance> |
91 | <Text string='"justify" "FIRST" "(major)"'> |
92 | <FontStyle size='0.8' style='BOLD'/> |
93 | </Text> |
94 | </Shape> |
95 | </Transform> |
96 | </Transform> |
97 |
<!-- ROUTE information for TOUCHFIRST node:
[from touchTime to TEXT_SCRIPT.justifyMajorFirst
]
-->
<TouchSensor DEF='TOUCHFIRST' description='reset Fontstyle to indicated setting'/> |
98 | </Transform> |
99 | <Transform DEF='MIDDLE_TRANS'> |
100 | <Transform translation='6 7 0'> |
101 | <Shape> |
102 | <Appearance> |
103 |
<!-- Material
MIDDLEMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='MIDDLEMATERIAL' ambientIntensity='1' diffuseColor='1 1 1'/> |
104 | </Appearance> |
105 | <Box DEF='MIDDLE' size='4.5 3 0.1'/> |
106 | </Shape> |
107 | <Transform translation='-1.2 0.5 0.2'> |
108 | <Shape> |
109 | <Appearance> |
110 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
111 | </Appearance> |
112 | <Text string='"justify" "MIDDLE" "(major)"'> |
113 | <FontStyle size='0.8' style='BOLD'/> |
114 | </Text> |
115 | </Shape> |
116 | </Transform> |
117 | </Transform> |
118 |
<!-- ROUTE information for TOUCHMIDDLE node:
[from touchTime to TEXT_SCRIPT.justifyMajorMiddle
]
-->
<TouchSensor DEF='TOUCHMIDDLE' description='reset Fontstyle to indicated setting'/> |
119 | </Transform> |
120 | <Transform DEF='END_TRANS'> |
121 | <Transform translation='12.5 7 0'> |
122 | <Shape> |
123 | <Appearance> |
124 |
<!-- Material
ENDMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='ENDMATERIAL' ambientIntensity='1' diffuseColor='1 1 1'/> |
125 | </Appearance> |
126 | <Box DEF='END' size='4.5 3 0.1'/> |
127 | </Shape> |
128 | <Transform translation='-1.2 0.5 0.2'> |
129 | <Shape> |
130 | <Appearance> |
131 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
132 | </Appearance> |
133 | <Text string='"justify" "END" "(major)"'> |
134 | <FontStyle size='0.8' style='BOLD'/> |
135 | </Text> |
136 | </Shape> |
137 | </Transform> |
138 | </Transform> |
139 |
<!-- ROUTE information for TOUCHEND node:
[from touchTime to TEXT_SCRIPT.justifyMajorEnd
]
-->
<TouchSensor DEF='TOUCHEND' description='reset Fontstyle to indicated setting'/> |
140 | </Transform> |
141 | <Transform DEF='BEGIN_TRANS_MINOR'> |
142 | <Transform translation='-12.5 -7 0'> |
143 | <Shape> |
144 | <Appearance> |
145 |
<!-- Material
BEGINMATERIAL_MINOR is a DEF node that has 1 USE node: USE_1 --> <Material DEF='BEGINMATERIAL_MINOR' ambientIntensity='1' diffuseColor='1 1 1'/> |
146 | </Appearance> |
147 | <Box DEF='BEGIN_MINOR' size='4.5 3 0.1'/> |
148 | </Shape> |
149 | <Transform translation='-1.2 0.5 0.2'> |
150 | <Shape> |
151 | <Appearance> |
152 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
153 | </Appearance> |
154 | <Text string='"justify" "BEGIN" "(minor)"'> |
155 | <FontStyle size='0.8' style='BOLD'/> |
156 | </Text> |
157 | </Shape> |
158 | </Transform> |
159 | </Transform> |
160 |
<!-- ROUTE information for TOUCHBEGIN_MINOR node:
[from touchTime to TEXT_SCRIPT.justifyMinorBegin
]
-->
<TouchSensor DEF='TOUCHBEGIN_MINOR' description='reset Fontstyle to indicated setting'/> |
161 | </Transform> |
162 | <Transform DEF='FIRST_TRANS_MINOR'> |
163 | <Transform translation='-6 -7 0'> |
164 | <Shape> |
165 | <Appearance> |
166 |
<!-- Material
FIRSTMATERIAL_MINOR is a DEF node that has 1 USE node: USE_1 --> <Material DEF='FIRSTMATERIAL_MINOR' ambientIntensity='1' diffuseColor='0 1 0'/> |
167 | </Appearance> |
168 | <Box DEF='FIRST_MINOR' size='4.5 3 0.1'/> |
169 | </Shape> |
170 | <Transform translation='-1.2 0.5 0.2'> |
171 | <Shape> |
172 | <Appearance> |
173 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
174 | </Appearance> |
175 | <Text string='"justify" "FIRST" "(minor)"'> |
176 | <FontStyle size='0.8' style='BOLD'/> |
177 | </Text> |
178 | </Shape> |
179 | </Transform> |
180 | </Transform> |
181 |
<!-- ROUTE information for TOUCHFIRST_MINOR node:
[from touchTime to TEXT_SCRIPT.justifyMinorFirst
]
-->
<TouchSensor DEF='TOUCHFIRST_MINOR' description='reset Fontstyle to indicated setting'/> |
182 | </Transform> |
183 | <Transform DEF='MIDDLE_TRANS_MINOR'> |
184 | <Transform translation='6 -7 0'> |
185 | <Shape> |
186 | <Appearance> |
187 |
<!-- Material
MIDDLEMATERIAL_MINOR is a DEF node that has 1 USE node: USE_1 --> <Material DEF='MIDDLEMATERIAL_MINOR' ambientIntensity='1' diffuseColor='1 1 1'/> |
188 | </Appearance> |
189 | <Box DEF='MIDDLE_MINOR' size='4.5 3 0.1'/> |
190 | </Shape> |
191 | <Transform translation='-1.2 0.5 0.2'> |
192 | <Shape> |
193 | <Appearance> |
194 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
195 | </Appearance> |
196 | <Text string='"justify" "MIDDLE" "(minor)"'> |
197 | <FontStyle size='0.8' style='BOLD'/> |
198 | </Text> |
199 | </Shape> |
200 | </Transform> |
201 | </Transform> |
202 |
<!-- ROUTE information for TOUCHMIDDLE_MINOR node:
[from touchTime to TEXT_SCRIPT.justifyMinorMiddle
]
-->
<TouchSensor DEF='TOUCHMIDDLE_MINOR' description='reset Fontstyle to indicated setting'/> |
203 | </Transform> |
204 | <Transform DEF='END_TRANS_MINOR'> |
205 | <Transform translation='12.5 -7 0'> |
206 | <Shape> |
207 | <Appearance> |
208 |
<!-- Material
ENDMATERIAL_MINOR is a DEF node that has 1 USE node: USE_1 --> <Material DEF='ENDMATERIAL_MINOR' ambientIntensity='1' diffuseColor='1 1 1'/> |
209 | </Appearance> |
210 | <Box DEF='END_MINOR' size='4.5 3 0.1'/> |
211 | </Shape> |
212 | <Transform translation='-1.2 0.5 0.2'> |
213 | <Shape> |
214 | <Appearance> |
215 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
216 | </Appearance> |
217 | <Text string='"justify" "END" "(minor)"'> |
218 | <FontStyle size='0.8' style='BOLD'/> |
219 | </Text> |
220 | </Shape> |
221 | </Transform> |
222 | </Transform> |
223 |
<!-- ROUTE information for TOUCHEND_MINOR node:
[from touchTime to TEXT_SCRIPT.justifyMinorEnd
]
-->
<TouchSensor DEF='TOUCHEND_MINOR' description='reset Fontstyle to indicated setting'/> |
224 | </Transform> |
225 | <Transform DEF='LEFTTORIGHT_true_TRANS'> |
226 | <Transform translation='-12.5 -3 0'> |
227 | <Shape> |
228 | <Appearance> |
229 |
<!-- Material
LEFTTORIGHT_trueMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='LEFTTORIGHT_trueMATERIAL' ambientIntensity='1' diffuseColor='0 1 0'/> |
230 | </Appearance> |
231 | <Box DEF='LEFTTORIGHT_true' size='4.5 2 0.1'/> |
232 | </Shape> |
233 | <Transform translation='-2 0.2 0.2'> |
234 | <Shape> |
235 | <Appearance> |
236 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
237 | </Appearance> |
238 | <Text string='"leftToRight" "true"'> |
239 | <FontStyle size='0.8' style='BOLD'/> |
240 | </Text> |
241 | </Shape> |
242 | </Transform> |
243 | </Transform> |
244 |
<!-- ROUTE information for TOUCHLEFTTORIGHT_true node:
[from touchTime to TEXT_SCRIPT.leftToRightTrue
]
-->
<TouchSensor DEF='TOUCHLEFTTORIGHT_true' description='reset Fontstyle to indicated setting'/> |
245 | </Transform> |
246 | <Transform DEF='HORIZONTAL_true_TRANS'> |
247 | <Transform translation='-12.5 3 0'> |
248 | <Shape> |
249 | <Appearance> |
250 |
<!-- Material
HORIZONTAL_trueMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='HORIZONTAL_trueMATERIAL' ambientIntensity='1' diffuseColor='0 1 0'/> |
251 | </Appearance> |
252 | <Box DEF='HORIZONTAL_true' size='4.5 2 0.1'/> |
253 | </Shape> |
254 | <Transform translation='-1.8 0.2 0.2'> |
255 | <Shape> |
256 | <Appearance> |
257 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
258 | </Appearance> |
259 | <Text string='"horizontal" "true"'> |
260 | <FontStyle size='0.8' style='BOLD'/> |
261 | </Text> |
262 | </Shape> |
263 | </Transform> |
264 | </Transform> |
265 |
<!-- ROUTE information for TOUCHHORIZONTAL_true node:
[from touchTime to TEXT_SCRIPT.horizontalTrue
]
-->
<TouchSensor DEF='TOUCHHORIZONTAL_true' description='reset Fontstyle to indicated setting'/> |
266 | </Transform> |
267 | <Transform DEF='LEFTTORIGHT_false_TRANS'> |
268 | <Transform translation='12.5 -3 0'> |
269 | <Shape> |
270 | <Appearance> |
271 |
<!-- Material
LEFTTORIGHT_falseMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='LEFTTORIGHT_falseMATERIAL' ambientIntensity='1' diffuseColor='1 1 1'/> |
272 | </Appearance> |
273 | <Box DEF='LEFTTORIGHT_false' size='4.5 2 0.1'/> |
274 | </Shape> |
275 | <Transform translation='-2 0.2 0.2'> |
276 | <Shape> |
277 | <Appearance> |
278 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
279 | </Appearance> |
280 | <Text string='"leftToRight" "false"'> |
281 | <FontStyle size='0.8' style='BOLD'/> |
282 | </Text> |
283 | </Shape> |
284 | </Transform> |
285 | </Transform> |
286 |
<!-- ROUTE information for TOUCHLEFTTORIGHT_false node:
[from touchTime to TEXT_SCRIPT.leftToRightFalse
]
-->
<TouchSensor DEF='TOUCHLEFTTORIGHT_false' description='reset Fontstyle to indicated setting'/> |
287 | </Transform> |
288 | <Transform DEF='HORIZONTAL_false_TRANS'> |
289 | <Transform translation='12.5 3 0'> |
290 | <Shape> |
291 | <Appearance> |
292 |
<!-- Material
HORIZONTAL_falseMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='HORIZONTAL_falseMATERIAL' ambientIntensity='1' diffuseColor='1 1 1'/> |
293 | </Appearance> |
294 | <Box DEF='HORIZONTAL_false' size='4.5 2 0.1'/> |
295 | </Shape> |
296 | <Transform translation='-1.8 0.2 0.2'> |
297 | <Shape> |
298 | <Appearance> |
299 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
300 | </Appearance> |
301 | <Text string='"horizontal" "false"'> |
302 | <FontStyle size='0.8' style='BOLD'/> |
303 | </Text> |
304 | </Shape> |
305 | </Transform> |
306 | </Transform> |
307 |
<!-- ROUTE information for TOUCHHORIZONTAL_false node:
[from touchTime to TEXT_SCRIPT.horizontalFalse
]
-->
<TouchSensor DEF='TOUCHHORIZONTAL_false' description='reset Fontstyle to indicated setting'/> |
308 | </Transform> |
309 | <Transform DEF='TOPTOBOTTOM_true_TRANS'> |
310 | <Transform translation='-12.5 0 0'> |
311 | <Shape> |
312 | <Appearance> |
313 |
<!-- Material
TOPTOBOTTOM_trueMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='TOPTOBOTTOM_trueMATERIAL' ambientIntensity='1' diffuseColor='0 1 0'/> |
314 | </Appearance> |
315 | <Box DEF='TOPTOBOTTOM_true' size='4.5 2 0.1'/> |
316 | </Shape> |
317 | <Transform translation='-1.8 0.2 0.2'> |
318 | <Shape> |
319 | <Appearance> |
320 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
321 | </Appearance> |
322 | <Text string='"topToBottom" "true"'> |
323 | <FontStyle size='0.8' style='BOLD'/> |
324 | </Text> |
325 | </Shape> |
326 | </Transform> |
327 | </Transform> |
328 |
<!-- ROUTE information for TOUCHTOPTOBOTTOM_true node:
[from touchTime to TEXT_SCRIPT.topToBottomTrue
]
-->
<TouchSensor DEF='TOUCHTOPTOBOTTOM_true' description='reset Fontstyle to indicated setting'/> |
329 | </Transform> |
330 | <Transform DEF='TOPTOBOTTOM_false_TRANS'> |
331 | <Transform translation='12.5 0 0'> |
332 | <Shape> |
333 | <Appearance> |
334 |
<!-- Material
TOPTOBOTTOM_falseMATERIAL is a DEF node that has 1 USE node: USE_1 --> <Material DEF='TOPTOBOTTOM_falseMATERIAL' ambientIntensity='1' diffuseColor='1 1 1'/> |
335 | </Appearance> |
336 | <Box DEF='TOPTOBOTTOM_false' size='4.5 2 0.1'/> |
337 | </Shape> |
338 | <Transform translation='-1.8 0.2 0.2'> |
339 | <Shape> |
340 | <Appearance> |
341 | <Material ambientIntensity='1' diffuseColor='0 0 0'/> |
342 | </Appearance> |
343 | <Text string='"topToBottom" "false"'> |
344 | <FontStyle size='0.8' style='BOLD'/> |
345 | </Text> |
346 | </Shape> |
347 | </Transform> |
348 | </Transform> |
349 |
<!-- ROUTE information for TOUCHTOPTOBOTTOM_false node:
[from touchTime to TEXT_SCRIPT.topToBottomFalse
]
-->
<TouchSensor DEF='TOUCHTOPTOBOTTOM_false' description='reset Fontstyle to indicated setting'/> |
350 | </Transform> |
351 |
<!-- ROUTE information for TEXT_SCRIPT node:
[from TOUCHTOPTOBOTTOM_true.touchTime to topToBottomTrue
]
[from TOUCHTOPTOBOTTOM_false.touchTime to topToBottomFalse
]
[from TOUCHLEFTTORIGHT_true.touchTime to leftToRightTrue
]
[from TOUCHLEFTTORIGHT_false.touchTime to leftToRightFalse
]
[from TOUCHHORIZONTAL_true.touchTime to horizontalTrue
]
[from TOUCHHORIZONTAL_false.touchTime to horizontalFalse
]
[from TOUCHBEGIN.touchTime to justifyMajorBegin
]
[from TOUCHFIRST.touchTime to justifyMajorFirst
]
[from TOUCHMIDDLE.touchTime to justifyMajorMiddle
]
[from TOUCHEND.touchTime to justifyMajorEnd
]
[from TOUCHBEGIN_MINOR.touchTime to justifyMinorBegin
]
[from TOUCHFIRST_MINOR.touchTime to justifyMinorFirst
]
[from TOUCHMIDDLE_MINOR.touchTime to justifyMinorMiddle
]
[from TOUCHEND_MINOR.touchTime to justifyMinorEnd
]
-->
<Script DEF='TEXT_SCRIPT' directOutput='true' url=' "driver.js" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/driver.js" '> |
352 | <field name='axes' type='SFNode' accessType='initializeOnly'> |
353 | <Transform USE='AXES'/> |
354 | </field> |
355 | <field name='myTrans' type='SFNode' accessType='initializeOnly'> |
356 | <Transform USE='MYTRANS'/> |
357 | </field> |
358 | <field name='myFont' type='SFNode' accessType='initializeOnly'> |
359 | <FontStyle USE='MYFONT'/> |
360 | </field> |
361 | <field name='justify' type='MFString' value='"BEGIN"' accessType='initializeOnly'/> |
362 | <field name='myURL' type='SFString' value='../../html/write_list.cgi?' accessType='initializeOnly'/> |
363 | <field name='cgiString' type='SFString' value='+FontStyle+Appearance' accessType='initializeOnly'/> |
364 | <field name='myParameter' type='MFString' value='"target=_top"' accessType='initializeOnly'/> |
365 | <field name='green' type='SFColor' value='0 1 0' accessType='initializeOnly'/> |
366 | <field name='white' type='SFColor' value='1 1 1' accessType='initializeOnly'/> |
367 | <field name='myFalse' type='SFString' value='false' accessType='initializeOnly'/> |
368 | <field name='myTrue' type='SFString' value='true' accessType='initializeOnly'/> |
369 | <field name='begin' type='SFString' value='BEGIN' accessType='initializeOnly'/> |
370 | <field name='middle' type='SFString' value='MIDDLE' accessType='initializeOnly'/> |
371 | <field name='end' type='SFString' value='END' accessType='initializeOnly'/> |
372 | <field name='first' type='SFString' value='FIRST' accessType='initializeOnly'/> |
373 | <field name='moveUp' type='SFVec3f' value='0 4 0' accessType='initializeOnly'/> |
374 | <field name='moveDown' type='SFVec3f' value='0 -4 0' accessType='initializeOnly'/> |
375 | <field name='topToBottomTrueMaterial' type='SFNode' accessType='initializeOnly'> |
376 | <Material USE='TOPTOBOTTOM_trueMATERIAL'/> |
377 | </field> |
378 | <field name='topToBottomFalseMaterial' type='SFNode' accessType='initializeOnly'> |
379 | <Material USE='TOPTOBOTTOM_falseMATERIAL'/> |
380 | </field> |
381 | <field name='leftToRightFalseMaterial' type='SFNode' accessType='initializeOnly'> |
382 | <Material USE='LEFTTORIGHT_falseMATERIAL'/> |
383 | </field> |
384 | <field name='leftToRightTrueMaterial' type='SFNode' accessType='initializeOnly'> |
385 | <Material USE='LEFTTORIGHT_trueMATERIAL'/> |
386 | </field> |
387 | <field name='horizontalFalseMaterial' type='SFNode' accessType='initializeOnly'> |
388 | <Material USE='HORIZONTAL_falseMATERIAL'/> |
389 | </field> |
390 | <field name='horizontalTrueMaterial' type='SFNode' accessType='initializeOnly'> |
391 | <Material USE='HORIZONTAL_trueMATERIAL'/> |
392 | </field> |
393 | <field name='beginMaterialMinor' type='SFNode' accessType='initializeOnly'> |
394 | <Material USE='BEGINMATERIAL_MINOR'/> |
395 | </field> |
396 | <field name='firstMaterialMinor' type='SFNode' accessType='initializeOnly'> |
397 | <Material USE='FIRSTMATERIAL_MINOR'/> |
398 | </field> |
399 | <field name='middleMaterialMinor' type='SFNode' accessType='initializeOnly'> |
400 | <Material USE='MIDDLEMATERIAL_MINOR'/> |
401 | </field> |
402 | <field name='endMaterialMinor' type='SFNode' accessType='initializeOnly'> |
403 | <Material USE='ENDMATERIAL_MINOR'/> |
404 | </field> |
405 | <field name='beginMaterial' type='SFNode' accessType='initializeOnly'> |
406 | <Material USE='BEGINMATERIAL'/> |
407 | </field> |
408 | <field name='firstMaterial' type='SFNode' accessType='initializeOnly'> |
409 | <Material USE='FIRSTMATERIAL'/> |
410 | </field> |
411 | <field name='middleMaterial' type='SFNode' accessType='initializeOnly'> |
412 | <Material USE='MIDDLEMATERIAL'/> |
413 | </field> |
414 | <field name='endMaterial' type='SFNode' accessType='initializeOnly'> |
415 | <Material USE='ENDMATERIAL'/> |
416 | </field> |
417 | <field name='topToBottomTrue' type='SFTime' accessType='inputOnly'/> |
418 | <field name='topToBottomFalse' type='SFTime' accessType='inputOnly'/> |
419 | <field name='leftToRightTrue' type='SFTime' accessType='inputOnly'/> |
420 | <field name='leftToRightFalse' type='SFTime' accessType='inputOnly'/> |
421 | <field name='horizontalTrue' type='SFTime' accessType='inputOnly'/> |
422 | <field name='horizontalFalse' type='SFTime' accessType='inputOnly'/> |
423 | <field name='justifyMajorBegin' type='SFTime' accessType='inputOnly'/> |
424 | <field name='justifyMajorFirst' type='SFTime' accessType='inputOnly'/> |
425 | <field name='justifyMajorMiddle' type='SFTime' accessType='inputOnly'/> |
426 | <field name='justifyMajorEnd' type='SFTime' accessType='inputOnly'/> |
427 | <field name='justifyMinorBegin' type='SFTime' accessType='inputOnly'/> |
428 | <field name='justifyMinorFirst' type='SFTime' accessType='inputOnly'/> |
429 | <field name='justifyMinorMiddle' type='SFTime' accessType='inputOnly'/> |
430 | <field name='justifyMinorEnd' type='SFTime' accessType='inputOnly'/> |
431 | <field name='getFile' type='SFTime' accessType='inputOnly'/> |
432 | <field name='justifyMajor' type='SFString' value='BEGIN' accessType='initializeOnly'/> |
433 | <field name='justifyMinor' type='SFString' value='FIRST' accessType='initializeOnly'/> |
434 | <field name='topToBottom' type='SFString' value='true' accessType='initializeOnly'/> |
435 | <field name='leftToRight' type='SFString' value='true' accessType='initializeOnly'/> |
436 | <field name='horizontal' type='SFString' value='true' accessType='initializeOnly'/> |
437 | </Script> |
438 | < ROUTE fromNode='TOUCHTOPTOBOTTOM_true' fromField='touchTime' toNode='TEXT_SCRIPT' toField='topToBottomTrue'/> |
439 | < ROUTE fromNode='TOUCHTOPTOBOTTOM_false' fromField='touchTime' toNode='TEXT_SCRIPT' toField='topToBottomFalse'/> |
440 | < ROUTE fromNode='TOUCHLEFTTORIGHT_true' fromField='touchTime' toNode='TEXT_SCRIPT' toField='leftToRightTrue'/> |
441 | < ROUTE fromNode='TOUCHLEFTTORIGHT_false' fromField='touchTime' toNode='TEXT_SCRIPT' toField='leftToRightFalse'/> |
442 | < ROUTE fromNode='TOUCHHORIZONTAL_true' fromField='touchTime' toNode='TEXT_SCRIPT' toField='horizontalTrue'/> |
443 | < ROUTE fromNode='TOUCHHORIZONTAL_false' fromField='touchTime' toNode='TEXT_SCRIPT' toField='horizontalFalse'/> |
444 | < ROUTE fromNode='TOUCHBEGIN' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMajorBegin'/> |
445 | < ROUTE fromNode='TOUCHFIRST' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMajorFirst'/> |
446 | < ROUTE fromNode='TOUCHMIDDLE' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMajorMiddle'/> |
447 | < ROUTE fromNode='TOUCHEND' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMajorEnd'/> |
448 | < ROUTE fromNode='TOUCHBEGIN_MINOR' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMinorBegin'/> |
449 | < ROUTE fromNode='TOUCHFIRST_MINOR' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMinorFirst'/> |
450 | < ROUTE fromNode='TOUCHMIDDLE_MINOR' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMinorMiddle'/> |
451 | < ROUTE fromNode='TOUCHEND_MINOR' fromField='touchTime' toNode='TEXT_SCRIPT' toField='justifyMinorEnd'/> |
452 | </Scene> |
453 | </X3D> |
Event Graph ROUTE Table entries with 14 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
TOUCHBEGIN
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMajorBegin SFTime |
TOUCHBEGIN_MINOR
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMinorBegin SFTime |
TOUCHEND
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMajorEnd SFTime |
TOUCHEND_MINOR
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMinorEnd SFTime |
TOUCHFIRST
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMajorFirst SFTime |
TOUCHFIRST_MINOR
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMinorFirst SFTime |
TOUCHHORIZONTAL_false
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script horizontalFalse SFTime |
TOUCHHORIZONTAL_true
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script horizontalTrue SFTime |
TOUCHLEFTTORIGHT_false
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script leftToRightFalse SFTime |
TOUCHLEFTTORIGHT_true
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script leftToRightTrue SFTime |
TOUCHMIDDLE
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMajorMiddle SFTime |
TOUCHMIDDLE_MINOR
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script justifyMinorMiddle SFTime |
TOUCHTOPTOBOTTOM_false
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script topToBottomFalse SFTime |
TOUCHTOPTOBOTTOM_true
TouchSensor touchTime SFTime |
TEXT_SCRIPT
Script topToBottomTrue SFTime |
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->