@prefix :        <https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/CylinderSensor/offset.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Interactive' ;
  x3do:version '3.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.0.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11, :meta_1_12, :meta_1_13, :meta_1_14, :meta_1_15, :meta_1_16, :meta_1_17 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'offset.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'offset-movie.mpg' ;
  x3do:name 'MovingImage' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.nist.gov/vrml.html' ;
  x3do:name 'reference' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.itl.nist.gov/div897/ctg/vrml/vrml.html' ;
  x3do:name 'reference' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.itl.nist.gov/div897/ctg/vrml/members.html' ;
  x3do:name 'creator' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '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 (NIST). 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.' ;
  x3do:name 'disclaimer' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml' ;
  x3do:name 'reference' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d' ;
  x3do:name 'info' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Michael Kass NIST' ;
  x3do:name 'creator' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'translator' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '21 January 2001' ;
  x3do:name 'translated' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '28 August 2023' ;
  x3do:name 'modified' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Test the function of CylinderSensors offset field, when autoOffset is false. The offset field (from left to right) is set at -3.14, -1.57, 0, 1.57 and 3.14 radians. The result is that the geometry will initially rotate by these amounts respectively, when the pointing device indicates each geometry. The results (when each geometry is selected) should be, from left to right when viewed from the front: Box 1s GREEN face should face the viewer. Box 2 should face the viewer at a 45 degree angle, with a RED left face and a YELLOW right face at 45 degrees to the viewer. Box 3 RED face should face forward Box 4 should face the viewer at a 45 degree angle, with a BLUE left face and a RED right face at 45 degrees to the viewer. Box 5s GREEN face should face forward' ;
  x3do:name 'description' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/CylinderSensor/offset.x3d' ;
  x3do:name 'identifier' .
:meta_1_15 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' ;
  x3do:name 'generator' .
:meta_1_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "offset.x3d" .
:meta dcterms:MovingImage "offset-movie.mpg" .
:meta dcterms:reference "http://www.nist.gov/vrml.html" .
:meta dcterms:reference "http://www.itl.nist.gov/div897/ctg/vrml/vrml.html" .
:meta dcterms:creator "http://www.itl.nist.gov/div897/ctg/vrml/members.html" .
:meta dcterms:reference "Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml" .
:meta dcterms:info "Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d" .
:meta dcterms:creator "Michael Kass NIST" .
:meta dcterms:translator "Don Brutzman" .
:meta dcterms:translated "21 January 2001" .
:meta dcterms:modified "28 August 2023" .
:meta dcterms:description "Test the function of CylinderSensors offset field, when autoOffset is false. The offset field (from left to right) is set at -3.14, -1.57, 0, 1.57 and 3.14 radians. The result is that the geometry will initially rotate by these amounts respectively, when the pointing device indicates each geometry. The results (when each geometry is selected) should be, from left to right when viewed from the front: Box 1s GREEN face should face the viewer. Box 2 should face the viewer at a 45 degree angle, with a RED left face and a YELLOW right face at 45 degrees to the viewer. Box 3 RED face should face forward Box 4 should face the viewer at a 45 degree angle, with a BLUE left face and a RED right face at 45 degrees to the viewer. Box 5s GREEN face should face forward" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/ConformanceNist/Sensors/CylinderSensor/offset.x3d" .
:meta dcterms:generator "Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html" .
:meta dcterms:generator "X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :NavigationInfo_2_2, :Group_2_3, :Group_2_4 ;
  x3do:hasROUTE :ROUTE_2_5, :ROUTE_2_6, :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'offset.x3d' .
:NavigationInfo_2_2 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:type '"WALK" "FLY" "ANY"' .
:Group_2_3 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Viewpoint_2_3_1, :Viewpoint_2_3_2, :Viewpoint_2_3_3, :Viewpoint_2_3_4, :Viewpoint_2_3_5, :Viewpoint_2_3_6 .
:Viewpoint_2_3_1 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_3 ;
  x3do:description 'Front View' ;
  x3do:position ( 0 2 20 ) .
:Viewpoint_2_3_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_3 ;
  x3do:description 'Top View' ;
  x3do:orientation ( 1 0 0 -1.57 ) ;
  x3do:position ( 0 20 0 ) .
