@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/Buildings/SecurityPerimeter/BollardHydraulicSecurityPrototype.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 'Immersive' ;
  x3do:version '3.1' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.1.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_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'BollardHydraulicSecurityPrototype.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Rising/retractable security bollard' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman and MV4205 Advanced XML class' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '30 May 2007' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.atgaccess.com' ;
  x3do:name 'reference' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'under development, initial functionality completed. TODO: add SMALL metadata. TODO: how to string together multiple bollards - add fields for spacing and count?' ;
  x3do:name 'warning' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/Buildings/SecurityPerimeter/BollardHydraulicSecurityPrototype.x3d' ;
  x3do:name 'identifier' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "BollardHydraulicSecurityPrototype.x3d" .
:meta dcterms:description "Rising/retractable security bollard" .
:meta dcterms:creator "Don Brutzman and MV4205 Advanced XML class" .
:meta dcterms:created "30 May 2007" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:reference "http://www.atgaccess.com" .
:meta dcterms:warning "under development, initial functionality completed. TODO: add SMALL metadata. TODO: how to string together multiple bollards - add fields for spacing and count?" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/Buildings/SecurityPerimeter/BollardHydraulicSecurityPrototype.x3d" .
:meta dcterms:generator "X3D-Edit 3.2, 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, :Viewpoint_2_3, :Bollard, :GroundLevel, :RaiseInterface, :LowerInterface ;
  x3do:hasProtoDeclare :ProtoDeclare_2_2 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'BollardHydraulicSecurityPrototype.x3d' .
:ProtoDeclare_2_2 a owl:NamedIndividual, x3do:ProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasProtoInterface :ProtoInterface_2_2_1 ;
  x3do:hasProtoBody :ProtoBody_2_2_2 ;
  x3do:appinfo 'A security bollard can be raised or lowered to prevent vehicle access by blocking a road. Usually multiple bollards are installed side by side raised and lowered together.' ;
  x3do:name 'BollardHydraulicSecurity' .
:ProtoInterface_2_2_1 a owl:NamedIndividual, x3do:ProtoInterface ;
  x3do:hasParent :ProtoDeclare_2_2 ;
  x3do:hasField :field_2_2_1_1, :field_2_2_1_2, :field_2_2_1_3, :field_2_2_1_4, :field_2_2_1_5, :field_2_2_1_6, :field_2_2_1_7, :field_2_2_1_8 .
:field_2_2_1_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'radius' ;
  x3do:type 'SFFloat' ;
  x3do:value 0.2 .
:field_2_2_1_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'height' ;
  x3do:type 'SFFloat' ;
  x3do:value 1 .
:field_2_2_1_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'textureUrl' ;
  x3do:type 'MFString' .
:field_2_2_1_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'diffuseColor' ;
  x3do:type 'SFColor' ;
  x3do:value ( 1 1 0 ) .
:field_2_2_1_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOnly' ;
  x3do:appinfo 'Command to raise the bollard.' ;
  x3do:name 'raise' ;
  x3do:type 'SFBool' .
:field_2_2_1_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOnly' ;
  x3do:appinfo 'Command to lower the bollard.' ;
  x3do:name 'lower' ;
  x3do:type 'SFBool' .
:field_2_2_1_7 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'Notification event sent when bollard is fully raised.' ;
  x3do:name 'isRaised' ;
  x3do:type 'SFBool' .
:field_2_2_1_8 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'Notification event sent when bollard is fully lowered.' ;
  x3do:name 'isLowered' ;
  x3do:type 'SFBool' .
:ProtoBody_2_2_2 a owl:NamedIndividual, x3do:ProtoBody ;
  x3do:hasParent :ProtoDeclare_2_2 ;
  x3do:hasChildren :BollardTransform, :HeightInterpolator, :HeightTypeConversion, :RaiseBollardClock, :ClockScript, :FractionReverser, :LowerBollardClock, :LowerTimeTrigger, :StartLoweringFilter ;
  x3do:hasROUTE :ROUTE_2_2_2_3, :ROUTE_2_2_2_5, :ROUTE_2_2_2_8, :ROUTE_2_2_2_9, :ROUTE_2_2_2_14, :ROUTE_2_2_2_15, :ROUTE_2_2_2_16, :ROUTE_2_2_2_17 .
