X3D Model Documentation: WheelsRearRightPrototype.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=' WheelsRearRightPrototype.x3d '/>
  6            <meta name='descriptioncontent='This prototype performs to raise and lower rear right wheels and axle. The clickable axle triggers an animation.'/>
  7            <meta name='creatorcontent='Etsuko Lippi'/>
  8            <meta name='createdcontent='18 October 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightPrototype.x3d '/>
 12            <meta name='subjectcontent='rear right wheel, animation of gear up and down, Prototype'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AssistantAxleColor, AxleColor, black1, Clock, ClockAxleGearUpDownFirst, ClockAxleGearUpDownSecond, GearUpDownInterpolator, GearUpDownInterpolator2, GearUpDownScript, Hub, inside_wheel, joint, JointsAxisAndAssistants, JointsAxisAndAssistantsTest, RearAxles, wheel, WheelInterpolator, WheelsRearAxleTransform, WheelsRearTransform, WheelTouchSensor, WheelTransform, white1

Index for ProtoDeclare definition: WheelsRearRight
-->
 15       <Scene>
 16            <WorldInfo title='WheelsRearRightPrototype.x3d'/>
 17            <ProtoDeclare name='WheelsRearRight'>
 18                 <ProtoInterface>
 19                      <field name='gearuptype='SFBoolaccessType='inputOnly'
                     appinfo='boolean eventIn: true = wheels up false = wheels down.'/>
 20                      <field name='animationStartTimetype='SFTimeaccessType='inputOnly'/>
 21                      <field name='gearupOuttype='SFBoolaccessType='outputOnly'/>
 22                      <field name='traceEnabledtype='SFBoolvalue='falseaccessType='initializeOnly'/>
 23                 </ProtoInterface>
 24                 <ProtoBody>
 25                      <Group>
 26 
                         <!-- ROUTE information for WheelsRearTransform node:  [from GearUpDownInterpolator2.value_changed to set_rotation ] -->
                         <Transform DEF='WheelsRearTransformcenter='0 3.8 0'>
 27 
                              <!-- ROUTE information for WheelsRearAxleTransform node:  [from GearUpDownInterpolator.value_changed to set_rotation ] -->
                              <Transform DEF='WheelsRearAxleTransformcenter='0.02 0.2 1.72'>
 28                                     <Group>
 29                                          <!-- wheels axis connecting to fuselage -->
 30 
                                        <!-- ROUTE information for WheelTransform node:  [from WheelInterpolator.value_changed to set_rotation ] -->
                                        <Transform DEF='WheelTransformscale='1.2 1.2 1.2'>
 31                                               <Transform scale='0.3 0.3 0.3'>
 32                                                    <Transform rotation='0 1 0 1.571'>
 33                                                         <Shape DEF='wheel'>
 34                                                              <Appearance>
 35                                                                   <Material DEF='black1diffuseColor='0 0 0shininess='0.125specularColor='0.2 0.2 0.2'/>
 36                                                              </Appearance>
 37                                                              <Extrusion creaseAngle='3.14crossSection='0.00 1.30 .494 1.196 .923 .923 1.196 .494 1.30 0.00 1.196 -.494 .923 -.923 .494 -1.196 0.00 -1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 38                                                         </Shape>
 39                                                         <Shape DEF='inside_wheel'>
 40 
                                                            <!-- Appearance white1 is a DEF node that has 1 USE node: USE_1 -->
                                                            <Appearance DEF='white1'>
 41                                                                   <Material diffuseColor='1 1 1'/>
 42                                                              </Appearance>
 43                                                              <Extrusion crossSection='0.00 1.30 0.10 1.30 0.10 0.00 0.10 -1.30 0.00 -1.30 0.00 0.00 0.00 1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 44                                                         </Shape>
 45                                                    </Transform>
 46                                                    <Transform rotation='0 1 0 1.571'>
 47                                                         <Shape>
 48                                                              <Appearance USE='white1'/>
 49                                                              <Extrusion crossSection='-0.10 1.30 0.00 1.30 0.00 0.00 0.00 -1.30 -0.10 -1.30 -0.10 0.00 -0.10 1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 50                                                         </Shape>
 51                                                    </Transform>
 52                                                    <Transform rotation='0 1 0 1.571'>
 53                                                         <Shape>
 54                                                              <Appearance>
 55                                                                   <Material diffuseColor='0 0.25 0.5'/>
 56                                                              </Appearance>
 57                                                              <Extrusion crossSection='-0.30 1.30 -0.10 1.30 -0.10 0.00 -0.10 -1.30 -0.30 -1.30 -0.30 0.00 -0.30 1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 58                                                         </Shape>
 59                                                    </Transform>
 60                                               </Transform>
 61                                               <Transform translation='0 0 0.30'>
 62 
                                                  <!-- Inline Hub is a DEF node that has 1 USE node: USE_1 -->
                                                  <Inline DEF='Hub'   url=' "Hub.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/Hub.wrl" "Hub.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/Hub.x3d" '/>
 63                                               </Transform>
 64                                               <Transform translation='0 0 -0.30'>
 65                                                    <Inline USE='Hub'/>
 66                                               </Transform>
 67 
                                             <!-- ROUTE information for WheelTouchSensor node:  [from isOver to Clock.set_enabled ] -->
                                             <TouchSensor DEF='WheelTouchSensordescription='pointer spins wheel'/>
 68 
                                             <!-- ROUTE information for Clock node:  [from WheelTouchSensor.isOver to set_enabled ] [from fraction_changed to WheelInterpolator.set_fraction ] -->
                                             <TimeSensor DEF='ClockcycleInterval='0.5enabled='falseloop='true'/>
 69 
                                             <!-- ROUTE information for WheelInterpolator node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to WheelTransform.set_rotation ] -->
                                             <OrientationInterpolator DEF='WheelInterpolatorkey='0 0.5 1.0keyValue='0 0 1 0.0 0 0 1 3.14 0 0 1 6.28'/>
 70                                               < ROUTE  fromNode='WheelTouchSensor' fromField='isOver' toNode='Clock' toField='set_enabled'/>
 71                                               < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='WheelInterpolator' toField='set_fraction'/>
 72                                               < ROUTE  fromNode='WheelInterpolator' fromField='value_changed' toNode='WheelTransform' toField='set_rotation'/>
 73                                          </Transform>
 74                                     </Group>
 75                                     <Group>
 76                                          <Transform DEF='JointsAxisAndAssistantsTest'>
 77                                               <Group DEF='JointsAxisAndAssistants'>
 78                                                    <Transform rotation='-0.13 0.98 -0.13 1.59scale='0.1 0.1 0.1translation='0 0.15 1.55'>
 79                                                         <!-- Joint center -->
 80                                                         <Shape>
 81 
                                                            <!-- Appearance AxleColor is a DEF node that has 7 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7 -->
                                                            <Appearance DEF='AxleColor'>
 82                                                                   <Material ambientIntensity='0.3diffuseColor='0.3 0.3 0.3shininess='0.20specularColor='0.50 0.50 0.60'/>
 83                                                              </Appearance>
 84 
                                                            <!-- Extrusion joint is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                                            <Extrusion DEF='jointcreaseAngle='2.5crossSection='0.00 1.30 .494 1.196 .923 .923 1.196 .494 1.30 0.00 1.196 -.494 .923 -.923 .494 -1.196 0.00 -1.30 -.494 -1.196 -.923 -.923 -1.196 -.494 -1.30 -0.00 -1.196 .494 -.923 .923 -.494 1.196 0.00 1.30spine='-2.5 1.5 0 -2.5 1 0 -2 0 0 -2 0 0 -1.5 -1 0 -0.5 -1.5 0 0.5 -1.5 0 1.5 -1.5 0 2 -1.0 0'/>
 85                                                         </Shape>
 86                                                    </Transform>
 87                                                    <Transform rotation='-0.13 0.98 -0.13 1.59scale='0.07 0.07 0.07translation='0.30 0.15 1.55'>
 88                                                         <!-- Joint side -->
 89                                                         <Shape>
 90                                                              <Appearance USE='AxleColor'/>
 91                                                              <Extrusion USE='joint'/>
 92                                                         </Shape>
 93                                                    </Transform>
 94                                                    <Transform rotation='-0.13 0.98 -0.13 1.59scale='0.07 0.07 0.07translation='-0.30 0.15 1.55'>
 95                                                         <!-- Joint side -->
 96                                                         <Shape>
 97                                                              <Appearance USE='AxleColor'/>
 98                                                              <Extrusion USE='joint'/>
 99                                                         </Shape>
