X3D Model Documentation: SavageObjectMetadataTemplate.x3d

  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='titlecontent='SavageObjectMetadataTemplate.x3d'/>
  6            <meta name='descriptioncontent='This scene defines the exemplar template for Savage Static Model metadata, allowing further interoperability via SMAL constructs. Savage Modeling Analysis Language (SMAL) authoring capabilities for X3D assume proper metadata within a scene to identify an object properly. A corresponding native-XML .xsd schema for SMAL will also be developed to facilitate conversion and use of vehicle metadata.'/>
  7            <meta name='creatorcontent='Travis Rauch, Don Brutzman'/>
  8            <meta name='createdcontent='20 May 2005'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name=' TODO content=' add corresponding XML versions of metadata '/>
 11            <meta name='referencecontent='https://x3dgraphics.com/chapters/Chapter15-MetadataInformation.html'/>
 12            <meta name='subjectcontent='SMAL object metadata'/>
 13            <meta name='referencecontent='SMAL.html'/>
 14            <meta name='referencecontent='https://savage.nps.edu/Savage/Tools/SMAL/SMAL.html'/>
 15            <meta name='identifiercontent='https://savage.nps.edu/Savage/Tools/SMAL/SavageObjectMetadataTemplate.x3d'/>
 16            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='licensecontent='../../license.html'/>
 18       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
 19       <Scene>
 20            <WorldInfo title='SavageObjectMetadataTemplate.x3d'/>
 21            <Background skyColor='0 0.439216 0.760784'/>
 22            <Viewpoint description='View scene source to see metadata examplesposition='0 0 9'/>
 23            <Anchor description='View source in browserparameter='"target=_blank"'   url=' "SavageObjectMetadataTemplate.html" "https://savage.nps.edu/Savage/Tools/SMAL/SavageObjectMetadataTemplate.html" '>
 24                 <Shape>
 25                      <Text string='"View scene source" "to see" "metadata examples"'>
 26                           <FontStyle justify='"MIDDLE" "MIDDLE"style='BOLD'/>
 27                      </Text>
 28                      <Appearance>
 29                           <Material diffuseColor='1 0.99 0.6'/>
 30                      </Appearance>
 31                 </Shape>
 32                 <Shape>
 33                      <Box size='7 3 .001'/>
 34                      <Appearance>
 35                           <Material transparency='1'/>
 36                      </Appearance>
 37                 </Shape>
 38                 <TouchSensor description='Select this text to view pretty-print documentation'/>
 39            </Anchor>
 40            <WorldInfo info='"https://savage.nps.edu/Savage/Tools/SMAL/SavageObjectMetadataTemplate.x3d"' title='SavageObjectMetadataTemplate'>
 41                 <!-- This initial MetadataSet is itself metadata for the parent WorldInfo, thus it has (omitted) default containerField='metadata' -->
 42                 <MetadataSet name='SMALreference='https://savage.nps.edu/Savage/Tools/SMAL/SMAL.html'>
 43                      <!-- All other SMAL Metadata nodes serve as values for their parent MetadataSet nodes, and thus have containerField='value' -->
 44                      <MetadataString containerField='valuename='versionvalue='"1.0"'>
 45                           <MetadataString name='appinfovalue='"This is the version of SMAL employed, not of the model."'/>
 46                      </MetadataString>
 47                      <MetadataSet containerField='valuename='StaticModelDefinition'>
 48                           <!-- Identifying metadata for the current simulation of interest -->
 49                           <MetadataSet containerField='valuename='Classification'>
 50                                <MetadataString containerField='valuename='levelvalue='"UNCLASSIFIED"'>
 51                                     <MetadataString name='appinfovalue='"UNCLASSIFIED" "FOUO" "CONFIDENTIAL" "SECRET"'/>
 52                                </MetadataString>
 53                                <MetadataString containerField='valuename='reference'>
 54                                     <MetadataString name='appinfovalue='"The published source of classified information, if any, contained in the Metadata."'/>
 55                                </MetadataString>
 56                                <MetadataString containerField='valuename='rationale'>
 57                                     <MetadataString name='appinfovalue='"The specific element which contains the information classifying this document."'/>
 58                                </MetadataString>
 59                           </MetadataSet>
 60                           <MetadataSet containerField='valuename='IdentificationParameters'>
 61                                <MetadataString containerField='valuename='namevalue='"provideVehicleNameHere"'>
 62                                     <MetadataString name='appinfovalue='"The plain language name of the object this model represents."'/>
 63                                </MetadataString>
 64                           </MetadataSet>
 65                           <MetadataSet containerField='valuename='X3DArchiveModel'>
 66                                <MetadataString containerField='valuename='namevalue='"provideX3DArchiveModelUrlHere"'>
 67                                     <MetadataString name='appinfovalue='"This is a placeholder element which ensures the proper validation of autogenerated SMAL code."'/>
 68                                </MetadataString>
 69                           </MetadataSet>
 70                           <MetadataSet containerField='valuename='PhysicalParameters'>
 71                                <MetadataSet containerField='valuename='PhysicalConstraints'>
 72                                     <MetadataFloat containerField='valuename='heightvalue='0'>
 73                                          <MetadataString name='appinfovalue='"The maximum structural height of the object in meters. This may be used for clearance checking or other calculations."'/>
 74                                     </MetadataFloat>
 75                                     <MetadataFloat containerField='valuename='widthvalue='0'>
 76                                          <MetadataString name='appinfovalue='"The maximum width of the object in meters. This may be used for clearance checking or other calculations."'/>
 77                                     </MetadataFloat>
 78                                     <MetadataFloat containerField='valuename='lengthvalue='0'>
 79                                          <MetadataString name='appinfovalue='"The maximum structural length of the object in meters. This may be used for clearance checking or other calculations."'/>
 80                                     </MetadataFloat>
 81                                     <MetadataFloat containerField='valuename='draftvalue='0'>
 82                                          <MetadataString name='appinfovalue='"The vertical distance in meters from the deepest point to the waterline of this object at its stated displacement or gross weight."'/>
 83                                     </MetadataFloat>
 84                                     <MetadataFloat containerField='valuename='grossWeightvalue='0'>
 85                                          <MetadataString name='appinfovalue='"The standard operational weight of the vehicle in pounds or kilograms. This may be used in physics calculations."'/>
 86                                     </MetadataFloat>
 87                                </MetadataSet>
 88                                <MetadataSet containerField='valuename='DynamicResponseConstraints'>
 89                                     <MetadataFloat containerField='valuename='centerOfGravityvalue='0 0 0'>
 90                                          <MetadataString name='appinfovalue='"Sets the Center of Gravity of the object as an (x, y, z) distance in meters from the physical center of the object, which is located at (0, 0, 0)."'/>
 91                                     </MetadataFloat>
 92                                     <MetadataFloat containerField='valuename='aerodynamicCentervalue='0 0 0'>
 93                                          <MetadataString name='appinfovalue='"Sets the Aerodynamic Center of the object as an (x, y, z) distance in meters from the physical center of the object, which is located at (0, 0, 0)."'/>
 94                                     </MetadataFloat>
 95                                     <MetadataFloat containerField='valuename='centerOfBuoyancyvalue='0 0 0'>
 96                                          <MetadataString name='appinfovalue='"Sets the Center of Buoyancy of the object as an (x, y, z) distance in meters from the physical center of the object, which is located at (0, 0, 0)."'/>
 97                                     </MetadataFloat>
 98                                </MetadataSet>
 99                           </MetadataSet>
100                           <MetadataSet containerField='valuename='LocationOrientation'>
101                                <MetadataSet containerField='valuename='Location'>
102                                     <!-- Insert additional metadata, if appropriate -->
103                                </MetadataSet>
104                                <MetadataSet containerField='valuename='Orientation'>
105                                     <!-- Insert additional metadata, if appropriate -->
106                                </MetadataSet>
107                           </MetadataSet>
108                      </MetadataSet>
109                 </MetadataSet>
110            </WorldInfo>
111       </Scene>
112  </X3D>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Anchor, Appearance, Background, Box, FontStyle, head, Material, meta, MetadataFloat, MetadataSet, MetadataString, Scene, Shape, Text, TouchSensor, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/Tools/SMAL/SavageObjectMetadataTemplateIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Tools/SMAL/SavageObjectMetadataTemplate.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)
-->

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