X3D Model Documentation: ViewpointGroupExample.x3d

  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            <meta name='titlecontent='ViewpointGroupExample.x3d'/>
  6            <meta name='descriptioncontent='Example to test ViewpointGroup, which contains Viewpoint and ViewpointGroup nodes, allowing nested lists and viewpoint scoping in viewpoint lists.'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='4 November 2003'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='ViewpointListViewpointGroupProse.html'/>
 11            <meta name='referencecontent='ViewpointGroupPrototype.x3d'/>
 12            <meta name='referencecontent='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/navigation.html#Viewpoint'/>
 13            <meta name='referencecontent='https://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Viewpoint'/>
 14            <meta name='subjectcontent='ViewpointGroup Viewpoint'/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupExample.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 nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7

Index for ExternProtoDeclare definition: ViewpointGroup
-->
 19       <Scene>
 20            <WorldInfo title='ViewpointGroupExample.x3d'/>
 21            <ExternProtoDeclare name='ViewpointGroup'   url=' "ViewpointGroupPrototype.x3d#ViewpointGroup" "https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupPrototype.x3d#ViewpointGroup" "ViewpointGroupPrototype.wrl#ViewpointGroup" "https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupPrototype.wrl#ViewpointGroup" '>
 22                 <field name='childrentype='MFNodeaccessType='inputOutput'
                appinfo='[Viewpoint | ViewpointGroup] only'/>
 23                 <field name='descriptiontype='SFStringaccessType='inputOutput'
                appinfo='Text description or navigation hint to be displayed for this ViewpointGroup.'/>
 24                 <field name='displayedtype='SFBoolaccessType='inputOutput'
                appinfo='Whether this ViewpointGroup is displayed in current viewpoint list.'/>
 25                 <field name='centertype='SFVec3faccessType='inputOutput'
                appinfo='Position offset from origin of local coordinate system.'/>
 26                 <field name='radiustype='SFFloataccessType='initializeOnly'
                appinfo='[0..infinity) Radius in meters of Proximity box within which the ViewpointGroup is usable and displayed on the viewpoint list.'/>
 27                 <field name='set_radiustype='SFFloataccessType='inputOnly'
                appinfo='[0..infinity) Radius in meters of Proximity box within which the ViewpointGroup is usable and displayed on the viewpoint list.'/>
 28                 <field name='retainUserOffsetstype='SFBoolaccessType='inputOutput'
                appinfo='Whether viewpoint needs to retain (true) or rezero (false) any prior user navigation offsets from defined viewpoint position orientation.'/>
 29            </ExternProtoDeclare>
 30            <Viewpoint description='inside scope: ViewpointGroupposition='0 0 5'/>
 31            <Viewpoint description='outside scope: ViewpointGroupposition='0 0 12'/>
 32            <ProtoInstance name='ViewpointGroup'>
 33                 <fieldValue name='descriptionvalue='first ViewpointGroup'/>
 34                 <fieldValue name='radiusvalue='8'/>
 35                 <fieldValue name='children'>
 36                      <Viewpoint description='level 1, viewpoint 1position='0 0 6'/>
 37                      <Viewpoint description='level 1, viewpoint 2position='0 0 5'/>
 38                      <ProtoInstance name='ViewpointGroup'>
 39                           <fieldValue name='descriptionvalue='second ViewpointGroup'/>
 40                           <fieldValue name='radiusvalue='8'/>
 41                           <fieldValue name='children'>
 42                                <Viewpoint description='level 2, viewpoint 1position='0 0 5'/>
 43                                <Viewpoint description='level 2, viewpoint 2position='0 0 6'/>
 44                           </fieldValue>
 45                      </ProtoInstance>
 46                      <Viewpoint description='level 1, viewpoint 3position='0 0 5'/>
 47                 </fieldValue>
 48            </ProtoInstance>
 49            <Transform>
 50                 <Shape>
 51                      <Text string='"Select viewpoints" "in viewpoint list" "to test ViewpointGroup"'>
 52                           <FontStyle family='"SANS"justify='"MIDDLE" "MIDDLE"size='0.8'/>
 53                      </Text>
 54                      <Appearance>
 55                           <Material diffuseColor='0.8 0.4 0.2'/>
 56                      </Appearance>
 57                 </Shape>
 58            </Transform>
 59       </Scene>
 60  </X3D>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7

Index for ExternProtoDeclare definition: ViewpointGroup
-->
X3D Tooltips element index: Appearance, ExternProtoDeclare, field, fieldValue, FontStyle, head, Material, meta, ProtoInstance, Scene, Shape, Text, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table with 0 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
ViewpointGroup
No ROUTE connection found for output events 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. 


ProtoInstance
ViewpointGroup
No ROUTE connection found for output events 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. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupExample.x3d -->

<!-- Color 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> -->

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