100                                                    </Transform>
101                                                    <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0 0 0.5'>
102                                                         <!-- Wheel connected axis. (black) -->
103                                                         <Shape>
104                                                              <Appearance USE='AxleColor'/>
105                                                              <Cylinder height='1.0radius='0.1'/>
106                                                         </Shape>
107                                                    </Transform>
108                                                    <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0 0 0.65'>
109                                                         <!-- The second axis. (black) -->
110                                                         <Shape>
111                                                              <Appearance USE='AxleColor'/>
112                                                              <Cylinder height='0.4radius='0.25'/>
113                                                         </Shape>
114                                                    </Transform>
115                                                    <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0 0 1.1'>
116                                                         <!-- assistant axle for rear wheel(white) -->
117                                                         <Shape>
118                                                              <Appearance>
119                                                                   <Material diffuseColor='1.0 1.0 1.0'/>
120                                                              </Appearance>
121                                                              <Cylinder height='1radius='0.3'/>
122                                                         </Shape>
123                                                    </Transform>
124                                                    <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0.3 0 1.1'>
125                                                         <!-- assistant axle for rear wheel(white) -->
126                                                         <Shape>
127 
                                                            <!-- Appearance AssistantAxleColor is a DEF node that has 6 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6 -->
                                                            <Appearance DEF='AssistantAxleColor'>
