X3D Model Documentation: UserScriptedEntityGeometryCreator.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
  3  <X3D profile='Immersive' version='3.2 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'>
  4       <head>
  5            <component level='2name='DIS'/>
  6            <meta name='titlecontent='UserScriptedEntityGeometryCreator.x3d'/>
  7            <meta name='descriptioncontent='Example scene for DISEntityManager, setting up a Script to process new arrivals'/>
  8            <meta name='creatorcontent='Alan Hudson and Justin Couch'/>
  9            <meta name='translatorcontent='Don Brutzman'/>
 10            <meta name='createdcontent='4 March 2005'/>
 11            <meta name='translatedcontent='8 January 2009'/>
 12            <meta name='modifiedcontent='3 July 2022'/>
 13            <meta name='referencecontent='UserScriptedEntityGeometryCreatorOriginal.x3dv'/>
 14            <meta name='referencecontent='http://www.xj3d.org/extensions/DIS_examples.html'/>
 15            <meta name='referencecontent='https://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/dis.html#DISEntityManager'/>
 16            <meta name='subjectcontent='IEEE Distributed Interactive Simulation DIS'/>
 17            <meta name=' warning content=' under development '/>
 18            <meta name=' error content=' missing script source '/>
 19            <meta name='referencecontent='http://bugzilla.xj3d.org/show_bug.cgi?id=561'/>
 20            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/UserScriptedEntityGeometryCreator.x3d'/>
 21            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 22            <meta name='generatorcontent='Xj3D, http://www.xj3d.org'/>
 23            <meta name='licensecontent='../license.html'/>
 24       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: EntityHolder, EntityManager, EntityProcessor
-->
 25       <Scene>
 26            <WorldInfo title='UserScriptedEntityGeometryCreator.x3d'/>
 27 
          <!-- ROUTE information for EntityManager node:  [from addedEntities to EntityHolder.addChildren ] [from removedEntities to EntityHolder.removeChildren ] [from addedEntities to EntityProcessor.addedEntities ] -->
          <DISEntityManager DEF='EntityManagercontainerField='children'/>
 28            <!-- TODO how does the DISEntityManager know what to send to the EntityHolder? -->
 29 
          <!-- ROUTE information for EntityHolder node:  [from EntityManager.addedEntities to addChildren ] [from EntityManager.removedEntities to removeChildren ] -->
          <Group DEF='EntityHolder'/>
 30            < ROUTE  fromNode='EntityManager' fromField='addedEntities' toNode='EntityHolder' toField='addChildren'/>
 31            < ROUTE  fromNode='EntityManager' fromField='removedEntities' toNode='EntityHolder' toField='removeChildren'/>
 32 
          <!-- ROUTE information for EntityProcessor node:  [from EntityManager.addedEntities to addedEntities ] -->
          <Script DEF='EntityProcessordirectOutput='true'   url=' "EntityProcessor.class" "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/EntityProcessor.class" '>
 33                 <field name='addedEntitiestype='MFNodeaccessType='inputOutput'/>
 34            </Script>
 35            < ROUTE  fromNode='EntityManager' fromField='addedEntities' toNode='EntityProcessor' toField='addedEntities'/>
 36       </Scene>
 37  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: EntityHolder, EntityManager, EntityProcessor
-->
X3D Tooltips element index: component, DISEntityManager, field, Group, head, meta, ROUTE, Scene, Script, WorldInfo, X3D, accessType and type, XML data types, field types

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

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/Basic/DistributedInteractiveSimulation/UserScriptedEntityGeometryCreatorIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/UserScriptedEntityGeometryCreator.x3d -->

<!-- Color 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)
-->

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