<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://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 =' http://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='12 January 2014'/>
<meta name='modifiedcontent='21 May 2017'/>
<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=' http://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>
<!--

Index for ProtoDeclare definitions : DISEntityManager, DISEntityTypeMapping

Index for DEF nodes : EntityHolder, EntityManager

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<!-- ============================================================ -->
<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='PlaceholderNodecontainerField='metadata'/>
</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 information for EntityHolder node:  [from EntityManager.addedEntities to addChildren ] [from EntityManager.removedEntities to removeChildren ] -->
<Group DEF='EntityHolder'/>
<ROUTE fromNode='EntityManagerfromField='addedEntitiestoNode='EntityHoldertoField='addChildren'/>
<ROUTE fromNode='EntityManagerfromField='removedEntitiestoNode='EntityHoldertoField='removeChildren'/>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definitions : DISEntityManager, DISEntityTypeMapping

Index for DEF nodes : EntityHolder, EntityManager

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->