| 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='GridXZExample.x3d'/> |
| 6 | <meta name='creator' content='Don Brutzman'/> |
| 7 | <meta name='created' content='2 February 2003'/> |
| 8 | <meta name='modified' content='28 November 2019'/> |
| 9 | <meta name=' TODO ' content=' update corresponding X3D-Edit template to match quoting of MFString fieldValues '/> |
| 10 | <meta name='description' content='Line grid authoring tool to enable precise measurement of objects in 3D space - fixed position. Oriented along XZ plane, default size 20m by 20m, default block size 1m by 1m.'/> |
| 11 | <meta name='identifier' content='https://savage.nps.edu/Savage/Tools/Authoring/GridXZExample.x3d'/> |
| 12 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
| 13 | <meta name='license' content='../../license.html'/> |
| 14 | </head> |
| 15 | <Scene> |
| 16 | <WorldInfo title='GridXZExample.x3d'/> |
| 17 | <ExternProtoDeclare name='GridXZ' appinfo='Line grid authoring tool to enable precise measurement of objects in 3D space - fixed position. Oriented along XZ plane size 20m by 20m.' url=' "GridXZPrototype.x3d#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.x3d#GridXZ" "GridXZPrototype.wrl#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" '> |
| 18 |
<field name='description' type='SFString' accessType='initializeOnly'
appinfo='Purpose of this grid displayed for overall Viewpoint'/> |
| 19 |
<field name='labelColor' type='SFColor' accessType='inputOutput'
appinfo='color for descriptive labels at grid edges and corners'/> |
| 20 |
<field name='scale' type='SFVec3f' accessType='inputOutput'
appinfo='default unscaled size: 10m by 10m'/> |
| 21 |
<field name='labelsOffset' type='SFVec3f' accessType='inputOutput'
appinfo='label location offset (in meters) to improve readability'/> |
| 22 | <field name='originLabel' type='MFString' accessType='inputOutput'/> |
| 23 |
<field name='NorthLabel' type='MFString' accessType='inputOutput'
appinfo='-Z axis'/> |
| 24 | <field name='NorthEastLabel' type='MFString' accessType='inputOutput'/> |
| 25 |
<field name='EastLabel' type='MFString' accessType='inputOutput'
appinfo='+X axis'/> |
| 26 | <field name='SouthEastLabel' type='MFString' accessType='inputOutput'/> |
| 27 |
<field name='SouthLabel' type='MFString' accessType='inputOutput'
appinfo='+Z axis'/> |
| 28 | <field name='SouthWestLabel' type='MFString' accessType='inputOutput'/> |
| 29 |
<field name='WestLabel' type='MFString' accessType='inputOutput'
appinfo='-X axis'/> |
| 30 | <field name='NorthWestLabel' type='MFString' accessType='inputOutput'/> |
| 31 | </ExternProtoDeclare> |
| 32 | <!-- default values provided in this instance --> |
| 33 | <ProtoInstance name='GridXZ'> |
| 34 | <fieldValue name='description' value='GridXZ'/> |
| 35 | <fieldValue name='labelColor' value='1 1 1'/> |
| 36 | <fieldValue name='scale' value='1 1 1'/> |
| 37 | <fieldValue name='labelsOffset' value='0 -0.5 0'/> |
| 38 | <fieldValue name='originLabel' value='"origin" "0 0 0"'/> |
| 39 | <fieldValue name='NorthLabel' value='"North" "-Z"'/> |
| 40 | <fieldValue name='NorthEastLabel' value='"10 0 -10"'/> |
| 41 | <fieldValue name='EastLabel' value='"East" "+X"'/> |
| 42 | <fieldValue name='SouthEastLabel' value='"10 0 10"'/> |
| 43 | <fieldValue name='SouthLabel' value='"South" "+Z"'/> |
| 44 | <fieldValue name='SouthWestLabel' value='"-10 0 10"'/> |
| 45 | <fieldValue name='WestLabel' value='"West" "-X"'/> |
| 46 | <fieldValue name='NorthWestLabel' value='"-10 0 -10"'/> |
| 47 | </ProtoInstance> |
| 48 | </Scene> |
| 49 | </X3D> |
<!--
Color-coding legend: X3D terminology
<X3dNode field='value'/>
matches XML terminology
<XmlElement attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->