:Viewpoint_2_3_3 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_3 ;
  x3do:description 'Rear View' ;
  x3do:orientation ( 0 1 0 3.14 ) ;
  x3do:position ( 0 0 -20 ) .
:Viewpoint_2_3_4 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_3 ;
  x3do:description 'Bottom View' ;
  x3do:orientation ( 1 0 0 1.57 ) ;
  x3do:position ( 0 -20 0 ) .
:Viewpoint_2_3_5 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_3 ;
  x3do:description 'Right View' ;
  x3do:orientation ( 0 1 0 1.57 ) ;
  x3do:position ( 20 0 0 ) .
:Viewpoint_2_3_6 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_3 ;
  x3do:description 'Left View' ;
  x3do:orientation ( 0 1 0 -1.57 ) ;
  x3do:position ( -20 0 0 ) .
:Group_2_4 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Transform_2_4_1 .
:Transform_2_4_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :AXIS, :MYCYLINDER1, :MYCYLINDER2, :MYCYLINDER3, :MYCYLINDER4, :MYCYLINDER5 .
:AXIS a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasAppearance :Appearance_2_4_1_1_1 ;
  x3do:hasGeometry :IndexedLineSet_2_4_1_1_2 ;
  x3do:DEF 'AXIS' .
:Appearance_2_4_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :AXIS ;
  x3do:hasMaterial :Material_2_4_1_1_1_1 .
:Material_2_4_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_1_1 ;
  x3do:emissiveColor ( 1 1 1 ) .
:IndexedLineSet_2_4_1_1_2 a owl:NamedIndividual, x3do:IndexedLineSet ;
  x3do:hasParent :AXIS ;
  x3do:hasColor :Color_2_4_1_1_2_1 ;
  x3do:hasCoord :Coordinate_2_4_1_1_2_2 ;
  x3do:colorIndex ( 0 ) ;
  x3do:colorPerVertex false ;
  x3do:coordIndex ( 0 1 ) .
:Color_2_4_1_1_2_1 a owl:NamedIndividual, x3do:Color ;
  x3do:hasParent :IndexedLineSet_2_4_1_1_2 ;
  x3do:color ( 1 1 1 ) .
:Coordinate_2_4_1_1_2_2 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedLineSet_2_4_1_1_2 ;
  x3do:point ( 0 2 0 0 -2 0 ) .
:MYCYLINDER1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasChildren :CYLINDER1SENSOR, :AXIS-USE-1, :MYCYLINDER ;
  x3do:DEF 'MYCYLINDER1' ;
  x3do:translation ( -6 0 0 ) .
:CYLINDER1SENSOR a owl:NamedIndividual, x3do:CylinderSensor ;
  x3do:hasParent :MYCYLINDER1 ;
  x3do:DEF 'CYLINDER1SENSOR' ;
  x3do:autoOffset false ;
  x3do:description 'click and drag to rotate' ;
  x3do:offset -3.14 .
:AXIS-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER1 ;
  owl:sameAs :AXIS . # DEF matching this USE
:MYCYLINDER a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER1 ;
  x3do:hasAppearance :Appearance_2_4_1_2_3_1 ;
  x3do:hasGeometry :IndexedFaceSet_2_4_1_2_3_2 ;
  x3do:DEF 'MYCYLINDER' .
:Appearance_2_4_1_2_3_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :MYCYLINDER ;
  x3do:hasMaterial :Material_2_4_1_2_3_1_1 .
:Material_2_4_1_2_3_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_2_3_1 .
:IndexedFaceSet_2_4_1_2_3_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :MYCYLINDER ;
  x3do:hasColor :Color_2_4_1_2_3_2_1 ;
  x3do:hasCoord :Coordinate_2_4_1_2_3_2_2 ;
  x3do:colorPerVertex false ;
  x3do:coordIndex ( 0 1 3 2 -1 4 5 7 6 -1 6 7 1 0 -1 2 3 5 4 -1 6 0 2 4 -1 1 7 5 3 -1 ) .
:Color_2_4_1_2_3_2_1 a owl:NamedIndividual, x3do:Color ;
  x3do:hasParent :IndexedFaceSet_2_4_1_2_3_2 ;
  x3do:color ( 1 0 0 0 1 0 0 0 1 1 1 0 1 1 1 1 1 1 ) .