:BollardTransform a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasChildren :Shape_2_2_2_1_1, :Shape_2_2_2_1_2 ;
  x3do:DEF 'BollardTransform' .
:Shape_2_2_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :BollardTransform ;
  x3do:hasGeometry :Cylinder_2_2_2_1_1_1 ;
  x3do:hasAppearance :Appearance_2_2_2_1_1_2 .
:Cylinder_2_2_2_1_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_2_2_1_1 ;
  x3do:hasIS :IS_2_2_2_1_1_1_1 ;
  x3do:bottom false ;
  x3do:top false .
:IS_2_2_2_1_1_1_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :Cylinder_2_2_2_1_1_1 ;
  x3do:hasConnect :connect_2_2_2_1_1_1_1_1, :connect_2_2_2_1_1_1_1_2 .
:connect_2_2_2_1_1_1_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1_1 ;
  x3do:nodeField 'radius' ;
  x3do:protoField 'radius' .
:connect_2_2_2_1_1_1_1_2 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1_1 ;
  x3do:nodeField 'height' ;
  x3do:protoField 'height' .
:Appearance_2_2_2_1_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_2_1_1 ;
  x3do:hasMaterial :CylinderMaterial ;
  x3do:hasTexture :ImageTexture_2_2_2_1_1_2_2 .
:CylinderMaterial a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_2_1_1_2 ;
  x3do:hasIS :IS_2_2_2_1_1_2_1_1 ;
  x3do:DEF 'CylinderMaterial' .
:IS_2_2_2_1_1_2_1_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :CylinderMaterial ;
  x3do:hasConnect :connect_2_2_2_1_1_2_1_1_1 .
:connect_2_2_2_1_1_2_1_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_2_1_1 ;
  x3do:nodeField 'diffuseColor' ;
  x3do:protoField 'diffuseColor' .
:ImageTexture_2_2_2_1_1_2_2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_2_2_1_1_2 ;
  x3do:hasIS :IS_2_2_2_1_1_2_2_1 .
:IS_2_2_2_1_1_2_2_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :ImageTexture_2_2_2_1_1_2_2 ;
  x3do:hasConnect :connect_2_2_2_1_1_2_2_1_1 .
:connect_2_2_2_1_1_2_2_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_2_2_1 ;
  x3do:nodeField 'url' ;
  x3do:protoField 'textureUrl' .
:Shape_2_2_2_1_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :BollardTransform ;
  x3do:hasGeometry :Cylinder_2_2_2_1_2_1 ;
  x3do:hasAppearance :Appearance_2_2_2_1_2_2 .
:Cylinder_2_2_2_1_2_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_2_2_1_2 ;
  x3do:hasIS :IS_2_2_2_1_2_1_1 ;
  x3do:side false .
:IS_2_2_2_1_2_1_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :Cylinder_2_2_2_1_2_1 ;
  x3do:hasConnect :connect_2_2_2_1_2_1_1_1, :connect_2_2_2_1_2_1_1_2 .
:connect_2_2_2_1_2_1_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_2_1_1 ;
  x3do:nodeField 'radius' ;
  x3do:protoField 'radius' .
:connect_2_2_2_1_2_1_1_2 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_2_1_1 ;
  x3do:nodeField 'height' ;
  x3do:protoField 'height' .
:Appearance_2_2_2_1_2_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_2_1_2 ;
  x3do:hasMaterial :CylinderMaterial-USE-1 .
:CylinderMaterial-USE-1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_2_1_2_2 ;
  owl:sameAs :CylinderMaterial . # DEF matching this USE
