X3D Model Documentation: OliverHazardPerryFFGPrototype.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
  3  <X3D profile='Immersive' version='3.1 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'>
  4       <head>
  5            <meta name='titlecontent='OliverHazardPerryFFGPrototype.x3d'/>
  6            <meta name='descriptioncontent='Prototype for an Oliver Perry (FFG7) Class Navy Frigate. Proto allows weapon placements, hull number, and ship name markings'/>
  7            <meta name='creatorcontent='Patrick Sullivan'/>
  8            <meta name='createdcontent='28 May 2006'/>
  9            <meta name='modifiedcontent='3 July 2022'/>
 10            <meta name=' TODO content=' Add entry text that links to OliverHazardPerryFFGExample.x3d '/>
 11            <meta name='subjectcontent='Prototypes, FFG7, Oliver Perry Frigate'/>
 12            <meta name='Imagecontent='DSC_59.jpg'/>
 13            <meta name='Imagecontent='http://www.public.navy.mil/surflant/ffg28/PublishingImages/DSC_59.jpg'/>
 14            <meta name='referencecontent='http://en.wikipedia.org/wiki/Oliver_Hazard_Perry_class_frigate'/>
 15            <meta name='referencecontent='http://en.wikipedia.org/wiki/USS_Oliver_Hazard_Perry_(FFG-7)'/>
 16            <meta name='referencecontent='https://www.nvr.navy.mil/SHIPDETAILS/SHIPSDETAIL_FFG_7.HTML'/>
 17            <meta name='referencecontent='https://www.history.navy.mil/research/histories/ship-histories/danfs/o/oliver-hazard-perry-ffg-7.html'/>
 18            <meta name='referencecontent='https://www.fas.org/programs/ssp/man/uswpns/navy/surfacewarfare/FFG7_oliverhazardperry.html'/>
 19            <meta name='referencecontent='http://www.globalsecurity.org/military/systems/ship/ffg-7.htm'/>
 20            <meta name='referencecontent='http://www.navsource.org/archives/07/0707.htm'/>
 21            <meta name='referencecontent='FFG.x3d'/>
 22            <meta name='referencecontent='OliverHazardPerryFFG.x3d'/>
 23            <meta name='identifiercontent='https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFGPrototype.x3d'/>
 24            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 25            <meta name='licensecontent='../../license.html'/>
 26       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: FFG-7, FFGShipModel, ISICSeal, PortBowHullNumber, PortBowWeapon, PortFlightDeckWeapon, PortSeal, ShipNumber, StarboardBowHullNumber, StarboardBowWeapon, StarboardFlightDeckWeapon, StarboardSeal, SternFlightDeckWeapon

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5

Index for ExternProtoDeclare definition: HullNumber