:Coordinate_2_4_1_2_3_2_2 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_4_1_2_3_2 ;
  x3do:point ( -1 1 1 -1 -1 1 1 1 1 1 -1 1 1 1 -1 1 -1 -1 -1 1 -1 -1 -1 -1 ) .
:MYCYLINDER2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasChildren :CYLINDER2SENSOR, :AXIS-USE-2, :MYCYLINDER-USE-1 ;
  x3do:DEF 'MYCYLINDER2' ;
  x3do:translation ( -3 0 0 ) .
:CYLINDER2SENSOR a owl:NamedIndividual, x3do:CylinderSensor ;
  x3do:hasParent :MYCYLINDER2 ;
  x3do:DEF 'CYLINDER2SENSOR' ;
  x3do:autoOffset false ;
  x3do:description 'click and drag to rotate' ;
  x3do:offset -0.758 .
:AXIS-USE-2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER2 ;
  owl:sameAs :AXIS . # DEF matching this USE
:MYCYLINDER-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER2 ;
  owl:sameAs :MYCYLINDER . # DEF matching this USE
:MYCYLINDER3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasChildren :CYLINDER3SENSOR, :AXIS-USE-3, :MYCYLINDER-USE-2 ;
  x3do:DEF 'MYCYLINDER3' .
:CYLINDER3SENSOR a owl:NamedIndividual, x3do:CylinderSensor ;
  x3do:hasParent :MYCYLINDER3 ;
  x3do:DEF 'CYLINDER3SENSOR' ;
  x3do:autoOffset false ;
  x3do:description 'click and drag to rotate' .
:AXIS-USE-3 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER3 ;
  owl:sameAs :AXIS . # DEF matching this USE
:MYCYLINDER-USE-2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER3 ;
  owl:sameAs :MYCYLINDER . # DEF matching this USE
:MYCYLINDER4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasChildren :CYLINDER4SENSOR, :AXIS-USE-4, :MYCYLINDER-USE-3 ;
  x3do:DEF 'MYCYLINDER4' ;
  x3do:translation ( 3 0 0 ) .
:CYLINDER4SENSOR a owl:NamedIndividual, x3do:CylinderSensor ;
  x3do:hasParent :MYCYLINDER4 ;
  x3do:DEF 'CYLINDER4SENSOR' ;
  x3do:autoOffset false ;
  x3do:description 'click and drag to rotate' ;
  x3do:offset 0.758 .
:AXIS-USE-4 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER4 ;
  owl:sameAs :AXIS . # DEF matching this USE
:MYCYLINDER-USE-3 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER4 ;
  owl:sameAs :MYCYLINDER . # DEF matching this USE
:MYCYLINDER5 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasChildren :CYLINDER5SENSOR, :AXIS-USE-5, :MYCYLINDER-USE-4 ;
  x3do:DEF 'MYCYLINDER5' ;
  x3do:translation ( 6 0 0 ) .
:CYLINDER5SENSOR a owl:NamedIndividual, x3do:CylinderSensor ;
  x3do:hasParent :MYCYLINDER5 ;
  x3do:DEF 'CYLINDER5SENSOR' ;
  x3do:autoOffset false ;
  x3do:description 'click and drag to rotate' ;
  x3do:offset 3.14 .
:AXIS-USE-5 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER5 ;
  owl:sameAs :AXIS . # DEF matching this USE
:MYCYLINDER-USE-4 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MYCYLINDER5 ;
  owl:sameAs :MYCYLINDER . # DEF matching this USE
:ROUTE_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'rotation_changed' ;
  x3do:fromNode 'CYLINDER1SENSOR' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'MYCYLINDER1' .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'rotation_changed' ;
  x3do:fromNode 'CYLINDER2SENSOR' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'MYCYLINDER2' .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'rotation_changed' ;
  x3do:fromNode 'CYLINDER3SENSOR' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'MYCYLINDER3' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'rotation_changed' ;
  x3do:fromNode 'CYLINDER4SENSOR' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'MYCYLINDER4' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'rotation_changed' ;
  x3do:fromNode 'CYLINDER5SENSOR' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'MYCYLINDER5' .