:HeightInterpolator a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:DEF 'HeightInterpolator' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 0 -0.5 0 0 0.5 0 ) .
:ROUTE_2_2_2_3 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'HeightInterpolator' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'BollardTransform' .
:HeightTypeConversion a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasField :field_2_2_2_4_1, :field_2_2_2_4_2, :field_2_2_2_4_3 ;
  x3do:hasIS :IS_2_2_2_4_4 ;
  x3do:DEF 'HeightTypeConversion' ;
  x3do:directOutput true ;
  x3do:sourceCode """
ecmascript:

function initialize ()
{
	// set initial Transform translation value to the correct height
	initialTranslation = new SFVec3f (0, -(height / 2), 0); // output event
	finalTranslation   = new SFVec3f (0,  (height / 2), 0);
//	Browser.println ('initialTranslation=' + initialTranslation);

	// customize PositionInterpolator to move correct vertical distance
	PI.keyValue = new MFVec3f (initialTranslation, finalTranslation);
//	Browser.println ('PI.keyValue=' + PI.keyValue);
}
""" .
:field_2_2_2_4_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :HeightTypeConversion ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'height' ;
  x3do:type 'SFFloat' .
:field_2_2_2_4_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :HeightTypeConversion ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'initialTranslation' ;
  x3do:type 'SFVec3f' .
:field_2_2_2_4_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :HeightTypeConversion ;
  x3do:hasChildren :HeightInterpolator-USE-1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'PI' ;
  x3do:type 'SFNode' .
:HeightInterpolator-USE-1 a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :field_2_2_2_4_3 ;
  owl:sameAs :HeightInterpolator . # DEF matching this USE
:IS_2_2_2_4_4 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :HeightTypeConversion ;
  x3do:hasConnect :connect_2_2_2_4_4_1 .
:connect_2_2_2_4_4_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_4_4 ;
  x3do:nodeField 'height' ;
  x3do:protoField 'height' .
:ROUTE_2_2_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'initialTranslation' ;
  x3do:fromNode 'HeightTypeConversion' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'BollardTransform' .
:RaiseBollardClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:DEF 'RaiseBollardClock' ;
  x3do:cycleInterval '5' .
:ClockScript a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasField :field_2_2_2_7_1, :field_2_2_2_7_2 ;
  x3do:hasIS :IS_2_2_2_7_3 ;
  x3do:DEF 'ClockScript' ;
  x3do:sourceCode """
ecmascript:

function raise (value, timestamp)
{
	startRaising = timestamp;
}
""" .
:field_2_2_2_7_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ClockScript ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'raise' ;
  x3do:type 'SFBool' .
:field_2_2_2_7_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ClockScript ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'startRaising' ;
  x3do:type 'SFTime' .
:IS_2_2_2_7_3 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :ClockScript ;
  x3do:hasConnect :connect_2_2_2_7_3_1 .
:connect_2_2_2_7_3_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_7_3 ;
  x3do:nodeField 'raise' ;
  x3do:protoField 'raise' .
:ROUTE_2_2_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'RaiseBollardClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'HeightInterpolator' .
:ROUTE_2_2_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'startRaising' ;
  x3do:fromNode 'ClockScript' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'RaiseBollardClock' .
:FractionReverser a owl:NamedIndividual, x3do:ScalarInterpolator ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:DEF 'FractionReverser' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 1 0 ) .
:LowerBollardClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:DEF 'LowerBollardClock' ;
  x3do:cycleInterval '5' .
:LowerTimeTrigger a owl:NamedIndividual, x3do:TimeTrigger ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:DEF 'LowerTimeTrigger' .
:StartLoweringFilter a owl:NamedIndividual, x3do:BooleanFilter ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasIS :IS_2_2_2_13_1 ;
  x3do:DEF 'StartLoweringFilter' .
:IS_2_2_2_13_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :StartLoweringFilter ;
  x3do:hasConnect :connect_2_2_2_13_1_1 .
:connect_2_2_2_13_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_13_1 ;
  x3do:nodeField 'set_boolean' ;
  x3do:protoField 'lower' .
:ROUTE_2_2_2_14 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'FractionReverser' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'HeightInterpolator' .
:ROUTE_2_2_2_15 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'LowerBollardClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'FractionReverser' .
:ROUTE_2_2_2_16 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'triggerTime' ;
  x3do:fromNode 'LowerTimeTrigger' ;
  x3do:toField 'set_startTime' ;
  x3do:toNode 'LowerBollardClock' .
