graphics3D.genmodel 9.1 KB
Newer Older
Florian Hölzl's avatar
Florian Hölzl committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
3
4
5
6
7
    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="(c) 2017 fortiss GmbH. GENERATED CODE: Do not edit, see Ecore metamodel instead!"
    modelDirectory="/org.fortiss.tooling.graphicsGL/generated-src" editorDirectory="/org.fortiss.tooling.graphicsGL.editor/src"
    modelPluginID="org.fortiss.tooling.graphicsGL" modelName="Model" modelPluginClass=""
    importerID="org.eclipse.emf.importer.ecore" containmentProxies="true" complianceLevel="6.0"
    copyrightFields="false" editorPluginID="org.fortiss.tooling.graphicsGL.editor"
8
    usedGenPackages="platform:/resource/org.fortiss.tooling.kernel/model/kernel.genmodel#//model">
Florian Hölzl's avatar
Florian Hölzl committed
9
  <foreignModel>graphics3D.ecore</foreignModel>
Florian Hölzl's avatar
Florian Hölzl committed
10
  <genPackages prefix="ToolingGraphics3D" basePackage="org.fortiss.tooling.graphicsGL"
Florian Hölzl's avatar
Florian Hölzl committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
      disposableProviderFactory="true" ecorePackage="graphics3D.ecore#/">
    <genClasses ecoreClass="graphics3D.ecore#//Vector3D">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//Vector3D/x"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//Vector3D/y"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//Vector3D/z"/>
    </genClasses>
    <genClasses ecoreClass="graphics3D.ecore#//Color3D">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//Color3D/red"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//Color3D/green"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//Color3D/blue"/>
    </genClasses>
    <genClasses image="false" ecoreClass="graphics3D.ecore#//Positioned3DBase">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//Positioned3DBase/position"/>
    </genClasses>
    <genClasses image="false" ecoreClass="graphics3D.ecore#//LightSystemEntity3DBase">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//LightSystemEntity3DBase/ambient"/>
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//LightSystemEntity3DBase/diffuse"/>
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//LightSystemEntity3DBase/specular"/>
    </genClasses>
Florian Hölzl's avatar
Florian Hölzl committed
30
    <nestedGenPackages prefix="Graph" basePackage="org.fortiss.tooling.graphicsGL.model"
Florian Hölzl's avatar
Florian Hölzl committed
31
32
33
34
35
36
37
38
39
40
41
        disposableProviderFactory="true" ecorePackage="graphics3D.ecore#//graph">
      <genClasses ecoreClass="graphics3D.ecore#//graph/CoordinateSystem3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//graph/CoordinateSystem3D/xAxis"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//graph/CoordinateSystem3D/yAxis"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//graph/CoordinateSystem3D/zAxis"/>
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//graph/Axis3D">
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//graph/Axis3D/length"/>
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/Axis3D/color"/>
      </genClasses>
42
43
44
45
      <genClasses ecoreClass="graphics3D.ecore#//graph/GraphPoint3D">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/GraphPoint3D/color"/>
      </genClasses>
Florian Hölzl's avatar
Florian Hölzl committed
46
47
48
49
50
      <genClasses ecoreClass="graphics3D.ecore#//graph/GraphLine3D">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/GraphLine3D/start"/>
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/GraphLine3D/end"/>
51
52
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/GraphLine3D/color"/>
Florian Hölzl's avatar
Florian Hölzl committed
53
54
55
56
57
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//graph/Graph3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//graph/Graph3D/coordinateSystem"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//graph/Graph3D/points"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//graph/Graph3D/lines"/>
58
59
60
61
62
63
64
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/Graph3D/texts"/>
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//graph/GraphText3D">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//graph/GraphText3D/position"/>
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//graph/GraphText3D/text"/>
Florian Hölzl's avatar
Florian Hölzl committed
65
66
      </genClasses>
    </nestedGenPackages>
Florian Hölzl's avatar
Florian Hölzl committed
67
    <nestedGenPackages prefix="Mesh" basePackage="org.fortiss.tooling.graphicsGL.model"
Florian Hölzl's avatar
Florian Hölzl committed
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
        disposableProviderFactory="true" ecorePackage="graphics3D.ecore#//mesh">
      <genClasses ecoreClass="graphics3D.ecore#//mesh/Mesh3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//mesh/Mesh3D/materialGroups"/>
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//mesh/Vertex3D"/>
      <genClasses ecoreClass="graphics3D.ecore#//mesh/Normal3D"/>
      <genClasses ecoreClass="graphics3D.ecore#//mesh/Face3D">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//mesh/Face3D/vertices"/>
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//mesh/Face3D/normals"/>
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//mesh/Material3D">
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//mesh/Material3D/specularCoeff"/>
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//mesh/MaterialGroup3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//mesh/MaterialGroup3D/faces"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//mesh/MaterialGroup3D/material"/>
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//mesh/MaterialGroup3D/smoothShading"/>
      </genClasses>
    </nestedGenPackages>
Florian Hölzl's avatar
Florian Hölzl committed
89
    <nestedGenPackages prefix="Scene" basePackage="org.fortiss.tooling.graphicsGL.model"
Florian Hölzl's avatar
Florian Hölzl committed
90
91
92
93
94
95
96
        disposableProviderFactory="true" ecorePackage="graphics3D.ecore#//scene">
      <genClasses ecoreClass="graphics3D.ecore#//scene/Object3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//scene/Object3D/mesh"/>
      </genClasses>
      <genClasses ecoreClass="graphics3D.ecore#//scene/Camera3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//scene/Camera3D/lookAtLocation"/>
      </genClasses>
Florian Hölzl's avatar
Florian Hölzl committed
97
98
99
      <genClasses ecoreClass="graphics3D.ecore#//scene/Light3D">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference graphics3D.ecore#//scene/Light3D/attenuation"/>
100
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute graphics3D.ecore#//scene/Light3D/directional"/>
Florian Hölzl's avatar
Florian Hölzl committed
101
102
103
104
        <genOperations ecoreOperation="graphics3D.ecore#//scene/Light3D/getConstantAttenuation"/>
        <genOperations ecoreOperation="graphics3D.ecore#//scene/Light3D/getLinearAttenuation"/>
        <genOperations ecoreOperation="graphics3D.ecore#//scene/Light3D/getQuadraticAttenuation"/>
      </genClasses>
Florian Hölzl's avatar
Florian Hölzl committed
105
106
107
108
109
110
111
112
      <genClasses ecoreClass="graphics3D.ecore#//scene/Scene3D">
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//scene/Scene3D/cameras"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//scene/Scene3D/lights"/>
        <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference graphics3D.ecore#//scene/Scene3D/objects"/>
      </genClasses>
    </nestedGenPackages>
  </genPackages>
</genmodel:GenModel>