@prefix : . @prefix owl: . @prefix rdf: . @prefix rdfs: . @prefix schema: . @prefix dcterms: . @prefix xsd: . @prefix x3d: . @prefix x3do: . :X3D a owl:NamedIndividual, x3do:X3D ; x3do:hasHead :head ; x3do:hasScene :Scene ; x3do:profile 'Immersive' ; 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_1 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'TimeDelaySensorExample.x3d' ; x3do:name 'title' . :meta_1_2 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'Time delay sensor design pattern: example use.' ; x3do:name 'description' . :meta_1_3 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'Don Brutzman and MV4204 class' ; x3do:name 'creator' . :meta_1_4 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content '18 August 2003' ; x3do:name 'created' . :meta_1_5 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content '28 November 2019' ; x3do:name 'modified' . :meta_1_6 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'TimeDelaySensorPrototype.x3d' ; x3do:name 'reference' . :meta_1_7 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/time.html' ; x3do:name 'reference' . :meta_1_8 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/utils.html' ; x3do:name 'reference' . :meta_1_9 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'TimeDelaySensor' ; x3do:name 'subject' . :meta_1_10 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'https://savage.nps.edu/Savage/Tools/Animation/TimeDelaySensorExample.x3d' ; x3do:name 'identifier' . :meta_1_11 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content 'X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit' ; x3do:name 'generator' . :meta_1_12 a owl:NamedIndividual, x3do:meta ; x3do:hasParent :head ; x3do:content '../../license.html' ; x3do:name 'license' . :meta dcterms:title "TimeDelaySensorExample.x3d" . :meta dcterms:description "Time delay sensor design pattern: example use." . :meta dcterms:creator "Don Brutzman and MV4204 class" . :meta dcterms:created "18 August 2003" . :meta dcterms:modified "28 November 2019" . :meta dcterms:reference "TimeDelaySensorPrototype.x3d" . :meta dcterms:reference "https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/time.html" . :meta dcterms:reference "https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/utils.html" . :meta dcterms:subject "TimeDelaySensor" . :meta dcterms:identifier "https://savage.nps.edu/Savage/Tools/Animation/TimeDelaySensorExample.x3d" . :meta dcterms:generator "X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit" . :meta dcterms:license "../../license.html" . :Scene a owl:NamedIndividual, x3do:Scene ; x3do:hasParent :X3D ; x3do:hasChildren :WorldInfo_2_1, :TextTouchGroup, :TextAnimationGroup ; x3do:hasExternProtoDeclare :ExternProtoDeclare_2_2 . :WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ; x3do:hasParent :Scene ; x3do:title 'TimeDelaySensorExample.x3d' . :ExternProtoDeclare_2_2 a owl:NamedIndividual, x3do:ExternProtoDeclare ; x3do:hasParent :Scene ; x3do:hasField :field_2_2_1, :field_2_2_2, :field_2_2_3, :field_2_2_4, :field_2_2_5, :field_2_2_6 ; x3do:appinfo 'TimeSensor functionality commences after delayInterval pause' ; x3do:name 'TimeDelaySensor' ; x3do:url '"TimeDelaySensorPrototype.x3d#TimeDelaySensor" "https://savage.nps.edu/Savage/Tools/Animation/TimeDelaySensorPrototype.x3d#TimeDelaySensor" "TimeDelaySensorPrototype.wrl#TimeDelaySensor" "https://savage.nps.edu/Savage/Tools/Animation/TimeDelaySensorPrototype.wrl#TimeDelaySensor"' . :field_2_2_1 a owl:NamedIndividual, x3do:field ; x3do:hasParent :ExternProtoDeclare_2_2 ; x3do:accessType 'inputOutput' ; x3do:appinfo 'describe the purpose of this sensor' ; x3do:name 'description' ; x3do:type 'SFString' . :field_2_2_2 a owl:NamedIndividual, x3do:field ; x3do:hasParent :ExternProtoDeclare_2_2 ; x3do:accessType 'inputOutput' ; x3do:name 'startTime' ; x3do:type 'SFTime' . :field_2_2_3 a owl:NamedIndividual, x3do:field ; x3do:hasParent :ExternProtoDeclare_2_2 ; x3do:accessType 'inputOutput' ; x3do:name 'enabled' ; x3do:type 'SFBool' . :field_2_2_4 a owl:NamedIndividual, x3do:field ; x3do:hasParent :ExternProtoDeclare_2_2 ; x3do:accessType 'inputOutput' ; x3do:appinfo 'seconds' ; x3do:name 'delayInterval' ; x3do:type 'SFTime' . :field_2_2_5 a owl:NamedIndividual, x3do:field ; x3do:hasParent :ExternProtoDeclare_2_2 ; x3do:accessType 'outputOnly' ; x3do:name 'delayCompleteTime' ; x3do:type 'SFTime' . :field_2_2_6 a owl:NamedIndividual, x3do:field ; x3do:hasParent :ExternProtoDeclare_2_2 ; x3do:accessType 'initializeOnly' ; x3do:name 'traceEnabled' ; x3do:type 'SFBool' . :TextTouchGroup a owl:NamedIndividual, x3do:Group ; x3do:hasParent :Scene ; x3do:hasChildren :Shape_2_3_1, :TouchSensorActive ; x3do:DEF 'TextTouchGroup' . :Shape_2_3_1 a owl:NamedIndividual, x3do:Shape ; x3do:hasParent :TextTouchGroup ; x3do:hasGeometry :Text_2_3_1_1 ; x3do:hasAppearance :Appearance_2_3_1_2 . :Text_2_3_1_1 a owl:NamedIndividual, x3do:Text ; x3do:hasParent :Shape_2_3_1 ; x3do:hasFontStyle :FontStyle_2_3_1_1_1 ; x3do:string '"click text then wait for" "3 second time delay" "before color changes"' . :FontStyle_2_3_1_1_1 a owl:NamedIndividual, x3do:FontStyle ; x3do:hasParent :Text_2_3_1_1 ; x3do:justify '"MIDDLE" "MIDDLE"' . :Appearance_2_3_1_2 a owl:NamedIndividual, x3do:Appearance ; x3do:hasParent :Shape_2_3_1 ; x3do:hasMaterial :TextColor . :TextColor a owl:NamedIndividual, x3do:Material ; x3do:hasParent :Appearance_2_3_1_2 ; x3do:DEF 'TextColor' . :TouchSensorActive a owl:NamedIndividual, x3do:TouchSensor ; x3do:hasParent :TextTouchGroup ; x3do:DEF 'TouchSensorActive' ; x3do:description 'click to initiate time delay and color change' . :TextAnimationGroup a owl:NamedIndividual, x3do:Group ; x3do:hasParent :Scene ; x3do:hasChildren :DelayTimer, :AnimationClock, :ColorChangerRGB ; x3do:hasROUTE :ROUTE_2_4_3, :ROUTE_2_4_4, :ROUTE_2_4_6, :ROUTE_2_4_7 ; x3do:DEF 'TextAnimationGroup' . :DelayTimer a owl:NamedIndividual, x3do:ProtoInstance ; x3do:hasParent :TextAnimationGroup ; x3do:hasFieldValue :fieldValue_2_4_1_1, :fieldValue_2_4_1_2 ; x3do:DEF 'DelayTimer' ; x3do:name 'TimeDelaySensor' . :fieldValue_2_4_1_1 a owl:NamedIndividual, x3do:fieldValue ; x3do:hasParent :DelayTimer ; x3do:name 'delayInterval' ; x3do:value '3' . :fieldValue_2_4_1_2 a owl:NamedIndividual, x3do:fieldValue ; x3do:hasParent :DelayTimer ; x3do:name 'traceEnabled' ; x3do:value true . :AnimationClock a owl:NamedIndividual, x3do:TimeSensor ; x3do:hasParent :TextAnimationGroup ; x3do:DEF 'AnimationClock' ; x3do:cycleInterval '2' . :ROUTE_2_4_3 a owl:NamedIndividual, x3do:ROUTE ; x3do:hasParent :TextAnimationGroup ; x3do:fromField 'touchTime' ; x3do:fromNode 'TouchSensorActive' ; x3do:toField 'set_startTime' ; x3do:toNode 'DelayTimer' . :ROUTE_2_4_4 a owl:NamedIndividual, x3do:ROUTE ; x3do:hasParent :TextAnimationGroup ; x3do:fromField 'delayCompleteTime' ; x3do:fromNode 'DelayTimer' ; x3do:toField 'set_startTime' ; x3do:toNode 'AnimationClock' . :ColorChangerRGB a owl:NamedIndividual, x3do:ColorInterpolator ; x3do:hasParent :TextAnimationGroup ; x3do:DEF 'ColorChangerRGB' ; x3do:key ( 0 0.5 1 ) ; x3do:keyValue ( 1 0 0 0 1 0 0 0 1 ) . :ROUTE_2_4_6 a owl:NamedIndividual, x3do:ROUTE ; x3do:hasParent :TextAnimationGroup ; x3do:fromField 'fraction_changed' ; x3do:fromNode 'AnimationClock' ; x3do:toField 'set_fraction' ; x3do:toNode 'ColorChangerRGB' . :ROUTE_2_4_7 a owl:NamedIndividual, x3do:ROUTE ; x3do:hasParent :TextAnimationGroup ; x3do:fromField 'value_changed' ; x3do:fromNode 'ColorChangerRGB' ; x3do:toField 'diffuseColor' ; x3do:toNode 'TextColor' .