:ROUTE_2_2_2_17 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'inputTrue' ;
  x3do:fromNode 'StartLoweringFilter' ;
  x3do:toField 'set_boolean' ;
  x3do:toNode 'LowerTimeTrigger' .
:Viewpoint_2_3 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Bollard view' ;
  x3do:position ( 0 0 6 ) .
:Bollard a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Scene ;
  x3do:hasFieldValue :fieldValue_2_4_1, :fieldValue_2_4_2, :fieldValue_2_4_3 ;
  x3do:DEF 'Bollard' ;
  x3do:name 'BollardHydraulicSecurity' .
:fieldValue_2_4_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Bollard ;
  x3do:name 'height' ;
  x3do:value 0.85 .
:fieldValue_2_4_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Bollard ;
  x3do:name 'radius' ;
  x3do:value 0.2 .
:fieldValue_2_4_3 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Bollard ;
  x3do:name 'textureUrl' ;
  x3do:value '"fan.png"' .
:GroundLevel a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Scene ;
  x3do:hasGeometry :Box_2_5_1 ;
  x3do:DEF 'GroundLevel' .
:Box_2_5_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :GroundLevel ;
  x3do:size ( 10 0.01 10 ) .
:RaiseInterface a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_6_1, :Shape_2_6_2, :ClickToRaiseBollard ;
  x3do:hasROUTE :ROUTE_2_6_4 ;
  x3do:DEF 'RaiseInterface' ;
  x3do:translation ( -2 -1 0 ) .
:Shape_2_6_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :RaiseInterface ;
  x3do:hasGeometry :Text_2_6_1_1 .
:Text_2_6_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_6_1 ;
  x3do:hasFontStyle :FontStyle_2_6_1_1_1 ;
  x3do:string '"Click to" "raise"' .
:FontStyle_2_6_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_6_1_1 ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.3 .
:Shape_2_6_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :RaiseInterface ;
  x3do:hasGeometry :Box_2_6_2_1 ;
  x3do:hasAppearance :Appearance_2_6_2_2 .
:Box_2_6_2_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_6_2 ;
  x3do:size ( 3 2 0.01 ) .
:Appearance_2_6_2_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_6_2 ;
  x3do:hasMaterial :Material_2_6_2_2_1 .
:Material_2_6_2_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_6_2_2 ;
  x3do:transparency 1 .
:ClickToRaiseBollard a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :RaiseInterface ;
  x3do:DEF 'ClickToRaiseBollard' ;
  x3do:description 'click to raise bollard' .
:ROUTE_2_6_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :RaiseInterface ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'ClickToRaiseBollard' ;
  x3do:toField 'raise' ;
  x3do:toNode 'Bollard' .
:LowerInterface a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_7_1, :Shape_2_7_2, :ClickToLowerBollard ;
  x3do:hasROUTE :ROUTE_2_7_4 ;
  x3do:DEF 'LowerInterface' ;
  x3do:translation ( 2 -1 0 ) .
:Shape_2_7_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :LowerInterface ;
  x3do:hasGeometry :Text_2_7_1_1 .
:Text_2_7_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_7_1 ;
  x3do:hasFontStyle :FontStyle_2_7_1_1_1 ;
  x3do:string '"Click to" "lower"' .
:FontStyle_2_7_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_7_1_1 ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.3 .
:Shape_2_7_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :LowerInterface ;
  x3do:hasGeometry :Box_2_7_2_1 ;
  x3do:hasAppearance :Appearance_2_7_2_2 .
:Box_2_7_2_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_7_2 ;
  x3do:size ( 3 2 0.01 ) .
:Appearance_2_7_2_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_2 ;
  x3do:hasMaterial :Material_2_7_2_2_1 .
:Material_2_7_2_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_7_2_2 ;
  x3do:transparency 1 .
:ClickToLowerBollard a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :LowerInterface ;
  x3do:DEF 'ClickToLowerBollard' ;
  x3do:description 'click tolower bollard' .
:ROUTE_2_7_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :LowerInterface ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'ClickToLowerBollard' ;
  x3do:toField 'lower' ;
  x3do:toNode 'Bollard' .