Index for ProtoDeclare definition: FFG
-->
 27       <Scene>
 28            <WorldInfo title='OliverHazardPerryFFGPrototype.x3d'/>
 29            <Viewpoint description='Oliver Hazard Perry FFG starboard side, 50mposition='0 0 50'/>
 30            <Viewpoint description='Oliver Hazard Perry FFG from ahead, 50morientation='-0.09806 0.99034 0.09806 1.58051position='50 10 0'/>
 31            <Viewpoint description='Oliver Hazard Perry FFG port side, 50morientation='0 1 0 3.14159position='0 0 -50'/>
 32            <Viewpoint description='Oliver Hazard Perry FFG from behind, 50morientation='0.09806 0.99034 0.09806 -1.58051position='-50 10 0'/>
 33            <Transform rotation='0 1 0 -1.5708'>
 34                 <Viewpoint description='Oliver Hazard Perry FFG from above, 100morientation='1 0 0 -1.5708position='0 100 0'/>
 35            </Transform>
 36            <ExternProtoDeclare name='HullNumber'   url=' "../../../Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" "https://savage.nps.edu/Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" "../../../Savage/ModelDetailing/HullNumbers/HullNumberPrototype.wrl#HullNumber" "https://savage.nps.edu/Savage/ModelDetailing/HullNumbers/HullNumberPrototype.wrl#HullNumber" '>
 37                 <field name='FirstNumbertype='SFInt32accessType='inputOutput'
                appinfo='[0-9] (-1 will prevent rendering)'/>
 38                 <field name='SecondNumbertype='SFInt32accessType='inputOutput'
                appinfo='[0-9] (-1 will prevent rendering)'/>
 39            </ExternProtoDeclare>
 40            <ProtoDeclare name='FFGappinfo='Prototype of a DDG51 Class Destroyer'>
 41                 <ProtoInterface>
 42                      <field name='ShipNametype='SFStringaccessType='inputOutput'
                     appinfo='The name of the ship ("USS SHIP")'/>
 43                      <field name='ISICtype='MFStringvalue='"none"accessType='inputOutput'
                     appinfo='URL for the ISIC seal that is found on the side of most navy ships (e.g. "../../ShipCrests/COMDESRON31/DESRON31.x3d")'/>
 44                      <field name='HullNumber1type='SFInt32value='-1accessType='inputOutput'
                     appinfo='The first (or only) digit of the ship hull number [0-9]. Note -1 for no number.'/>
 45                      <field name='HullNumber2type='SFInt32value='-1accessType='inputOutput'
                     appinfo='The second digit of the ship hull number [0-9]. Note: -1 for no number.'/>
 46                      <field name='StarboardBowWeapontype='MFStringvalue='"none"accessType='inputOutput'
                     appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/>
 47                      <field name='PortBowWeapontype='MFStringvalue='"none"accessType='inputOutput'
                     appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/>
 48                      <field name='StarboardFlightDeckWeapontype='MFStringvalue='"none"accessType='inputOutput'
                     appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/>
 49                      <field name='PortFlightDeckWeapontype='MFStringvalue='"none"accessType='inputOutput'
                     appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/>
 50                      <field name='SternFlightDeckWeapontype='MFStringvalue='"none"accessType='inputOutput'
                     appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/>
 51                 </ProtoInterface>
 52                 <ProtoBody>
 53                      <Transform scale='0.3048 0.3048 0.3048translation='0 1 0'>
 54                           <!-- Ship Model -->
 55                           <Transform DEF='FFGShipModel'>
 56                                <Inline   url=' "OliverHazardPerryFFG.x3d" "https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFG.x3d" "OliverHazardPerryFFG.wrl" "https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFG.wrl" '/>
 57                           </Transform>
 58                           <!-- Hull Numbers -->
 59                           <Transform DEF='StarboardBowHullNumberrotation='.721 .678 -.141 .523translation='53.802 5.007 2.192'>
 60                                <ProtoInstance name='HullNumberDEF='ShipNumber'>
 61                                     <IS>
 62                                          <connect nodeField='FirstNumberprotoField='HullNumber1'/>
 63                                          <connect nodeField='SecondNumberprotoField='HullNumber2'/>
 64                                     </IS>
 65                                </ProtoInstance>
 66                           </Transform>
 67                           <Transform DEF='PortBowHullNumberrotation='.025 .99 -.139 2.794translation='53.802 5.007 -2.197'>
 68                                <ProtoInstance name='HullNumber'>
 69                                     <IS>
 70                                          <connect nodeField='FirstNumberprotoField='HullNumber1'/>
 71                                          <connect nodeField='SecondNumberprotoField='HullNumber2'/>
 72                                     </IS>
 73                                </ProtoInstance>
 74                           </Transform>
 75                           <!-- ISIC Seals -->
 76                           <Transform DEF='StarboardSealtranslation='19.032 7.152 4.433'>
 77                                <Transform>
 78 
                                   <!-- Inline ISICSeal is a DEF node that has 1 USE node: USE_1 -->
                                   <Inline DEF='ISICSeal'>
 79                                          <IS>
 80                                               <connect nodeField='urlprotoField='ISIC'/>
 81                                          </IS>
 82                                     </Inline>
 83                                </Transform>
 84                           </Transform>
 85                           <Transform DEF='PortSealrotation='0 1 0 3.14translation='19.032 7.152 -4.395'>
 86                                <Transform>
 87                                     <Inline USE='ISICSeal'/>
 88                                </Transform>
 89                           </Transform>
 90                           <!-- Weapon Placements -->
 91                           <Transform DEF='StarboardBowWeaponrotation='0 1 0 3.14translation='24.02 5.655 5.807'>
 92                                <Inline>
 93                                     <IS>
 94                                          <connect nodeField='urlprotoField='StarboardBowWeapon'/>
 95                                     </IS>
 96                                </Inline>
 97                           </Transform>
 98                           <Transform DEF='PortBowWeapontranslation='24.02 5.681 -5.794'>
 99                                <Inline>
100                                     <IS>
101                                          <connect nodeField='urlprotoField='PortBowWeapon'/>
102                                     </IS>
103                                </Inline>
104                           </Transform>
105                           <Transform DEF='StarboardFlightDeckWeaponrotation='0 1 0 3.14translation='-50.342 4.213 5.961'>
106                                <Inline>
107                                     <IS>
108                                          <connect nodeField='urlprotoField='StarboardFlightDeckWeapon'/>
109                                     </IS>
110                                </Inline>
111                           </Transform>
112                           <Transform DEF='PortFlightDeckWeapontranslation='-50.342 4.232 -5.631'>
113                                <Inline>
114                                     <IS>
115                                          <connect nodeField='urlprotoField='PortFlightDeckWeapon'/>
116                                     </IS>
117                                </Inline>
118                           </Transform>
119                           <Transform DEF='SternFlightDeckWeaponrotation='0 1 0 1.57translation='-69 3.922 4.785'>
120                                <Inline>
121                                     <IS>
122                                          <connect nodeField='urlprotoField='SternFlightDeckWeapon'/>
123                                     </IS>
124                                </Inline>
125                           </Transform>
126                      </Transform>
127                 </ProtoBody>
128            </ProtoDeclare>
129            <ProtoInstance name='FFGDEF='FFG-7'/>
130       </Scene>
131  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: FFG-7, FFGShipModel, ISICSeal, PortBowHullNumber, PortBowWeapon, PortFlightDeckWeapon, PortSeal, ShipNumber, StarboardBowHullNumber, StarboardBowWeapon, StarboardFlightDeckWeapon, StarboardSeal, SternFlightDeckWeapon

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5

Index for ExternProtoDeclare definition: HullNumber

Index for ProtoDeclare definition: FFG
-->
X3D Tooltips element index: connect, ExternProtoDeclare, field, head, Inline, IS, meta, ProtoBody, ProtoDeclare, ProtoInstance, ProtoInterface, Scene, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFGPrototypeIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFGPrototype.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. -->