X3D Model Documentation: GeoSpatialExternProtoDeclarations.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            <meta name='titlecontent='GeoSpatialExternProtoDeclarations.x3d'/>
  6            <meta name='descriptioncontent='GeoVrml Recommendation, Example 1: GeoElevation, using ExternProtoDeclare statements instead of GeoSpatial DTD.'/>
  7            <meta name='referencecontent='http://www.ai.sri.com/geovrml/1.0/doc'/>
  8            <meta name='creatorcontent='Don Brutzman'/>
  9            <meta name='createdcontent='22 November 2000'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name=' warning content=' Needs further verification work using GeoVrml Recommendation. '/>
 12            <meta name=' warning content=' Unresolved: are set_ and _changed methods needed? '/>
 13            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/Geospatial/GeoSpatialExternProtoDeclarations.x3d'/>
 14            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 15            <meta name='licensecontent='../license.html'/>
 16       </head>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definitions: GeoCoordinate, GeoElevationGrid, GeoInline, GeoLocation, GeoLOD, GeoMetadata, GeoOrigin, GeoPositionInterpolator, GeoViewpoint
-->
 17       <Scene>
 18            <WorldInfo title='GeoSpatialExternProtoDeclarations.x3d'/>
 19            <ExternProtoDeclare name='GeoCoordinate'   url=' "urn:web3d:geovrml:1.0/protos/GeoCoordinate.wrl#GeoCoordinate" "/Program%20Files/GeoVRML/1.0/protos/GeoCoordinate.wrl#GeoCoordinate" "http://www.ai.sri.com/geovrml/1.0/protos/GeoCoordinate.wrl#GeoCoordinate" '>
 20                 <field name='geoOrigintype='SFNodeaccessType='initializeOnly'/>
 21                 <field name='geoSystemtype='MFStringaccessType='initializeOnly'/>
 22                 <field name='pointtype='MFStringaccessType='initializeOnly'/>
 23            </ExternProtoDeclare>
 24            <ExternProtoDeclare name='GeoElevationGrid'   url=' "urn:web3d:geovrml:1.0/protos/GeoElevationGrid.wrl#GeoElevationGrid" "/Program%20Files/GeoVRML/1.0/protos/GeoElevationGrid.wrl#GeoElevationGrid" "http://www.ai.sri.com/geovrml/1.0/protos/GeoElevationGrid.wrl#GeoElevationGrid" '>
 25                 <field name='geoOrigintype='SFNodeaccessType='initializeOnly'/>
 26                 <field name='geoSystemtype='MFStringaccessType='initializeOnly'/>
 27                 <field name='geoGridOrigintype='SFStringaccessType='initializeOnly'/>
 28                 <field name='xDimensiontype='SFInt32accessType='initializeOnly'/>
 29                 <field name='xSpacingtype='SFStringaccessType='initializeOnly'/>
 30                 <field name='zDimensiontype='SFInt32accessType='initializeOnly'/>
 31                 <field name='zSpacingtype='SFStringaccessType='initializeOnly'/>
 32                 <field name='yScaletype='SFFloataccessType='initializeOnly'/>
 33                 <field name='heighttype='MFFloataccessType='initializeOnly'/>
 34                 <field name='colortype='SFNodeaccessType='inputOutput'/>
 35                 <field name='texCoordtype='SFNodeaccessType='inputOutput'/>
 36                 <field name='normaltype='SFNodeaccessType='inputOutput'/>
 37                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 38                 <field name='ccwtype='SFBoolaccessType='initializeOnly'/>
 39                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 40                 <field name='creaseAngletype='SFFloataccessType='initializeOnly'/>
 41                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
 42            </ExternProtoDeclare>
 43            <!-- GeoInline replaced by Inline in X3D -->
 44            <ExternProtoDeclare name='GeoInline'   url=' "urn:web3d:geovrml:1.0/protos/GeoInline.wrl#GeoInline" "/Program%20Files/GeoVRML/1.0/protos/GeoInline.wrl#GeoInline" "http://www.ai.sri.com/geovrml/1.0/protos/GeoInline.wrl#GeoInline" '>
 45                 <field name='identifiertype='MFStringaccessType='initializeOnly'/>
 46                 <field name='url_changedtype='MFStringaccessType='outputOnly'/>
 47                 <field name='loadtype='SFBoolaccessType='initializeOnly'/>
 48                 <field name='load_changedtype='SFBoolaccessType='outputOnly'/>
 49                 <field name='bboxCentertype='SFVec3faccessType='initializeOnly'/>
 50                 <field name='bboxSizetype='SFVec3faccessType='initializeOnly'/>
 51            </ExternProtoDeclare>
 52            <ExternProtoDeclare name='GeoLocation'   url=' "urn:web3d:geovrml:1.0/protos/GeoLocation.wrl#GeoLocation" "/Program%20Files/GeoVRML/1.0/protos/GeoLocation.wrl#GeoLocation" "http://www.ai.sri.com/geovrml/1.0/protos/GeoLocation.wrl#GeoLocation" '>
 53                 <field name='geoOrigintype='SFNodeaccessType='initializeOnly'/>
 54                 <field name='geoSystemtype='MFStringaccessType='initializeOnly'/>
 55                 <field name='geoCoordstype='SFStringaccessType='initializeOnly'/>
 56            </ExternProtoDeclare>
 57            <ExternProtoDeclare name='GeoLOD'   url=' "urn:web3d:geovrml:1.0/protos/GeoLOD.wrl#GeoLOD" "/Program%20Files/GeoVRML/1.0/protos/GeoLOD.wrl#GeoLOD" "http://www.ai.sri.com/geovrml/1.0/protos/GeoLOD.wrl#GeoLOD" '>
 58                 <field name='rootUrltype='MFStringaccessType='initializeOnly'/>
 59                 <field name='rootNodetype='MFNodeaccessType='initializeOnly'/>
 60                 <field name='child1Urltype='MFStringaccessType='initializeOnly'/>
 61                 <field name='child2Urltype='MFStringaccessType='initializeOnly'/>
 62                 <field name='child3Urltype='MFStringaccessType='initializeOnly'/>
 63                 <field name='child4Urltype='MFStringaccessType='initializeOnly'/>
 64                 <field name='rangetype='SFFloataccessType='initializeOnly'/>
 65                 <field name='geoOrigintype='SFNodeaccessType='initializeOnly'/>
 66                 <field name='geoSystemtype='MFStringaccessType='initializeOnly'/>
 67                 <field name='centertype='SFStringaccessType='initializeOnly'/>
 68                 <field name='childrentype='MFNodeaccessType='outputOnly'/>
 69            </ExternProtoDeclare>
 70            <ExternProtoDeclare name='GeoMetadata'   url=' "urn:web3d:geovrml:1.0/protos/GeoMetadata.wrl#GeoMetadata" "/Program%20Files/GeoVRML/1.0/protos/GeoMetadata.wrl#GeoMetadata" "http://www.ai.sri.com/geovrml/1.0/protos/GeoMetadata.wrl#GeoMetadata" '>
 71                 <field name='identifiertype='MFStringaccessType='inputOutput'/>
 72                 <field name='summarytype='MFStringaccessType='inputOutput'/>
 73                 <field name='datatype='MFNodeaccessType='inputOutput'/>
 74            </ExternProtoDeclare>
 75            <ExternProtoDeclare name='GeoOrigin'   url=' "urn:web3d:geovrml:1.0/protos/GeoOrigin.wrl#GeoOrigin" "/Program%20Files/GeoVRML/1.0/protos/GeoOrigin.wrl#GeoOrigin" "http://www.ai.sri.com/geovrml/1.0/protos/GeoOrigin.wrl#GeoOrigin" '>
 76                 <field name='geoSystemtype='MFStringaccessType='inputOutput'/>
 77                 <field name='geoCoordstype='SFStringaccessType='inputOutput'/>
 78                 <field name='rotateYUptype='SFBoolaccessType='initializeOnly'/>
 79            </ExternProtoDeclare>
 80            <ExternProtoDeclare name='GeoPositionInterpolator'   url=' "urn:web3d:geovrml:1.0/protos/GeoPositionInterpolator.wrl#GeoPositionInterpolator" "/Program%20Files/GeoVRML/1.0/protos/GeoPositionInterpolator.wrl#GeoPositionInterpolator" "http://www.ai.sri.com/geovrml/1.0/protos/GeoPositionInterpolator.wrl#GeoPositionInterpolator" '>
 81                 <field name='geoOrigintype='SFNodeaccessType='initializeOnly'/>
 82                 <field name='geoSystemtype='MFStringaccessType='initializeOnly'/>
 83                 <field name='keytype='MFFloataccessType='initializeOnly'/>
 84                 <field name='keyValuetype='MFStringaccessType='initializeOnly'/>
 85                 <field name='set_fractiontype='SFFloataccessType='inputOnly'/>
 86                 <field name='value_changedtype='SFVec3faccessType='outputOnly'/>
 87                 <field name='geovalue_changedtype='SFStringaccessType='outputOnly'/>
 88            </ExternProtoDeclare>
 89            <!-- need GeoTouchSensor -->
 90            <ExternProtoDeclare name='GeoViewpoint'   url=' "urn:web3d:geovrml:1.0/protos/GeoViewpoint.wrl#GeoViewpoint" "/Program%20Files/GeoVRML/1.0/protos/GeoViewpoint.wrl#GeoViewpoint" "http://www.ai.sri.com/geovrml/1.0/protos/GeoViewpoint.wrl#GeoViewpoint" '>
 91                 <field name='geoOrigintype='SFNodeaccessType='initializeOnly'/>
 92                 <field name='geoSystemtype='MFStringaccessType='initializeOnly'/>
 93                 <field name='positiontype='SFStringaccessType='initializeOnly'/>
 94                 <field name='orientationtype='SFRotationaccessType='initializeOnly'/>
 95                 <field name='fieldOfViewtype='SFFloataccessType='inputOutput'/>
 96                 <field name='jumptype='SFBoolaccessType='inputOutput'/>
 97                 <field name='descriptiontype='SFStringaccessType='initializeOnly'/>
 98                 <field name='speedtype='SFFloataccessType='initializeOnly'/>
 99                 <field name='set_bindtype='SFBoolaccessType='inputOnly'/>
