X3D Model Documentation: CG47Prototype.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=' CG47Prototype.x3d '/>
  6            <meta name='descriptioncontent='Prototype for a Ticonderoga Class cruiser'/>
  7            <meta name='creatorcontent='Patrick Sullivan'/>
  8            <meta name='createdcontent='30 July 2006'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CruiserUnitedStates/CG47Prototype.x3d '/>
 11            <meta name='subjectcontent='Prototypes, FFG7, Oliver Perry Frigate'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

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

Index for ExternProtoDeclare definition: HullNumber

Index for ProtoDeclare definition: CG
-->
 14       <Scene>
 15            <WorldInfo title='CG47Prototype.x3d'/>
 16            <ExternProtoDeclare name='HullNumber'   url=' "../../../Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" "https://www.web3d.org/x3d/content/examples/Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" '>
 17                 <field name='FirstNumbertype='SFInt32accessType='inputOutput'
                appinfo='[0-9] (-1 will prevent rendering)'/>
 18                 <field name='SecondNumbertype='SFInt32accessType='inputOutput'
                appinfo='[0-9] (-1 will prevent rendering)'/>
 19            </ExternProtoDeclare>
 20            <ProtoDeclare name='CGappinfo='Prototype of a US Cruiser'>
 21                 <ProtoInterface>
 22                      <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")'/>
 23                      <field name='HullNumber1type='SFInt32value='-1accessType='inputOutput'
                     appinfo="The first (or only) digit of the ship's hull number [0-9]. Note -1 for no number"/>
 24                      <field name='HullNumber2type='SFInt32value='-1accessType='inputOutput'
                     appinfo="The second digit of the ship's hull number [0-9]. Note: -1 for no number"/>
 25                      <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")'/>
 26                      <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")'/>
 27                      <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")'/>
 28                      <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")'/>
 29                      <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")'/>
 30                 </ProtoInterface>
 31                 <ProtoBody>
 32                      <Transform>
 33                           <!-- Ship Model -->
 34                           <Transform DEF='CGShipModel'>
 35                                <Inline   url=' "../../../Savage/ShipsMilitary/CruiserUnitedStates/CG47.x3d" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CruiserUnitedStates/CG47.x3d" '/>
 36                           </Transform>
 37                           <!-- Hull Numbers -->
 38                           <Transform DEF='StarboardBowHullNumberrotation='.721 .678 -.141 .523translation='74.514 5.007 2.192'>
 39                                <ProtoInstance name='HullNumberDEF='ShipNumber'>
 40                                     <IS>
 41                                          <connect nodeField='FirstNumberprotoField='HullNumber1'/>
 42                                          <connect nodeField='SecondNumberprotoField='HullNumber2'/>
 43                                     </IS>
 44                                </ProtoInstance>
 45                           </Transform>
 46                           <Transform DEF='PortBowHullNumberrotation='.025 .99 -.139 2.794translation='74.514 5.007 -2.197'>
 47                                <ProtoInstance name='HullNumber'>
 48                                     <IS>
 49                                          <connect nodeField='FirstNumberprotoField='HullNumber1'/>
 50                                          <connect nodeField='SecondNumberprotoField='HullNumber2'/>
 51                                     </IS>
 52                                </ProtoInstance>
 53                           </Transform>
 54                           <!-- ISIC Seals -->
 55                           <Transform DEF='StarboardSealtranslation='19.032 9.298 5.717'>
 56                                <Transform>
 57 
                                   <!-- Inline ISICSeal is a DEF node that has 1 USE node: USE_1 -->
                                   <Inline DEF='ISICSeal'>
 58                                          <IS>
 59                                               <connect nodeField='urlprotoField='ISIC'/>
 60                                          </IS>
 61                                     </Inline>
 62                                </Transform>
 63                           </Transform>
 64                           <Transform DEF='PortSealrotation='0 1 0 3.14translation='19.032 9.298 -5.546'>
 65                                <Transform>
 66                                     <Inline USE='ISICSeal'/>
 67                                </Transform>
 68                           </Transform>
 69                           <!-- Weapon Placements -->
 70                           <Transform DEF='StarboardBowWeaponrotation='0 1 0 3.14translation='32.363 6.138 7.115'>
 71                                <Inline>
 72                                     <IS>
 73                                          <connect nodeField='urlprotoField='StarboardBowWeapon'/>
 74                                     </IS>
 75                                </Inline>
 76                           </Transform>
 77                           <Transform DEF='PortBowWeapontranslation='32.363 6.138 -6.694'>
 78                                <Inline>
 79                                     <IS>
 80                                          <connect nodeField='urlprotoField='PortBowWeapon'/>
 81                                     </IS>
 82                                </Inline>
 83                           </Transform>
 84                           <Transform DEF='StarboardFlightDeckWeaponrotation='0 1 0 3.14translation='-66.615 3.709 5.961'>
 85                                <Inline>
 86                                     <IS>
 87                                          <connect nodeField='urlprotoField='StarboardFlightDeckWeapon'/>
 88                                     </IS>
 89                                </Inline>
 90                           </Transform>
 91                           <Transform DEF='PortFlightDeckWeapontranslation='-66.615 3.709 -5.631'>
 92                                <Inline>
 93                                     <IS>
 94                                          <connect nodeField='urlprotoField='PortFlightDeckWeapon'/>
 95                                     </IS>
 96                                </Inline>
 97                           </Transform>
 98                           <Transform DEF='SternFlightDeckWeaponrotation='0 1 0 1.57translation='-86.633 4.148 4.785'>
 99                                <Inline>
100                                     <IS>
101                                          <connect nodeField='urlprotoField='SternFlightDeckWeapon'/>
102                                     </IS>
103                                </Inline>
104                           </Transform>
105                      </Transform>
106                 </ProtoBody>
107            </ProtoDeclare>
108       </Scene>
109  </X3D>
<!--

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

Index for ExternProtoDeclare definition: HullNumber

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

Event Graph ROUTE Table with 0 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.

line 47
ProtoInstance
HullNumber
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. 

ShipNumber
ProtoInstance
HullNumber
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. 

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/CruiserUnitedStates/CG47PrototypeIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CruiserUnitedStates/CG47Prototype.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. -->