| 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 | <component level='1' name='DIS'/> |
| 6 | <meta name='title' content=' DISEntityPrototypes.x3d '/> |
| 7 | <meta name='description' content='Prototype definitions for DISEntityManager and DISEntityTypeMapping.'/> |
| 8 | <meta name='creator' content='Alan Hudson'/> |
| 9 | <meta name='translator' content='Don Brutzman'/> |
| 10 | <meta name='created' content='26 April 2005'/> |
| 11 | <meta name='modified' content='20 October 2019'/> |
| 12 | <meta name='modified' content='20 October 2019'/> |
| 13 | <meta name=' warning ' content=' under development. '/> |
| 14 | <meta name='reference' content=' http://www.xj3d.org/extensions/DIS.html '/> |
| 15 | <meta name='reference' content='http://www.yumetech.com'/> |
| 16 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/DISEntityPrototypes.x3d '/> |
| 17 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 18 | <meta name='license' content='../license.html'/> |
| 19 | </head> |
| 20 | <Scene> |
| 21 | <!-- ============================================================ --> |
| 22 | <WorldInfo title='DISEntityPrototypes.x3d'/> |
| 23 | <ProtoDeclare name='DISEntityManager' appinfo='A DISEntityManager node notifies content when new entities arrive or current entities leave.' documentation='http://www.xj3d.org/extensions/DIS.html#DISEntityManager'> |
| 24 | <ProtoInterface> |
| 25 |
<field name='siteID' type='SFInt32' value='0' accessType='inputOutput'
appinfo='[065535]'/> |
| 26 |
<field name='applicationID' type='SFInt32' value='1' accessType='inputOutput'
appinfo='[065535]'/> |
| 27 |
<field name='entityID' type='SFInt32' value='0' accessType='inputOutput'
appinfo='[065535] field under consideration'/> |
| 28 | <field name='address' type='SFString' value='localhost' accessType='inputOutput'/> |
| 29 |
<field name='port' type='SFInt32' value='0' accessType='inputOutput'
appinfo='[065535]'/> |
| 30 |
<field name='mapping' type='MFNode' accessType='inputOutput'
appinfo='[DISEntityTypeMapping]'> |
| 31 | <!-- default NULL --> |
| 32 | </field> |
| 33 |
<field name='addedEntities' type='MFNode' accessType='outputOnly'
appinfo='[EspduTransform]'/> |
| 34 |
<field name='removedEntities' type='MFNode' accessType='outputOnly'
appinfo='[EspduTransform]'/> |
| 35 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='[X3DMetadataObject]'> |
| 36 | <!-- default NULL --> |
| 37 | </field> |
| 38 | </ProtoInterface> |
| 39 | <ProtoBody> |
| 40 | <!-- X3DChildNode node type --> |
| 41 | <Group/> |
| 42 | </ProtoBody> |
| 43 | </ProtoDeclare> |
| 44 | <!-- ============================================================ --> |
| 45 | <ProtoDeclare name='DISEntityTypeMapping' appinfo='A DISEntityTypeMapping node provides a mapping from DIS Entity type information to an X3D model. This model is model provides a visual and behavioral representation of the entity for usage in X3D simulations. The mappings are done by selecting the most specific record which fits the entity. A value of 0 is considered a wildcard. All fields after the first zero must be zero as well.' documentation='http://www.xj3d.org/extensions/DIS.html#DISEntityTypeMapping'> |
| 46 | <ProtoInterface> |
| 47 |
<field name='kind' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 48 |
<field name='domain' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 49 |
<field name='country' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 50 |
<field name='category' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 51 |
<field name='subcategory' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 52 |
<field name='specific' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 53 |
<field name='extra' type='SFInt32' value='0' accessType='initializeOnly'
appinfo='[0255]'/> |
| 54 | <field name='identifier' type='SFString' accessType='initializeOnly'/> |
| 55 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='[X3DMetadataObject]'> |
| 56 | <!-- default NULL --> |
| 57 | </field> |
| 58 | </ProtoInterface> |
| 59 | <ProtoBody> |
| 60 | <!-- X3DInfoNode node type --> |
| 61 | <MetadataSet name='PlaceholderNode'/> |
| 62 | </ProtoBody> |
| 63 | </ProtoDeclare> |
| 64 | <!-- ============================================================ --> |
| 65 | <!-- Default content --> |
| 66 | <Viewpoint description='default viewpoint' position='0 0 110'/> |
| 67 | <EspduTransform containerField='children'/> |
| 68 | <TransmitterPdu relativeAntennaLocation='0 0 0' transmitFrequencyBandwidth='0.0' containerField='children'/> |
| 69 |
<!-- ROUTE information for EntityManager node:
[from addedEntities to EntityHolder.addChildren
]
[from removedEntities to EntityHolder.removeChildren
]
-->
<ProtoInstance name='DISEntityManager' DEF='EntityManager'> |
| 70 | <fieldValue name='address' value='224.2.181.145'/> |
| 71 | <fieldValue name='port' value='62040'/> |
| 72 | <fieldValue name='siteID' value='0'/> |
| 73 | <fieldValue name='applicationID' value='1'/> |
| 74 | <fieldValue name='mapping'> |
| 75 | <!-- n.b. nested prototypes --> |
| 76 | <ProtoInstance name='DISEntityTypeMapping'> |
| 77 | <fieldValue name='kind' value='1'/> |
| 78 | <fieldValue name='domain' value='1'/> |
| 79 | <fieldValue name='country' value='225'/> |
| 80 | <fieldValue name='category' value='1'/> |
| 81 | <fieldValue name='subcategory' value='1'/> |
| 82 | <fieldValue name='specific' value='1'/> |
| 83 | <fieldValue name='identifier' value='m1a1tank.x3dv'/> |
| 84 | </ProtoInstance> |
| 85 | <ProtoInstance name='DISEntityTypeMapping'> |
| 86 | <fieldValue name='kind' value='1'/> |
| 87 | <fieldValue name='domain' value='3'/> |
| 88 | <fieldValue name='country' value='225'/> |
| 89 | <fieldValue name='category' value='4'/> |
| 90 | <fieldValue name='identifier' value='dog.x3dv'/> |
| 91 | </ProtoInstance> |
| 92 | <ProtoInstance name='DISEntityTypeMapping'> |
| 93 | <fieldValue name='kind' value='1'/> |
| 94 | <fieldValue name='domain' value='1'/> |
| 95 | <fieldValue name='identifier' value='land.x3dv'/> |
| 96 | </ProtoInstance> |
| 97 | <ProtoInstance name='DISEntityTypeMapping'> |
| 98 | <fieldValue name='kind' value='1'/> |
| 99 | <fieldValue name='domain' value='1'/> |
| 100 | <fieldValue name='country' value='225'/> |
| 101 | <fieldValue name='identifier' value='USAland.x3dv'/> |
| 102 | </ProtoInstance> |
| 103 | <ProtoInstance name='DISEntityTypeMapping'> |
| 104 | <fieldValue name='kind' value='1'/> |
| 105 | <fieldValue name='domain' value='3'/> |
| 106 | <fieldValue name='specific' value='1'/> |
| 107 | <fieldValue name='identifier' value='surface.x3dv'/> |
| 108 | </ProtoInstance> |
| 109 | </fieldValue> |
| 110 | </ProtoInstance> |
| 111 |
<!-- ROUTE information for EntityHolder node:
[from EntityManager.addedEntities to addChildren
]
[from EntityManager.removedEntities to removeChildren
]
-->
<Group DEF='EntityHolder'/> |
| 112 | < ROUTE fromNode='EntityManager' fromField='addedEntities' toNode='EntityHolder' toField='addChildren'/> |
| 113 | < ROUTE fromNode='EntityManager' fromField='removedEntities' toNode='EntityHolder' toField='removeChildren'/> |
| 114 | </Scene> |
| 115 | </X3D> |
Event Graph ROUTE Table entries with 2 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 76
ProtoInstance DISEntityTypeMapping |
No direct ROUTE connection found for events to/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. |
| line 85
ProtoInstance DISEntityTypeMapping |
No direct ROUTE connection found for events to/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. |
| line 92
ProtoInstance DISEntityTypeMapping |
No direct ROUTE connection found for events to/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. |
| line 97
ProtoInstance DISEntityTypeMapping |
No direct ROUTE connection found for events to/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. |
| line 103
ProtoInstance DISEntityTypeMapping |
No direct ROUTE connection found for events to/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. |
|
EntityManager
ProtoInstance addedEntities MFNode |
EntityHolder
Group addChildren MFNode |
|
|
EntityManager
ProtoInstance removedEntities MFNode |
EntityHolder
Group removeChildren MFNode |
<!--
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.
-->