@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/TimeSensorEaseInEaseOutPrototype.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.2' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.2.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 'TimeSensorEaseInEaseOutPrototype.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Time sensor ease-in ease-out design pattern, implemented as a reusable prototype node.' ;
  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 '4 April 2006' ;
  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 'TimeSensorEaseInEaseOutExample.x3d' ;
  x3do:name 'reference' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'TimeDelaySensorPrototype.x3d' ;
  x3do:name 'reference' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'TimeSensorEaseInEaseOut' ;
  x3do:name 'subject' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D v3.1 or greater' ;
  x3do:name 'info' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/TimeSensorEaseInEaseOutPrototype.x3d' ;
  x3do:name 'identifier' .
:meta_1_11 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_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "TimeSensorEaseInEaseOutPrototype.x3d" .
:meta dcterms:description "Time sensor ease-in ease-out design pattern, implemented as a reusable prototype node." .
:meta dcterms:creator "Don Brutzman and MV4204 class" .
:meta dcterms:created "4 April 2006" .
:meta dcterms:modified "28 November 2019" .
:meta dcterms:reference "TimeSensorEaseInEaseOutExample.x3d" .
:meta dcterms:reference "TimeDelaySensorPrototype.x3d" .
:meta dcterms:subject "TimeSensorEaseInEaseOut" .
:meta dcterms:info "X3D v3.1 or greater" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/TimeSensorEaseInEaseOutPrototype.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, :Anchor_2_3 ;
  x3do:hasProtoDeclare :ProtoDeclare_2_2 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'TimeSensorEaseInEaseOutPrototype.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 'TimeSensorEaseInEaseOut is a TimeSensor node with gradual start and stop rates' ;
  x3do:name 'TimeSensorEaseInEaseOut' .
: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_9, :field_2_2_1_10, :field_2_2_1_11, :field_2_2_1_12, :field_2_2_1_13 .
:field_2_2_1_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'whether sensor is active' ;
  x3do:name 'enabled' ;
  x3do:type 'SFBool' ;
  x3do:value true .
:field_2_2_1_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'repeat indefinitely when loop=true, repeat only once when loop=false' ;
  x3do:name 'loop' ;
  x3do:type 'SFBool' ;
  x3do:value false .
:field_2_2_1_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'loop duration in seconds' ;
  x3do:name 'cycleInterval' ;
  x3do:type 'SFTime' ;
  x3do:value '1' .
:field_2_2_1_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'fraction_changed sends values in range [0,1] showing time progress in the current cycle' ;
  x3do:name 'fraction_changed' ;
  x3do:type 'SFFloat' .
:field_2_2_1_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'isActive true/false events are sent when TimeSensor starts/stops running' ;
  x3do:name 'isActive' ;
  x3do:type 'SFBool' .
:field_2_2_1_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'isPaused true/false events are sent when TimeSensor is paused/resumed' ;
  x3do:name 'isPaused' ;
  x3do:type 'SFBool' .
:field_2_2_1_7 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'when current time exceeds startTime, isActive becomes true and sensor becomes active' ;
  x3do:name 'startTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_2_1_8 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'when current time exceeds stopTime, isActive becomes false and sensor becomes inactive' ;
  x3do:name 'stopTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_2_1_9 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'when current time exceeds pauseTime, isPaused becomes false and sensor becomes paused' ;
  x3do:name 'pauseTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_2_1_10 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'when current time exceeds resumeTime, isPaused becomes false and sensor resumes running' ;
  x3do:name 'resumeTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_2_1_11 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'cycleTime sends a time event at startTime, and also at the beginning of each new cycle' ;
  x3do:name 'cycleTime' ;
  x3do:type 'SFTime' .
:field_2_2_1_12 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'elapsed time since TimeSensor activated/running, cumulative in seconds, not counting any paused time' ;
  x3do:name 'elapsedTime' ;
  x3do:type 'SFTime' .
:field_2_2_1_13 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:appinfo 'absolute time (since January 1, 1970) for each event loop' ;
  x3do:name 'time' ;
  x3do:type 'SFTime' .
:ProtoBody_2_2_2 a owl:NamedIndividual, x3do:ProtoBody ;
  x3do:hasParent :ProtoDeclare_2_2 ;
  x3do:hasChildren :Group_2_2_2_1 .
