X3D Model Documentation: PortStick.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='PortStick.x3d'/>
  6            <meta name='creatorcontent='Selcuk OZTURK'/>
  7            <meta name='descriptioncontent='Port control stick.'/>
  8            <meta name='createdcontent='6 September 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/PortStick.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definition: ArbitraryAxisCylinderSensor
-->
 14       <Scene>
 15            <WorldInfo title='PortStick.x3d'/>
 16            <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://savage.nps.edu/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor" "../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor" "https://savage.nps.edu/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor" '>
 17                 <field name='shiftRotationAxistype='SFRotationaccessType='initializeOnly'
                appinfo='shifted axis of rotation from local vertical, default 1 0 0 0'/>
 18                 <field name='centertype='SFVec3faccessType='initializeOnly'
                appinfo='local center for axis of rotation, default 0 0 0'/>
 19                 <field name='showCylinderSensorShapetype='SFBoolaccessType='initializeOnly'
                appinfo='whether to show visualization shape to show orientation and cylindrical mapping of mouse movements by sensor, default true'/>
 20                 <field name='scaleCylinderSensorShapetype='SFVec3faccessType='inputOutput'
                appinfo='scale for visualization shape, default 1 1 1'/>
 21                 <field name='colorCylinderSensorShapetype='SFColoraccessType='inputOutput'
                appinfo='color for visualization shape, default 0.9 0.9 0.4'/>
 22                 <field name='transparencyCylinderSensorShapetype='SFFloataccessType='inputOutput'
                appinfo='transparency for visualization shape'/>
 23                 <field name='childrentype='MFNodeaccessType='inputOutput'
                appinfo='children nodes affected by ArbitraryAxisCylinderSensor'/>
 24                 <field name='autoOffsettype='SFBoolaccessType='inputOutput'
                appinfo='determines whether previous offset values are remembered/accumulated, default true'/>
 25                 <field name='descriptiontype='SFStringaccessType='inputOutput'
                appinfo='Text tooltip displayed for user interaction'/>
 26                 <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]'/>
 27                 <field name='enabledtype='SFBoolaccessType='inputOutput'
                appinfo='enables/disables node operation, default true'/>
 28                 <field name='minAngletype='SFFloataccessType='inputOutput'
                appinfo='clamps rotation_changed events, default 0, range [-2pi,2pi]'/>
 29                 <field name='maxAngletype='SFFloataccessType='inputOutput'
                appinfo='clamps rotation_changed events, default -1, range [-2pi,2pi]'/>
 30                 <field name='offsettype='SFFloataccessType='initializeOnly'
                appinfo='sends event and remembers last value sensed, default 0, range (-infinity,infinity)'/>
 31                 <field name='isActivetype='SFBoolaccessType='outputOnly'
                appinfo='output event isActive=true when primary mouse button is pressed, output event isActive=false when released.'/>
 32                 <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'/>
 33                 <field name='trackPoint_changedtype='SFVec3faccessType='outputOnly'
                appinfo="trackPoint_changed events give intersection point of bearing with sensor's virtual geometry"/>
 34            </ExternProtoDeclare>
 35            <Transform>
 36                 <Transform rotation='0 0 1 1.57'>
 37                      <Shape>
 38                           <Appearance>
 39                                <Material diffuseColor='1 0 0'/>
 40                           </Appearance>
 41                           <Cylinder height='0.5radius='0.4'/>
 42                      </Shape>
 43                 </Transform>
 44                 <Transform scale='0.8 0.5 0.5'>
 45                      <Shape>
 46                           <Appearance>
 47                                <Material diffuseColor='1 0 0'/>
 48                           </Appearance>
 49                           <Sphere radius='0.75'/>
 50                      </Shape>
 51                 </Transform>
 52            </Transform>
 53            <Transform rotation='0 0 1 1.57'>
 54                 <Group>
 55                      <Transform rotation='1 0 0 1.57'>
 56                           <Transform translation='0 0.4 0'>
 57                                <ProtoInstance name='ArbitraryAxisCylinderSensor'>
 58                                     <!-- rotate yAxis to xAxis -->
 59                                     <fieldValue name='shiftRotationAxisvalue='1 0 0 -1.5707963'/>
 60                                     <fieldValue name='children'>
 61                                          <Shape>
 62                                               <Appearance>
 63                                                    <Material/>
 64                                               </Appearance>
 65                                               <Cylinder height='0.8radius='0.1'/>
 66                                          </Shape>
 67                                          <Transform translation='0 0.5 0'>
 68                                               <Shape>
 69                                                    <Appearance>
 70                                                         <Material/>
 71                                                    </Appearance>
 72                                                    <Sphere radius='0.2'/>
 73                                               </Shape>
 74                                          </Transform>
 75                                     </fieldValue>
 76                                     <fieldValue name='minAnglevalue='-0.7'/>
 77                                     <fieldValue name='maxAnglevalue='0.7'/>
 78                                     <fieldValue name='showCylinderSensorShapevalue='false'/>
 79                                </ProtoInstance>
 80                           </Transform>
 81                      </Transform>
 82                 </Group>
 83            </Transform>
 84       </Scene>
 85  </X3D>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definition: ArbitraryAxisCylinderSensor
-->
X3D Tooltips element index: Appearance, Cylinder, ExternProtoDeclare, field, fieldValue, Group, head, Material, meta, ProtoInstance, Scene, Shape, Sphere, Transform, WorldInfo, X3D, accessType and type, XML data types, 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.


ProtoInstance
ArbitraryAxisCylinderSensor
No ROUTE connection found for output events 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://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/PortStickIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftMiscellaneous/Zeppelin/PortStick.x3d -->

<!-- Color legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement 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> -->

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