<?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='Interchange' 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='value_changed.x3d'/>
<meta name='MovingImagecontent='value_changed-movie.mpg'/>
<meta name='referencecontent=' http://www.nist.gov/vrml.html '/>
<meta name='referencecontent=' http://www.itl.nist.gov/div897/ctg/vrml/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='infocontent='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, http://www.web3d.org/working-groups/x3d'/>
<meta name='translatorcontent='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translatedcontent='12 June 2002'/>
<meta name='modifiedcontent='17 October 2015'/>
<meta name=' error content=' test fails, no geometry produced '/>
<meta name='descriptioncontent='Test of a CoordinateInterpolators ability to load the correct keyValue into its "value_changed" field prior to receiving any events. Two CoordinateInterpolator node are associated with two seperate IndexedFaceSet geometry. The CoordinateInterpolator associated with the IndexedFaceSet on the left has keyValues that create a box shape that is twice its initial size, while the CoordinateInterpolator associated with the right Box has the default of no keyValues, or [ ]. As a result, the CoordinateInterpolator on the left should initialize its "value_changed" field to the value of its first keyValue when the pointing device indicates the box, and the box should appear to double in size while it is indicated by the pointing device. Because no keyValues are provided to the right CoordinateInterpolator, it should initialize its "value_changed" field to the MFVec3f default value of an empty MFVec3f field. Passing the pointing device over the right box should not result in any change in the size of the box. Michael Kass'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/ConformanceNist/Interpolators/CoordinateInterpolator/value_changed.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>
<!-- -->
<Scene>
<Background groundColor='0 0 0skyColor='0.2 0.2 0.2'/>
<CoordinateInterpolator DEF='COORD_INTERP1'/>
<CoordinateInterpolator DEF='COORD_INTERP2'/>
<Transform translation='-3 0 0'>
<Transform DEF='TRANS1'>
<!-- ROUTE information for TS1 node:  [from isOver to COORDINIZEIT.isOver1 ] -->
<TouchSensor DEF='TS1description='touch to activate'/>
<Shape>
<Appearance>
<Material/>
</Appearance>
<IndexedFaceSet>
<Coordinate DEF='COORD1'/>
</IndexedFaceSet>
</Shape>
</Transform>
</Transform>
<Transform translation='3 0 0'>
<Transform DEF='TRANS2'>
<!-- ROUTE information for TS2 node:  [from isOver to COORDINIZEIT.isOver2 ] -->
<TouchSensor DEF='TS2description='touch to activate'/>
<Shape>
<Appearance>
<Material/>
</Appearance>
<IndexedFaceSet>
<Coordinate DEF='COORD2'/>
</IndexedFaceSet>
</Shape>
</Transform>
</Transform>
<!-- ROUTE information for COORDINIZEIT node:  [from TS1.isOver to isOver1 ] [from TS2.isOver to isOver2 ] -->
<Script DEF='COORDINIZEITdirectOutput='true'
  url=' "value_changed.js" "http://www.web3d.org/x3d/content/examples/ConformanceNist/Interpolators/CoordinateInterpolator/value_changed.js" '>
<field name='nodein1type='SFNodeaccessType='initializeOnly'>
<CoordinateInterpolator USE='COORD_INTERP1'/>
</field>
<field name='nodein2type='SFNodeaccessType='initializeOnly'>
<CoordinateInterpolator USE='COORD_INTERP1'/>
</field>
<field name='nodeout1type='SFNodeaccessType='initializeOnly'>
<Coordinate USE='COORD1'/>
</field>
<field name='nodeout2type='SFNodeaccessType='initializeOnly'>
<Coordinate USE='COORD2'/>
</field>
<field name='isOver1type='SFBoolaccessType='inputOnly'/>
<field name='isOver2type='SFBoolaccessType='inputOnly'/>
<field name='pointtype='SFVec3faccessType='outputOnly'/>
<field name='resettype='MFVec3fvalue='-1 1 1 -1 -1 1 1 1 1 1 -1 1 1 1 -1 1 -1 -1 -1 1 -1 -1 -1 -1accessType='initializeOnly'/>
</Script>
<ROUTE fromNode='TS1fromField='isOvertoNode='COORDINIZEITtoField='isOver1'/>
<ROUTE fromNode='TS2fromField='isOvertoNode='COORDINIZEITtoField='isOver2'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : COORD_INTERP1, COORD_INTERP2, COORD1, COORD2, COORDINIZEIT, TRANS1, TRANS2, TS1, TS2
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

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