<?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='Interactive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='enabled.x3d'/>
<meta name='MovingImagecontent='enabled-movie.mpg'/>
<meta name='referencecontent=' http://www.nist.gov/vrml.html '/>
<meta name='referencecontent=' http://xsun.sdct.itl.nist.gov/~mkass/vts/html/vrml.html '/>
<meta name='creatorcontent=' http://www.itl.nist.gov/div897/ctg/vrml/members.html '/>
<meta name='disclaimercontent=' This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. '/>
<meta name='translatorcontent='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translatedcontent='21 January 2001'/>
<meta name='modifiedcontent='15 January 2014'/>
<meta name='descriptioncontent='Test the function of SphereSensors field "enabled". An IndexedFaceSet geometry has an associated SphereSensor node, with the "enabled" field set to false, and its rotation_changed field routed to the geometrys Transform node. As a result, despite the routing of the rotation_changed event from the SphereSensor node, the geometry should not rotate when the pointing device is "dragged" over the geometry.'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/SphereSensor/enabled.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for DEF nodes : AXIS, BOX, SPHERE_SENSOR

Index for Viewpoint images : Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6
-->
<Scene>
<NavigationInfo type='"WALK" "FLY" "ANY"'/>
<Viewpoint description='Front View'/>
<Viewpoint description='Rear Vieworientation='0 1 0 3.14position='0 0 -10'/>
<Viewpoint description='Top Vieworientation='1 0 0 -1.57position='0 10 0'/>
<Viewpoint description='Bottom Vieworientation='1 0 0 1.57position='0 -10 0'/>
<Viewpoint description='Right Vieworientation='0 1 0 1.57position='10 0 0'/>
<Viewpoint description='Left Vieworientation='0 1 0 -1.57position='-10 0 0'/>
<Group>
<Transform>
<!-- SPHERE_SENSOR ROUTE:  [from rotation_changed to BOX.set_rotation ] -->
<SphereSensor DEF='SPHERE_SENSORdescription='click and drag to rotateenabled='false'/>
<Shape DEF='AXIS'>
<Appearance>
<Material emissiveColor='1 1 1'/>
</Appearance>
<IndexedLineSet coordIndex='0 1 -1 0 2 -1 0 3 -1'>
<Coordinate point='0 0 0 3 0 0 0 3 0 0 0 3'/>
</IndexedLineSet>
</Shape>
<!-- BOX ROUTE:  [from SPHERE_SENSOR.rotation_changed to set_rotation ] -->
<Transform DEF='BOX'>
<Shape>
<Appearance>
<Material diffuseColor='1 0 0'/>
</Appearance>
<Box/>
</Shape>
</Transform>
</Transform>
</Group>
<ROUTE fromNode='SPHERE_SENSORfromField='rotation_changedtoNode='BOXtoField='set_rotation'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : AXIS, BOX, SPHERE_SENSOR

Index for Viewpoint images : Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/> -->

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