~holger-seelig/cobweb.js/trunk

« back to all changes in this revision

Viewing changes to tests/Components/Geospatial/GeoPositionInterpolator.x3d

  • Committer: Holger Seelig
  • Date: 2017-08-22 04:53:24 UTC
  • Revision ID: holger.seelig@yahoo.de-20170822045324-4of4xxgt79669gbt
Switched to npm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
 
3
<X3D profile='Full' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.3.xsd'>
 
4
  <head>
 
5
    <meta name='comment' content='World of Titania'/>
 
6
    <meta name='created' content='Mon, 13 Oct 2014 00:37:06 GMT'/>
 
7
    <meta name='creator' content='Holger Seelig'/>
 
8
    <meta name='generator' content='Titania V1.4.1, http://titania.create3000.de'/>
 
9
    <meta name='identifier' content='file:///home/holger/Projekte/Cobweb/cobweb.js/tests/Components/Geospatial/GeoPositionInterpolator.x3d'/>
 
10
    <meta name='modified' content='Sat, 16 Apr 2016 16:49:16 GMT'/>
 
11
  </head>
 
12
  <Scene>
 
13
    <WorldInfo>
 
14
      <MetadataSet DEF='Titania'
 
15
          name='Titania'
 
16
          reference='http://titania.create3000.de'>
 
17
        <MetadataSet DEF='Selection' containerField='value'
 
18
            name='Selection'
 
19
            reference='http://titania.create3000.de'>
 
20
          <MetadataSet DEF='previous' containerField='value'
 
21
              name='previous'
 
22
              reference='http://titania.create3000.de'/>
 
23
          <MetadataSet DEF='children' containerField='value'
 
24
              name='children'
 
25
              reference='http://titania.create3000.de'>
 
26
            <TimeSensor DEF='_1' containerField='value'
 
27
                cycleInterval='10'
 
28
                loop='true'/>
 
29
          </MetadataSet>
 
30
        </MetadataSet>
 
31
        <MetadataSet DEF='NavigationInfo' containerField='value'
 
32
            name='NavigationInfo'
 
33
            reference='http://titania.create3000.de'>
 
34
          <MetadataString DEF='type' containerField='value'
 
35
              name='type'
 
36
              reference='http://titania.create3000.de'
 
37
              value='"EXAMINE"'/>
 
38
        </MetadataSet>
 
39
        <MetadataSet DEF='Viewpoint' containerField='value'
 
40
            name='Viewpoint'
 
41
            reference='http://titania.create3000.de'>
 
42
          <MetadataDouble DEF='position' containerField='value'
 
43
              name='position'
 
44
              reference='http://titania.create3000.de'
 
45
              value='18264404, 2.91911419481039e-08, 67.0888977050781'/>
 
46
          <MetadataDouble DEF='orientation' containerField='value'
 
47
              name='orientation'
 
48
              reference='http://titania.create3000.de'
 
49
              value='0.577349562279675, 0.577349562279675, 0.577351683006932, 2.09439298166854'/>
 
50
          <MetadataDouble DEF='centerOfRotation' containerField='value'
 
51
              name='centerOfRotation'
 
52
              reference='http://titania.create3000.de'
 
53
              value='-21384.685546875, 0, -2.6100881438812e-12'/>
 
54
        </MetadataSet>
 
55
      </MetadataSet>
 
56
    </WorldInfo>
 
57
    <NavigationInfo/>
 
58
    <Background DEF='Gray'
 
59
        skyColor='0.2 0.2 0.2'/>
 
60
    <GeoViewpoint DEF='_2'
 
61
        description='GeoViewpoint'
 
62
        position='0.000210952279826894 9.15731602998129e-14 11886267.4098626'
 
63
        orientation='-1 6.28036986176185e-16 1.0205601025363e-15 1.57079631818816'
 
64
        centerOfRotation='180 0 -6356752.31424518'/>
 
65
    <Transform DEF='GeoElevationGrid'>
 
66
      <Shape>
 
67
        <Appearance>
 
68
          <Material/>
 
69
          <ImageTexture
 
70
              url='"../images/earth.png"'/>
 
71
        </Appearance>
 
72
        <GeoElevationGrid
 
73
            geoGridOrigin='-90 180 0'
 
74
            xDimension='361'
 
75
            zDimension='181'
 
76
            creaseAngle='3.14159'/>
 
77
      </Shape>
 
78
    </Transform>
 
79
    <Transform DEF='Axes'
 
80
        scale='1e+07 1e+07 1e+07'>
 
81
      <Shape>
 
82
        <IndexedLineSet
 
83
            colorPerVertex='false'
 
84
            colorIndex='0, 1, 2'
 
85
            coordIndex='0, 1, -1, 2, 3, -1, 4, 5, -1'>
 
86
          <Color
 
87
              color='1 0 0, 0 1 0, 0 0 1'/>
 
88
          <Coordinate
 
89
              point='-1 0 0, 1 0 0, 0 -1 0, 0 1 0, 0 0 -1, 0 0 1'/>
 
90
        </IndexedLineSet>
 
91
      </Shape>
 
92
    </Transform>
 
93
    <Script DEF='DebugScript'>
 
94
      <field accessType='inputOnly' type='SFVec3d' name='set_hitGeoCoord'/>
 
95
<![CDATA[ecmascript:
 
96
 
 
97
function set_hitGeoCoord (value)
 
98
{
 
99
        print (value);
 
100
}]]> 
 
101
    </Script>
 
102
    <Transform DEF='PointSet'>
 
103
      <Shape>
 
104
        <Appearance>
 
105
          <LineProperties
 
106
              linewidthScaleFactor='20'/>
 
107
          <Material
 
108
              emissiveColor='1 0 0'/>
 
109
        </Appearance>
 
110
        <PointSet>
 
111
          <GeoCoordinate
 
112
              point='0 0 0, 51.31158 12.37115 0, -37.013074 143.98429 0'/>
 
113
        </PointSet>
 
114
      </Shape>
 
115
    </Transform>
 
116
    <Transform DEF='PointSet_1'>
 
117
      <Shape>
 
118
        <Appearance DEF='_3'>
 
119
          <LineProperties
 
120
              linewidthScaleFactor='20'/>
 
121
          <Material
 
122
              emissiveColor='0 0.427919 1'/>
 
123
        </Appearance>
 
124
        <PointSet>
 
125
          <GeoCoordinate
 
126
              geoSystem='"UTM", "WE", "Z10"'
 
127
              point='4145173 572227 0'/>
 
128
        </PointSet>
 
129
      </Shape>
 
130
      <Shape>
 
131
        <Appearance USE='_3'/>
 
132
        <PointSet>
 
133
          <GeoCoordinate
 
134
              geoSystem='"UTM", "WE", "Z60", "S"'
 
135
              point='5427419.7 314369.5 0'/>
 
136
        </PointSet>
 
137
      </Shape>
 
138
    </Transform>
 
139
    <GeoPositionInterpolator DEF='_4'
 
140
        key='0, 0.333333, 0.666667, 1'
 
141
        keyValue='0 0 13000000, 51.31158 12.37115 13000000, -37.013074 143.98429 13000000, 0 0 13000000'/>
 
142
    <TimeSensor USE='_1'/>
 
143
    <ROUTE fromNode='_1' fromField='fraction_changed' toNode='_4' toField='set_fraction'/>
 
144
    <ROUTE fromNode='_4' fromField='geovalue_changed' toNode='_2' toField='set_position'/>
 
145
  </Scene>
 
146
</X3D>