128                                                                   <Material diffuseColor='1.0 1.0 1.0'/>
129                                                              </Appearance>
130                                                              <Cylinder height='1radius='0.3'/>
131                                                         </Shape>
132                                                    </Transform>
133                                                    <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='-0.3 0 1.1'>
134                                                         <!-- assistant axle for rear wheel(white) -->
135                                                         <Shape>
136                                                              <Appearance USE='AssistantAxleColor'/>
137                                                              <Cylinder height='1radius='0.3'/>
138                                                         </Shape>
139                                                    </Transform>
140                                               </Group>
141                                          </Transform>
142                                     </Group>
143                                </Transform>
144                                <Transform>
145                                     <Group DEF='RearAxles'>
146                                          <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='0 1.05 2.15'>
147                                               <!-- main axle for rear wheels (white) -->
148                                               <Shape>
149                                                    <Appearance USE='AssistantAxleColor'/>
150                                                    <Box size='0.5 3 0.5'/>
151                                               </Shape>
152                                          </Transform>
153                                          <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='0.3 0.8 2'>
154                                               <!-- assistant axle for rear wheel (white) -->
155                                               <Shape>
156                                                    <Appearance USE='AssistantAxleColor'/>
157                                                    <Cylinder radius='0.2'/>
158                                               </Shape>
159                                          </Transform>
160                                          <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='0.3 1.5 2.3'>
161                                               <!-- assistant axle for rear wheel (white) -->
162                                               <Shape>
163                                                    <Appearance USE='AssistantAxleColor'/>
164                                                    <Cylinder radius='0.3'/>
165                                               </Shape>
166                                          </Transform>
167                                          <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='-0.3 0.8 2'>
168                                               <!-- assistant axle for rear wheel (white) -->
169                                               <Shape>
170                                                    <Appearance USE='AssistantAxleColor'/>
171                                                    <Cylinder radius='0.2'/>
172                                               </Shape>
173                                          </Transform>
174                                          <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='-0.3 1.5 2.3'>
175                                               <!-- assistant axle for rear wheel (white) -->
176                                               <Shape>
177                                                    <Appearance USE='AssistantAxleColor'/>
178                                                    <Cylinder radius='0.3'/>
179                                               </Shape>
180                                          </Transform>
181                                          <Transform rotation='1 0 0 0.44scale='0.5 0.5 0.5translation='-0.3 0.2 1.72'>
182                                               <!-- assistant axis under axle (black) -->
183                                               <Shape>
184                                                    <Appearance USE='AxleColor'/>
185                                                    <Cylinder height='0.7radius='0.2'/>
186                                               </Shape>
187                                          </Transform>
188                                          <Transform rotation='1 0 0 0.44scale='0.5 0.5 0.5translation='0 0.2 1.72'>
189                                               <!-- assistant axis under axle (black) -->
190                                               <Shape>
191                                                    <Appearance USE='AxleColor'/>
192                                                    <Cylinder height='0.7radius='0.2'/>
193                                               </Shape>
194                                          </Transform>
195                                          <Transform rotation='1 0 0 0.44scale='0.5 0.5 0.5translation='0.3 0.2 1.72'>
196                                               <!-- assistant axis under axle (black) -->
197                                               <Shape>
198                                                    <Appearance USE='AxleColor'/>
199                                                    <Cylinder height='0.7radius='0.2'/>
200                                               </Shape>
201                                          </Transform>
202                                     </Group>
203                                </Transform>
204 
205                                     <field name='gearuptype='SFBoolaccessType='inputOnly'
                                    appinfo='eventIn: boolean true: wheels up false: wheels down'/>
