X3D Model Documentation: Mast.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='Mast.x3d'/>
  6            <meta name='creatorcontent='Ozan Apaydin'/>
  7            <meta name='createdcontent='7 September 2001'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Mast of a Yavuz Class Frigate'/>
 10            <meta name='referencecontent='https://savage.nps.edu/Savage/ShipsMilitary/DestroyerSovremennyRussia/AntennaMast.x3d'/>
 11            <meta name='identifiercontent='https://savage.nps.edu/Savage/ShipsMilitary/FrigateYavuzTurkey/Mast.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: AntennaTimer, Black, FrontSide, HalfMastStructure, NavigationAntennaTr, RotateAntenna

Index for Viewpoint node: Viewpoint_1
-->
 15       <Scene>
 16            <WorldInfo title='Mast.x3d'/>
 17            <Viewpoint description='Antenna Mastorientation='0 1 0 0.79position='18 7 18'/>
 18            <Background skyColor='0.8 0.8 1'/>
 19            <!-- Radar Mast Structure -->
 20 
          <!-- Group HalfMastStructure is a DEF node that has 1 USE node: USE_1 -->
          <Group DEF='HalfMastStructure'>
 21                 <Transform rotation='-1 0 0 0.16translation='0 0 2'>
 22 
                    <!-- Group FrontSide is a DEF node that has 1 USE node: USE_1 -->
                    <Group DEF='FrontSide'>
 23                           <Transform rotation='0 0 1 1.57translation='0 .05 0'>
 24                                <Shape>
 25                                     <Cylinder height='4radius='.1'/>
 26 
                                   <!-- Appearance Black is a DEF node that has 22 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11, USE_12, USE_13, USE_14, USE_15, USE_16, USE_17, USE_18, USE_19, USE_20, USE_21, USE_22 -->
                                   <Appearance DEF='Black'>
 27                                          <Material diffuseColor='0.2 0.2 0.2'/>
 28                                     </Appearance>
 29                                </Shape>
 30                           </Transform>
 31                           <Transform rotation='0 0 1 -.1644translation='-1 6 0'>
 32                                <Shape>
 33                                     <Cylinder height='12.166radius='.1'/>
 34                                     <Appearance USE='Black'/>
 35                                </Shape>
 36                           </Transform>
 37                           <Transform rotation='0 0 1 .1644translation='1 6 0'>
 38                                <Shape>
 39                                     <Cylinder height='12.166radius='.1'/>
 40                                     <Appearance USE='Black'/>
 41                                </Shape>
 42                           </Transform>
 43                           <Transform rotation='0 0 1 .8614translation='.2 1.5 0'>
 44                                <Shape>
 45                                     <Cylinder height='4.61radius='.1'/>
 46                                     <Appearance USE='Black'/>
 47                                </Shape>
 48                           </Transform>
 49                           <Transform rotation='0 0 1 -.8614translation='-.2 1.5 0'>
 50                                <Shape>
 51                                     <Cylinder height='4.61radius='.1'/>
 52                                     <Appearance USE='Black'/>
 53                                </Shape>
 54                           </Transform>
 55                           <Transform rotation='0 0 1 .6939translation='.2 4.5 0'>
 56                                <Shape>
 57                                     <Cylinder height='3.905radius='.1'/>
 58                                     <Appearance USE='Black'/>
 59                                </Shape>
 60                           </Transform>
 61                           <Transform rotation='0 0 1 -.6939translation='-.2 4.5 0'>
 62                                <Shape>
 63                                     <Cylinder height='3.905radius='.1'/>
 64                                     <Appearance USE='Black'/>
 65                                </Shape>
 66                           </Transform>
 67                           <Transform rotation='0 0 1 .4629translation='.25 7.5 0'>
 68                                <Shape>
 69                                     <Cylinder height='3.354radius='.1'/>
 70                                     <Appearance USE='Black'/>
 71                                </Shape>
 72                           </Transform>
 73                           <Transform rotation='0 0 1 -.4629translation='-.25 7.5 0'>
 74                                <Shape>
 75                                     <Cylinder height='3.354radius='.1'/>
 76                                     <Appearance USE='Black'/>
 77                                </Shape>
 78                           </Transform>
 79                           <Transform rotation='0 0 1 1.57translation='0 9 0'>
 80                                <Shape>
 81                                     <Cylinder height='1radius='.1'/>
 82                                     <Appearance USE='Black'/>
 83                                </Shape>
 84                           </Transform>
 85                           <Transform rotation='0 0 1 1.57translation='0 6 0'>
 86                                <Shape>
 87                                     <Cylinder radius='.1'/>
 88                                     <Appearance USE='Black'/>
 89                                </Shape>
 90                           </Transform>
 91                           <Transform rotation='0 0 1 1.57translation='0 3 0'>
 92                                <Shape>
 93                                     <Cylinder height='3radius='.1'/>
 94                                     <Appearance USE='Black'/>
 95                                </Shape>
 96                           </Transform>
 97                           <Transform translation='0 1.67 0'>
 98                                <Shape>
 99                                     <Appearance USE='Black'/>
