<?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='Immersiveversion='3.0xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='DolphinSwitcher.x3d'/>
<meta name='descriptioncontent='Switch among 3 different dolphin poses'/>
<meta name='creatorcontent='Chris Lang'/>
<meta name='createdcontent='1 August 2007'/>
<meta name='modifiedcontent='13 April 2008'/>
<meta name='identifiercontent='https://savage.nps.edu/Savage/Biologics/Dolphin/DolphinSwitcher.x3d'/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../../license.html'/>
</head>
<!--

Index for DEF nodes: CurvedDownwardPose, CurvedUpwardPose, NeutralPose, Sequencer, Switch, Time
Index for Viewpoint image: Viewpoint_1
-->
<Scene>
<Background groundColor='1 1 1skyColor='1 1 1'/>
<Viewpoint description='Dolphin switcher, 2m awayposition='0 0 2'/>
<!-- Modify the whichChoice value in this Switch to 0, 1 or 2 to see the various versions of the model. Select whichChoice= -1 to show nothing. -->
<!-- Switch ROUTE:  [from Sequencer.value_changed to whichChoice ] -->
<Switch DEF='SwitchwhichChoice='2'>
<!-- whichChoice values are 0, 1, 2 for these three children -->
<Group DEF='CurvedUpwardPose'> </Group>
<Group DEF='NeutralPose'> </Group>
<Group DEF='CurvedDownwardPose'> </Group>
</Switch>
<!-- Sequencer ROUTEs:  [from Time.fraction_changed to set_fraction ] [from value_changed to Switch.whichChoice ] -->
<IntegerSequencer DEF='Sequencerkey='0 0.25 0.5 0.75 1keyValue='0 1 2 1 0containerField='children'/>
<!-- Time ROUTE:  [from fraction_changed to Sequencer.set_fraction ] -->
<TimeSensor DEF='TimecycleInterval='4loop='true'/>
<ROUTE fromNode='SequencerfromField='value_changedtoNode='SwitchtoField='whichChoice'/>
<ROUTE fromNode='TimefromField='fraction_changedtoNode='SequencertoField='set_fraction'/>
</Scene>
</X3D>
<!--

Index for DEF nodes: CurvedDownwardPose, CurvedUpwardPose, NeutralPose, Sequencer, Switch, Time
Index for Viewpoint image: Viewpoint_1
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> -->