:Group_2_2_2_1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasChildren :TimeDelayClock, :PiecewiseLinearDelayFilter ;
  x3do:hasROUTE :ROUTE_2_2_2_1_3 .
:TimeDelayClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Group_2_2_2_1 ;
  x3do:hasIS :IS_2_2_2_1_1_1 ;
  x3do:DEF 'TimeDelayClock' .
:IS_2_2_2_1_1_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :TimeDelayClock ;
  x3do:hasConnect :connect_2_2_2_1_1_1_1, :connect_2_2_2_1_1_1_2, :connect_2_2_2_1_1_1_3, :connect_2_2_2_1_1_1_4, :connect_2_2_2_1_1_1_5, :connect_2_2_2_1_1_1_6, :connect_2_2_2_1_1_1_7, :connect_2_2_2_1_1_1_8, :connect_2_2_2_1_1_1_9, :connect_2_2_2_1_1_1_10, :connect_2_2_2_1_1_1_11, :connect_2_2_2_1_1_1_12 .
:connect_2_2_2_1_1_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'enabled' ;
  x3do:protoField 'enabled' .
:connect_2_2_2_1_1_1_2 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'loop' ;
  x3do:protoField 'loop' .
:connect_2_2_2_1_1_1_3 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'cycleInterval' ;
  x3do:protoField 'cycleInterval' .
:connect_2_2_2_1_1_1_4 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'isActive' ;
  x3do:protoField 'isActive' .
:connect_2_2_2_1_1_1_5 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'isPaused' ;
  x3do:protoField 'isPaused' .
:connect_2_2_2_1_1_1_6 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'startTime' ;
  x3do:protoField 'startTime' .
:connect_2_2_2_1_1_1_7 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'stopTime' ;
  x3do:protoField 'stopTime' .
:connect_2_2_2_1_1_1_8 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'pauseTime' ;
  x3do:protoField 'pauseTime' .
:connect_2_2_2_1_1_1_9 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'resumeTime' ;
  x3do:protoField 'resumeTime' .
:connect_2_2_2_1_1_1_10 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'cycleTime' ;
  x3do:protoField 'cycleTime' .
:connect_2_2_2_1_1_1_11 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'elapsedTime' ;
  x3do:protoField 'elapsedTime' .
:connect_2_2_2_1_1_1_12 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1_1 ;
  x3do:nodeField 'time' ;
  x3do:protoField 'time' .
:PiecewiseLinearDelayFilter a owl:NamedIndividual, x3do:ScalarInterpolator ;
  x3do:hasParent :Group_2_2_2_1 ;
  x3do:hasIS :IS_2_2_2_1_2_1 ;
  x3do:DEF 'PiecewiseLinearDelayFilter' ;
  x3do:key ( 0 0.1 0.9 1 ) ;
  x3do:keyValue ( 0 0.03 0.97 1 ) .
:IS_2_2_2_1_2_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :PiecewiseLinearDelayFilter ;
  x3do:hasConnect :connect_2_2_2_1_2_1_1 .
:connect_2_2_2_1_2_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_2_1 ;
  x3do:nodeField 'value_changed' ;
  x3do:protoField 'fraction_changed' .
:ROUTE_2_2_2_1_3 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Group_2_2_2_1 ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'TimeDelayClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'PiecewiseLinearDelayFilter' .
:Anchor_2_3 a owl:NamedIndividual, x3do:Anchor ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_3_1 ;
  x3do:description 'TimeSensorEaseInEaseOut Example' ;
  x3do:url '"TimeSensorEaseInEaseOutExample.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/TimeSensorEaseInEaseOutExample.x3d" "TimeSensorEaseInEaseOutExample.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/TimeSensorEaseInEaseOutExample.wrl"' .
:Shape_2_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Anchor_2_3 ;
  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 '"TimeSensorEaseInEaseOutPrototype" "defines a prototype" "" "Click text to see" "TimeSensorEaseInEaseOutExample scene"' .
:FontStyle_2_3_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_3_1_1 ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.7 .
:Appearance_2_3_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_1 ;
  x3do:hasMaterial :Material_2_3_1_2_1 .
:Material_2_3_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_1_2 ;
  x3do:diffuseColor ( 1 1 0.2 ) .