206                                     <field name='gearupOuttype='SFBoolaccessType='outputOnly'/>
207                                     <field name='keyValuetype='MFRotationaccessType='outputOnly'/>
208                                     <field name='keyValue2type='MFRotationaccessType='outputOnly'/>
209                                     <field name='kV1type='SFRotationaccessType='initializeOnly'/>
210                                     <field name='kV1Secondtype='SFRotationaccessType='initializeOnly'/>
211                                     <field name='kV2type='SFRotationaccessType='initializeOnly'/>
212                                     <field name='kV2Secondtype='SFRotationaccessType='initializeOnly'/>
213                                     <field name='kV3type='SFRotationaccessType='initializeOnly'/>
214                                     <field name='kV3Secondtype='SFRotationaccessType='initializeOnly'/>
215                                     <field name='kV4type='SFRotationaccessType='initializeOnly'/>
216                                     <field name='kV4Secondtype='SFRotationaccessType='initializeOnly'/>
217                                     <field name='set_fractiontype='SFFloataccessType='inputOnly'/>
218                                     <field name='animationStartTimetype='SFTimeaccessType='inputOnly'/>
219                                     <field name='clockStartTimetype='SFTimeaccessType='outputOnly'/>
220                                     <field name='traceEnabledtype='SFBoolaccessType='initializeOnly'/>
221                                     <IS>
222                                          <connect nodeField='gearupprotoField='gearup'/>
223                                          <connect nodeField='animationStartTimeprotoField='animationStartTime'/>
224                                          <connect nodeField='gearupOutprotoField='gearupOut'/>
225                                          <connect nodeField='traceEnabledprotoField='traceEnabled'/>
226                                     </IS>
  <![CDATA[
              
ecmascript:

function gearup(value, timeStamp) {
  
 if (value == true)       //Gear Up
 {
      	tracePrint ('[GearUp] ' );
      	tracePrint ('value = ' + value);
      	gearupOut = true;    	
      
      	kV1 = new SFRotation (new SFVec3f (0, -1, 0), 0.0);  
     	kV2 = new SFRotation (new SFVec3f (0, -1, 0), 0.44);
      	kV3 = new SFRotation(new SFVec3f (0, -1, 0), 1.22);
        kV4 = new SFRotation(new SFVec3f (0.21, -0.96, -0.19), 1.72);
      	keyValue = new MFRotation(kV1, kV2, kV3, kV4);  

	kV1Second = new SFRotation (new SFVec3f (0, 0, -1), 0.0);  
     	kV2Second = new SFRotation (new SFVec3f (0, 0, -1), 0.44);
      	kV3Second = new SFRotation(new SFVec3f (0, 0, -1), 0.80);
        kV4Second = new SFRotation(new SFVec3f (-0.21, 0.18, -0.95), 1.62);
      	keyValue2 = new MFRotation(kV1Second, kV2Second, kV3Second, kV4Second);  
      	//tracePrint ('[keyValue = ]' + keyValue);      
  
 }
 else        //Gear Down
 {
      	tracePrint ('[GearDown] ' );
      	tracePrint ('value = ' + value);
      	gearupOut = true;
     	
      	keyValue = new MFRotation(kV4, kV3, kV2, kV1);  
        keyValue2 = new MFRotation(kV4Second, kV3Second, kV2Second, kV1Second);  
      	//tracePrint ('[keyValue = ]' + keyValue);             
 }
 
}

function set_fraction (value, timeStamp)
{
	//tracePrint('time fraction = ' + value);
}

function animationStartTime(value, timeStamp)
{	
	tracePrint('The Start Time is: ' + value);
	clockStartTime = value;
}

function tracePrint (outputString)
{
	if (traceEnabled) Browser.println ('[WheelsRearRightPrototype] ' + outputString);
}

            
]]>
228                                </Script>
229 
                              <!-- ROUTE information for GearUpDownInterpolator node:  [from GearUpDownScript.keyValue to set_keyValue ] [from ClockAxleGearUpDownFirst.fraction_changed to set_fraction ] [from value_changed to WheelsRearAxleTransform.set_rotation ] -->
                              <OrientationInterpolator DEF='GearUpDownInterpolatorkey='0 0.5 0.75 1.0keyValue='0 1 0 0.0 0 1 0 0.44 0 1 0 1.22 0.21 0.95 0.21 1.62'/>
