~holger-seelig/cobweb.js/trunk

« back to all changes in this revision

Viewing changes to cobweb.js/cobweb/Configuration/SupportedNodes.js

  • 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
 
/* -*- Mode: JavaScript; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
2
 
 *******************************************************************************
3
 
 *
4
 
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
 
 *
6
 
 * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011.
7
 
 *
8
 
 * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
9
 
 *
10
 
 * The copyright notice above does not evidence any actual of intended
11
 
 * publication of such source code, and is an unpublished work by create3000.
12
 
 * This material contains CONFIDENTIAL INFORMATION that is the property of
13
 
 * create3000.
14
 
 *
15
 
 * No permission is granted to copy, distribute, or create derivative works from
16
 
 * the contents of this software, in whole or in part, without the prior written
17
 
 * permission of create3000.
18
 
 *
19
 
 * NON-MILITARY USE ONLY
20
 
 *
21
 
 * All create3000 software are effectively free software with a non-military use
22
 
 * restriction. It is free. Well commented source is provided. You may reuse the
23
 
 * source in any way you please with the exception anything that uses it must be
24
 
 * marked to indicate is contains 'non-military use only' components.
25
 
 *
26
 
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
27
 
 *
28
 
 * Copyright 2015, 2016 Holger Seelig <holger.seelig@yahoo.de>.
29
 
 *
30
 
 * This file is part of the Cobweb Project.
31
 
 *
32
 
 * Cobweb is free software: you can redistribute it and/or modify it under the
33
 
 * terms of the GNU General Public License version 3 only, as published by the
34
 
 * Free Software Foundation.
35
 
 *
36
 
 * Cobweb is distributed in the hope that it will be useful, but WITHOUT ANY
37
 
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38
 
 * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
39
 
 * details (a copy is included in the LICENSE file that accompanied this code).
40
 
 *
41
 
 * You should have received a copy of the GNU General Public License version 3
42
 
 * along with Cobweb.  If not, see <http://www.gnu.org/licenses/gpl.html> for a
43
 
 * copy of the GPLv3 License.
44
 
 *
45
 
 * For Silvio, Joy and Adi.
46
 
 *
47
 
 ******************************************************************************/
48
 
 
49
 
 
50
 
