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='title' content='ViewpointGroupExample.x3d'/> |
6 | <meta name='description' content='Example to test ViewpointGroup, which contains Viewpoint and ViewpointGroup nodes, allowing nested lists and viewpoint scoping in viewpoint lists.'/> |
7 | <meta name='creator' content='Don Brutzman'/> |
8 | <meta name='created' content='4 November 2003'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='reference' content='ViewpointListViewpointGroupProse.html'/> |
11 | <meta name='reference' content='ViewpointGroupPrototype.x3d'/> |
12 | <meta name='reference' content='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/navigation.html#Viewpoint'/> |
13 | <meta name='reference' content='https://www.web3d.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Viewpoint'/> |
14 | <meta name='subject' content='ViewpointGroup Viewpoint'/> |
15 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupExample.x3d'/> |
16 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
17 | <meta name='license' content='../license.html'/> |
18 | </head> |
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='children' type='MFNode' accessType='inputOutput'
appinfo='[Viewpoint | ViewpointGroup] only'/> |
23 |
<field name='description' type='SFString' accessType='inputOutput'
appinfo='Text description or navigation hint to be displayed for this ViewpointGroup.'/> |
24 |
<field name='displayed' type='SFBool' accessType='inputOutput'
appinfo='Whether this ViewpointGroup is displayed in current viewpoint list.'/> |
25 |
<field name='center' type='SFVec3f' accessType='inputOutput'
appinfo='Position offset from origin of local coordinate system.'/> |
26 |
<field name='radius' type='SFFloat' accessType='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_radius' type='SFFloat' accessType='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='retainUserOffsets' type='SFBool' accessType='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: ViewpointGroup' position='0 0 5'/> |
31 | <Viewpoint description='outside scope: ViewpointGroup' position='0 0 12'/> |
32 | <ProtoInstance name='ViewpointGroup'> |
33 | <fieldValue name='description' value='first ViewpointGroup'/> |
34 | <fieldValue name='radius' value='8'/> |
35 | <fieldValue name='children'> |
36 | <Viewpoint description='level 1, viewpoint 1' position='0 0 6'/> |
37 | <Viewpoint description='level 1, viewpoint 2' position='0 0 5'/> |
38 | <ProtoInstance name='ViewpointGroup'> |
39 | <fieldValue name='description' value='second ViewpointGroup'/> |
40 | <fieldValue name='radius' value='8'/> |
41 | <fieldValue name='children'> |
42 | <Viewpoint description='level 2, viewpoint 1' position='0 0 5'/> |
43 | <Viewpoint description='level 2, viewpoint 2' position='0 0 6'/> |
44 | </fieldValue> |
45 | </ProtoInstance> |
46 | <Viewpoint description='level 1, viewpoint 3' position='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> |
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. |
<!--
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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->