<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "http://www.web3d.org/specifications/x3d-3.2.dtd">
<X3D profile='Immersive' version='3.2 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.2.xsd '>
<head>
<meta name='titlecontent='BridgeDoorPort.x3d'/>
<meta name='descriptioncontent='Brazilian Naval Academy Training Ship'/>
<meta name='creatorcontent='Claudio Coreixas'/>
<meta name='createdcontent='20 October 2009'/>
<meta name='modifiedcontent='2 January 2019'/>
<meta name='referencecontent=' http://www.en.mar.mil.br '/>
<meta name='subjectcontent='ships parts'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/BridgeDoorPort.x3d '/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!-- -->
<Scene>
<Viewpoint description='DoorfieldOfView='0.45orientation='1 0 0 0position='5.7 2.3 4'/>
<!-- ROUTE information for spinTimer node:  [from dogSensor.touchTime to startTime ] [from fraction_changed to openDoor.set_fraction ] -->
<TimeSensor DEF='spinTimercycleInterval='3'/>
<!-- ROUTE information for openDoor node:  [from spinTimer.fraction_changed to set_fraction ] [from value_changed to openDoorTransform.rotation ] -->
<OrientationInterpolator DEF='openDoorkey='0 0.25 0.5 0.75 1keyValue='0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 -1.57 0 1 0 -3'/>
<ROUTE fromNode='spinTimerfromField='fraction_changedtoNode='openDoortoField='set_fraction'/>
<!-- ROUTE information for dogTimer node:  [from dogSensor.touchTime to startTime ] [from fraction_changed to openDog.set_fraction ] -->
<TimeSensor DEF='dogTimer'/>
<!-- ROUTE information for openDog node:  [from dogTimer.fraction_changed to set_fraction ] [from value_changed to openDogSpin.rotation ] -->
<OrientationInterpolator DEF='openDogkey='0 1keyValue='0 0 1 0 0 0 1 -1.3'/>
<ROUTE fromNode='dogTimerfromField='fraction_changedtoNode='openDogtoField='set_fraction'/>
<!-- ROUTE information for openDoorTransform node:  [from openDoor.value_changed to rotation ] -->
<Transform DEF='openDoorTransformcenter='5.825 2 -0.55'>
<ROUTE fromNode='openDoorfromField='value_changedtoNode='openDoorTransformtoField='rotation'/>
<!-- ROUTE information for openDogSpin node:  [from openDog.value_changed to rotation ] -->
<Transform DEF='openDogSpincenter='5.6 2.3 -0.55'>
<ROUTE fromNode='openDogfromField='value_changedtoNode='openDogSpintoField='rotation'/>
<Transform>
<Transform>
<Shape DEF='dog'>
<Appearance>
<Material/>
</Appearance>
<Extrusion ccw='falseconvex='falsecrossSection='0.01 0 0.0092 0.0038 0.0071 0.0071 0.0038 0.0092 0 0.01 -0.0038 0.0092 -0.0071 0.0071 -0.0092 0.0038 -0.01 0 -0.0092 -0.0038 -0.0071 -0.0071 -0.0038 -0.0092 0 -0.01 0.0038 -0.0092 0.0071 -0.0071 0.0092 -0.0039 0.01 0scale='0.3 0.5 0.4 0.7 0.55 0.8 0.7 0.85 0.85 0.95 1 1 1 1 0.85 0.95 0.7 0.85 0.55 0.8 0.4 0.7 0.3 0.5solid='falsespine='5.6690 2.3000 -0.5330 5.6100 2.3000 -0.5330 5.6062 2.3000 -0.5338 5.6029 2.3000 -0.5359 5.6008 2.3000 -0.5391 5.6000 2.3000 -0.5430 5.6000 2.3000 -0.5570 5.6008 2.3000 -0.5608 5.6029 2.3000 -0.5641 5.6062 2.3000 -0.5662 5.6100 2.3000 -0.5670 5.6690 2.3000 -0.5670'/>
</Shape>
</Transform>
<!-- ROUTE information for dogSensor node:  [from touchTime to spinTimer.startTime ] [from touchTime to dogTimer.startTime ] -->
<TouchSensor DEF='dogSensordescription='Touch to Open Hatch'/>
<ROUTE fromNode='dogSensorfromField='touchTimetoNode='spinTimertoField='startTime'/>
<ROUTE fromNode='dogSensorfromField='touchTimetoNode='dogTimertoField='startTime'/>
</Transform>
</Transform>
<Shape DEF='BridgeDoorStb'>
<Appearance> </Appearance>
<IndexedFaceSet DEF='doorIFScreaseAngle='1.5solid='falsecoordIndex='0 4 5 1 -1 1 5 6 2 -1 2 6 7 3 -1 4 0 3 7 -1'>
<Coordinate point='5.575 2 -0.55 5.825 2 -0.55 5.825 2.55 -0.55 5.575 2.55 -0.55 5.6 2.325 -0.55 5.8 2.325 -0.55 5.8 2.525 -0.55 5.6 2.525 -0.55'/>
</IndexedFaceSet>
</Shape>
<Shape DEF='window'>
<Appearance>
<Material DEF='GlassambientIntensity='0.37773332diffuseColor='0.0 0.36666667 0.76666665shininess='0.76666665specularColor='1.0 1.0 1.0transparency='0.58'/>
</Appearance>
<IndexedFaceSet DEF='windowIFScreaseAngle='1.5solid='falsecoordIndex='0 1 2 3 -1'>
<Coordinate point='5.6 2.325 -0.55 5.8 2.325 -0.55 5.8 2.525 -0.55 5.6 2.525 -0.55'/>
</IndexedFaceSet>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : BridgeDoorStb, dog, dogSensor, dogTimer, doorIFS, Glass, openDog, openDogSpin, openDoor, openDoorTransform, spinTimer, window, windowIFS

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)
-->

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