100                                     <Box size='.45 .45 .17'/>
101                                </Shape>
102                           </Transform>
103                           <Transform translation='0 4.78 0'>
104                                <Shape>
105                                     <Appearance USE='Black'/>
106                                     <Box size='.45 .45 .17'/>
107                                </Shape>
108                           </Transform>
109                           <Transform translation='0 8 0'>
110                                <Shape>
111                                     <Appearance USE='Black'/>
112                                     <Box size='.45 .45 .17'/>
113                                </Shape>
114                           </Transform>
115                      </Group>
116                 </Transform>
117                 <Transform rotation='1 0 0 0.16translation='0 0 -2'>
118                      <Group USE='FrontSide'/>
119                 </Transform>
120            </Group>
121            <Transform rotation='0 1 0 1.57'>
122                 <Group USE='HalfMastStructure'/>
123            </Transform>
124            <Transform translation='0 13 0'>
125                 <Shape>
126                      <Appearance USE='Black'/>
127                      <Cylinder height='2.5radius='.13'/>
128                 </Shape>
129            </Transform>
130            <Transform translation='0 12.5 0'>
131                 <Shape>
132                      <Appearance USE='Black'/>
133                      <Cylinder height='2.5radius='.25'/>
134                 </Shape>
135            </Transform>
136 
          <!-- ROUTE information for NavigationAntennaTr node:  [from RotateAntenna.value_changed to set_rotation ] -->
          <Transform DEF='NavigationAntennaTrrotation='0 1 0 1.57translation='0 14.4 0'>
137                 <Shape>
138                      <Appearance USE='Black'/>
139                      <Box size='3.2 .5 .7'/>
140                 </Shape>
141 
               <!-- ROUTE information for RotateAntenna node:  [from AntennaTimer.fraction_changed to set_fraction ] [from value_changed to NavigationAntennaTr.set_rotation ] -->
               <OrientationInterpolator DEF='RotateAntennakey='0 1 2keyValue='0 1 0 0 0 1 0 3.14 0 1 0 6.28'/>
142 
               <!-- ROUTE information for AntennaTimer node:  [from fraction_changed to RotateAntenna.set_fraction ] -->
               <TimeSensor DEF='AntennaTimercycleInterval='3.0loop='true'/>
143            </Transform>
144            <Transform rotation='0 0 1 1.57translation='.7 11.8 0'>
145                 <Shape>
146                      <Appearance USE='Black'/>
147                      <Cylinder height='1.5radius='.1'/>
148                 </Shape>
149            </Transform>
150            <Transform translation='1.395 12.095 0'>
151                 <Shape>
152                      <Appearance USE='Black'/>
153                      <Cylinder height='.6radius='.1'/>
154                 </Shape>
155            </Transform>
156            <Transform translation='1.395 12.59 0'>
157                 <Shape>
158                      <Appearance USE='Black'/>
159                      <Cylinder height='.5radius='.5'/>
160                 </Shape>
161            </Transform>
162            < ROUTE  fromNode='AntennaTimer' fromField='fraction_changed' toNode='RotateAntenna' toField='set_fraction'/>
163            < ROUTE  fromNode='RotateAntenna' fromField='value_changed' toNode='NavigationAntennaTr' toField='set_rotation'/>
164            <Transform translation='-2.1 14.5 0'>
165                 <Shape>
166                      <Appearance USE='Black'/>
167                      <Cylinder height='3.2radius='.125'/>
168                 </Shape>
169            </Transform>
170            <Transform rotation='0 0 1 1.57translation='-1.2 13 0'>
171                 <Shape>
172                      <Appearance USE='Black'/>
173                      <Cylinder radius='.125'/>
174                 </Shape>
175            </Transform>
176       </Scene>
177  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: AntennaTimer, Black, FrontSide, HalfMastStructure, NavigationAntennaTr, RotateAntenna

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, Box, Cylinder, Group, head, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, 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.

AntennaTimer
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
RotateAntenna
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
RotateAntenna
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
NavigationAntennaTr
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://savage.nps.edu/Savage/ShipsMilitary/FrigateYavuzTurkey/MastIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/ShipsMilitary/FrigateYavuzTurkey/Mast.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)
-->

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