230 
                              <!-- ROUTE information for GearUpDownInterpolator2 node:  [from GearUpDownScript.keyValue2 to set_keyValue ] [from ClockAxleGearUpDownSecond.fraction_changed to set_fraction ] [from value_changed to WheelsRearTransform.set_rotation ] -->
                              <OrientationInterpolator DEF='GearUpDownInterpolator2key='0 0.25 0.5 1.0keyValue='0 0 1 0.0 0 0 1 0.44 0 0 1 0.80 -0.21 -0.21 0.95 1.62'/>
231 
                              <!-- ROUTE information for ClockAxleGearUpDownFirst node:  [from GearUpDownScript.clockStartTime to set_startTime ] [from GearUpDownScript.gearupOut to set_enabled ] [from fraction_changed to GearUpDownInterpolator.set_fraction ] [from fraction_changed to GearUpDownScript.set_fraction ] -->
                              <TimeSensor DEF='ClockAxleGearUpDownFirstcycleInterval='4'/>
232 
                              <!-- ROUTE information for ClockAxleGearUpDownSecond node:  [from GearUpDownScript.clockStartTime to set_startTime ] [from GearUpDownScript.gearupOut to set_enabled ] [from fraction_changed to GearUpDownInterpolator2.set_fraction ] -->
                              <TimeSensor DEF='ClockAxleGearUpDownSecondcycleInterval='8'/>
