<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<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 '>
<head>
<meta name='titlecontent='CubeWithLabeledSidesViewpointSequencer.x3d'/>
<meta name='descriptioncontent='ViewpointSequencer animation of a cube-shaped test model with faces on each side individually labeled.'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='14 November 2014'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='subjectcontent='Viewpoint Tour'/>
<meta name='referencecontent='ViewpointSequencerPrototypeIndex.html'/>
<meta name=' TODO content=' add ability for prototype to hide text '/>
<meta name='referencecontent='BoxSwitch.x3d'/>
<meta name='referencecontent='CubeWithLabeledSidesViewpointSequencer.png'/>
<meta name='drawingcontent='CubeWithLabeledSidesViewpointSequencer.vsd'/>
<meta name='referencecontent=' ../GeometricShapes/CubeWithLabeledSides.x3d'/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/TestCube.x3d '/>
<meta name='drawingcontent=' https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/TestBoxImages.vsd '/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/CubeWithLabeledSidesViewpointSequencer.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='CubeWithLabeledSidesViewpointSequencer.x3d'/>
<Background skyColor='0.3 0.3 0.3'/>
<Inline
  url=' "../GeometricShapes/CubeWithLabeledSides.x3d" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/CubeWithLabeledSides.x3d" "../GeometricShapes/CubeWithLabeledSides.wrl" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/CubeWithLabeledSides.wrl" '/>

<!-- ==================== -->
<ExternProtoDeclare name='ViewpointSequencerappinfo='Sequentially binds each Viewpoint in a set of Viewpoint USE nodes, creating an automatic tour for a scene'
  url=' "ViewpointSequencerPrototype.x3d#ViewpointSequencer" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/ViewpointSequencerPrototype.x3d#ViewpointSequencer" "ViewpointSequencerPrototype.wrl#ViewpointSequencer" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/ViewpointSequencerPrototype.wrl#ViewpointSequencer" '>
<field name='viewpointstype='MFNodeaccessType='initializeOnly'
 appinfo='Viewpoint USE nodes that are sequentially bound'/>

<field name='intervaltype='SFTimeaccessType='inputOutput'
 appinfo='number of seconds between viewpoint shifts'/>

<field name='enabledtype='SFBoolaccessType='inputOutput'
 appinfo='whether ViewpointSequencer is enabled or not'/>

<field name='set_enabledtype='SFBoolaccessType='inputOnly'
 appinfo='whether ViewpointSequencer is enabled or not'/>

<field name='previoustype='SFBoolaccessType='inputOnly'
 appinfo='bind previous Viewpoint in list'/>

<field name='nexttype='SFBoolaccessType='inputOnly'
 appinfo='bind next Viewpoint in list'/>

<field name='toggleMessagetype='MFStringaccessType='inputOutput'
 appinfo='Select message to toggle ViewpointSequencer'/>

<field name='toggleMessageFontSizetype='SFFloataccessType='initializeOnly'
 appinfo='Font size for toggleMessage text'/>

<field name='toggleMessageColortype='SFColoraccessType='inputOutput'
 appinfo='Color for toggleMessage text'/>

<field name='traceEnabledtype='SFBoolaccessType='inputOutput'
 appinfo='enable console output'/>
</ExternProtoDeclare>
<Transform scale='0.5 0.5 0.5translation='0 -2 0'>
<!-- Only one copy of a given ExternProtoDeclare is needed in a scene. Multiple ProtoInstance nodes can be created like the following: -->
<ProtoInstance name='ViewpointSequencerDEF='ViewpointSequencerExample'>
<fieldValue name='intervalvalue='2'/>
<fieldValue name='viewpoints'>
<!-- These viewpoints were copied from the Inline scene above. Authors can also DEF/USE other Viewpoint nodes used elsewhere in a scene -->
<Viewpoint DEF='FrontViewSequenceddescription='Front view, sequencedorientation='0 1 0 1.57position='8 0 0'/>
<Viewpoint DEF='LeftViewSequenceddescription='Left view, sequencedorientation='0 1 0 3.1416position='0 0 -8'/>
<Viewpoint DEF='TopViewSequenceddescription='Top view, sequencedorientation='1 0 0 -1.57position='0 8 0'/>
<Viewpoint DEF='BackViewSequenceddescription='Back view, sequencedorientation='0 1 0 -1.57position='-8 0 0'/>
<Viewpoint DEF='RightViewSequenceddescription='Right view, sequencedposition='0 0 8'/>
<Viewpoint DEF='BottomViewSequenceddescription='Bottom view, sequencedorientation='1 0 0 1.57position='0 -8 0'/>
</fieldValue>
<!-- initially enabled field is off (false), scene provides selectable text to activate -->
<fieldValue name='enabledvalue='false'/>
</ProtoInstance>
<!-- Example use can be found at https://savage.nps.edu/Savage/Tools/Animation/ViewpointSequencerExample.x3d -->
</Transform>
<!-- ==================== -->
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definition : ViewpointSequencer

Index for DEF nodes : BackViewSequenced, BottomViewSequenced, FrontViewSequenced, LeftViewSequenced, RightViewSequenced, TopViewSequenced, ViewpointSequencerExample

Index for Viewpoint images : BackViewSequenced, BottomViewSequenced, FrontViewSequenced, LeftViewSequenced, RightViewSequenced, TopViewSequenced
-->

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

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