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='title' content=' TurretHatch.x3d '/> |
6 | <meta name='description' content='Turret Hatch and Hinge Assembly for the AAVP7A1 - click and drag hatch to open.'/> |
7 | <meta name='creator' content='Jeffrey Weekley'/> |
8 | <meta name='created' content='1 June 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAV/TurretHatch.x3d '/> |
11 | <meta name='subject' content='AAV AAV7PA1 LVTP7'/> |
12 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
13 | <meta name='license' content='../../license.html'/> |
14 | </head> |
15 | <Scene> |
16 | <WorldInfo title='TurretHatch.x3d'/> |
17 | <ExternProtoDeclare name='ArbitraryAxisCylinderSensor' appinfo='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='shiftRotationAxis' type='SFRotation' accessType='initializeOnly'
appinfo='shifted axis of rotation from local vertical, default 1 0 0 0'/> |
19 |
<field name='center' type='SFVec3f' accessType='initializeOnly'
appinfo='local center for axis of rotation, default 0 0 0'/> |
20 |
<field name='showCylinderSensorShape' type='SFBool' accessType='initializeOnly'
appinfo='whether to show visualization shape to show orientation and cylindrical mapping of mouse movements by sensor, default true'/> |
21 |
<field name='scaleCylinderSensorShape' type='SFVec3f' accessType='inputOutput'
appinfo='scale for visualization shape, default 1 1 1'/> |
22 |
<field name='colorCylinderSensorShape' type='SFColor' accessType='inputOutput'
appinfo='color for visualization shape, default 0.9 0.9 0.4'/> |
23 |
<field name='transparencyCylinderSensorShape' type='SFFloat' accessType='inputOutput'
appinfo='transparency for visualization shape'/> |
24 |
<field name='children' type='MFNode' accessType='inputOutput'
appinfo='children nodes affected by ArbitraryAxisCylinderSensor'/> |
25 |
<field name='autoOffset' type='SFBool' accessType='inputOutput'
appinfo='determines whether previous offset values are remembered/accumulated, default true'/> |
26 |
<field name='description' type='SFString' accessType='inputOutput'
appinfo='Text tooltip displayed for user interaction'/> |
27 |
<field name='diskAngle' type='SFFloat' accessType='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='enabled' type='SFBool' accessType='inputOutput'
appinfo='enables/disables node operation, default true'/> |
29 |
<field name='minAngle' type='SFFloat' accessType='inputOutput'
appinfo='clamps rotation_changed events, default 0, range [-2pi,2pi]'/> |
30 |
<field name='maxAngle' type='SFFloat' accessType='inputOutput'
appinfo='clamps rotation_changed events, default -1, range [-2pi,2pi]'/> |
31 |
<field name='offset' type='SFFloat' accessType='initializeOnly'
appinfo='sends event and remembers last value sensed, default 0, range (-infinity,infinity)'/> |
32 |
<field name='isActive' type='SFBool' accessType='outputOnly'
appinfo='output event isActive=true when primary mouse button is pressed, output event isActive=false when released.'/> |
33 |
<field name='rotation_changed' type='SFRotation' accessType='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_changed' type='SFVec3f' accessType='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='minAngle' value='0'/> |
39 | <fieldValue name='maxAngle' value='1.8'/> |
40 | <fieldValue name='shiftRotationAxis' value='0 0 1 -1.5707963'/> |
41 | <fieldValue name='showCylinderSensorShape' value='false'/> |
42 | <fieldValue name='children'> |
43 | <Group DEF='TurretHatchGROUP'> |
44 | <Transform DEF='TurretHatchHinges' rotation='0 -1 0 1.57' translation='0.201 0 0'> |
45 | <Transform rotation='1 0 0 1.57'> |
46 | <Shape> |
47 | <Cylinder height='0.0375' radius='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.0375' radius='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.2625' radius='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='TurretHatch' rotation='0 1 0 0.675' scale='2 2 2' translation='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.775' crossSection='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.00' scale='0.16 0.16 0.14 0.14 0.08 0.08 0.02 0.02 0.02 0.02' spine='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 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. |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='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>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->