233                                < ROUTE  fromNode='GearUpDownScript' fromField='clockStartTime' toNode='ClockAxleGearUpDownFirst' toField='set_startTime'/>
234                                < ROUTE  fromNode='GearUpDownScript' fromField='clockStartTime' toNode='ClockAxleGearUpDownSecond' toField='set_startTime'/>
235                                < ROUTE  fromNode='GearUpDownScript' fromField='gearupOut' toNode='ClockAxleGearUpDownFirst' toField='set_enabled'/>
236                                < ROUTE  fromNode='GearUpDownScript' fromField='gearupOut' toNode='ClockAxleGearUpDownSecond' toField='set_enabled'/>
237                                < ROUTE  fromNode='GearUpDownScript' fromField='keyValue' toNode='GearUpDownInterpolator' toField='set_keyValue'/>
238                                < ROUTE  fromNode='GearUpDownScript' fromField='keyValue2' toNode='GearUpDownInterpolator2' toField='set_keyValue'/>
239                                < ROUTE  fromNode='ClockAxleGearUpDownFirst' fromField='fraction_changed' toNode='GearUpDownInterpolator' toField='set_fraction'/>
240                                < ROUTE  fromNode='ClockAxleGearUpDownSecond' fromField='fraction_changed' toNode='GearUpDownInterpolator2' toField='set_fraction'/>
241                                < ROUTE  fromNode='ClockAxleGearUpDownFirst' fromField='fraction_changed' toNode='GearUpDownScript' toField='set_fraction'/>
242                                < ROUTE  fromNode='GearUpDownInterpolator' fromField='value_changed' toNode='WheelsRearAxleTransform' toField='set_rotation'/>
243                                < ROUTE  fromNode='GearUpDownInterpolator2' fromField='value_changed' toNode='WheelsRearTransform' toField='set_rotation'/>
244                           </Transform>
245                      </Group>
246                 </ProtoBody>
247            </ProtoDeclare>
248            <Background skyColor='0.7 0.7 0.7'/>
249            <Anchor description='WheelsRearRightExampleparameter='"target=_blank"'   url=' "WheelsRearRightExample.wrl" "../../AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.wrl" "WheelsRearRightExample.x3d" "../../AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.x3d" '>
250                 <Shape>
251                      <Text string='"WheelsRearRightPrototype" "is a prototype definition file" "" "To see an example scene" "click on this text and view" "WheelsRearRightExample"'>
252                           <FontStyle justify='"MIDDLE" "MIDDLE"'/>
253                      </Text>
254                      <Appearance/>
255                 </Shape>
256            </Anchor>
257       </Scene>
258  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AssistantAxleColor, AxleColor, black1, Clock, ClockAxleGearUpDownFirst, ClockAxleGearUpDownSecond, GearUpDownInterpolator, GearUpDownInterpolator2, GearUpDownScript, Hub, inside_wheel, joint, JointsAxisAndAssistants, JointsAxisAndAssistantsTest, RearAxles, wheel, WheelInterpolator, WheelsRearAxleTransform, WheelsRearTransform, WheelTouchSensor, WheelTransform, white1

Index for ProtoDeclare definition: WheelsRearRight
-->
X3D Tooltips element index: Anchor, Appearance, Background, Box, connect, Cylinder, Extrusion, field, FontStyle, Group, head, Inline, IS, Material, meta, OrientationInterpolator, ProtoBody, ProtoDeclare, ProtoInterface, ROUTE, Scene, Script, Shape, Text, TimeSensor, TouchSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

WheelTouchSensor
TouchSensor
isOver
SFBool

ROUTE
event to
(1)
Clock
TimeSensor
set_enabled
SFBool
then
 
 
 
Clock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
WheelInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
WheelInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
WheelTransform
Transform
set_rotation
SFRotation

line 249
Anchor
description='WheelsRearRightExample' 
User-interaction hint for this node. 

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/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightPrototypeIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightPrototype.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)
    <ProtoDeclare name='ProtoName'> <field name='fieldName'/> </ProtoDeclare> -->

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