X3D Model Documentation: SphericalMineExample.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='SphericalMineExample.x3d'/>
  6            <meta name='creatorcontent='Don Brutzman'/>
  7            <meta name='createdcontent='26 June 2000'/>
  8            <meta name='modifiedcontent='28 November 2019'/>
  9            <meta name='identifiercontent='https://savage.nps.edu/Savage/Weapons/UnderwaterMines/SphericalMineExample.x3d'/>
 10            <meta name='descriptioncontent='Example use of SphericalMine prototype.'/>
 11            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: SphericalMine
-->
 14       <Scene>
 15            <!-- shape X Y Z R H # grid indices -->
 16            <WorldInfo title='SphericalMineExample.x3d'/>
 17            <ExternProtoDeclare name='SphericalMineappinfo='Spherical floating mine moored to bottom'   url=' "../../Weapons/UnderwaterMines/SphericalMinePrototype.x3d#SphericalMine" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/SphericalMinePrototype.x3d#SphericalMine" "../../Weapons/UnderwaterMines/SphericalMinePrototype.wrl#SphericalMine" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/SphericalMinePrototype.wrl#SphericalMine" '>
 18                 <field name='descriptiontype='SFStringaccessType='initializeOnly'
                appinfo='Description for each mine contact.'/>
 19                 <field name='colortype='SFColoraccessType='inputOutput'
                appinfo='Mine color can be used to indicate status (found/unknown/disabled/) tactic etc.'/>
 20                 <field name='translationtype='SFVec3faccessType='inputOutput'
                appinfo='Location of mine center in local world coordinates.'/>
 21                 <field name='scaletype='SFVec3faccessType='inputOutput'
                appinfo='Scale factor to change spherical mine size default diameter = 1m.'/>
 22                 <field name='bboxCentertype='SFVec3faccessType='initializeOnly'
                appinfo='Bounding box for collision detection of mine.'/>
 23                 <field name='tetherPointstype='MFVec3faccessType='inputOutput'
                appinfo='Top and bottom endpoints of line tether that anchors this mine to the bottom.'/>
 24                 <field name='proximityIsActivetype='SFBoolaccessType='outputOnly'
                appinfo='proximityIsActive can be used to activate information or interaction when the viewer nears the mine.'/>
 25                 <field name='proximitySizetype='SFVec3faccessType='inputOutput'
                appinfo='proximitySize provides overall box dimensions for proximity; thus (10 10 10) yields approximate radius 5 to 7 meters.'/>
 26            </ExternProtoDeclare>
 27            <Viewpoint description='Three minesorientation='0 1 0 2.5position='24 -15 -15'/>
 28            <ProtoInstance name='SphericalMine'>
 29                 <fieldValue name='descriptionvalue='Spherical Mine #1'/>
 30                 <fieldValue name='translationvalue='5 -20 15'/>
 31                 <fieldValue name='tetherPointsvalue='0 0 0 0 -5 0'/>
 32            </ProtoInstance>
 33            <ProtoInstance name='SphericalMine'>
 34                 <fieldValue name='descriptionvalue='Spherical Mine 2'/>
 35                 <fieldValue name='translationvalue='5 -15 10'/>
 36                 <fieldValue name='tetherPointsvalue='0 0 0 0 -10 0'/>
 37            </ProtoInstance>
 38            <ProtoInstance name='SphericalMine'>
 39                 <fieldValue name='descriptionvalue='Spherical Mine #3'/>
 40                 <fieldValue name='translationvalue='5 -10 5'/>
 41                 <fieldValue name='tetherPointsvalue='0 0 0 0 -15 0'/>
 42            </ProtoInstance>
 43       </Scene>
 44  </X3D>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint node: Viewpoint_1

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

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