X3D Model Documentation: TurretHatch.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=' TurretHatch.x3d '/>
  6            <meta name='descriptioncontent='Turret Hatch and Hinge Assembly for the AAVP7A1 - click and drag hatch to open.'/>
  7            <meta name='creatorcontent='Jeffrey Weekley'/>
  8            <meta name='createdcontent='1 June 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAV/TurretHatch.x3d '/>
 11            <meta name='subjectcontent='AAV AAV7PA1 LVTP7'/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: TurretHatch, TurretHatchGROUP, TurretHatchHinges

Index for ExternProtoDeclare definition: ArbitraryAxisCylinderSensor
-->
 15       <Scene>
 16            <WorldInfo title='TurretHatch.x3d'/>
 17            <ExternProtoDeclare name='ArbitraryAxisCylinderSensorappinfo='Modified CylinderSensor with children nodes oriented about an arbitrary axis. Warning: ArbitraryAxisCylinderSensor affects children, not peers.'   url=' "../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor" "../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor" '>
 18                 <field name='shiftRotationAxistype='SFRotationaccessType='initializeOnly'
                appinfo='shifted axis of rotation from local vertical, default 1 0 0 0'/>
 19                 <field name='centertype='SFVec3faccessType='initializeOnly'
                appinfo='local center for axis of rotation, default 0 0 0'/>
 20                 <field name='showCylinderSensorShapetype='SFBoolaccessType='initializeOnly'
                appinfo='whether to show visualization shape to show orientation and cylindrical mapping of mouse movements by sensor, default true'/>
 21                 <field name='scaleCylinderSensorShapetype='SFVec3faccessType='inputOutput'
                appinfo='scale for visualization shape, default 1 1 1'/>
 22                 <field name='colorCylinderSensorShapetype='SFColoraccessType='inputOutput'
                appinfo='color for visualization shape, default 0.9 0.9 0.4'/>
 23                 <field name='transparencyCylinderSensorShapetype='SFFloataccessType='inputOutput'
                appinfo='transparency for visualization shape'/>
 24                 <field name='childrentype='MFNodeaccessType='inputOutput'
                appinfo='children nodes affected by ArbitraryAxisCylinderSensor'/>
 25                 <field name='autoOffsettype='SFBoolaccessType='inputOutput'
                appinfo='determines whether previous offset values are remembered/accumulated, default true'/>
 26                 <field name='descriptiontype='SFStringaccessType='inputOutput'
                appinfo='Text tooltip displayed for user interaction'/>
 27                 <field name='diskAngletype='SFFloataccessType='inputOutput'
                appinfo='diskAngle 0 forces disk-like behavior, diskAngle 1.57 (90 degrees) forces cylinder-like behavior, default 0.262, range [0,pi/2]'/>
 28                 <field name='enabledtype='SFBoolaccessType='inputOutput'
                appinfo='enables/disables node operation, default true'/>
 29                 <field name='minAngletype='SFFloataccessType='inputOutput'
                appinfo='clamps rotation_changed events, default 0, range [-2pi,2pi]'/>
 30                 <field name='maxAngletype='SFFloataccessType='inputOutput'
                appinfo='clamps rotation_changed events, default -1, range [-2pi,2pi]'/>
 31                 <field name='offsettype='SFFloataccessType='initializeOnly'
                appinfo='sends event and remembers last value sensed, default 0, range (-infinity,infinity)'/>
 32                 <field name='isActivetype='SFBoolaccessType='outputOnly'
                appinfo='output event isActive=true when primary mouse button is pressed, output event isActive=false when released.'/>
 33                 <field name='rotation_changedtype='SFRotationaccessType='outputOnly'
                appinfo='rotation_changed events equal sum of relative bearing changes plus offset value about Y-axis in local coordinate system'/>
 34                 <field name='trackPoint_changedtype='SFVec3faccessType='outputOnly'
                appinfo="trackPoint_changed events give intersection point of bearing with sensor's virtual geometry"/>
 35            </ExternProtoDeclare>
 36            <ProtoInstance name='ArbitraryAxisCylinderSensor'>
 37                 <!-- rotate yAxis to xAxis -->
 38                 <fieldValue name='minAnglevalue='0'/>
 39                 <fieldValue name='maxAnglevalue='1.8'/>
 40                 <fieldValue name='shiftRotationAxisvalue='0 0 1 -1.5707963'/>
 41                 <fieldValue name='showCylinderSensorShapevalue='false'/>
 42                 <fieldValue name='children'>
 43                      <Group DEF='TurretHatchGROUP'>
 44                           <Transform DEF='TurretHatchHingesrotation='0 -1 0 1.57translation='0.201 0 0'>
 45                                <Transform rotation='1 0 0 1.57'>
 46                                     <Shape>
 47                                          <Cylinder height='0.0375radius='0.06'/>
 48                                          <Appearance>
 49                                               <Material diffuseColor='0.15 0.66 0.25'/>
 50                                          </Appearance>
 51                                     </Shape>
 52                                     <Transform translation='-0.135 0 0'>
 53                                          <Shape>
 54                                               <Appearance>
 55                                                    <Material diffuseColor='0.15 0.66 0.25'/>
 56                                               </Appearance>
 57                                               <Box size='0.1875 0.0375 0.06'/>
 58                                          </Shape>
 59                                     </Transform>
 60                                     <Transform translation='0 0.2625 0'>
 61                                          <Shape>
 62                                               <Cylinder height='0.0375radius='0.06'/>
 63                                               <Appearance>
 64                                                    <Material diffuseColor='0.15 0.66 0.25'/>
 65                                               </Appearance>
 66                                          </Shape>
 67                                          <Transform translation='-0.135 0 0'>
 68                                               <Shape>
 69                                                    <Appearance>
 70                                                         <Material diffuseColor='0.15 0.66 0.25'/>
 71                                                    </Appearance>
 72                                                    <Box size='0.1875 0.0375 0.06'/>
 73                                               </Shape>
 74                                          </Transform>
 75                                     </Transform>
 76                                     <Transform translation='0 0.13125 0'>
 77                                          <Shape>
 78                                               <Cylinder height='0.2625radius='0.045'/>
 79                                               <Appearance>
 80                                                    <Material diffuseColor='0.15 0.66 0.25'/>
 81                                               </Appearance>
 82                                          </Shape>
 83                                     </Transform>
 84                                </Transform>
 85                           </Transform>
 86                           <Transform DEF='TurretHatchrotation='0 1 0 0.675scale='2 2 2translation='0.0625 0 -0.4'>
 87                                <Transform>
 88                                     <Shape>
 89                                          <Appearance>
 90                                               <Material diffuseColor='0.15 0.66 0.25'/>
 91                                          </Appearance>
 92                                          <Extrusion creaseAngle='0.775crossSection='1.00 0.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00scale='0.16 0.16 0.14 0.14 0.08 0.08 0.02 0.02 0.02 0.02spine='0 0 0 0 0.02 0 0 0.04 0 0 0.05 0 0 0.05125 0'/>
 93                                     </Shape>
 94                                </Transform>
 95                           </Transform>
 96                      </Group>
 97                 </fieldValue>
 98            </ProtoInstance>
 99       </Scene>
100  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: TurretHatch, TurretHatchGROUP, TurretHatchHinges

Index for ExternProtoDeclare definition: ArbitraryAxisCylinderSensor
-->
X3D Tooltips element index: Appearance, Box, Cylinder, ExternProtoDeclare, Extrusion, field, fieldValue, Group, head, Material, meta, ProtoInstance, Scene, Shape, 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 36
ProtoInstance
ArbitraryAxisCylinderSensor
No direct ROUTE connection found for events to/from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declaration 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/AmphibiousVehicles/AAV/TurretHatchIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAV/TurretHatch.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. -->