X3D Model Documentation: DTEDSingleGrid.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3'  xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <component level='1' name='Geospatial'/>
  6            <meta name='title' content='DTEDSingleGrid.x3d'/>
  7            <meta name='description' content='Example of a tank placed on and oriented to a GeoTerrainGrid'/>
  8            <meta name='creator' content='Brian Hittner, CPT, U.S.A.'/>
  9            <meta name='translator' content='Xeena VRML importer with significant manual corrections'/>
 10            <meta name='created' content='10 October 2003'/>
 11            <meta name='translated' content='10 October 2003'/>
 12            <meta name='modified' content='28 November 2019'/>
 13            <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 15            <meta name='identifier' content='https://savage.nps.edu/Savage/Tools/Terrain/DTEDSingleGrid.x3d'/>
 16            <meta name='license' content='../../license.html'/>
 17       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Clock, Interpolator, ORIGIN, Top, UNITLOC, ViewPoint

Index for ExternProtoDeclare definition: GeoLocation3
-->
 18       <Scene>
 19            <WorldInfo title='DTEDSingleGrid.x3d'/>
 20            <ExternProtoDeclare name='GeoLocation3'   url=' "GeoLocation3.x3d#GeoLocation3" "https://savage.nps.edu/Savage/Tools/Terrain/GeoLocation3.x3d#GeoLocation3" "GeoLocation3.wrl#GeoLocation3" "https://savage.nps.edu/Savage/Tools/Terrain/GeoLocation3.wrl#GeoLocation3" '>
 21                 <field name='geoOrigin' type='SFNode' accessType='initializeOnly'/>
 22                 <field name='geoSystem' type='MFString' accessType='initializeOnly'/>
 23                 <field name='geoCoords' type='SFString' accessType='initializeOnly'/>
 24                 <field name='children' type='MFNode' accessType='initializeOnly'/>
 25                 <field name='autoElevation' type='SFBool' accessType='initializeOnly'/>
 26                 <field name='autoSurfaceOrientation' type='SFBool' accessType='initializeOnly'/>
 27                 <field name='debug' type='SFBool' accessType='initializeOnly'/>
 28                 <field name='set_geoCoords' type='SFString' accessType='inputOnly'/>
 29                 <field name='geoCoords_changed' type='SFString' accessType='outputOnly'/>
 30                 <field name='set_autoElevation' type='SFBool' accessType='inputOnly'/>
 31                 <field name='autoElevation_changed' type='SFBool' accessType='outputOnly'/>
 32                 <field name='set_autoSurfaceOrientation' type='SFBool' accessType='inputOnly'/>
 33                 <field name='autoSurfaceOrientation_changed' type='SFBool' accessType='outputOnly'/>
 34            </ExternProtoDeclare>
 35            <NavigationInfo speed='5000' type='"WALK"'/>
 36            <Background/>
 37            <GeoViewpoint DEF='ViewPoint' orientation='1.0 0.0 0.0 -0.5' position='29.705 52.635 2500' containerField='children'>
 38 
               <!-- GeoOrigin ORIGIN is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
               <GeoOrigin DEF='ORIGIN' geoCoords='29.0 52.0 0.0'/>
 39            </GeoViewpoint>
 40            <Group DEF='Top'>
 41                 <Inline   url=' "N2942E5237DTED2.x3d" "https://savage.nps.edu/Savage/Tools/Terrain/N2942E5237DTED2.x3d" "N2942E5237DTED2.wrl" "https://savage.nps.edu/Savage/Tools/Terrain/N2942E5237DTED2.wrl" '/>
 42            </Group>
 43 
          <!-- ROUTE information for UNITLOC node:  [from Interpolator.geovalue_changed to set_geoCoords ] -->
          <ProtoInstance name='GeoLocation3' DEF='UNITLOC'>
 44                 <fieldValue name='debug' value='true'/>
 45                 <fieldValue name='children'>
 46                      <Transform rotation='0.0 1.0 0.0 0.7854' scale='10.0 10.0 10.0' translation='0.0 15.0 0.0'>
 47                           <Inline   url=' "../../GroundVehicles/M1A1/M1A1.x3d" "https://savage.nps.edu/Savage/GroundVehicles/M1A1/M1A1.x3d" "../../GroundVehicles/M1A1/M1A1.wrl" "https://savage.nps.edu/Savage/GroundVehicles/M1A1/M1A1.wrl" '/>
 48                      </Transform>
 49                 </fieldValue>
 50                 <fieldValue name='geoCoords' value='29.7118644 52.6271186 0'/>
 51                 <fieldValue name='geoOrigin'>
 52                      <GeoOrigin USE='ORIGIN'/>
 53                 </fieldValue>
 54                 <fieldValue name='autoSurfaceOrientation' value='true'/>
 55                 <fieldValue name='autoElevation' value='true'/>
 56                 <fieldValue name='geoSystem' value='"GD" "WE"'/>
 57            </ProtoInstance>
 58 
          <!-- ROUTE information for Interpolator node:  [from Clock.fraction_changed to set_fraction ] [from geovalue_changed to UNITLOC.set_geoCoords ] -->
          <GeoPositionInterpolator DEF='Interpolator' key='0.0 0.99' keyValue='29.71186441 52.6271187 0.0 29.7288 52.64406 0.0'>
 59                 <GeoOrigin USE='ORIGIN'/>
 60            </GeoPositionInterpolator>
 61 
          <!-- ROUTE information for Clock node:  [from fraction_changed to Interpolator.set_fraction ] -->
          <TimeSensor DEF='Clock' cycleInterval='100.0' loop='true'/>
 62            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='Interpolator' toField='set_fraction'/>
 63            < ROUTE  fromNode='Interpolator' fromField='geovalue_changed' toNode='UNITLOC' toField='set_geoCoords'/>
 64       </Scene>
 65  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Clock, Interpolator, ORIGIN, Top, UNITLOC, ViewPoint

Index for ExternProtoDeclare definition: GeoLocation3
-->
X3D Tooltips element index: Background, component, ExternProtoDeclare, field, fieldValue, GeoOrigin, GeoPositionInterpolator, GeoViewpoint, Group, head, Inline, meta, NavigationInfo, ProtoInstance, ROUTE, Scene, TimeSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 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.

Clock
TimeSensor
fraction_changed
SFFloat
→
ROUTE
event to
(1)
Interpolator
GeoPositionInterpolator
set_fraction
SFFloat
then
 
 
 
Interpolator
GeoPositionInterpolator
geovalue_changed
SFVec3d
→
ROUTE
event to
(2)
UNITLOC
ProtoInstance
set_geoCoords
SFString

      UNITLOC
ProtoInstance
GeoLocation3
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://savage.nps.edu/Savage/Tools/Terrain/DTEDSingleGridIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Tools/Terrain/DTEDSingleGrid.x3d -->

<!-- Color-coding 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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->