@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.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 'Interchange' ;
  x3do:version '4.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-4.0.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasComponent :component_1_1, :component_1_2, :component_1_3 ;
  x3do:hasMeta :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 .
:component_1_1 a owl:NamedIndividual, x3do:component ;
  x3do:hasParent :head ;
  x3do:level 1 ;
  x3do:name 'Text' .
:component_1_2 a owl:NamedIndividual, x3do:component ;
  x3do:hasParent :head ;
  x3do:level 2 ;
  x3do:name 'Grouping' .
:component_1_3 a owl:NamedIndividual, x3do:component ;
  x3do:hasParent :head ;
  x3do:level 3 ;
  x3do:name 'Navigation' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3dMeshDesignPattern.x3d' ;
  x3do:name 'title' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Candidate design pattern for 3D scanner outputs to consistently define the elements of an X3D mesh.' ;
  x3do:name 'description' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman, Vince Marchetti, Roy Walmsley, Nicholas Polys' ;
  x3do:name 'creator' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '4 June 2017' ;
  x3do:name 'created' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '13 October 2023' ;
  x3do:name 'modified' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Upgrade and verify X3D v4.0 XML DTD and Schema to validate' ;
  x3do:name 'TODO' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3dMeshDesignPattern.txt' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3dMeshDesignPattern.png' ;
  x3do:name 'Image' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Under development. Note that proposed design pattern for Normal inside PointSet or LineSet/IndexedLineSet is accepted in X3D 4.0 but is not allowed in X3D v3.3.' ;
  x3do:name 'warning' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Web3D 2017 Workshop on 3D Scanning: Use Cases, Workflow and Profile Requirements for X3D' ;
  x3do:name 'reference' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://web3d2017.web3d.org/program' ;
  x3do:name 'reference' .
:meta_1_15 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_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.x3d' ;
  x3do:name 'identifier' .
:meta_1_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "X3dMeshDesignPattern.x3d" .
:meta dcterms:description "Candidate design pattern for 3D scanner outputs to consistently define the elements of an X3D mesh." .
:meta dcterms:creator "Don Brutzman, Vince Marchetti, Roy Walmsley, Nicholas Polys" .
:meta dcterms:created "4 June 2017" .
:meta dcterms:modified "13 October 2023" .
:meta dcterms:reference "X3dMeshDesignPattern.txt" .
:meta dcterms:Image "X3dMeshDesignPattern.png" .
:meta dcterms:warning "Under development. Note that proposed design pattern for Normal inside PointSet or LineSet/IndexedLineSet is accepted in X3D 4.0 but is not allowed in X3D v3.3." .
:meta dcterms:reference "Web3D 2017 Workshop on 3D Scanning: Use Cases, Workflow and Profile Requirements for X3D" .
:meta dcterms:reference "http://web3d2017.web3d.org/program" .
:meta dcterms:generator "X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Scanning/X3dMeshDesignPattern.x3d" .
:meta dcterms:license "../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Group_2_2, :Background_2_3, :AvoidCoplanarAliasing .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'X3dMeshDesignPattern.x3d' .
:Group_2_2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasMetadata :MetadataSet_2_2_1 ;
  x3do:hasChildren :Switch_2_2_2, :ViewpointGroup_2_2_3 .
:MetadataSet_2_2_1 a owl:NamedIndividual, x3do:MetadataSet ;
  x3do:hasParent :Group_2_2 ;
  x3do:name 'X3dMesh' .
:Switch_2_2_2 a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Group_2_2 ;
  x3do:hasChildren :Shape_2_2_2_1, :Shape_2_2_2_2, :Shape_2_2_2_3 ;
  x3do:whichChoice 2 .
:Shape_2_2_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Switch_2_2_2 ;
  x3do:hasGeometry :PointSet_2_2_2_1_1 .
:PointSet_2_2_2_1_1 a owl:NamedIndividual, x3do:PointSet ;
  x3do:hasParent :Shape_2_2_2_1 ;
  x3do:hasNormal :VertexNormals ;
  x3do:hasColor :VertexColors ;
  x3do:hasCoord :VertexValues .
:VertexNormals a owl:NamedIndividual, x3do:Normal ;
  x3do:hasParent :PointSet_2_2_2_1_1 ;
  x3do:DEF 'VertexNormals' .
