1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
4 | <head> |
5 | <meta name='title' content='ReportedContactExample.x3d'/> |
6 | <meta name='description' content='Example instance of prototype for a reported contact.'/> |
7 | <meta name='creator' content='Don Brutzman'/> |
8 | <meta name='created' content='15 October 2001'/> |
9 | <meta name='modified' content='28 November 2019'/> |
10 | <meta name='identifier' content='https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactExample.x3d'/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='ReportedContactExample.x3d'/> |
16 | <ExternProtoDeclare name='ReportedContact' appinfo='Provide icon and contact information for a reported contact. Position ProtoInstances using the depth and location where found.' url=' "ReportedContactPrototype.x3d#ReportedContact" "../../Weapons/UnderwaterMines/ReportedContactPrototype.x3d#ReportedContact" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactPrototype.x3d#ReportedContact" "ReportedContactPrototype.wrl#ReportedContact" "../../Weapons/UnderwaterMines/ReportedContactPrototype.wrl#ReportedContact" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/ReportedContactPrototype.wrl#ReportedContact" '> |
17 | <field name='name' type='MFString' accessType='initializeOnly'/> |
18 | <field name='aboveViewpointLabel' type='SFString' accessType='initializeOnly'/> |
19 | <field name='closeViewpointLabel' type='SFString' accessType='initializeOnly'/> |
20 | <field name='description' type='MFString' accessType='inputOutput'/> |
21 |
<field name='reportedPosition' type='MFString' accessType='inputOutput'
appinfo='Latitude and longitude (or local coordinates) for display purposes.'/> |
22 | <field name='classificationCode' type='SFInt32' accessType='initializeOnly'/> |
23 |
<field name='imageUrl' type='MFString' accessType='inputOutput'
appinfo='provide filename and url of contact image as separate quoted strings'/> |
24 |
<field name='imageScale' type='SFVec3f' accessType='inputOutput'
appinfo='Aspect-ratio x-y scale of image icon (keep z=1)'/> |
25 |
<field name='imageOffset' type='SFVec3f' accessType='inputOutput'
appinfo='Relative position of image icon'/> |
26 | <field name='textColor' type='SFColor' accessType='inputOutput'/> |
27 |
<field name='textOffset' type='SFVec3f' accessType='inputOutput'
appinfo='Relative position of image icon'/> |
28 | </ExternProtoDeclare> |
29 | <Background groundAngle='1.309 1.570796' groundColor='0 0.2 0.4 0.05 0.25 0.6 0.1 0.2 0.4' skyAngle='1.309 1.571' skyColor='0.1 0.1 0.4 0.1 0.125 0.4 0.1 0.1 0.3'/> |
30 | <ProtoInstance name='ReportedContact'> |
31 | <fieldValue name='name' value='"ContactName"'/> |
32 | <fieldValue name='aboveViewpointLabel' value='Hello Reported Contact (100m above)'/> |
33 | <fieldValue name='closeViewpointLabel' value='Closeup: Reported Contact (10m away)'/> |
34 | <fieldValue name='description' value='"classification: Manta" "confidence: 4" "remarks: example"'/> |
35 | <fieldValue name='reportedPosition' value='"00.0 N 000.0 W"'/> |
36 | <fieldValue name='classificationCode' value='1'/> |
37 | <fieldValue name='imageUrl' value=' "minelocator.jpg" "https://savage.nps.edu/Savage/Weapons/UnderwaterMines/minelocator.jpg"'/> |
38 | <fieldValue name='imageScale' value='1.6 1.0 1'/> |
39 | <!-- additional available fieldValues: imageOffset, textColor, textOffset --> |
40 | </ProtoInstance> |
41 | </Scene> |
42 | </X3D> |
<!--
Color-coding legend: X3D terminology
<X3dNode field='value'/>
matches XML terminology
<XmlElement 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.
-->