X3D Model Documentation: ReportedContactExample.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='ReportedContactExample.x3d'/>
  6            <meta name='descriptioncontent='Example instance of prototype for a reported contact.'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='15 October 2001'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactExample.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definition: ReportedContact
-->
 14       <Scene>
 15            <WorldInfo title='ReportedContactExample.x3d'/>
 16            <ExternProtoDeclare name='ReportedContactappinfo='Provide icon and contact information for a reported contact. Position ProtoInstances using the depth and location where found.'   url=' "ReportedContactPrototype.x3d#ReportedContact" "../../Weapons/UnderwaterMines/ReportedContactPrototype.x3d#ReportedContact" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactPrototype.x3d#ReportedContact" "ReportedContactPrototype.wrl#ReportedContact" "../../Weapons/UnderwaterMines/ReportedContactPrototype.wrl#ReportedContact" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactPrototype.wrl#ReportedContact" '>
 17                 <field name='nametype='MFStringaccessType='initializeOnly'/>
 18                 <field name='aboveViewpointLabeltype='SFStringaccessType='initializeOnly'/>
 19                 <field name='closeViewpointLabeltype='SFStringaccessType='initializeOnly'/>
 20                 <field name='descriptiontype='MFStringaccessType='inputOutput'/>
 21                 <field name='reportedPositiontype='MFStringaccessType='inputOutput'
                appinfo='Latitude and longitude (or local coordinates) for display purposes.'/>
 22                 <field name='classificationCodetype='SFInt32accessType='initializeOnly'/>
 23                 <field name='imageUrltype='MFStringaccessType='inputOutput'
                appinfo='provide filename and url of contact image as separate quoted strings'/>
 24                 <field name='imageScaletype='SFVec3faccessType='inputOutput'
                appinfo='Aspect-ratio x-y scale of image icon (keep z=1)'/>
 25                 <field name='imageOffsettype='SFVec3faccessType='inputOutput'
                appinfo='Relative position of image icon'/>
 26                 <field name='textColortype='SFColoraccessType='inputOutput'/>
 27                 <field name='textOffsettype='SFVec3faccessType='inputOutput'
                appinfo='Relative position of image icon'/>
 28            </ExternProtoDeclare>
 29            <Background groundAngle='1.309 1.570796groundColor='0 0.2 0.4 0.05 0.25 0.6 0.1 0.2 0.4skyAngle='1.309 1.571skyColor='0.1 0.1 0.4 0.1 0.125 0.4 0.1 0.1 0.3'/>
 30            <ProtoInstance name='ReportedContact'>
 31                 <fieldValue name='namevalue='"ContactName"'/>
 32                 <fieldValue name='aboveViewpointLabelvalue='Hello Reported Contact (100m above)'/>
 33                 <fieldValue name='closeViewpointLabelvalue='Closeup: Reported Contact (10m away)'/>
 34                 <fieldValue name='descriptionvalue='"classification: Manta" "confidence: 4" "remarks: example"'/>
 35                 <fieldValue name='reportedPositionvalue='"00.0 N 000.0 W"'/>
 36                 <fieldValue name='classificationCodevalue='1'/>
 37                 <fieldValue name='imageUrlvalue=' "minelocator.jpg" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/minelocator.jpg"'/>
 38                 <fieldValue name='imageScalevalue='1.6 1.0 1'/>
 39                 <!-- additional available fieldValues: imageOffset, textColor, textOffset -->
 40            </ProtoInstance>
 41       </Scene>
 42  </X3D>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definition: ReportedContact
-->
X3D Tooltips element index: Background, ExternProtoDeclare, field, fieldValue, head, meta, ProtoInstance, Scene, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactExampleIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Weapons/UnderwaterMines/ReportedContactExample.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> -->

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