X3D Model Documentation: WellDeck.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <meta name='titlecontent=' WellDeck.x3d '/>
  6            <meta name='creatorcontent='LT Patricia Sweat USN'/>
  7            <meta name='descriptioncontent='Large Deck Amphibious Ship: USS BOXER (LHD 4)'/>
  8            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/WellDeck.x3d '/>
  9            <meta name='createdcontent='20 August 2004'/>
 10            <meta name='modifiedcontent='28 January 2024'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: ConsoleOutputViewPositionOrientation, GREY, Patty_Sweat, WellDeck_Open, WellDoorSensor, WellDoorSensor1, WellDoorTransform, WellDoorTransform1

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: ViewPositionOrientation
-->
 14       <Scene>
 15            <WorldInfo title='WellDeck.x3d'/>
 16            <Viewpoint description='Sterngateorientation='0.58 -0.64 -0.504 2.3848position='-58.6 14.8 -28.4'/>
 17            <Transform rotation='0 0 1 1'/>
 18            <Group DEF='Patty_Sweat'>
 19                 <Transform DEF='WellDeck_Open'>
 20 
                    <!-- ROUTE information for WellDoorSensor1 node:  [from rotation_changed to WellDoorTransform1.set_rotation ] -->
                    <CylinderSensor DEF='WellDoorSensor1description='click and drag to rotatemaxAngle='1.57'/>
 21                      <Transform>
 22 
                         <!-- ROUTE information for WellDoorTransform1 node:  [from WellDoorSensor1.rotation_changed to set_rotation ] -->
                         <Transform DEF='WellDoorTransform1'>
 23                                <Shape>
 24                                     <Extrusion crossSection='-16.5 -10 16.5 -10 11.5 -21 -11.5 -21 -16.5 -10scale='1 1 1 1spine='-0.4 5 0 0.1 5 0'/>
 25                                     <Appearance>
 26                                          <Material DEF='GREYambientIntensity='1diffuseColor='.8 .8 .8'/>
 27                                     </Appearance>
 28                                </Shape>
 29                           </Transform>
 30                      </Transform>
 31                 </Transform>
 32                 < ROUTE  fromNode='WellDoorSensor1' fromField='rotation_changed' toNode='WellDoorTransform1' toField='set_rotation'/>
 33                 <Transform>
 34 
                    <!-- ROUTE information for WellDoorSensor node:  [from rotation_changed to WellDoorTransform.set_rotation ] -->
                    <CylinderSensor DEF='WellDoorSensordescription='click and drag to rotatemaxAngle='1.57'/>
 35 
                    <!-- ROUTE information for WellDoorTransform node:  [from WellDoorSensor.rotation_changed to set_rotation ] -->
                    <Transform DEF='WellDoorTransform'>
 36                           <Transform>
 37                                <Shape>
 38                                     <Extrusion creaseAngle='.7crossSection='-21.3 0 0 0 21.3 0 16.5 -10 -16.5 -10 -21.3 0scale='1 1 1 1solid='falsespine='-0.4 5 0 0.1 5 0'/>
 39                                     <Appearance>
 40                                          <Material diffuseColor='1 0 0'/>
 41                                     </Appearance>
 42                                </Shape>
 43                           </Transform>
 44                      </Transform>
 45                 </Transform>
 46                 < ROUTE  fromNode='WellDoorSensor' fromField='rotation_changed' toNode='WellDoorTransform' toField='set_rotation'/>
 47            </Group>
 48            <ExternProtoDeclare name='ViewPositionOrientationappinfo='ViewPositionOrientation provides provides console output of local position and orientation as user navigates'   url=' "../../../Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d#ViewPositionOrientation" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d#ViewPositionOrientation" "../../../Savage/Tools/Authoring/ViewPositionOrientationPrototype.wrl#ViewPositionOrientation" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/ViewPositionOrientationPrototype.wrl#ViewPositionOrientation" '>
 49                 <field name='enabledtype='SFBoolaccessType='inputOutput'
                appinfo='Whether or not ViewPositionOrientation sends output to console.'/>
 50                 <field name='traceEnabledtype='SFBoolaccessType='initializeOnly'
                appinfo='Output internal trace messages for debugging this node - developer use only can be ignored.'/>
 51                 <field name='set_traceEnabledtype='SFBoolaccessType='inputOnly'
                appinfo='Ability to turn output tracing on/off at runtime.'/>
 52                 <field name='position_changedtype='SFVec3faccessType='outputOnly'
                appinfo='Output local position.'/>
 53                 <field name='orientation_changedtype='SFRotationaccessType='outputOnly'
                appinfo='Output local orientation.'/>
 54                 <field name='outputViewpointStringtype='MFStringaccessType='outputOnly'
                appinfo='MFString value of new Viewpoint'/>
 55            </ExternProtoDeclare>
 56            <ProtoInstance name='ViewPositionOrientationDEF='ConsoleOutputViewPositionOrientation'>
 57                 <fieldValue name='enabledvalue='false'/>
 58            </ProtoInstance>
 59       </Scene>
 60  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: ConsoleOutputViewPositionOrientation, GREY, Patty_Sweat, WellDeck_Open, WellDoorSensor, WellDoorSensor1, WellDoorTransform, WellDoorTransform1

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: ViewPositionOrientation
-->
X3D Tooltips element index: Appearance, CylinderSensor, ExternProtoDeclare, Extrusion, field, fieldValue, Group, head, Material, meta, ProtoInstance, ROUTE, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

ConsoleOutputViewPositionOrientation
ProtoInstance
ViewPositionOrientation
No direct ROUTE connection found for events to/from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 

WellDoorSensor
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
WellDoorTransform
Transform
set_rotation
SFRotation

WellDoorSensor1
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
WellDoorTransform1
Transform
set_rotation
SFRotation

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/WellDeckIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/WellDeck.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='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. -->