define ([
51
 
        "cobweb/Components/Networking/Anchor", // VRML
52
 
        "cobweb/Components/Shape/Appearance", // VRML
53
 
        "cobweb/Components/Geometry2D/Arc2D",
54
 
        "cobweb/Components/Geometry2D/ArcClose2D",
55
 
        "cobweb/Components/Sound/AudioClip",
56
 
        "cobweb/Components/EnvironmentalEffects/Background", // VRML
57
 
        //"cobweb/Components/RigidBodyPhysics/BallJoint",
58
 
        "cobweb/Components/Navigation/Billboard", // VRML
59
 
        "cobweb/Components/EventUtilities/BooleanFilter",
60
 
        "cobweb/Components/EventUtilities/BooleanSequencer",
61
 
        "cobweb/Components/EventUtilities/BooleanToggle",
62
 
        "cobweb/Components/EventUtilities/BooleanTrigger",
63
 
        "cobweb/Components/ParticleSystems/BoundedPhysicsModel",
64
 
        "cobweb/Components/Geometry3D/Box", // VRML
65
 
        "cobweb/Components/CADGeometry/CADAssembly",
66
 
        "cobweb/Components/CADGeometry/CADFace",
67
 
        "cobweb/Components/CADGeometry/CADLayer",
68
 
        "cobweb/Components/CADGeometry/CADPart",
69
 
        "cobweb/Components/Geometry2D/Circle2D",
70
 
        "cobweb/Components/Rendering/ClipPlane",
71
 
        //"cobweb/Components/RigidBodyPhysics/CollidableOffset",
72
 
        //"cobweb/Components/RigidBodyPhysics/CollidableShape",
73
 
        "cobweb/Components/Navigation/Collision", // VRML
74
 
        //"cobweb/Components/RigidBodyPhysics/CollisionCollection",
75
 
        //"cobweb/Components/RigidBodyPhysics/CollisionSensor",
76
 
        //"cobweb/Components/RigidBodyPhysics/CollisionSpace",
77
 
        "cobweb/Components/Rendering/Color", // VRML
78
 
        "cobweb/Components/Followers/ColorChaser",
79
 
        "cobweb/Components/Followers/ColorDamper",
80
 
        "cobweb/Components/Interpolation/ColorInterpolator", // VRML
81
 
        "cobweb/Components/Rendering/ColorRGBA",
82
 
        "cobweb/Components/CubeMapTexturing/ComposedCubeMapTexture",
83
 
        "cobweb/Components/Shaders/ComposedShader",
84
 
        //"cobweb/Components/Texturing3D/ComposedTexture3D",
85
 
        "cobweb/Components/Geometry3D/Cone", // VRML
86
 
        "cobweb/Components/ParticleSystems/ConeEmitter",
87
 
        //"cobweb/Components/RigidBodyPhysics/Contact",
88
 
        //"cobweb/Components/NURBS/Contour2D",
89
 
        //"cobweb/Components/NURBS/ContourPolyline2D",
90
 
        "cobweb/Components/Rendering/Coordinate", // VRML
91
 
        "cobweb/Components/Followers/CoordinateChaser",
92
 
        "cobweb/Components/Followers/CoordinateDamper",
93
 
        "cobweb/Components/NURBS/CoordinateDouble",
94
 
        "cobweb/Components/Interpolation/CoordinateInterpolator", // VRML
95
 
        "cobweb/Components/Interpolation/CoordinateInterpolator2D",
96
 
        "cobweb/Components/Geometry3D/Cylinder", // VRML
97
 
        "cobweb/Components/PointingDeviceSensor/CylinderSensor", // VRML
98
 
        //"cobweb/Components/DIS/DISEntityManager",
99
 
        //"cobweb/Components/DIS/DISEntityTypeMapping",
100
 
        "cobweb/Components/Lighting/DirectionalLight", // VRML
101
 
        "cobweb/Components/Geometry2D/Disk2D",
102
 
        //"cobweb/Components/RigidBodyPhysics/DoubleAxisHingeJoint",
103
 
        "cobweb/Components/Interpolation/EaseInEaseOut",
104
 
        "cobweb/Components/Geometry3D/ElevationGrid", // VRML
105
 
        //"cobweb/Components/DIS/EspduTransform",
106
 
        "cobweb/Components/ParticleSystems/ExplosionEmitter",
107
 
        "cobweb/Components/Geometry3D/Extrusion", // VRML
108
 
        //"cobweb/Components/Shape/FillProperties",
109
 
        "cobweb/Components/Shaders/FloatVertexAttribute",
110
 
        "cobweb/Components/EnvironmentalEffects/Fog", // VRML
111
 
        //"cobweb/Components/EnvironmentalEffects/FogCoordinate",
112
 
        "cobweb/Components/Text/FontStyle", // VRML
113
 
        "cobweb/Components/ParticleSystems/ForcePhysicsModel",
114
 
        "cobweb/Components/CubeMapTexturing/GeneratedCubeMapTexture",
115
 
        "cobweb/Components/Geospatial/GeoCoordinate",
116
 
        "cobweb/Components/Geospatial/GeoElevationGrid",
117
 
        "cobweb/Components/Geospatial/GeoLOD",
118
 
        "cobweb/Components/Geospatial/GeoLocation",
119
 
        "cobweb/Components/Geospatial/GeoMetadata",
120
 
        "cobweb/Components/Geospatial/GeoOrigin",
121
 
        "cobweb/Components/Geospatial/GeoPositionInterpolator",
122
 
        "cobweb/Components/Geospatial/GeoProximitySensor",
123
 
        "cobweb/Components/Geospatial/GeoTouchSensor",
124
 
        "cobweb/Components/Geospatial/GeoTransform",
125
 
        "cobweb/Components/Geospatial/GeoViewpoint",
126
 
        "cobweb/Components/Grouping/Group", // VRML
127
 
        //"cobweb/Components/H-Anim/HAnimDisplacer",
128
 
        //"cobweb/Components/H-Anim/HAnimHumanoid",
129
 
        //"cobweb/Components/H-Anim/HAnimJoint",
130
 
        //"cobweb/Components/H-Anim/HAnimSegment",
131
 
        //"cobweb/Components/H-Anim/HAnimSite",
132
 
        "cobweb/Components/CubeMapTexturing/ImageCubeMapTexture",
133
 
        "cobweb/Components/Texturing/ImageTexture", // VRML
134
 
        //"cobweb/Components/Texturing3D/ImageTexture3D",
135
 
        "cobweb/Components/Geometry3D/IndexedFaceSet", // VRML
136
 
        "cobweb/Components/Rendering/IndexedLineSet", // VRML
137
 
        "cobweb/Components/CADGeometry/IndexedQuadSet",
138
 
        "cobweb/Components/Rendering/IndexedTriangleFanSet",
139
 
        "cobweb/Components/Rendering/IndexedTriangleSet",
140
 
        "cobweb/Components/Rendering/IndexedTriangleStripSet",
141
 
        "cobweb/Components/Networking/Inline", // VRML
142
 
        "cobweb/Components/EventUtilities/IntegerSequencer",
143
 
        "cobweb/Components/EventUtilities/IntegerTrigger",
144
 
        "cobweb/Components/KeyDeviceSensor/KeySensor",
145
 
        "cobweb/Components/Navigation/LOD", // VRML
146
 
        "cobweb/Components/Layering/Layer",
147
 
        "cobweb/Components/Layering/LayerSet",
148
 
        "cobweb/Components/Layout/Layout",
149
 
        "cobweb/Components/Layout/LayoutGroup",
150
 
        "cobweb/Components/Layout/LayoutLayer",
151
 
        //"cobweb/Components/Picking/LinePickSensor",
152
 
        "cobweb/Components/Shape/LineProperties",
153
 
        "cobweb/Components/Rendering/LineSet",
154
 
        "cobweb/Components/Networking/LoadSensor",
155
 
        "cobweb/Components/EnvironmentalEffects/LocalFog",
156
 
        "cobweb/Components/Shape/Material", // VRML
157
 
        "cobweb/Components/Shaders/Matrix3VertexAttribute",
158
 
        "cobweb/Components/Shaders/Matrix4VertexAttribute",
159
 
        "cobweb/Components/Core/MetadataBoolean",
160
 
        "cobweb/Components/Core/MetadataDouble",
161
 
        "cobweb/Components/Core/MetadataFloat",
162
 
        "cobweb/Components/Core/MetadataInteger",
163
 
        "cobweb/Components/Core/MetadataSet",
164
 
        "cobweb/Components/Core/MetadataString",
165
 
        //"cobweb/Components/RigidBodyPhysics/MotorJoint",
166
 
        "cobweb/Components/Texturing/MovieTexture", // VRML
167
 
        //"cobweb/Components/Texturing/MultiTexture",
168
 
        //"cobweb/Components/Texturing/MultiTextureCoordinate",
169
 
        //"cobweb/Components/Texturing/MultiTextureTransform",
170
 
        "cobweb/Components/Navigation/NavigationInfo", // VRML
171
 
        "cobweb/Components/Rendering/Normal", // VRML
172
 
        "cobweb/Components/Interpolation/NormalInterpolator", // VRML
173
 
        //"cobweb/Components/NURBS/NurbsCurve",
174
 
        //"cobweb/Components/NURBS/NurbsCurve2D",
175
 
        //"cobweb/Components/NURBS/NurbsOrientationInterpolator",
176
 
        //"cobweb/Components/NURBS/NurbsPatchSurface",
177
 
        //"cobweb/Components/NURBS/NurbsPositionInterpolator",
178
 
        //"cobweb/Components/NURBS/NurbsSet",
179
 
        //"cobweb/Components/NURBS/NurbsSurfaceInterpolator",
180
 
        //"cobweb/Components/NURBS/NurbsSweptSurface",
181
 
        //"cobweb/Components/NURBS/NurbsSwungSurface",
182
 
        //"cobweb/Components/NURBS/NurbsTextureCoordinate",
183
 
        //"cobweb/Components/NURBS/NurbsTrimmedSurface",
184
 
        "cobweb/Components/Followers/OrientationChaser",
185
 
        "cobweb/Components/Followers/OrientationDamper",
186
 
        "cobweb/Components/Interpolation/OrientationInterpolator", // VRML
187
 
        "cobweb/Components/Navigation/OrthoViewpoint",
188
 
        //"cobweb/Components/Shaders/PackagedShader",
189
 
        "cobweb/Components/ParticleSystems/ParticleSystem",
190
 
        //"cobweb/Components/Picking/PickableGroup",
191
 
        "cobweb/Components/Texturing/PixelTexture", // VRML
192
 
        //"cobweb/Components/Texturing3D/PixelTexture3D",
193
 
        "cobweb/Components/PointingDeviceSensor/PlaneSensor", // VRML
194
 
        "cobweb/Components/ParticleSystems/PointEmitter",
195
 
        "cobweb/Components/Lighting/PointLight", // VRML
196
 
        //"cobweb/Components/Picking/PointPickSensor",
197
 
        "cobweb/Components/Rendering/PointSet", // VRML
198
 
        "cobweb/Components/Geometry2D/Polyline2D",
199
 
        "cobweb/Components/ParticleSystems/PolylineEmitter",
200
 
        "cobweb/Components/Geometry2D/Polypoint2D",
201
 
        "cobweb/Components/Followers/PositionChaser",
202
 
        "cobweb/Components/Followers/PositionChaser2D",
203
 
        "cobweb/Components/Followers/PositionDamper",
204
 
        "cobweb/Components/Followers/PositionDamper2D",
205
 
        "cobweb/Components/Interpolation/PositionInterpolator", // VRML
206
 
        "cobweb/Components/Interpolation/PositionInterpolator2D",
207
 
        //"cobweb/Components/Picking/PrimitivePickSensor",
208
 
        //"cobweb/Components/Shaders/ProgramShader",
209
 
        "cobweb/Components/EnvironmentalSensor/ProximitySensor", // VRML
210
 
        "cobweb/Components/CADGeometry/QuadSet",
211
 
        //"cobweb/Components/DIS/ReceiverPdu",
212
 
        "cobweb/Components/Geometry2D/Rectangle2D",
213
 
        //"cobweb/Components/RigidBodyPhysics/RigidBody",
214
 
        //"cobweb/Components/RigidBodyPhysics/RigidBodyCollection",
215
 
        "cobweb/Components/Followers/ScalarChaser",
216
 
        "cobweb/Components/Followers/ScalarDamper",
217
 
        "cobweb/Components/Interpolation/ScalarInterpolator", // VRML
218
 
        "cobweb/Components/Layout/ScreenFontStyle",
219
 
        "cobweb/Components/Layout/ScreenGroup",
220
 
        "cobweb/Components/Scripting/Script", // VRML
221
 
        "cobweb/Components/Shaders/ShaderPart",
222
 
        //"cobweb/Components/Shaders/ShaderProgram",
223
 
        "cobweb/Components/Shape/Shape", // VRML
224
 
        //"cobweb/Components/DIS/SignalPdu",
225
 
        //"cobweb/Components/RigidBodyPhysics/SingleAxisHingeJoint",
226
 
        //"cobweb/Components/RigidBodyPhysics/SliderJoint",
227
 
        "cobweb/Components/Sound/Sound", // VRML
228
 
        "cobweb/Components/Geometry3D/Sphere", // VRML
229
 
        "cobweb/Components/PointingDeviceSensor/SphereSensor", // VRML
230
 
        "cobweb/Components/Interpolation/SplinePositionInterpolator",
231
 
        "cobweb/Components/Interpolation/SplinePositionInterpolator2D",
232
 
        "cobweb/Components/Interpolation/SplineScalarInterpolator",
233
 
        "cobweb/Components/Lighting/SpotLight", // VRML
234
 
        "cobweb/Components/Interpolation/SquadOrientationInterpolator",
235
 
        "cobweb/Components/Grouping/StaticGroup",
236
 
        //"cobweb/Components/KeyDeviceSensor/StringSensor",
237
 
        "cobweb/Components/ParticleSystems/SurfaceEmitter",
238
 
        "cobweb/Components/Grouping/Switch", // VRML
239
 
        "cobweb/Components/Followers/TexCoordChaser2D",
240
 
        "cobweb/Components/Followers/TexCoordDamper2D",
241
 
        "cobweb/Components/Text/Text", // VRML
242
 
        "cobweb/Components/EnvironmentalEffects/TextureBackground",
243
 
        "cobweb/Components/Texturing/TextureCoordinate", // VRML
244
 
        "cobweb/Components/Texturing3D/TextureCoordinate3D",
245
 
        "cobweb/Components/Texturing3D/TextureCoordinate4D",
246
 
        //"cobweb/Components/Texturing/TextureCoordinateGenerator",
247
 
        "cobweb/Components/Texturing/TextureProperties",
248
 
        "cobweb/Components/Texturing/TextureTransform", // VRML
249
 
        "cobweb/Components/Texturing3D/TextureTransform3D",
250
 
        "cobweb/Components/Texturing3D/TextureTransformMatrix3D",
251
 
        "cobweb/Components/Time/TimeSensor", // VRML
252
 
        "cobweb/Components/EventUtilities/TimeTrigger",
253
 
        //"cobweb/Components/Titania/TouchGroup",
254
 
        "cobweb/Components/PointingDeviceSensor/TouchSensor", // VRML
255
 
        "cobweb/Components/Grouping/Transform", // VRML
256
 
        "cobweb/Components/EnvironmentalSensor/TransformSensor",
257
 
        //"cobweb/Components/DIS/TransmitterPdu",
258
 
        "cobweb/Components/Rendering/TriangleFanSet",
259
 
        "cobweb/Components/Rendering/TriangleSet",
260
 
        "cobweb/Components/Geometry2D/TriangleSet2D",
261
 
        "cobweb/Components/Rendering/TriangleStripSet",
262
 
        "cobweb/Components/Shape/TwoSidedMaterial",
263
 
        //"cobweb/Components/RigidBodyPhysics/UniversalJoint",
264
 
        "cobweb/Components/Navigation/Viewpoint", // VRML
265
 
        "cobweb/Components/Navigation/ViewpointGroup",
266
 
        "cobweb/Components/Layering/Viewport",
267
 
        "cobweb/Components/EnvironmentalSensor/VisibilitySensor", // VRML
268
 
        "cobweb/Components/ParticleSystems/VolumeEmitter",
269
 
        //"cobweb/Components/Picking/VolumePickSensor",
270
 
        "cobweb/Components/ParticleSystems/WindPhysicsModel",
271
 
        "cobweb/Components/Core/WorldInfo", // VRML
272
 
],
273
 
function (Anchor,
274
 
          Appearance,
275
 
          Arc2D,
276
 
          ArcClose2D,
277
 
          AudioClip,
278
 
          Background,
279
 
          //BallJoint,
280
 
          Billboard,
281
 
          BooleanFilter,
282
 
          BooleanSequencer,
283
 
          BooleanToggle,
284
 
          BooleanTrigger,
285
 
          BoundedPhysicsModel,
286
 
          Box,
287
 
          CADAssembly,
288
 
          CADFace,
289
 
          CADLayer,
290
 
          CADPart,
291
 
          Circle2D,
292
 
          ClipPlane,
293
 
          //CollidableOffset,
294
 
          //CollidableShape,
295
 
          Collision,
296
 
          //CollisionCollection,
297
 
          //CollisionSensor,
298
 
          //CollisionSpace,
299
 
          Color,
300
 
          ColorChaser,
301
 
          ColorDamper,
302
 
          ColorInterpolator,
303
 
          ColorRGBA,
304
 
          ComposedCubeMapTexture,
305
 
          ComposedShader,
306
 
          //ComposedTexture3D,
307
 
          Cone,
308
 
          ConeEmitter,
309
 
          //Contact,
310
 
          //Contour2D,
311
 
          //ContourPolyline2D,
312
 
          Coordinate,
313
 
          CoordinateChaser,
314
 
          CoordinateDamper,
315
 
          CoordinateDouble,
316
 
          CoordinateInterpolator,
317
 
          CoordinateInterpolator2D,
318
 
          Cylinder,
319
 
          CylinderSensor,
320
 
          //DISEntityManager,
321
 
          //DISEntityTypeMapping,
322
 
          DirectionalLight,
323
 
          Disk2D,
324
 
          //DoubleAxisHingeJoint,
325
 
          EaseInEaseOut,
326
 
          ElevationGrid,
327
 
          //EspduTransform,
328
 
          ExplosionEmitter,
329
 
          Extrusion,
330
 
          //FillProperties,
331
 
          FloatVertexAttribute,
332
 
          Fog,
333
 
          //FogCoordinate,
334
 
          FontStyle,
335
 
          ForcePhysicsModel,
336
 
          GeneratedCubeMapTexture,
337
 
          GeoCoordinate,
338
 
          GeoElevationGrid,
339
 
          GeoLOD,
340
 
          GeoLocation,
341
 
          GeoMetadata,
342
 
          GeoOrigin,
343
 
          GeoPositionInterpolator,
344
 
          GeoProximitySensor,
345
 
          GeoTouchSensor,
346
 
          GeoTransform,
347
 
          GeoViewpoint,
348
 
          Group,
349
 
          //HAnimDisplacer,
350
 
          //HAnimHumanoid,
351
 
          //HAnimJoint,
352
 
          //HAnimSegment,
353
 
          //HAnimSite,
354
 
          ImageCubeMapTexture,
355
 
          ImageTexture,
356
 
          //ImageTexture3D,
357
 
          IndexedFaceSet,
358
 
          IndexedLineSet,
359
 
          IndexedQuadSet,
360
 
          IndexedTriangleFanSet,
361
 
          IndexedTriangleSet,
362
 
          IndexedTriangleStripSet,
363
 
          Inline,
364
 
          IntegerSequencer,
365
 
          IntegerTrigger,
366
 
          KeySensor,
367
 
          LOD,
368
 
          Layer,
369
 
          LayerSet,
370
 
          Layout,
371
 
          LayoutGroup,
372
 
          LayoutLayer,
373
 
          //LinePickSensor,
374
 
          LineProperties,
375
 
          LineSet,
376
 
          LoadSensor,
377
 
          LocalFog,
378
 
          Material,
379
 
          Matrix3VertexAttribute,
380
 
          Matrix4VertexAttribute,
381
 
          MetadataBoolean,
382
 
          MetadataDouble,
383
 
          MetadataFloat,
384
 
          MetadataInteger,
385
 
          MetadataSet,
386
 
          MetadataString,
387
 
          //MotorJoint,
388
 
          MovieTexture,
389
 
          //MultiTexture,
390
 
          //MultiTextureCoordinate,
391
 
          //MultiTextureTransform,
392
 
          NavigationInfo,
393
 
          Normal,
394
 
          NormalInterpolator,
395
 
          //NurbsCurve,
396
 
          //NurbsCurve2D,
397
 
          //NurbsOrientationInterpolator,
398
 
          //NurbsPatchSurface,
399
 
          //NurbsPositionInterpolator,
400
 
          //NurbsSet,
401
 
          //NurbsSurfaceInterpolator,
402
 
          //NurbsSweptSurface,
403
 
          //NurbsSwungSurface,
404
 
          //NurbsTextureCoordinate,
405
 
          //NurbsTrimmedSurface,
406
 
          OrientationChaser,
407
 
          OrientationDamper,
408
 
          OrientationInterpolator,
409
 
          OrthoViewpoint,
410
 
          //PackagedShader,
411
 
          ParticleSystem,
412
 
          //PickableGroup,
413
 
          PixelTexture,
414
 
          //PixelTexture3D,
415
 
          PlaneSensor,
416
 
          PointEmitter,
417
 
          PointLight,
418
 
          //PointPickSensor,
419
 
          PointSet,
420
 
          Polyline2D,
421
 
          PolylineEmitter,
422
 
          Polypoint2D,
423
 
          PositionChaser,
424
 
          PositionChaser2D,
425
 
          PositionDamper,
426
 
          PositionDamper2D,
427
 
          PositionInterpolator,
428
 
          PositionInterpolator2D,
429
 
          //PrimitivePickSensor,
430
 
          //ProgramShader,
431
 
          ProximitySensor,
432
 
          QuadSet,
433
 
          //ReceiverPdu,
434
 
          Rectangle2D,
435
 
          //RigidBody,
436
 
          //RigidBodyCollection,
437
 
          ScalarChaser,
438
 
          ScalarDamper,
439
 
          ScalarInterpolator,
440
 
          ScreenFontStyle,
441
 
          ScreenGroup,
442
 
          Script,
443
 
          ShaderPart,
444
 
          //ShaderProgram,
445
 
          Shape,
446
 
          //SignalPdu,
447
 
          //SingleAxisHingeJoint,
448
 
          //SliderJoint,
449
 
          Sound,
450
 
          Sphere,
451
 
          SphereSensor,
452
 
          SplinePositionInterpolator,
453
 
          SplinePositionInterpolator2D,
454
 
          SplineScalarInterpolator,
455
 
          SpotLight,
456
 
          SquadOrientationInterpolator,
457
 
          StaticGroup,
458
 
          //StringSensor,
459
 
          SurfaceEmitter,
460
 
          Switch,
461
 
          TexCoordChaser2D,
462
 
          TexCoordDamper2D,
463
 
          Text,
464
 
          TextureBackground,
465
 
          TextureCoordinate,
466
 
          TextureCoordinate3D,
467
 
          TextureCoordinate4D,
468
 
          //TextureCoordinateGenerator,
469
 
          TextureProperties,
470
 
          TextureTransform,
471
 
          TextureTransform3D,
472
 
          TextureTransformMatrix3D,
473
 
          TimeSensor,
474
 
          TimeTrigger,
475
 
          //TouchGroup,
476
 
          TouchSensor,
477
 
          Transform,
478
 
          TransformSensor,
479
 
          //TransmitterPdu,
480
 
          TriangleFanSet,
481
 
          TriangleSet,
482
 
          TriangleSet2D,
483
 
          TriangleStripSet,
484
 
          TwoSidedMaterial,
485
 
          //UniversalJoint,
486
 
          Viewpoint,
487
 
          ViewpointGroup,
488
 
          Viewport,
489
 
          VisibilitySensor,
490
 
          VolumeEmitter,
491
 
          //VolumePickSensor,
492
 
          WindPhysicsModel,
493
 
          WorldInfo)
494
 
{
495
 
"use strict";
496
 
 
497
 
        var supportedNodes =
498
 
        {
499
 
                // 3.1
500
 
                MetadataBool:                 MetadataBoolean,
501
 
                // 3.3
502
 
                Anchor:                       Anchor,
503
 
                Appearance:                   Appearance,
504
 
                Arc2D:                        Arc2D,
505
 
                ArcClose2D:                   ArcClose2D,
506
 
                AudioClip:                    AudioClip,
507
 
                Background:                   Background,
508
 
                //BallJoint:                    BallJoint,
509
 
                Billboard:                    Billboard,
510
 
                BooleanFilter:                BooleanFilter,
511
 
                BooleanSequencer:             BooleanSequencer,
512
 
                BooleanToggle:                BooleanToggle,
513
 
                BooleanTrigger:               BooleanTrigger,
514
 
                BoundedPhysicsModel:          BoundedPhysicsModel,
515
 
                Box:                          Box,
516
 
                CADAssembly:                  CADAssembly,
517
 
                CADFace:                      CADFace,
518
 
                CADLayer:                     CADLayer,
519
 
                CADPart:                      CADPart,
520
 
                Circle2D:                     Circle2D,
521
 
                ClipPlane:                    ClipPlane,
522
 
                //CollidableOffset:             CollidableOffset,
523
 
                //CollidableShape:              CollidableShape,
524
 
                Collision:                    Collision,
525
 
                //CollisionCollection:          CollisionCollection,
526
 
                //CollisionSensor:              CollisionSensor,
527
 
                //CollisionSpace:               CollisionSpace,
528
 
                Color:                        Color,
529
 
                ColorChaser:                  ColorChaser,
530
 
                ColorDamper:                  ColorDamper,
531
 
                ColorInterpolator:            ColorInterpolator,
532
 
                ColorRGBA:                    ColorRGBA,
533
 
                ComposedCubeMapTexture:       ComposedCubeMapTexture,
534
 
                ComposedShader:               ComposedShader,
535
 
                //ComposedTexture3D:            ComposedTexture3D,
536
 
                Cone:                         Cone,
537
 
                ConeEmitter:                  ConeEmitter,
538
 
                //Contact:                      Contact,
539
 
                //Contour2D:                    Contour2D,
540
 
                //ContourPolyline2D:            ContourPolyline2D,
541
 
                Coordinate:                   Coordinate,
542
 
                CoordinateChaser:             CoordinateChaser,
543
 
                CoordinateDamper:             CoordinateDamper,
544
 
                CoordinateDouble:             CoordinateDouble,
545
 
                CoordinateInterpolator:       CoordinateInterpolator,
546
 
                CoordinateInterpolator2D:     CoordinateInterpolator2D,
547
 
                Cylinder:                     Cylinder,
548
 
                CylinderSensor:               CylinderSensor,
549
 
                //DISEntityManager:             DISEntityManager,
550
 
                //DISEntityTypeMapping:         DISEntityTypeMapping,
551
 
                DirectionalLight:             DirectionalLight,
552
 
                Disk2D:                       Disk2D,
553
 
                //DoubleAxisHingeJoint:         DoubleAxisHingeJoint,
554
 
                EaseInEaseOut:                EaseInEaseOut,
555
 
                ElevationGrid:                ElevationGrid,
556
 
                //EspduTransform:               EspduTransform,
557
 
                ExplosionEmitter:             ExplosionEmitter,
558
 
                Extrusion:                    Extrusion,
559
 
                //FillProperties:               FillProperties,
560
 
                FloatVertexAttribute:         FloatVertexAttribute,
561
 
                Fog:                          Fog,
562
 
                //FogCoordinate:                FogCoordinate,
563
 
                FontStyle:                    FontStyle,
564
 
                ForcePhysicsModel:            ForcePhysicsModel,
565
 
                GeneratedCubeMapTexture:      GeneratedCubeMapTexture,
566
 
                GeoCoordinate:                GeoCoordinate,
567
 
                GeoElevationGrid:             GeoElevationGrid,
568
 
                GeoLOD:                       GeoLOD,
569
 
                GeoLocation:                  GeoLocation,
570
 
                GeoMetadata:                  GeoMetadata,
571
 
                GeoOrigin:                    GeoOrigin,
572
 
                GeoPositionInterpolator:      GeoPositionInterpolator,
573
 
                GeoProximitySensor:           GeoProximitySensor,
574
 
                GeoTouchSensor:               GeoTouchSensor,
575
 
                GeoTransform:                 GeoTransform,
576
 
                GeoViewpoint:                 GeoViewpoint,
577
 
                Group:                        Group,
578
 
                //HAnimDisplacer:               HAnimDisplacer,
579
 
                //HAnimHumanoid:                HAnimHumanoid,
580
 
                //HAnimJoint:                   HAnimJoint,
581
 
                //HAnimSegment:                 HAnimSegment,
582
 
                //HAnimSite:                    HAnimSite,
583
 
                ImageCubeMapTexture:          ImageCubeMapTexture,
584
 
                ImageTexture:                 ImageTexture,
585
 
                //ImageTexture3D:               ImageTexture3D,
586
 
                IndexedFaceSet:               IndexedFaceSet,
587
 
                IndexedLineSet:               IndexedLineSet,
588
 
                IndexedQuadSet:               IndexedQuadSet,
589
 
                IndexedTriangleFanSet:        IndexedTriangleFanSet,
590
 
                IndexedTriangleSet:           IndexedTriangleSet,
591
 
                IndexedTriangleStripSet:      IndexedTriangleStripSet,
592
 
                Inline:                       Inline,
593
 
                IntegerSequencer:             IntegerSequencer,
594
 
                IntegerTrigger:               IntegerTrigger,
595
 
                KeySensor:                    KeySensor,
596
 
                LOD:                          LOD,
597
 
                Layer:                        Layer,
598
 
                LayerSet:                     LayerSet,
599
 
                Layout:                       Layout,
600
 
                LayoutGroup:                  LayoutGroup,
601
 
                LayoutLayer:                  LayoutLayer,
602
 
                //LinePickSensor:               LinePickSensor,
603
 
                LineProperties:               LineProperties,
604
 
                LineSet:                      LineSet,
605
 
                LoadSensor:                   LoadSensor,
606
 
                LocalFog:                     LocalFog,
607
 
                Material:                     Material,
608
 
                Matrix3VertexAttribute:       Matrix3VertexAttribute,
609
 
                Matrix4VertexAttribute:       Matrix4VertexAttribute,
610
 
                MetadataBoolean:              MetadataBoolean,
611
 
                MetadataDouble:               MetadataDouble,
612
 
                MetadataFloat:                MetadataFloat,
613
 
                MetadataInteger:              MetadataInteger,
614
 
                MetadataSet:                  MetadataSet,
615
 
                MetadataString:               MetadataString,
616
 
                //MotorJoint:                   MotorJoint,
617
 
                MovieTexture:                 MovieTexture,
618
 
                //MultiTexture:                 MultiTexture,
619
 
                //MultiTextureCoordinate:       MultiTextureCoordinate,
620
 
                //MultiTextureTransform:        MultiTextureTransform,
621
 
                NavigationInfo:               NavigationInfo,
622
 
                Normal:                       Normal,
623
 
                NormalInterpolator:           NormalInterpolator,
624
 
                //NurbsCurve:                   NurbsCurve,
625
 
                //NurbsCurve2D:                 NurbsCurve2D,
626
 
                //NurbsOrientationInterpolator: NurbsOrientationInterpolator,
627
 
                //NurbsPatchSurface:            NurbsPatchSurface,
628
 
                //NurbsPositionInterpolator:    NurbsPositionInterpolator,
629
 
                //NurbsSet:                     NurbsSet,
630
 
                //NurbsSurfaceInterpolator:     NurbsSurfaceInterpolator,
631
 
                //NurbsSweptSurface:            NurbsSweptSurface,
632
 
                //NurbsSwungSurface:            NurbsSwungSurface,
633
 
                //NurbsTextureCoordinate:       NurbsTextureCoordinate,
634
 
                //NurbsTrimmedSurface:          NurbsTrimmedSurface,
635
 
                OrientationChaser:            OrientationChaser,
636
 
                OrientationDamper:            OrientationDamper,
637
 
                OrientationInterpolator:      OrientationInterpolator,
638
 
                OrthoViewpoint:               OrthoViewpoint,
639
 
                //PackagedShader:               PackagedShader,
640
 
                ParticleSystem:               ParticleSystem,
641
 
                //PickableGroup:                PickableGroup,
642
 
                PixelTexture:                 PixelTexture,
643
 
                //PixelTexture3D:               PixelTexture3D,
644
 
                PlaneSensor:                  PlaneSensor,
645
 
                PointEmitter:                 PointEmitter,
646
 
                PointLight:                   PointLight,
647
 
                //PointPickSensor:              PointPickSensor,
648
 
                PointSet:                     PointSet,
649
 
                Polyline2D:                   Polyline2D,
650
 
                PolylineEmitter:              PolylineEmitter,
651
 
                Polypoint2D:                  Polypoint2D,
652
 
                PositionChaser:               PositionChaser,
653
 
                PositionChaser2D:             PositionChaser2D,
654
 
                PositionDamper:               PositionDamper,
655
 
                PositionDamper2D:             PositionDamper2D,
656
 
                PositionInterpolator:         PositionInterpolator,
657
 
                PositionInterpolator2D:       PositionInterpolator2D,
658
 
                //PrimitivePickSensor:          PrimitivePickSensor,
659
 
                //ProgramShader:                ProgramShader,
660
 
                ProximitySensor:              ProximitySensor,
661
 
                QuadSet:                      QuadSet,
662
 
                //ReceiverPdu:                  ReceiverPdu,
663
 
                Rectangle2D:                  Rectangle2D,
664
 
                //RigidBody:                    RigidBody,
665
 
                //RigidBodyCollection:          RigidBodyCollection,
666
 
                ScalarChaser:                 ScalarChaser,
667
 
                ScalarDamper:                 ScalarDamper,
668
 
                ScalarInterpolator:           ScalarInterpolator,
669
 
                ScreenFontStyle:              ScreenFontStyle,
670
 
                ScreenGroup:                  ScreenGroup,
671
 
                Script:                       Script,
672
 
                ShaderPart:                   ShaderPart,
673
 
                //ShaderProgram:                ShaderProgram,
674
 
                Shape:                        Shape,
675
 
                //SignalPdu:                    SignalPdu,
676
 
                //SingleAxisHingeJoint:         SingleAxisHingeJoint,
677
 
                //SliderJoint:                  SliderJoint,
678
 
                Sound:                        Sound,
679
 
                Sphere:                       Sphere,
680
 
                SphereSensor:                 SphereSensor,
681
 
                SplinePositionInterpolator:   SplinePositionInterpolator,
682
 
                SplinePositionInterpolator2D: SplinePositionInterpolator2D,
683
 
                SplineScalarInterpolator:     SplineScalarInterpolator,
684
 
                SpotLight:                    SpotLight,
685
 
                SquadOrientationInterpolator: SquadOrientationInterpolator,
686
 
                StaticGroup:                  StaticGroup,
687
 
                //StringSensor:                 StringSensor,
688
 
                SurfaceEmitter:               SurfaceEmitter,
689
 
                Switch:                       Switch,
690
 
                TexCoordChaser2D:             TexCoordChaser2D,
691
 
                TexCoordDamper2D:             TexCoordDamper2D,
692
 
                Text:                         Text,
693
 
                TextureBackground:            TextureBackground,
694
 
                TextureCoordinate:            TextureCoordinate,
695
 
                TextureCoordinate3D:          TextureCoordinate3D,
696
 
                TextureCoordinate4D:          TextureCoordinate4D,
697
 
                //TextureCoordinateGenerator:   TextureCoordinateGenerator,
698
 
                TextureProperties:            TextureProperties,
699
 
                TextureTransform:             TextureTransform,
700
 
                TextureTransform3D:           TextureTransform3D,
701
 
                TextureTransformMatrix3D:     TextureTransformMatrix3D,
702
 
                TimeSensor:                   TimeSensor,
703
 
                TimeTrigger:                  TimeTrigger,
704
 
                //TouchGroup:                   TouchGroup,
705
 
                TouchSensor:                  TouchSensor,
706
 
                Transform:                    Transform,
707
 
                TransformSensor:              TransformSensor,
708
 
                //TransmitterPdu:               TransmitterPdu,
709
 
                TriangleFanSet:               TriangleFanSet,
710
 
                TriangleSet:                  TriangleSet,
711
 
                TriangleSet2D:                TriangleSet2D,
712
 
                TriangleStripSet:             TriangleStripSet,
713
 
                TwoSidedMaterial:             TwoSidedMaterial,
714
 
                //UniversalJoint:               UniversalJoint,
715
 
                Viewpoint:                    Viewpoint,
716
 
                ViewpointGroup:               ViewpointGroup,
717
 
                Viewport:                     Viewport,
718
 
                VisibilitySensor:             VisibilitySensor,
719
 
                VolumeEmitter:                VolumeEmitter,
720
 
                //VolumePickSensor:             VolumePickSensor,
721
 
                WindPhysicsModel:             WindPhysicsModel,
722
 
                WorldInfo:                    WorldInfo,
723
 
        };
724
 
 
725
 
        function createInstance (executionContext) { return new this (executionContext); }
726
 
 
727
 
        for (var name in supportedNodes)
728
 
        {
729
 
                supportedNodes [name] .createInstance = createInstance .bind (supportedNodes [name]);
730
 
                supportedNodes [name.toUpperCase()] = supportedNodes [name]; 
731
 
                supportedNodes [name.toUpperCase()] .createInstance = createInstance .bind (supportedNodes [name]);
732
 
        }
733
 
        return supportedNodes;
734
 
});
735