100                 <field name='bindTimetype='SFTimeaccessType='outputOnly'/>
101                 <field name='isBoundtype='SFBoolaccessType='outputOnly'/>
102            </ExternProtoDeclare>
103            <Group>
104                 <Background groundColor='0 0 0skyColor='0.1 0.1 0.8'/>
105                 <ProtoInstance name='GeoViewpoint'>
106                      <fieldValue name='geoSystemvalue='"GD" "WE"'/>
107                      <fieldValue name='positionvalue='"35.0 70.0 10000000"'/>
108                      <fieldValue name='orientationvalue='1 0 0 -1.57'/>
109                      <fieldValue name='descriptionvalue='"Initial GeoViewpoint"'/>
110                 </ProtoInstance>
111                 <Shape>
112                      <Appearance>
113                           <Material diffuseColor='0.3 1.0 0.3'/>
114                      </Appearance>
115                      <ProtoInstance name='GeoElevationGridcontainerField='geometry'>
116                           <fieldValue name='geoSystemvalue='"GD" "WE"'/>
117                           <fieldValue name='geoGridOriginvalue='-90 -180 0'/>
118                           <fieldValue name='xDimensionvalue='21'/>
119                           <fieldValue name='zDimensionvalue='11'/>
120                           <fieldValue name='xSpacingvalue='18'/>
121                           <fieldValue name='zSpacingvalue='18'/>
122                           <fieldValue name='yScalevalue='200'/>
123                           <fieldValue name='heightvalue='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1220 3086 3135 2976 2529 2135 3449 2899 3190 2375 1847 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 142 792 0 0 0 969 0 0 0 0 0 495 276 0 0 0 0 0 0 0 320 46 60 0 0 0 588 0 0 0 0 0 0 34 0 0 0 0 0 0 0 0 0 0 0 301 601 837 627 0 880 0 0 0 0 0 0 0 0 0 202 1 0 0 0 0 1241 385 6 582 468 215 5201 529 0 0 0 0 0 0 0 1304 427 365 374 0 0 0 1977 345 22 132 325 2072 1256 171 0 0 0 0 706 1896 464 134 0 0 2563 0 0 0 143 11 784 88 498 307 108 1707 576 0 0 0 0 0 0 600 378 1378 339 0 0 0 0 0 0 0 0 0 0 0'/>
124                      </ProtoInstance>
125                 </Shape>
126            </Group>
127       </Scene>
128  </X3D>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definitions: GeoCoordinate, GeoElevationGrid, GeoInline, GeoLocation, GeoLOD, GeoMetadata, GeoOrigin, GeoPositionInterpolator, GeoViewpoint
-->
X3D Tooltips element index: Appearance, Background, ExternProtoDeclare, field, fieldValue, Group, head, Material, meta, ProtoInstance, Scene, Shape, WorldInfo, X3D, accessType and type, XML data types, field types

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


ProtoInstance
GeoViewpoint
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. 


ProtoInstance
GeoElevationGrid
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://www.web3d.org/x3d/content/examples/Basic/Geospatial/GeoSpatialExternProtoDeclarationsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Geospatial/GeoSpatialExternProtoDeclarations.x3d -->

<!-- Color 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> -->

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