X3D Model Documentation: ZonePrototype.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=' ZonePrototype.x3d '/>
  6            <meta name='descriptioncontent='Exclusion Zone Range Markers. Up to three'/>
  7            <meta name='creatorcontent='Alan Hudson'/>
  8            <meta name='createdcontent='11 Sept 2006'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name='versioncontent='1.0'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Tools/Symbology/ZonePrototype.x3d '/>
 12            <meta name='generatorcontent='TextPad'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!-- -->
<!-- to top DEF node index: Range

Index for ProtoDeclare definition: Zone
-->
 15       <Scene>
 16            <WorldInfo title='ZonePrototype.x3d'/>
 17            <ProtoDeclare name='Zone'>
 18                 <ProtoInterface>
 19                      <field name='translationtype='SFVec3fvalue='0 0 0accessType='inputOutput'
                     appinfo='Usually to raise ranges off the surface'/>
 20                      <field name='rangetype='SFVec3fvalue='1 1 1accessType='inputOutput'
                     appinfo='Scale of 1 meter radius circle'/>
 21                      <field name='colortype='SFColorvalue='1 1 1accessType='inputOutput'
                     appinfo='The color to display the zone in.'/>
 22                      <field name='whichChoicetype='SFInt32value='0accessType='inputOutput'
                     appinfo='Turns zones on and off'/>
 23                 </ProtoInterface>
 24                 <ProtoBody>
 25                      <Switch whichChoice='-1'>
 26                           <IS>
 27                                <connect nodeField='whichChoiceprotoField='whichChoice'/>
 28                           </IS>
 29                           <Transform>
 30                                <IS>
 31                                     <connect nodeField='translationprotoField='translation'/>
 32                                </IS>
 33                                <Transform DEF='Range'>
 34                                     <IS>
 35                                          <connect nodeField='scaleprotoField='range'/>
 36                                     </IS>
 37                                     <Shape>
 38                                          <Appearance>
 39                                               <Material>
 40                                                    <IS>
 41                                                         <connect nodeField='emissiveColorprotoField='color'/>
 42                                                    </IS>
 43                                               </Material>
 44                                          </Appearance>
 45                                          <IndexedLineSet colorPerVertex='falsecolorIndex='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0coordIndex='1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33'>
 46                                               <Coordinate point='0 0 -1 0.195 0 -0.981 0.382 0 -0.924 0.555 0 -0.832 0.707 0 -0.708 0.831 0 -0.556 0.923 0 -0.383 0.98 0 -0.196 1 0 0 0.98 0 0.195 0.923 0 0.382 0.831 0 0.555 0.707 0 0.707 0.555 0 0.831 0.382 0 0.923 0.195 0 0.98 0 0 1 -0.195 0 0.98 -0.382 0 0.923 -0.555 0 0.831 -0.707 0 0.707 -0.831 0 0.555 -0.923 0 0.382 -0.98 0 0.195 -1 0 0 -0.981 0 -0.195 -0.924 0 -0.382 -0.832 0 -0.555 -0.708 0 -0.707 -0.556 0 -0.831 -0.383 0 -0.923 -0.196 0 -0.98 0 0 -1 0.195 0 -0.981'/>
 47                                          </IndexedLineSet>
 48                                     </Shape>
 49                                </Transform>
 50                           </Transform>
 51                      </Switch>
 52                 </ProtoBody>
 53            </ProtoDeclare>
 54       </Scene>
 55  </X3D>
<!--

<!-- -->
<!-- to top DEF node index: Range

Index for ProtoDeclare definition: Zone
-->
X3D Tooltips element index: Appearance, connect, Coordinate, field, head, IndexedLineSet, IS, Material, meta, ProtoBody, ProtoDeclare, ProtoInterface, Scene, Shape, Switch, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/Tools/Symbology/ZonePrototypeIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Tools/Symbology/ZonePrototype.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. -->