:VertexColors a owl:NamedIndividual, x3do:Color ;
  x3do:hasParent :PointSet_2_2_2_1_1 ;
  x3do:DEF 'VertexColors' ;
  x3do:color ( 1 0 0 0 1 0 0 0 1 1 1 1 ) .
:VertexValues a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :PointSet_2_2_2_1_1 ;
  x3do:DEF 'VertexValues' ;
  x3do:point ( 1 1 0 1 -1 0 -1 -1 0 -1 1 0 ) .
:Shape_2_2_2_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Switch_2_2_2 ;
  x3do:hasGeometry :IndexedLineSet_2_2_2_2_1 .
:IndexedLineSet_2_2_2_2_1 a owl:NamedIndividual, x3do:IndexedLineSet ;
  x3do:hasParent :Shape_2_2_2_2 ;
  x3do:hasNormal :VertexNormals-USE-1 ;
  x3do:hasCoord :VertexValues-USE-1 ;
  x3do:hasColor :VertexColors-USE-1 ;
  x3do:coordIndex ( 0 1 2 3 0 -1 ) .
:VertexNormals-USE-1 a owl:NamedIndividual, x3do:Normal ;
  x3do:hasParent :IndexedLineSet_2_2_2_2_1 ;
  owl:sameAs :VertexNormals . # DEF matching this USE
:VertexValues-USE-1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedLineSet_2_2_2_2_1 ;
  owl:sameAs :VertexValues . # DEF matching this USE
:VertexColors-USE-1 a owl:NamedIndividual, x3do:Color ;
  x3do:hasParent :IndexedLineSet_2_2_2_2_1 ;
  owl:sameAs :VertexColors . # DEF matching this USE
:Shape_2_2_2_3 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Switch_2_2_2 ;
  x3do:hasGeometry :IndexedFaceSet_2_2_2_3_1 .
:IndexedFaceSet_2_2_2_3_1 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_2_2_3 ;
  x3do:hasCoord :VertexValues-USE-2 ;
  x3do:hasColor :VertexColors-USE-2 ;
  x3do:hasNormal :VertexNormals-USE-2 ;
  x3do:coordIndex ( 0 1 2 3 0 -1 ) ;
  x3do:solid false .
:VertexValues-USE-2 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_2_2_3_1 ;
  owl:sameAs :VertexValues . # DEF matching this USE
:VertexColors-USE-2 a owl:NamedIndividual, x3do:Color ;
  x3do:hasParent :IndexedFaceSet_2_2_2_3_1 ;
  owl:sameAs :VertexColors . # DEF matching this USE
:VertexNormals-USE-2 a owl:NamedIndividual, x3do:Normal ;
  x3do:hasParent :IndexedFaceSet_2_2_2_3_1 ;
  owl:sameAs :VertexNormals . # DEF matching this USE
:ViewpointGroup_2_2_3 a owl:NamedIndividual, x3do:ViewpointGroup ;
  x3do:hasParent :Group_2_2 ;
  x3do:hasChildren :Viewpoint_2_2_3_1 ;
  x3do:description 'Viewpoints at appropriate distance from model' .
:Viewpoint_2_2_3_1 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :ViewpointGroup_2_2_3 ;
  x3do:description 'Front view' ;
  x3do:position ( 0 0 4 ) .
:Background_2_3 a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:skyColor ( 1 1 1 ) .
:AvoidCoplanarAliasing a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_4_1 ;
  x3do:DEF 'AvoidCoplanarAliasing' ;
  x3do:translation ( 0 0 0.1 ) .
:Shape_2_4_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :AvoidCoplanarAliasing ;
  x3do:hasGeometry :Text_2_4_1_1 ;
  x3do:hasAppearance :Appearance_2_4_1_2 .
:Text_2_4_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_4_1 ;
  x3do:hasFontStyle :FontStyle_2_4_1_1_1 ;
  x3do:string '"X3D" "Mesh" "Design" "Pattern"' .
:FontStyle_2_4_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_4_1_1 ;
  x3do:family '"SANS"' ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.4 ;
  x3do:cssStyle 'BOLD' .
:Appearance_2_4_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1 ;
  x3do:hasMaterial :Material_2_4_1_2_1 .
:Material_2_4_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_2 ;
  x3do:diffuseColor ( 0.3 0.7 0.7 ) .
