<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='DicassExample.x3d'/>
<meta name='descriptioncontent='AN/SSQ-62B/C/D/E Directional Command Activated Sonobuoy System (DICASS) Sonobuoy'/>
<meta name='coordinateSystemcontent='x=East, z=North, y=Up'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='30 January 2003'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name=' warning content=' under development, updating script code to X3D '/>
<meta name='referencecontent='DICASS-an-ssq-62.pdf'/>
<meta name='referencecontent=' http://www.fas.org/man/dod-101/sys/ship/weaps/an-ssq-62.htm '/>
<meta name='referencecontent='NAVY TRAINING SYSTEM PLAN FOR THE NAVY CONSOLIDATED SONOBUOYS N88-NTSP-A-50-8910B/A SEPTEMBER 1998'/>
<meta name='referencecontent='ntsp-Sonobuoy.pdf'/>
<meta name='referencecontent=' http://www.fas.org/man/dod-101/sys/ship/weaps/docs/ntsp-Sonobuoy.pdf '/>
<meta name='referencecontent=' http://www.avtechtra.navy.mil/pdf/Sonobuoys_a.PDF '/>
<meta name='referencecontent=' http://www.ultra-scs.com/sonobuoys/dicass.htm '/>
<meta name='referencecontent=' http://www.ultra-ussg.com/company/sonobuoy_history.cfm '/>
<meta name='subjectcontent='DICASS sonobuoy'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/CommunicationsAndSensors/Sonobuoys/DicassExample.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for ExternProtoDeclare definition : DICASS

Index for DEF nodes : AquaTealBackground, ContinuousPingTouch, DicassExample, InterfaceMaterial, SinglePingTouch

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='DicassExample.x3d'/>
<ExternProtoDeclare name='DICASSappinfo='AN/SSQ-62B/C/D/E Directional Command Activated Sonobuoy System (DICASS) Sonobuoy'
  url=' "DicassPrototype.x3d#DICASS" "https://savage.nps.edu/Savage/CommunicationsAndSensors/Sonobuoys/DicassPrototype.x3d#DICASS" "DicassPrototype.wrl#DICASS" "https://savage.nps.edu/Savage/CommunicationsAndSensors/Sonobuoys/DicassPrototype.wrl#DICASS" '>
<field name='IDtype='MFStringaccessType='inputOutput'
 appinfo='identifier label for this buoy'/>

<field name='versiontype='SFStringaccessType='initializeOnly'
 appinfo='default value: AN/SSQ-62B'/>

<field name='initialPositionXZtype='SFVec2faccessType='initializeOnly'
 appinfo='local surface coordinates X=North Z=East'/>

<field name='orderedPositionXZtype='SFVec2faccessType='inputOnly'
 appinfo='local surface coordinates X=North Z=East'/>

<field name='initialDepthtype='SFFloataccessType='initializeOnly'
 appinfo='meters depth use negative numbers for subsurface'/>

<field name='orderedDepthtype='SFFloataccessType='inputOnly'
 appinfo='meters depth use negative numbers for subsurface'/>

<field name='bindViewpointtype='SFBoolaccessType='inputOnly'
 appinfo='trigger event to bind/unbind viewpoint'/>

<field name='location_changedtype='SFVec3faccessType='outputOnly'
 appinfo='local coordinates X=North Y=altitude Z=East'/>

<field name='maxRangetype='SFFloataccessType='initializeOnly'
 appinfo='maximum audible sonar detection range meters'/>

<field name='pingDurationtype='SFTimeaccessType='outputOnly'
 appinfo='pingDuration corresponds to maxRange at 1500m/sec sound speed'/>

<field name='soundSpeedtype='SFFloataccessType='initializeOnly'
 appinfo='in-water sound speed m/s, default value 1500'
 documentation=' https://en.wikipedia.org/wiki/Speed_of_sound#Seawater '/>

<field name='startPingtype='SFBoolaccessType='inputOnly'
 appinfo='trigger event to start single ping'/>

<field name='startContinuousPingstype='SFBoolaccessType='inputOnly'
 appinfo='trigger event to start continuous ping sequence'/>

<field name='linkTexttype='MFStringaccessType='inputOutput'
 appinfo='Can add linkable text for further information'/>

<field name='linkUrltype='MFStringaccessType='inputOutput'
 appinfo='url for linkable text'/>

<field name='linkTargetWindowtype='MFStringaccessType='inputOutput'
 appinfo='target window for linkable text'/>
</ExternProtoDeclare>
<!-- Rendered scene begins here -->
<Background DEF='AquaTealBackgroundgroundColor='0.0 0.25 0.25skyColor='0 1 1'/>
<NavigationInfo speed='100type='"EXAMINE" "FLY" "ANY"'/>
<!-- ROUTE information for DicassExample node:  [from SinglePingTouch.isActive to startPing ] [from ContinuousPingTouch.isActive to startContinuousPings ] -->
<ProtoInstance name='DICASSDEF='DicassExample'>
<fieldValue name='IDvalue='"DicassExample"'/>
<fieldValue name='initialPositionXZvalue='0 0'/>
<fieldValue name='initialDepthvalue='-1'/>
<fieldValue name='linkTextvalue='"click for online SAVAGE Archive"'/>
<fieldValue name='linkUrlvalue=' "https://savage.nps.edu/Savage/CommunicationsAndSensors/Sonobuoys/index.html" '/>
<fieldValue name='linkTargetWindowvalue='"target=_blank"'/>
</ProtoInstance>
<!-- Interface to test DICASS buoy -->
<Transform translation='0 0 2000bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Viewpoint description='DICASS 2 km'/>
<Transform translation='-3.5 -3 0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Text string='"single ping"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.9'/>
</Text>
<Appearance>
<Material DEF='InterfaceMaterialdiffuseColor='0.8 0.5 0.1'/>
</Appearance>
</Shape>
<!-- ROUTE information for SinglePingTouch node:  [from isActive to DicassExample.startPing ] -->
<TouchSensor DEF='SinglePingTouchdescription='Single Ping TouchSensor'/>
<ROUTE fromNode='SinglePingTouchfromField='isActivetoNode='DicassExampletoField='startPing'/>
</Transform>
<Transform translation='2.5 -3 0bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Text string='"continuous pings"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.9'/>
</Text>
<Appearance>
<Material USE='InterfaceMaterial'/>
</Appearance>
</Shape>
<!-- ROUTE information for ContinuousPingTouch node:  [from isActive to DicassExample.startContinuousPings ] -->
<TouchSensor DEF='ContinuousPingTouchdescription='Continuous Ping TouchSensor'/>
<ROUTE fromNode='ContinuousPingTouchfromField='isActivetoNode='DicassExampletoField='startContinuousPings'/>
</Transform>
</Transform>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definition : DICASS

Index for DEF nodes : AquaTealBackground, ContinuousPingTouch, DicassExample, InterfaceMaterial, SinglePingTouch

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->