<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<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 ' >
<head>
<component level='1name='DIS'/>
<meta name='titlecontent=' DISEntityPrototypes.x3d '/>
<meta name='descriptioncontent='Prototype definitions for DISEntityManager and DISEntityTypeMapping.'/>
<meta name='creatorcontent='Alan Hudson'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='26 April 2005'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name=' warning content=' under development. '/>
<meta name='referencecontent=' http://www.xj3d.org/extensions/DIS.html '/>
<meta name='referencecontent=' http://www.yumetech.com '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/DISEntityPrototypes.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: EntityHolder, EntityManager

Index for Viewpoint node: Viewpoint_1

Index for ProtoDeclare definitions: DISEntityManager, DISEntityTypeMapping
-->
<Scene>
<!-- ============================================================ -->
<WorldInfo title='DISEntityPrototypes.x3d'/>
<ProtoDeclare name='DISEntityManagerappinfo='A DISEntityManager node notifies content when new entities arrive or current entities leave.'  documentation=' http://www.xj3d.org/extensions/DIS.html#DISEntityManager ' >
<ProtoInterface>
<field name='siteIDtype='SFInt32value='0accessType='inputOutput'
 appinfo='[065535]' />

<field name='applicationIDtype='SFInt32value='1accessType='inputOutput'
 appinfo='[065535]' />

<field name='entityIDtype='SFInt32value='0accessType='inputOutput'
 appinfo='[065535] field under consideration' />

<field name='addresstype='SFStringvalue='localhostaccessType='inputOutput'/>
<field name='porttype='SFInt32value='0accessType='inputOutput'
 appinfo='[065535]' />

<field name='mappingtype='MFNodeaccessType='inputOutput'
 appinfo='[DISEntityTypeMapping]' >
<!-- default NULL -->
</field>
<field name='addedEntitiestype='MFNodeaccessType='outputOnly'
 appinfo='[EspduTransform]' />

<field name='removedEntitiestype='MFNodeaccessType='outputOnly'
 appinfo='[EspduTransform]' />

<field name='metadatatype='SFNodeaccessType='inputOutput'
 appinfo='[X3DMetadataObject]' >
<!-- default NULL -->
</field>
</ProtoInterface>
<ProtoBody>
<!-- X3DChildNode node type -->
<Group/>
</ProtoBody>
</ProtoDeclare>
<!-- ============================================================ -->
<ProtoDeclare name='DISEntityTypeMappingappinfo='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 ' >
<ProtoInterface>
<field name='kindtype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='domaintype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='countrytype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='categorytype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='subcategorytype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='specifictype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='extratype='SFInt32value='0accessType='initializeOnly'
 appinfo='[0255]' />

<field name='identifiertype='SFStringaccessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'
 appinfo='[X3DMetadataObject]' >
<!-- default NULL -->
</field>
</ProtoInterface>
<ProtoBody>
<!-- X3DInfoNode node type -->
<MetadataSet name='PlaceholderNode'/>
</ProtoBody>
</ProtoDeclare>
<!-- ============================================================ -->
<!-- Default content -->
<Viewpoint description='default viewpointposition='0 0 110'/>
<EspduTransform containerField='children'/>
<TransmitterPdu relativeAntennaLocation='0 0 0transmitFrequencyBandwidth='0.0containerField='children'/>
<!-- ROUTE information for EntityManager node:  [from addedEntities to EntityHolder.addChildren ] [from removedEntities to EntityHolder.removeChildren ] -->
<ProtoInstance name='DISEntityManagerDEF='EntityManager'>
<fieldValue name='addressvalue='224.2.181.145'/>
<fieldValue name='portvalue='62040'/>
<fieldValue name='siteIDvalue='0'/>
<fieldValue name='applicationIDvalue='1'/>
<fieldValue name='mapping'>
<!-- n.b. nested prototypes -->
<ProtoInstance name='DISEntityTypeMapping'>
<fieldValue name='kindvalue='1'/>
<fieldValue name='domainvalue='1'/>
<fieldValue name='countryvalue='225'/>
<fieldValue name='categoryvalue='1'/>
<fieldValue name='subcategoryvalue='1'/>
<fieldValue name='specificvalue='1'/>
<fieldValue name='identifiervalue='m1a1tank.x3dv'/>
</ProtoInstance>
<ProtoInstance name='DISEntityTypeMapping'>
<fieldValue name='kindvalue='1'/>
<fieldValue name='domainvalue='3'/>
<fieldValue name='countryvalue='225'/>
<fieldValue name='categoryvalue='4'/>
<fieldValue name='identifiervalue='dog.x3dv'/>
</ProtoInstance>
<ProtoInstance name='DISEntityTypeMapping'>
<fieldValue name='kindvalue='1'/>
<fieldValue name='domainvalue='1'/>
<fieldValue name='identifiervalue='land.x3dv'/>
</ProtoInstance>
<ProtoInstance name='DISEntityTypeMapping'>
<fieldValue name='kindvalue='1'/>
<fieldValue name='domainvalue='1'/>
<fieldValue name='countryvalue='225'/>
<fieldValue name='identifiervalue='USAland.x3dv'/>
</ProtoInstance>
<ProtoInstance name='DISEntityTypeMapping'>
<fieldValue name='kindvalue='1'/>
<fieldValue name='domainvalue='3'/>
<fieldValue name='specificvalue='1'/>
<fieldValue name='identifiervalue='surface.x3dv'/>
</ProtoInstance>
</fieldValue>
</ProtoInstance>

< ROUTE  fromNode=' EntityManager' fromField='addedEntities' toNode=' EntityHolder' toField='addChildren'/>
< ROUTE  fromNode=' EntityManager' fromField='removedEntities' toNode=' EntityHolder' toField='removeChildren'/>
</Scene>
</X3D>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: EntityHolder, EntityManager

Index for Viewpoint node: Viewpoint_1

Index for ProtoDeclare definitions: DISEntityManager, DISEntityTypeMapping
-->

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.


ProtoInstance
DISEntityTypeMapping
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 



ProtoInstance
DISEntityTypeMapping
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 



ProtoInstance
DISEntityTypeMapping
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 



ProtoInstance
DISEntityTypeMapping
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 



ProtoInstance
DISEntityTypeMapping
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 


EntityManager
ProtoInstance
addedEntities
MFNode

ROUTE
event to
(1)
EntityHolder
Group
addChildren
MFNode
EntityManager
ProtoInstance
removedEntities
MFNode

ROUTE
event to
(1)
EntityHolder
Group
removeChildren
MFNode



-->

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