x_ite 8.7.8 → 8.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +3 -0
- package/build/bin/version.pl +1 -1
- package/dist/assets/components/Annotation.js +248 -169
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +296 -233
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +217 -172
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +451 -387
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +309 -208
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +397 -333
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +705 -575
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +319 -259
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +134 -99
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +305 -240
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +781 -626
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +632 -460
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +376 -295
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +936 -749
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +173 -103
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +241 -207
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +162 -129
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +485 -384
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +741 -547
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +66 -54
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +61554 -59658
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/package.json +4 -4
- package/src/assets/components/Annotation.js +14 -14
- package/src/assets/components/CADGeometry.js +14 -14
- package/src/assets/components/CubeMapTexturing.js +11 -11
- package/src/assets/components/DIS.js +13 -13
- package/src/assets/components/EventUtilities.js +16 -16
- package/src/assets/components/Geometry2D.js +15 -15
- package/src/assets/components/Geospatial.js +19 -19
- package/src/assets/components/HAnim.js +13 -13
- package/src/assets/components/KeyDeviceSensor.js +10 -10
- package/src/assets/components/Layout.js +13 -13
- package/src/assets/components/NURBS.js +24 -24
- package/src/assets/components/ParticleSystems.js +19 -19
- package/src/assets/components/Picking.js +14 -14
- package/src/assets/components/RigidBodyPhysics.js +24 -24
- package/src/assets/components/Scripting.js +9 -9
- package/src/assets/components/Text.js +10 -10
- package/src/assets/components/TextureProjector.js +10 -10
- package/src/assets/components/Texturing3D.js +16 -16
- package/src/assets/components/VolumeRendering.js +23 -23
- package/src/assets/components/X_ITE.js +8 -7
- package/src/assets/shaders/webgl1/include/Shadow.glsl.js +21 -25
- package/src/assets/shaders/webgl2/include/Shadow.glsl.js +23 -27
- package/src/bookmarks.js +2 -2
- package/src/lib/jquery.js +42 -30
- package/src/standard/Geospatial/Geodetic.js +8 -9
- package/src/standard/Geospatial/UniversalTransverseMercator.js +4 -5
- package/src/standard/Math/Algorithm.js +41 -56
- package/src/standard/Math/Algorithms/Bezier.js +2 -2
- package/src/standard/Math/Algorithms/MergeSort.js +6 -6
- package/src/standard/Math/Algorithms/PartialSort.js +5 -5
- package/src/standard/Math/Algorithms/QuickSort.js +5 -5
- package/src/standard/Math/Geometry/Box2.js +16 -17
- package/src/standard/Math/Geometry/Box3.js +18 -19
- package/src/standard/Math/Geometry/Camera.js +6 -5
- package/src/standard/Math/Geometry/Cylinder3.js +6 -7
- package/src/standard/Math/Geometry/Line2.js +20 -18
- package/src/standard/Math/Geometry/Line3.js +20 -18
- package/src/standard/Math/Geometry/Plane3.js +11 -12
- package/src/standard/Math/Geometry/Sphere3.js +6 -7
- package/src/standard/Math/Geometry/Spheroid3.js +6 -7
- package/src/standard/Math/Geometry/Triangle2.js +4 -3
- package/src/standard/Math/Geometry/Triangle3.js +5 -4
- package/src/standard/Math/Geometry/ViewVolume.js +6 -7
- package/src/standard/Math/Numbers/Color3.js +18 -19
- package/src/standard/Math/Numbers/Color4.js +20 -21
- package/src/standard/Math/Numbers/Complex.js +28 -29
- package/src/standard/Math/Numbers/Matrix2.js +22 -23
- package/src/standard/Math/Numbers/Matrix3.js +28 -29
- package/src/standard/Math/Numbers/Matrix4.js +29 -30
- package/src/standard/Math/Numbers/Quaternion.js +40 -41
- package/src/standard/Math/Numbers/Rotation4.js +34 -35
- package/src/standard/Math/Numbers/Vector2.js +29 -30
- package/src/standard/Math/Numbers/Vector3.js +32 -33
- package/src/standard/Math/Numbers/Vector4.js +34 -35
- package/src/standard/Math/Utility/BVH.js +14 -15
- package/src/standard/Math/Utility/MatrixStack.js +12 -12
- package/src/standard/Time/MicroTime.js +4 -3
- package/src/standard/Utility/BitSet.js +10 -11
- package/src/standard/Utility/DataStorage.js +10 -10
- package/src/standard/Utility/MapUtilities.js +2 -1
- package/src/standard/Utility/ObjectCache.js +3 -3
- package/src/tests.js +10 -0
- package/src/x_ite/Base/Events.js +3 -3
- package/src/x_ite/Base/FieldArray.js +11 -9
- package/src/x_ite/Base/FieldDefinitionArray.js +11 -9
- package/src/x_ite/Base/X3DArrayField.js +13 -14
- package/src/x_ite/Base/X3DBaseNode.js +219 -181
- package/src/x_ite/Base/X3DCast.js +1 -1
- package/src/x_ite/Base/X3DChildObject.js +162 -53
- package/src/x_ite/Base/X3DConstants.js +74 -60
- package/src/x_ite/Base/X3DEventObject.js +6 -12
- package/src/x_ite/Base/X3DField.js +45 -42
- package/src/x_ite/Base/X3DFieldDefinition.js +9 -7
- package/src/x_ite/Base/X3DInfoArray.js +75 -65
- package/src/x_ite/Base/X3DObject.js +59 -29
- package/src/x_ite/Base/X3DObjectArrayField.js +51 -117
- package/src/x_ite/Base/X3DTypedArrayField.js +48 -42
- package/src/x_ite/Browser/Core/BrowserOptions.js +55 -57
- package/src/x_ite/Browser/Core/BrowserProperties.js +18 -20
- package/src/x_ite/Browser/Core/BrowserTimings.js +29 -33
- package/src/x_ite/Browser/Core/Context.js +7 -7
- package/src/x_ite/Browser/Core/ContextMenu.js +61 -83
- package/src/x_ite/Browser/Core/Notification.js +12 -12
- package/src/x_ite/Browser/Core/RenderingProperties.js +28 -28
- package/src/x_ite/Browser/Core/X3DCoreContext.js +45 -37
- package/src/x_ite/Browser/DOMIntegration.js +4 -1
- package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +3 -3
- package/src/x_ite/Browser/Followers/X3DArrayChaserTemplate.js +1 -1
- package/src/x_ite/Browser/Followers/X3DArrayFollowerTemplate.js +12 -12
- package/src/x_ite/Browser/Geometry2D/Arc2DOptions.js +8 -14
- package/src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js +8 -14
- package/src/x_ite/Browser/Geometry2D/Circle2DOptions.js +13 -17
- package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +15 -19
- package/src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js +12 -16
- package/src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js +9 -9
- package/src/x_ite/Browser/Geometry3D/BoxOptions.js +12 -16
- package/src/x_ite/Browser/Geometry3D/ConeOptions.js +6 -12
- package/src/x_ite/Browser/Geometry3D/CylinderOptions.js +6 -12
- package/src/x_ite/Browser/Geometry3D/IcoSphereOptions.js +13 -17
- package/src/x_ite/Browser/Geometry3D/QuadSphereOptions.js +17 -21
- package/src/x_ite/Browser/Geometry3D/X3DGeometry3DContext.js +8 -8
- package/src/x_ite/Browser/Geospatial/Geocentric.js +5 -6
- package/src/x_ite/Browser/Geospatial/Geospatial.js +10 -10
- package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +3 -3
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +2 -3
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator1.js +8 -9
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +7 -8
- package/src/x_ite/Browser/Interpolation/SquatInterpolator.js +3 -4
- package/src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js +8 -8
- package/src/x_ite/Browser/Layering/X3DLayeringContext.js +4 -4
- package/src/x_ite/Browser/Layout/ScreenText.js +7 -8
- package/src/x_ite/Browser/Layout/X3DLayoutContext.js +3 -3
- package/src/x_ite/Browser/Legacy.js +32 -12
- package/src/x_ite/Browser/Lighting/X3DLightingContext.js +5 -5
- package/src/x_ite/Browser/NURBS/NURBS.js +10 -10
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +32 -20
- package/src/x_ite/Browser/Navigation/FlyViewer.js +22 -10
- package/src/x_ite/Browser/Navigation/LookAtViewer.js +29 -17
- package/src/x_ite/Browser/Navigation/NoneViewer.js +15 -5
- package/src/x_ite/Browser/Navigation/PlaneViewer.js +24 -12
- package/src/x_ite/Browser/Navigation/WalkViewer.js +22 -10
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +17 -18
- package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +19 -19
- package/src/x_ite/Browser/Navigation/X3DViewer.js +13 -19
- package/src/x_ite/Browser/Networking/URLs.js +5 -5
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +16 -16
- package/src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js +3 -3
- package/src/x_ite/Browser/Picking/VolumePicker.js +8 -8
- package/src/x_ite/Browser/Picking/X3DPickingContext.js +12 -12
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +24 -20
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDeviceSensorContainer.js +6 -6
- package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +21 -21
- package/src/x_ite/Browser/Rendering/GeometryContext.js +4 -5
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +18 -18
- package/src/x_ite/Browser/Scripting/X3DScriptingContext.js +4 -4
- package/src/x_ite/Browser/Shaders/ShaderCompiler.js +4 -4
- package/src/x_ite/Browser/Shaders/ShaderSource.js +1 -1
- package/src/x_ite/Browser/Shaders/X3DShadersContext.js +13 -13
- package/src/x_ite/Browser/Shape/X3DShapeContext.js +12 -12
- package/src/x_ite/Browser/Sound/X3DSoundContext.js +0 -2
- package/src/x_ite/Browser/Text/PolygonText.js +10 -11
- package/src/x_ite/Browser/Text/X3DTextContext.js +6 -6
- package/src/x_ite/Browser/Text/X3DTextGeometry.js +18 -19
- package/src/x_ite/Browser/Texturing/GifMedia.js +7 -7
- package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +24 -24
- package/src/x_ite/Browser/Texturing3D/DICOMParser.js +38 -38
- package/src/x_ite/Browser/Texturing3D/NRRDParser.js +14 -14
- package/src/x_ite/Browser/Time/X3DTimeContext.js +5 -5
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +39 -22
- package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +6 -6
- package/src/x_ite/Browser/X3DBrowser.js +170 -136
- package/src/x_ite/Browser/X3DBrowserContext.js +23 -24
- package/src/x_ite/Components/Annotation/AnnotationLayer.js +30 -19
- package/src/x_ite/Components/Annotation/AnnotationTarget.js +30 -19
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +40 -29
- package/src/x_ite/Components/Annotation/IconAnnotation.js +38 -27
- package/src/x_ite/Components/Annotation/TextAnnotation.js +31 -20
- package/src/x_ite/Components/Annotation/URLAnnotation.js +30 -19
- package/src/x_ite/Components/Annotation/X3DAnnotationNode.js +16 -3
- package/src/x_ite/Components/CADGeometry/CADAssembly.js +32 -21
- package/src/x_ite/Components/CADGeometry/CADFace.js +48 -37
- package/src/x_ite/Components/CADGeometry/CADLayer.js +30 -21
- package/src/x_ite/Components/CADGeometry/CADPart.js +37 -26
- package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +51 -46
- package/src/x_ite/Components/CADGeometry/QuadSet.js +48 -43
- package/src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js +13 -2
- package/src/x_ite/Components/Core/MetadataBoolean.js +33 -22
- package/src/x_ite/Components/Core/MetadataDouble.js +33 -22
- package/src/x_ite/Components/Core/MetadataFloat.js +33 -22
- package/src/x_ite/Components/Core/MetadataInteger.js +33 -22
- package/src/x_ite/Components/Core/MetadataSet.js +33 -22
- package/src/x_ite/Components/Core/MetadataString.js +33 -22
- package/src/x_ite/Components/Core/WorldInfo.js +34 -23
- package/src/x_ite/Components/Core/X3DBindableNode.js +17 -4
- package/src/x_ite/Components/Core/X3DChildNode.js +19 -6
- package/src/x_ite/Components/Core/X3DInfoNode.js +13 -2
- package/src/x_ite/Components/Core/X3DMetadataObject.js +18 -5
- package/src/x_ite/Components/Core/X3DNode.js +66 -34
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +68 -77
- package/src/x_ite/Components/Core/X3DSensorNode.js +13 -2
- package/src/x_ite/Components/Core.js +22 -29
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +46 -35
- package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +39 -28
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +47 -36
- package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +21 -8
- package/src/x_ite/Components/DIS/DISEntityManager.js +29 -20
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +41 -30
- package/src/x_ite/Components/DIS/EspduTransform.js +117 -106
- package/src/x_ite/Components/DIS/ReceiverPdu.js +60 -49
- package/src/x_ite/Components/DIS/SignalPdu.js +60 -49
- package/src/x_ite/Components/DIS/TransmitterPdu.js +76 -65
- package/src/x_ite/Components/EnvironmentalEffects/Background.js +47 -36
- package/src/x_ite/Components/EnvironmentalEffects/Fog.js +42 -31
- package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +39 -28
- package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +40 -29
- package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +48 -37
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +28 -15
- package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +30 -18
- package/src/x_ite/Components/EnvironmentalEffects.js +15 -22
- package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +45 -34
- package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +50 -39
- package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +41 -30
- package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +22 -9
- package/src/x_ite/Components/EnvironmentalSensor.js +12 -19
- package/src/x_ite/Components/EventUtilities/BooleanFilter.js +38 -27
- package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +38 -27
- package/src/x_ite/Components/EventUtilities/BooleanToggle.js +33 -22
- package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +32 -21
- package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +38 -27
- package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +33 -22
- package/src/x_ite/Components/EventUtilities/TimeTrigger.js +32 -21
- package/src/x_ite/Components/EventUtilities/X3DSequencerNode.js +20 -7
- package/src/x_ite/Components/EventUtilities/X3DTriggerNode.js +13 -2
- package/src/x_ite/Components/Followers/ColorChaser.js +47 -36
- package/src/x_ite/Components/Followers/ColorDamper.js +49 -38
- package/src/x_ite/Components/Followers/CoordinateChaser.js +33 -22
- package/src/x_ite/Components/Followers/CoordinateDamper.js +35 -24
- package/src/x_ite/Components/Followers/OrientationChaser.js +43 -32
- package/src/x_ite/Components/Followers/OrientationDamper.js +41 -30
- package/src/x_ite/Components/Followers/PositionChaser.js +33 -22
- package/src/x_ite/Components/Followers/PositionChaser2D.js +33 -22
- package/src/x_ite/Components/Followers/PositionDamper.js +35 -24
- package/src/x_ite/Components/Followers/PositionDamper2D.js +35 -24
- package/src/x_ite/Components/Followers/ScalarChaser.js +47 -36
- package/src/x_ite/Components/Followers/ScalarDamper.js +43 -32
- package/src/x_ite/Components/Followers/TexCoordChaser2D.js +33 -22
- package/src/x_ite/Components/Followers/TexCoordDamper2D.js +35 -24
- package/src/x_ite/Components/Followers/X3DChaserNode.js +27 -14
- package/src/x_ite/Components/Followers/X3DDamperNode.js +22 -9
- package/src/x_ite/Components/Followers/X3DFollowerNode.js +29 -16
- package/src/x_ite/Components/Followers.js +25 -32
- package/src/x_ite/Components/Geometry2D/Arc2D.js +38 -27
- package/src/x_ite/Components/Geometry2D/ArcClose2D.js +39 -28
- package/src/x_ite/Components/Geometry2D/Circle2D.js +35 -24
- package/src/x_ite/Components/Geometry2D/Disk2D.js +40 -29
- package/src/x_ite/Components/Geometry2D/Polyline2D.js +34 -23
- package/src/x_ite/Components/Geometry2D/Polypoint2D.js +34 -23
- package/src/x_ite/Components/Geometry2D/Rectangle2D.js +34 -23
- package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +36 -25
- package/src/x_ite/Components/Geometry3D/Box.js +34 -23
- package/src/x_ite/Components/Geometry3D/Cone.js +40 -29
- package/src/x_ite/Components/Geometry3D/Cylinder.js +41 -30
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +63 -52
- package/src/x_ite/Components/Geometry3D/Extrusion.js +49 -38
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +98 -95
- package/src/x_ite/Components/Geometry3D/Sphere.js +36 -25
- package/src/x_ite/Components/Geometry3D.js +15 -22
- package/src/x_ite/Components/Geospatial/GeoCoordinate.js +37 -26
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +63 -52
- package/src/x_ite/Components/Geospatial/GeoLOD.js +59 -48
- package/src/x_ite/Components/Geospatial/GeoLocation.js +45 -34
- package/src/x_ite/Components/Geospatial/GeoMetadata.js +38 -27
- package/src/x_ite/Components/Geospatial/GeoOrigin.js +37 -26
- package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +43 -32
- package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +48 -37
- package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +45 -34
- package/src/x_ite/Components/Geospatial/GeoTransform.js +49 -38
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +56 -45
- package/src/x_ite/Components/Geospatial/X3DGeospatialObject.js +30 -17
- package/src/x_ite/Components/Grouping/Group.js +29 -20
- package/src/x_ite/Components/Grouping/StaticGroup.js +40 -48
- package/src/x_ite/Components/Grouping/Switch.js +51 -40
- package/src/x_ite/Components/Grouping/Transform.js +34 -25
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +22 -9
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +224 -221
- package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +20 -7
- package/src/x_ite/Components/Grouping/X3DTransformNode.js +17 -4
- package/src/x_ite/Components/Grouping.js +16 -23
- package/src/x_ite/Components/HAnim/HAnimDisplacer.js +27 -18
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +73 -62
- package/src/x_ite/Components/HAnim/HAnimJoint.js +61 -50
- package/src/x_ite/Components/HAnim/HAnimMotion.js +44 -33
- package/src/x_ite/Components/HAnim/HAnimSegment.js +36 -27
- package/src/x_ite/Components/HAnim/HAnimSite.js +36 -27
- package/src/x_ite/Components/Interpolation/ColorInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +38 -27
- package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +39 -28
- package/src/x_ite/Components/Interpolation/NormalInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/PositionInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +38 -27
- package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +39 -28
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +44 -33
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +44 -33
- package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +44 -33
- package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +40 -29
- package/src/x_ite/Components/Interpolation/X3DInterpolatorNode.js +21 -8
- package/src/x_ite/Components/Interpolation.js +22 -29
- package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +44 -33
- package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +38 -27
- package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +23 -10
- package/src/x_ite/Components/Layering/Layer.js +40 -29
- package/src/x_ite/Components/Layering/LayerSet.js +44 -33
- package/src/x_ite/Components/Layering/Viewport.js +48 -37
- package/src/x_ite/Components/Layering/X3DLayerNode.js +45 -32
- package/src/x_ite/Components/Layering/X3DViewportNode.js +13 -2
- package/src/x_ite/Components/Layering.js +13 -20
- package/src/x_ite/Components/Layout/Layout.js +60 -49
- package/src/x_ite/Components/Layout/LayoutGroup.js +48 -37
- package/src/x_ite/Components/Layout/LayoutLayer.js +41 -30
- package/src/x_ite/Components/Layout/ScreenFontStyle.js +41 -30
- package/src/x_ite/Components/Layout/ScreenGroup.js +42 -31
- package/src/x_ite/Components/Layout/X3DLayoutNode.js +13 -2
- package/src/x_ite/Components/Lighting/DirectionalLight.js +45 -35
- package/src/x_ite/Components/Lighting/EnvironmentLight.js +51 -41
- package/src/x_ite/Components/Lighting/PointLight.js +53 -43
- package/src/x_ite/Components/Lighting/SpotLight.js +62 -52
- package/src/x_ite/Components/Lighting/X3DLightNode.js +29 -16
- package/src/x_ite/Components/Lighting.js +13 -20
- package/src/x_ite/Components/NURBS/Contour2D.js +45 -45
- package/src/x_ite/Components/NURBS/ContourPolyline2D.js +34 -23
- package/src/x_ite/Components/NURBS/CoordinateDouble.js +23 -14
- package/src/x_ite/Components/NURBS/NurbsCurve.js +47 -36
- package/src/x_ite/Components/NURBS/NurbsCurve2D.js +44 -33
- package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +46 -35
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +36 -27
- package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +46 -35
- package/src/x_ite/Components/NURBS/NurbsSet.js +52 -52
- package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +44 -33
- package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +40 -29
- package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +40 -29
- package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +43 -32
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +59 -59
- package/src/x_ite/Components/NURBS/X3DNurbsControlCurveNode.js +13 -2
- package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +30 -17
- package/src/x_ite/Components/NURBS/X3DParametricGeometryNode.js +16 -3
- package/src/x_ite/Components/Navigation/Billboard.js +43 -32
- package/src/x_ite/Components/Navigation/Collision.js +49 -38
- package/src/x_ite/Components/Navigation/LOD.js +54 -43
- package/src/x_ite/Components/Navigation/NavigationInfo.js +58 -47
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +69 -58
- package/src/x_ite/Components/Navigation/Viewpoint.js +53 -42
- package/src/x_ite/Components/Navigation/ViewpointGroup.js +44 -33
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +48 -35
- package/src/x_ite/Components/Navigation.js +16 -23
- package/src/x_ite/Components/Networking/Anchor.js +51 -40
- package/src/x_ite/Components/Networking/Inline.js +54 -43
- package/src/x_ite/Components/Networking/LoadSensor.js +49 -38
- package/src/x_ite/Components/Networking/X3DNetworkSensorNode.js +13 -2
- package/src/x_ite/Components/Networking/X3DUrlObject.js +35 -22
- package/src/x_ite/Components/Networking.js +13 -20
- package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +37 -26
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +44 -33
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +41 -30
- package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +34 -23
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +83 -72
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +41 -30
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +42 -31
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +42 -31
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +43 -32
- package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +38 -27
- package/src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js +33 -20
- package/src/x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode.js +16 -3
- package/src/x_ite/Components/Picking/LinePickSensor.js +49 -38
- package/src/x_ite/Components/Picking/PickableGroup.js +45 -34
- package/src/x_ite/Components/Picking/PointPickSensor.js +46 -35
- package/src/x_ite/Components/Picking/PrimitivePickSensor.js +46 -35
- package/src/x_ite/Components/Picking/VolumePickSensor.js +45 -34
- package/src/x_ite/Components/Picking/X3DPickSensorNode.js +31 -18
- package/src/x_ite/Components/Picking/X3DPickableObject.js +20 -7
- package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +50 -39
- package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +52 -45
- package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +44 -33
- package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +30 -21
- package/src/x_ite/Components/PointingDeviceSensor/X3DDragSensorNode.js +13 -2
- package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +22 -11
- package/src/x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode.js +16 -3
- package/src/x_ite/Components/PointingDeviceSensor.js +15 -22
- package/src/x_ite/Components/Rendering/ClipPlane.js +44 -34
- package/src/x_ite/Components/Rendering/Color.js +37 -26
- package/src/x_ite/Components/Rendering/ColorRGBA.js +37 -26
- package/src/x_ite/Components/Rendering/Coordinate.js +23 -14
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +52 -41
- package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +48 -37
- package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +44 -33
- package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +48 -37
- package/src/x_ite/Components/Rendering/LineSet.js +45 -34
- package/src/x_ite/Components/Rendering/Normal.js +39 -28
- package/src/x_ite/Components/Rendering/PointSet.js +45 -34
- package/src/x_ite/Components/Rendering/TriangleFanSet.js +47 -36
- package/src/x_ite/Components/Rendering/TriangleSet.js +41 -30
- package/src/x_ite/Components/Rendering/TriangleStripSet.js +47 -36
- package/src/x_ite/Components/Rendering/X3DColorNode.js +17 -4
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +33 -20
- package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +23 -10
- package/src/x_ite/Components/Rendering/X3DGeometricPropertyNode.js +13 -2
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +96 -80
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +21 -8
- package/src/x_ite/Components/Rendering/X3DNormalNode.js +13 -2
- package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +20 -7
- package/src/x_ite/Components/Rendering.js +29 -36
- package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +43 -32
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +48 -37
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +52 -41
- package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +47 -36
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +41 -30
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +44 -33
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +38 -29
- package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +60 -49
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +48 -39
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +69 -58
- package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +61 -50
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +49 -38
- package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +47 -36
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +36 -27
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +24 -11
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollisionSpaceNode.js +17 -4
- package/src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js +34 -21
- package/src/x_ite/Components/Scripting/Script.js +83 -53
- package/src/x_ite/Components/Scripting/X3DScriptNode.js +17 -4
- package/src/x_ite/Components/Shaders/ComposedShader.js +46 -35
- package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +40 -29
- package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +38 -27
- package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +38 -27
- package/src/x_ite/Components/Shaders/PackagedShader.js +45 -34
- package/src/x_ite/Components/Shaders/ProgramShader.js +27 -18
- package/src/x_ite/Components/Shaders/ShaderPart.js +47 -36
- package/src/x_ite/Components/Shaders/ShaderProgram.js +42 -31
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +51 -38
- package/src/x_ite/Components/Shaders/X3DShaderNode.js +19 -6
- package/src/x_ite/Components/Shaders/X3DVertexAttributeNode.js +17 -4
- package/src/x_ite/Components/Shaders.js +19 -26
- package/src/x_ite/Components/Shape/AcousticProperties.js +28 -19
- package/src/x_ite/Components/Shape/Appearance.js +79 -68
- package/src/x_ite/Components/Shape/FillProperties.js +44 -33
- package/src/x_ite/Components/Shape/LineProperties.js +44 -33
- package/src/x_ite/Components/Shape/Material.js +75 -64
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +65 -54
- package/src/x_ite/Components/Shape/PointProperties.js +43 -32
- package/src/x_ite/Components/Shape/Shape.js +48 -37
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +60 -49
- package/src/x_ite/Components/Shape/UnlitMaterial.js +44 -33
- package/src/x_ite/Components/Shape/X3DAppearanceChildNode.js +13 -2
- package/src/x_ite/Components/Shape/X3DAppearanceNode.js +17 -4
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +41 -33
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +29 -16
- package/src/x_ite/Components/Shape/X3DShapeNode.js +28 -15
- package/src/x_ite/Components/Shape.js +23 -30
- package/src/x_ite/Components/Sound/Analyser.js +46 -37
- package/src/x_ite/Components/Sound/AudioClip.js +61 -50
- package/src/x_ite/Components/Sound/AudioDestination.js +35 -26
- package/src/x_ite/Components/Sound/BiquadFilter.js +45 -36
- package/src/x_ite/Components/Sound/BufferAudioSource.js +61 -50
- package/src/x_ite/Components/Sound/ChannelMerger.js +32 -23
- package/src/x_ite/Components/Sound/ChannelSelector.js +33 -24
- package/src/x_ite/Components/Sound/ChannelSplitter.js +33 -24
- package/src/x_ite/Components/Sound/Convolver.js +43 -34
- package/src/x_ite/Components/Sound/Delay.js +43 -34
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +47 -38
- package/src/x_ite/Components/Sound/Gain.js +41 -32
- package/src/x_ite/Components/Sound/ListenerPointSource.js +39 -30
- package/src/x_ite/Components/Sound/MicrophoneSource.js +35 -26
- package/src/x_ite/Components/Sound/OscillatorSource.js +37 -28
- package/src/x_ite/Components/Sound/PeriodicWave.js +27 -18
- package/src/x_ite/Components/Sound/Sound.js +51 -40
- package/src/x_ite/Components/Sound/SpatialSound.js +42 -33
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +35 -26
- package/src/x_ite/Components/Sound/StreamAudioSource.js +35 -26
- package/src/x_ite/Components/Sound/WaveShaper.js +43 -34
- package/src/x_ite/Components/Sound/X3DSoundChannelNode.js +13 -2
- package/src/x_ite/Components/Sound/X3DSoundDestinationNode.js +13 -2
- package/src/x_ite/Components/Sound/X3DSoundNode.js +13 -2
- package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +17 -4
- package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +30 -17
- package/src/x_ite/Components/Sound.js +34 -41
- package/src/x_ite/Components/Text/FontStyle.js +37 -26
- package/src/x_ite/Components/Text/Text.js +50 -39
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +32 -18
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +49 -39
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +58 -48
- package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +27 -14
- package/src/x_ite/Components/Texturing/ImageTexture.js +50 -39
- package/src/x_ite/Components/Texturing/MovieTexture.js +67 -56
- package/src/x_ite/Components/Texturing/MultiTexture.js +52 -41
- package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +44 -33
- package/src/x_ite/Components/Texturing/MultiTextureTransform.js +39 -28
- package/src/x_ite/Components/Texturing/PixelTexture.js +42 -31
- package/src/x_ite/Components/Texturing/TextureCoordinate.js +41 -30
- package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +41 -30
- package/src/x_ite/Components/Texturing/TextureProperties.js +47 -36
- package/src/x_ite/Components/Texturing/TextureTransform.js +39 -28
- package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +20 -7
- package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +21 -8
- package/src/x_ite/Components/Texturing/X3DSingleTextureTransformNode.js +20 -7
- package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +26 -13
- package/src/x_ite/Components/Texturing/X3DTextureCoordinateNode.js +13 -2
- package/src/x_ite/Components/Texturing/X3DTextureNode.js +17 -4
- package/src/x_ite/Components/Texturing/X3DTextureTransformNode.js +13 -2
- package/src/x_ite/Components/Texturing.js +25 -32
- package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +44 -33
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +46 -35
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +54 -43
- package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +40 -29
- package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +41 -30
- package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +41 -30
- package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +39 -28
- package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +36 -25
- package/src/x_ite/Components/Texturing3D/X3DTexture3DNode.js +26 -13
- package/src/x_ite/Components/Time/TimeSensor.js +55 -44
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +38 -25
- package/src/x_ite/Components/Time.js +10 -17
- package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +51 -41
- package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +39 -28
- package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +42 -31
- package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +41 -30
- package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +41 -30
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +50 -39
- package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +39 -28
- package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +38 -27
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +49 -38
- package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +44 -33
- package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +42 -31
- package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +41 -30
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +45 -34
- package/src/x_ite/Components/VolumeRendering/X3DComposableVolumeRenderStyleNode.js +13 -2
- package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +25 -12
- package/src/x_ite/Components/VolumeRendering/X3DVolumeRenderStyleNode.js +22 -9
- package/src/x_ite/Components/X_ITE/BlendMode.js +48 -37
- package/src/x_ite/Components.js +38 -14
- package/src/x_ite/Configuration/AbstractNodes.js +50 -0
- package/src/x_ite/{Fallback.js → Configuration/AbstractNodesArray.js} +22 -29
- package/src/x_ite/Configuration/ComponentInfo.js +14 -10
- package/src/x_ite/Configuration/ComponentInfoArray.js +14 -10
- package/src/x_ite/Configuration/ConcreteNodes.js +50 -0
- package/src/x_ite/Configuration/{SupportedNodes.js → ConcreteNodesArray.js} +26 -40
- package/src/x_ite/Configuration/ProfileInfo.js +13 -9
- package/src/x_ite/Configuration/ProfileInfoArray.js +14 -13
- package/src/x_ite/Configuration/SupportedComponents.js +40 -78
- package/src/x_ite/Configuration/SupportedProfiles.js +16 -16
- package/src/x_ite/Configuration/UnitInfo.js +14 -10
- package/src/x_ite/Configuration/UnitInfoArray.js +10 -21
- package/src/x_ite/Execution/BindableList.js +14 -10
- package/src/x_ite/Execution/BindableStack.js +14 -10
- package/src/x_ite/Execution/ExportedNodesArray.js +11 -9
- package/src/x_ite/Execution/ImportedNodesArray.js +11 -9
- package/src/x_ite/Execution/NamedNodesArray.js +11 -22
- package/src/x_ite/Execution/X3DExecutionContext.js +181 -152
- package/src/x_ite/Execution/X3DExportedNode.js +18 -10
- package/src/x_ite/Execution/X3DImportedNode.js +35 -22
- package/src/x_ite/Execution/X3DScene.js +93 -64
- package/src/x_ite/Execution/X3DWorld.js +21 -17
- package/src/x_ite/Fields/ArrayFields.js +87 -153
- package/src/x_ite/Fields/SFBool.js +21 -25
- package/src/x_ite/Fields/SFColor.js +43 -39
- package/src/x_ite/Fields/SFColorRGBA.js +39 -35
- package/src/x_ite/Fields/SFDouble.js +20 -21
- package/src/x_ite/Fields/SFFloat.js +20 -21
- package/src/x_ite/Fields/SFImage.js +50 -48
- package/src/x_ite/Fields/SFInt32.js +20 -21
- package/src/x_ite/Fields/SFMatrix3.js +23 -16
- package/src/x_ite/Fields/SFMatrix4.js +24 -17
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +31 -31
- package/src/x_ite/Fields/SFNode.js +57 -88
- package/src/x_ite/Fields/SFNodeCache.js +7 -11
- package/src/x_ite/Fields/SFRotation.js +73 -62
- package/src/x_ite/Fields/SFString.js +35 -36
- package/src/x_ite/Fields/SFTime.js +20 -21
- package/src/x_ite/Fields/SFVec2.js +17 -14
- package/src/x_ite/Fields/SFVec3.js +20 -17
- package/src/x_ite/Fields/SFVec4.js +21 -18
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +36 -36
- package/src/x_ite/Fields.js +6 -13
- package/src/x_ite/InputOutput/FileLoader.js +36 -40
- package/src/x_ite/InputOutput/Generator.js +50 -51
- package/src/x_ite/Parser/GLB2Parser.js +12 -13
- package/src/x_ite/Parser/GLTF2Parser.js +111 -112
- package/src/x_ite/Parser/GoldenGate.js +11 -13
- package/src/x_ite/Parser/HTMLSupport.js +15 -5
- package/src/x_ite/Parser/JSONParser.js +21 -22
- package/src/x_ite/Parser/OBJParser.js +56 -57
- package/src/x_ite/Parser/STLAParser.js +22 -23
- package/src/x_ite/Parser/STLBParser.js +12 -13
- package/src/x_ite/Parser/SVGParser.js +85 -86
- package/src/x_ite/Parser/VRMLParser.js +495 -878
- package/src/x_ite/Parser/X3DOptimizer.js +7 -7
- package/src/x_ite/Parser/X3DParser.js +17 -17
- package/src/x_ite/Parser/XMLParser.js +215 -269
- package/src/x_ite/Prototype/ExternProtoDeclarationArray.js +11 -9
- package/src/x_ite/Prototype/ProtoDeclarationArray.js +11 -9
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +35 -27
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +28 -20
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +18 -10
- package/src/x_ite/Rendering/DependentRenderer.js +11 -12
- package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +9 -10
- package/src/x_ite/Rendering/PointingBuffer.js +6 -7
- package/src/x_ite/Rendering/TextureBuffer.js +11 -12
- package/src/x_ite/Rendering/VertexArray.js +5 -5
- package/src/x_ite/Rendering/X3DRenderObject.js +51 -52
- package/src/x_ite/Routing/RouteArray.js +11 -9
- package/src/x_ite/Routing/X3DRoute.js +35 -19
- package/src/x_ite/Routing/X3DRoutingContext.js +8 -9
- package/src/x_ite/X3D.js +27 -26
- package/src/x_ite/X3DCanvasElement.js +18 -7
- package/src/x_ite.css +2 -1
- package/webpack.config.js +2 -2
- /package/src/x_ite/{DEBUG.js → DEVELOPMENT.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.8.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
|
|
54
|
-
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
|
|
55
55
|
var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Spheroid3.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -127,24 +127,23 @@ function Spheroid3 (semiMajorAxis, semiMinorAxis)
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
Spheroid3 .prototype
|
|
130
|
+
Object .assign (Spheroid3 .prototype,
|
|
131
131
|
{
|
|
132
|
-
|
|
133
|
-
getSemiMajorAxis: function ()
|
|
132
|
+
getSemiMajorAxis ()
|
|
134
133
|
{
|
|
135
134
|
// Returns the semi-major axis (a)
|
|
136
135
|
return this .semiMajorAxis; // a
|
|
137
136
|
},
|
|
138
|
-
getSemiMinorAxis
|
|
137
|
+
getSemiMinorAxis ()
|
|
139
138
|
{
|
|
140
139
|
// Returns the semi-minor axis (c)
|
|
141
140
|
return this .semiMinorAxis; // c
|
|
142
141
|
},
|
|
143
|
-
toString
|
|
142
|
+
toString ()
|
|
144
143
|
{
|
|
145
|
-
return this .semiMajorAxis
|
|
144
|
+
return `${this .semiMajorAxis} ${this .semiMinorAxis}`;
|
|
146
145
|
},
|
|
147
|
-
};
|
|
146
|
+
});
|
|
148
147
|
|
|
149
148
|
const __default__ = Spheroid3;
|
|
150
149
|
;
|
|
@@ -249,10 +248,10 @@ const ReferenceEllipsoids_default_ = ReferenceEllipsoids;
|
|
|
249
248
|
Namespace_default().set ("standard/Geospatial/ReferenceEllipsoids", ReferenceEllipsoids_default_);
|
|
250
249
|
/* harmony default export */ const Geospatial_ReferenceEllipsoids = (ReferenceEllipsoids_default_);
|
|
251
250
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
252
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
251
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector3");
|
|
253
252
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
254
253
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
255
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
254
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Algorithm");
|
|
256
255
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
257
256
|
;// CONCATENATED MODULE: ./src/standard/Geospatial/Geodetic.js
|
|
258
257
|
/*******************************************************************************
|
|
@@ -320,10 +319,9 @@ function Geodetic (spheroid, latitudeFirst, radians)
|
|
|
320
319
|
this .ecc2 = 1 - this .c2a2;
|
|
321
320
|
}
|
|
322
321
|
|
|
323
|
-
Geodetic .prototype
|
|
322
|
+
Object .assign (Geodetic .prototype,
|
|
324
323
|
{
|
|
325
|
-
|
|
326
|
-
convert: function (geodetic, result)
|
|
324
|
+
convert (geodetic, result)
|
|
327
325
|
{
|
|
328
326
|
const elevation = geodetic .z;
|
|
329
327
|
|
|
@@ -348,7 +346,7 @@ Geodetic .prototype =
|
|
|
348
346
|
|
|
349
347
|
return this .convertRadians (latitude, longitude, elevation, result);
|
|
350
348
|
},
|
|
351
|
-
convertRadians
|
|
349
|
+
convertRadians (latitude, longitude, elevation, result)
|
|
352
350
|
{
|
|
353
351
|
const
|
|
354
352
|
slat = Math .sin (latitude),
|
|
@@ -361,7 +359,7 @@ Geodetic .prototype =
|
|
|
361
359
|
Nhl * Math .sin (longitude),
|
|
362
360
|
(N * this .c2a2 + elevation) * slat);
|
|
363
361
|
},
|
|
364
|
-
apply
|
|
362
|
+
apply (geocentric, result)
|
|
365
363
|
{
|
|
366
364
|
this .applyRadians (geocentric, result);
|
|
367
365
|
|
|
@@ -381,7 +379,7 @@ Geodetic .prototype =
|
|
|
381
379
|
|
|
382
380
|
return result;
|
|
383
381
|
},
|
|
384
|
-
applyRadians
|
|
382
|
+
applyRadians (geocentric, result)
|
|
385
383
|
{
|
|
386
384
|
const
|
|
387
385
|
x = geocentric .x,
|
|
@@ -423,7 +421,7 @@ Geodetic .prototype =
|
|
|
423
421
|
|
|
424
422
|
return result .set (latitude, longitude, elevation);
|
|
425
423
|
},
|
|
426
|
-
normal
|
|
424
|
+
normal (geocentric, result)
|
|
427
425
|
{
|
|
428
426
|
const geodetic = this .applyRadians (geocentric, result);
|
|
429
427
|
|
|
@@ -441,7 +439,7 @@ Geodetic .prototype =
|
|
|
441
439
|
return result .set (nx, ny, nz);
|
|
442
440
|
},
|
|
443
441
|
/*
|
|
444
|
-
lerp
|
|
442
|
+
lerp (s, d, t)
|
|
445
443
|
{
|
|
446
444
|
var
|
|
447
445
|
source = this .source .assign (s),
|
|
@@ -510,7 +508,7 @@ Geodetic .prototype =
|
|
|
510
508
|
source: new Vector3 (0, 0, 0),
|
|
511
509
|
destination: new Vector3 (0, 0, 0),
|
|
512
510
|
*/
|
|
513
|
-
};
|
|
511
|
+
});
|
|
514
512
|
|
|
515
513
|
const Geodetic_default_ = Geodetic;
|
|
516
514
|
;
|
|
@@ -604,10 +602,9 @@ function UniversalTransverseMercator (spheroid, zone, northernHemisphere, northi
|
|
|
604
602
|
this .geodeticConverter = new Geospatial_Geodetic (spheroid, true, true);
|
|
605
603
|
}
|
|
606
604
|
|
|
607
|
-
UniversalTransverseMercator .prototype
|
|
605
|
+
Object .assign (UniversalTransverseMercator .prototype,
|
|
608
606
|
{
|
|
609
|
-
|
|
610
|
-
convert: function (utm, result)
|
|
607
|
+
convert (utm, result)
|
|
611
608
|
{
|
|
612
609
|
// https://gist.github.com/duedal/840476
|
|
613
610
|
|
|
@@ -670,7 +667,7 @@ UniversalTransverseMercator .prototype =
|
|
|
670
667
|
|
|
671
668
|
return this .geodeticConverter .convertRadians (latitude, longitude, utm .z, result);
|
|
672
669
|
},
|
|
673
|
-
apply
|
|
670
|
+
apply (geocentric, result)
|
|
674
671
|
{
|
|
675
672
|
// https://gist.github.com/duedal/840476
|
|
676
673
|
|
|
@@ -721,7 +718,7 @@ UniversalTransverseMercator .prototype =
|
|
|
721
718
|
|
|
722
719
|
return result .set (northing, easting, geodetic .z);
|
|
723
720
|
},
|
|
724
|
-
};
|
|
721
|
+
});
|
|
725
722
|
|
|
726
723
|
const UniversalTransverseMercator_default_ = UniversalTransverseMercator;
|
|
727
724
|
;
|
|
@@ -780,18 +777,17 @@ Namespace_default().set ("standard/Geospatial/UniversalTransverseMercator", Univ
|
|
|
780
777
|
|
|
781
778
|
function Geocentric () { }
|
|
782
779
|
|
|
783
|
-
Geocentric .prototype
|
|
780
|
+
Object .assign (Geocentric .prototype,
|
|
784
781
|
{
|
|
785
|
-
|
|
786
|
-
convert: function (geocentric, result)
|
|
782
|
+
convert (geocentric, result)
|
|
787
783
|
{
|
|
788
784
|
return result .assign (geocentric);
|
|
789
785
|
},
|
|
790
|
-
apply
|
|
786
|
+
apply (geocentric, result)
|
|
791
787
|
{
|
|
792
788
|
return result .assign (geocentric);
|
|
793
789
|
},
|
|
794
|
-
slerp
|
|
790
|
+
slerp (source, destination, t)
|
|
795
791
|
{
|
|
796
792
|
const
|
|
797
793
|
sourceLength = source .magnitude (),
|
|
@@ -802,7 +798,7 @@ Geocentric .prototype =
|
|
|
802
798
|
|
|
803
799
|
return Algorithm_default().simpleSlerp (source, destination, t) .multiply (Algorithm_default().lerp (sourceLength, destinationLength, t));
|
|
804
800
|
},
|
|
805
|
-
};
|
|
801
|
+
});
|
|
806
802
|
|
|
807
803
|
const Geocentric_default_ = Geocentric;
|
|
808
804
|
;
|
|
@@ -885,7 +881,7 @@ const Geospatial =
|
|
|
885
881
|
GD: GD,
|
|
886
882
|
UTM: UTM,
|
|
887
883
|
GC: GC,
|
|
888
|
-
getReferenceFrame
|
|
884
|
+
getReferenceFrame (geoSystem, radians)
|
|
889
885
|
{
|
|
890
886
|
switch (this .getCoordinateSystem (geoSystem))
|
|
891
887
|
{
|
|
@@ -908,13 +904,13 @@ const Geospatial =
|
|
|
908
904
|
}
|
|
909
905
|
}
|
|
910
906
|
|
|
911
|
-
return new Geospatial_Geodetic (Geospatial_ReferenceEllipsoids.WE, true, radians);
|
|
907
|
+
return new Geospatial_Geodetic (Geospatial_ReferenceEllipsoids .WE, true, radians);
|
|
912
908
|
},
|
|
913
|
-
getElevationFrame
|
|
909
|
+
getElevationFrame (geoSystem, radians)
|
|
914
910
|
{
|
|
915
911
|
return new Geospatial_Geodetic (this .getEllipsoid (geoSystem), true, radians);
|
|
916
912
|
},
|
|
917
|
-
getCoordinateSystem
|
|
913
|
+
getCoordinateSystem (geoSystem)
|
|
918
914
|
{
|
|
919
915
|
for (const gs of geoSystem)
|
|
920
916
|
{
|
|
@@ -926,7 +922,7 @@ const Geospatial =
|
|
|
926
922
|
|
|
927
923
|
return GD;
|
|
928
924
|
},
|
|
929
|
-
getEllipsoid
|
|
925
|
+
getEllipsoid (geoSystem)
|
|
930
926
|
{
|
|
931
927
|
for (const gs of geoSystem)
|
|
932
928
|
{
|
|
@@ -936,9 +932,9 @@ const Geospatial =
|
|
|
936
932
|
return ellipsoid;
|
|
937
933
|
}
|
|
938
934
|
|
|
939
|
-
return Geospatial_ReferenceEllipsoids.WE;
|
|
935
|
+
return Geospatial_ReferenceEllipsoids .WE;
|
|
940
936
|
},
|
|
941
|
-
getEllipsoidString
|
|
937
|
+
getEllipsoidString (geoSystem)
|
|
942
938
|
{
|
|
943
939
|
for (const gs of geoSystem)
|
|
944
940
|
{
|
|
@@ -950,7 +946,7 @@ const Geospatial =
|
|
|
950
946
|
|
|
951
947
|
return "WE";
|
|
952
948
|
},
|
|
953
|
-
isStandardOrder
|
|
949
|
+
isStandardOrder (geoSystem)
|
|
954
950
|
{
|
|
955
951
|
switch (this .getCoordinateSystem (geoSystem))
|
|
956
952
|
{
|
|
@@ -970,7 +966,7 @@ const Geospatial =
|
|
|
970
966
|
|
|
971
967
|
return this .getLatitudeFirst (geoSystem);
|
|
972
968
|
},
|
|
973
|
-
getLatitudeFirst
|
|
969
|
+
getLatitudeFirst (geoSystem)
|
|
974
970
|
{
|
|
975
971
|
for (const gs of geoSystem)
|
|
976
972
|
{
|
|
@@ -980,7 +976,7 @@ const Geospatial =
|
|
|
980
976
|
|
|
981
977
|
return true;
|
|
982
978
|
},
|
|
983
|
-
getNorthingFirst
|
|
979
|
+
getNorthingFirst (geoSystem)
|
|
984
980
|
{
|
|
985
981
|
for (const gs of geoSystem)
|
|
986
982
|
{
|
|
@@ -990,7 +986,7 @@ const Geospatial =
|
|
|
990
986
|
|
|
991
987
|
return true;
|
|
992
988
|
},
|
|
993
|
-
getZone
|
|
989
|
+
getZone (geoSystem)
|
|
994
990
|
{
|
|
995
991
|
for (const gs of geoSystem)
|
|
996
992
|
{
|
|
@@ -1002,7 +998,7 @@ const Geospatial =
|
|
|
1002
998
|
|
|
1003
999
|
return 1;
|
|
1004
1000
|
},
|
|
1005
|
-
getNorthernHemisphere
|
|
1001
|
+
getNorthernHemisphere (geoSystem)
|
|
1006
1002
|
{
|
|
1007
1003
|
for (const gs of geoSystem)
|
|
1008
1004
|
{
|
|
@@ -1020,10 +1016,10 @@ const Geospatial_default_ = Geospatial;
|
|
|
1020
1016
|
Namespace_default().set ("x_ite/Browser/Geospatial/Geospatial", Geospatial_default_);
|
|
1021
1017
|
/* harmony default export */ const Geospatial_Geospatial = (Geospatial_default_);
|
|
1022
1018
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
1023
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1019
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DCast");
|
|
1024
1020
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
1025
1021
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
1026
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1022
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Matrix4");
|
|
1027
1023
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
1028
1024
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/X3DGeospatialObject.js
|
|
1029
1025
|
/*******************************************************************************
|
|
@@ -1097,10 +1093,9 @@ function X3DGeospatialObject (executionContext)
|
|
|
1097
1093
|
this .invOriginMatrix = new (Matrix4_default()) ();
|
|
1098
1094
|
}
|
|
1099
1095
|
|
|
1100
|
-
X3DGeospatialObject .prototype
|
|
1096
|
+
Object .assign (X3DGeospatialObject .prototype,
|
|
1101
1097
|
{
|
|
1102
|
-
|
|
1103
|
-
initialize: function ()
|
|
1098
|
+
initialize ()
|
|
1104
1099
|
{
|
|
1105
1100
|
this ._geoSystem .addInterest ("set_geoSystem__", this);
|
|
1106
1101
|
this ._geoOrigin .addInterest ("set_geoOrigin__", this);
|
|
@@ -1108,14 +1103,14 @@ X3DGeospatialObject .prototype =
|
|
|
1108
1103
|
this .set_geoSystem__ ();
|
|
1109
1104
|
this .set_geoOrigin__ ();
|
|
1110
1105
|
},
|
|
1111
|
-
set_geoSystem__
|
|
1106
|
+
set_geoSystem__ ()
|
|
1112
1107
|
{
|
|
1113
|
-
this .coordinateSystem = Geospatial_Geospatial.getCoordinateSystem (this ._geoSystem);
|
|
1114
|
-
this .referenceFrame = Geospatial_Geospatial.getReferenceFrame (this ._geoSystem, this .radians);
|
|
1115
|
-
this .elevationFrame = Geospatial_Geospatial.getElevationFrame (this ._geoSystem, this .radians);
|
|
1116
|
-
this .standardOrder = Geospatial_Geospatial.isStandardOrder (this ._geoSystem);
|
|
1108
|
+
this .coordinateSystem = Geospatial_Geospatial .getCoordinateSystem (this ._geoSystem);
|
|
1109
|
+
this .referenceFrame = Geospatial_Geospatial .getReferenceFrame (this ._geoSystem, this .radians);
|
|
1110
|
+
this .elevationFrame = Geospatial_Geospatial .getElevationFrame (this ._geoSystem, this .radians);
|
|
1111
|
+
this .standardOrder = Geospatial_Geospatial .isStandardOrder (this ._geoSystem);
|
|
1117
1112
|
},
|
|
1118
|
-
set_geoOrigin__
|
|
1113
|
+
set_geoOrigin__ ()
|
|
1119
1114
|
{
|
|
1120
1115
|
if (this .geoOriginNode)
|
|
1121
1116
|
{
|
|
@@ -1136,7 +1131,7 @@ X3DGeospatialObject .prototype =
|
|
|
1136
1131
|
this .set_origin__ ();
|
|
1137
1132
|
this .set_rotateYUp__ ();
|
|
1138
1133
|
},
|
|
1139
|
-
set_origin__
|
|
1134
|
+
set_origin__ ()
|
|
1140
1135
|
{
|
|
1141
1136
|
if (this .geoOriginNode)
|
|
1142
1137
|
this .geoOriginNode .getOrigin (this .origin);
|
|
@@ -1145,7 +1140,7 @@ X3DGeospatialObject .prototype =
|
|
|
1145
1140
|
|
|
1146
1141
|
this .set_originMatrix__ ();
|
|
1147
1142
|
},
|
|
1148
|
-
set_originMatrix__
|
|
1143
|
+
set_originMatrix__ ()
|
|
1149
1144
|
{
|
|
1150
1145
|
if (this .geoOriginNode)
|
|
1151
1146
|
{
|
|
@@ -1178,7 +1173,7 @@ X3DGeospatialObject .prototype =
|
|
|
1178
1173
|
this .invOriginMatrix .assign (this .originMatrix) .inverse ();
|
|
1179
1174
|
}
|
|
1180
1175
|
},
|
|
1181
|
-
set_rotateYUp__
|
|
1176
|
+
set_rotateYUp__ ()
|
|
1182
1177
|
{
|
|
1183
1178
|
if (this .geoOriginNode && this .geoOriginNode ._rotateYUp .getValue ())
|
|
1184
1179
|
{
|
|
@@ -1195,31 +1190,31 @@ X3DGeospatialObject .prototype =
|
|
|
1195
1190
|
delete this .getLocationMatrix;
|
|
1196
1191
|
}
|
|
1197
1192
|
},
|
|
1198
|
-
getReferenceFrame
|
|
1193
|
+
getReferenceFrame ()
|
|
1199
1194
|
{
|
|
1200
1195
|
return this .referenceFrame;
|
|
1201
1196
|
},
|
|
1202
|
-
getStandardOrder
|
|
1197
|
+
getStandardOrder ()
|
|
1203
1198
|
{
|
|
1204
1199
|
return this .standardOrder;
|
|
1205
1200
|
},
|
|
1206
|
-
getCoord
|
|
1201
|
+
getCoord (geoPoint, result)
|
|
1207
1202
|
{
|
|
1208
1203
|
return this .referenceFrame .convert (geoPoint, result) .subtract (this .origin);
|
|
1209
1204
|
},
|
|
1210
|
-
getGeoCoord
|
|
1205
|
+
getGeoCoord (point, result)
|
|
1211
1206
|
{
|
|
1212
1207
|
return this .referenceFrame .apply (vector .assign (point) .add (this .origin), result);
|
|
1213
1208
|
},
|
|
1214
|
-
getGeoElevation
|
|
1209
|
+
getGeoElevation (point)
|
|
1215
1210
|
{
|
|
1216
1211
|
return this .getGeoCoord (point, result) .z;
|
|
1217
1212
|
},
|
|
1218
|
-
getGeoUpVector
|
|
1213
|
+
getGeoUpVector (point, result)
|
|
1219
1214
|
{
|
|
1220
1215
|
return this .elevationFrame .normal (vector .assign (point) .add (this .origin), result);
|
|
1221
1216
|
},
|
|
1222
|
-
getLocationMatrix
|
|
1217
|
+
getLocationMatrix (geoPoint, result)
|
|
1223
1218
|
{
|
|
1224
1219
|
var
|
|
1225
1220
|
origin = this .origin,
|
|
@@ -1232,8 +1227,8 @@ X3DGeospatialObject .prototype =
|
|
|
1232
1227
|
|
|
1233
1228
|
return locationMatrix;
|
|
1234
1229
|
},
|
|
1235
|
-
dispose
|
|
1236
|
-
};
|
|
1230
|
+
dispose () { },
|
|
1231
|
+
});
|
|
1237
1232
|
|
|
1238
1233
|
function getCoordRotateYUp (geoPoint, result)
|
|
1239
1234
|
{
|
|
@@ -1284,13 +1279,27 @@ function getStandardLocationMatrix (geoPoint, result)
|
|
|
1284
1279
|
t .x, t .y, t .z, 1);
|
|
1285
1280
|
}
|
|
1286
1281
|
|
|
1282
|
+
Object .defineProperties (X3DGeospatialObject,
|
|
1283
|
+
{
|
|
1284
|
+
typeName:
|
|
1285
|
+
{
|
|
1286
|
+
value: "X3DGeospatialObject",
|
|
1287
|
+
enumerable: true,
|
|
1288
|
+
},
|
|
1289
|
+
componentName:
|
|
1290
|
+
{
|
|
1291
|
+
value: "Geospatial",
|
|
1292
|
+
enumerable: true,
|
|
1293
|
+
},
|
|
1294
|
+
});
|
|
1295
|
+
|
|
1287
1296
|
const X3DGeospatialObject_default_ = X3DGeospatialObject;
|
|
1288
1297
|
;
|
|
1289
1298
|
|
|
1290
1299
|
Namespace_default().set ("x_ite/Components/Geospatial/X3DGeospatialObject", X3DGeospatialObject_default_);
|
|
1291
1300
|
/* harmony default export */ const Geospatial_X3DGeospatialObject = (X3DGeospatialObject_default_);
|
|
1292
1301
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
1293
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1302
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Geometry/Triangle3");
|
|
1294
1303
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
1295
1304
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoCoordinate.js
|
|
1296
1305
|
/*******************************************************************************
|
|
@@ -1352,41 +1361,18 @@ var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceOb
|
|
|
1352
1361
|
function GeoCoordinate (executionContext)
|
|
1353
1362
|
{
|
|
1354
1363
|
X3DCoordinateNode_default().call (this, executionContext);
|
|
1355
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
1364
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
1356
1365
|
|
|
1357
1366
|
this .addType ((X3DConstants_default()).GeoCoordinate);
|
|
1358
1367
|
}
|
|
1359
1368
|
|
|
1360
|
-
|
|
1361
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
1369
|
+
Object .assign (Object .setPrototypeOf (GeoCoordinate .prototype, (X3DCoordinateNode_default()).prototype),
|
|
1370
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
1362
1371
|
{
|
|
1363
|
-
|
|
1364
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
1365
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1366
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
1367
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
1368
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "point", new (Fields_default()).MFVec3d ()),
|
|
1369
|
-
]),
|
|
1370
|
-
getTypeName: function ()
|
|
1372
|
+
initialize ()
|
|
1371
1373
|
{
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
getComponentName: function ()
|
|
1375
|
-
{
|
|
1376
|
-
return "Geospatial";
|
|
1377
|
-
},
|
|
1378
|
-
getContainerField: function ()
|
|
1379
|
-
{
|
|
1380
|
-
return "coord";
|
|
1381
|
-
},
|
|
1382
|
-
getSpecificationRange: function ()
|
|
1383
|
-
{
|
|
1384
|
-
return ["3.0", "Infinity"];
|
|
1385
|
-
},
|
|
1386
|
-
initialize: function ()
|
|
1387
|
-
{
|
|
1388
|
-
X3DCoordinateNode_default().prototype.initialize.call (this);
|
|
1389
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
1374
|
+
X3DCoordinateNode_default().prototype .initialize .call (this);
|
|
1375
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
1390
1376
|
},
|
|
1391
1377
|
set1Point: (function ()
|
|
1392
1378
|
{
|
|
@@ -1512,10 +1498,44 @@ GeoCoordinate .prototype = Object .assign (Object .create ((X3DCoordinateNode_de
|
|
|
1512
1498
|
return new (Vector3_default()) (0, 0, 0);
|
|
1513
1499
|
};
|
|
1514
1500
|
})(),
|
|
1515
|
-
dispose
|
|
1501
|
+
dispose ()
|
|
1516
1502
|
{
|
|
1517
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
1518
|
-
X3DCoordinateNode_default().prototype.dispose.call (this);
|
|
1503
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
1504
|
+
X3DCoordinateNode_default().prototype .dispose .call (this);
|
|
1505
|
+
},
|
|
1506
|
+
});
|
|
1507
|
+
|
|
1508
|
+
Object .defineProperties (GeoCoordinate,
|
|
1509
|
+
{
|
|
1510
|
+
typeName:
|
|
1511
|
+
{
|
|
1512
|
+
value: "GeoCoordinate",
|
|
1513
|
+
enumerable: true,
|
|
1514
|
+
},
|
|
1515
|
+
componentName:
|
|
1516
|
+
{
|
|
1517
|
+
value: "Geospatial",
|
|
1518
|
+
enumerable: true,
|
|
1519
|
+
},
|
|
1520
|
+
containerField:
|
|
1521
|
+
{
|
|
1522
|
+
value: "coord",
|
|
1523
|
+
enumerable: true,
|
|
1524
|
+
},
|
|
1525
|
+
specificationRange:
|
|
1526
|
+
{
|
|
1527
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
1528
|
+
enumerable: true,
|
|
1529
|
+
},
|
|
1530
|
+
fieldDefinitions:
|
|
1531
|
+
{
|
|
1532
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
1533
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1534
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
1535
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
1536
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "point", new (Fields_default()).MFVec3d ()),
|
|
1537
|
+
]),
|
|
1538
|
+
enumerable: true,
|
|
1519
1539
|
},
|
|
1520
1540
|
});
|
|
1521
1541
|
|
|
@@ -1525,10 +1545,10 @@ const GeoCoordinate_default_ = GeoCoordinate;
|
|
|
1525
1545
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoCoordinate", GeoCoordinate_default_);
|
|
1526
1546
|
/* harmony default export */ const Geospatial_GeoCoordinate = (GeoCoordinate_default_);
|
|
1527
1547
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1528
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1548
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1529
1549
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1530
1550
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
1531
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1551
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector2");
|
|
1532
1552
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
1533
1553
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoElevationGrid.js
|
|
1534
1554
|
/*******************************************************************************
|
|
@@ -1592,7 +1612,7 @@ var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject
|
|
|
1592
1612
|
function GeoElevationGrid (executionContext)
|
|
1593
1613
|
{
|
|
1594
1614
|
X3DGeometryNode_default().call (this, executionContext);
|
|
1595
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
1615
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
1596
1616
|
|
|
1597
1617
|
this .addType ((X3DConstants_default()).GeoElevationGrid);
|
|
1598
1618
|
|
|
@@ -1604,50 +1624,13 @@ function GeoElevationGrid (executionContext)
|
|
|
1604
1624
|
this .normalNode = null;
|
|
1605
1625
|
}
|
|
1606
1626
|
|
|
1607
|
-
|
|
1608
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
1627
|
+
Object .assign (Object .setPrototypeOf (GeoElevationGrid .prototype, (X3DGeometryNode_default()).prototype),
|
|
1628
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
1609
1629
|
{
|
|
1610
|
-
|
|
1611
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
1612
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1613
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
1614
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
1615
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoGridOrigin", new (Fields_default()).SFVec3d ()),
|
|
1616
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "xDimension", new (Fields_default()).SFInt32 ()),
|
|
1617
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "zDimension", new (Fields_default()).SFInt32 ()),
|
|
1618
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "xSpacing", new (Fields_default()).SFDouble (1)),
|
|
1619
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "zSpacing", new (Fields_default()).SFDouble (1)),
|
|
1620
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "yScale", new (Fields_default()).SFFloat (1)),
|
|
1621
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
|
|
1622
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "ccw", new (Fields_default()).SFBool (true)),
|
|
1623
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "creaseAngle", new (Fields_default()).SFDouble ()),
|
|
1624
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "colorPerVertex", new (Fields_default()).SFBool (true)),
|
|
1625
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "normalPerVertex", new (Fields_default()).SFBool (true)),
|
|
1626
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "color", new (Fields_default()).SFNode ()),
|
|
1627
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
|
|
1628
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
1629
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "height", new (Fields_default()).MFDouble (0, 0)),
|
|
1630
|
-
]),
|
|
1631
|
-
getTypeName: function ()
|
|
1630
|
+
initialize ()
|
|
1632
1631
|
{
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
getComponentName: function ()
|
|
1636
|
-
{
|
|
1637
|
-
return "Geospatial";
|
|
1638
|
-
},
|
|
1639
|
-
getContainerField: function ()
|
|
1640
|
-
{
|
|
1641
|
-
return "geometry";
|
|
1642
|
-
},
|
|
1643
|
-
getSpecificationRange: function ()
|
|
1644
|
-
{
|
|
1645
|
-
return ["3.0", "Infinity"];
|
|
1646
|
-
},
|
|
1647
|
-
initialize: function ()
|
|
1648
|
-
{
|
|
1649
|
-
X3DGeometryNode_default().prototype.initialize.call (this);
|
|
1650
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
1632
|
+
X3DGeometryNode_default().prototype .initialize .call (this);
|
|
1633
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
1651
1634
|
|
|
1652
1635
|
this ._color .addInterest ("set_color__", this);
|
|
1653
1636
|
this ._texCoord .addInterest ("set_texCoord__", this);
|
|
@@ -1657,7 +1640,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1657
1640
|
this .set_texCoord__ ();
|
|
1658
1641
|
this .set_normal__ ();
|
|
1659
1642
|
},
|
|
1660
|
-
set_color__
|
|
1643
|
+
set_color__ ()
|
|
1661
1644
|
{
|
|
1662
1645
|
this .colorNode ?.removeInterest ("requestRebuild", this);
|
|
1663
1646
|
|
|
@@ -1667,7 +1650,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1667
1650
|
|
|
1668
1651
|
this .setTransparent (this .colorNode ?.isTransparent () ?? false);
|
|
1669
1652
|
},
|
|
1670
|
-
set_texCoord__
|
|
1653
|
+
set_texCoord__ ()
|
|
1671
1654
|
{
|
|
1672
1655
|
this .texCoordNode ?.removeInterest ("requestRebuild", this);
|
|
1673
1656
|
|
|
@@ -1677,7 +1660,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1677
1660
|
|
|
1678
1661
|
this .setTextureCoordinate (this .texCoordNode);
|
|
1679
1662
|
},
|
|
1680
|
-
set_normal__
|
|
1663
|
+
set_normal__ ()
|
|
1681
1664
|
{
|
|
1682
1665
|
this .normalNode ?.removeInterest ("requestRebuild", this);
|
|
1683
1666
|
|
|
@@ -1685,26 +1668,26 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1685
1668
|
|
|
1686
1669
|
this .normalNode ?.addInterest ("requestRebuild", this);
|
|
1687
1670
|
},
|
|
1688
|
-
getColor
|
|
1671
|
+
getColor ()
|
|
1689
1672
|
{
|
|
1690
1673
|
return this .colorNode;
|
|
1691
1674
|
},
|
|
1692
|
-
getTexCoord
|
|
1675
|
+
getTexCoord ()
|
|
1693
1676
|
{
|
|
1694
1677
|
return this .texCoordNode;
|
|
1695
1678
|
},
|
|
1696
|
-
getNormal
|
|
1679
|
+
getNormal ()
|
|
1697
1680
|
{
|
|
1698
1681
|
return this .normalNode;
|
|
1699
1682
|
},
|
|
1700
|
-
getHeight
|
|
1683
|
+
getHeight (index)
|
|
1701
1684
|
{
|
|
1702
1685
|
if (index < this ._height .length)
|
|
1703
1686
|
return this ._height [index] * this ._yScale .getValue ();
|
|
1704
1687
|
|
|
1705
1688
|
return 0;
|
|
1706
1689
|
},
|
|
1707
|
-
createTexCoords
|
|
1690
|
+
createTexCoords ()
|
|
1708
1691
|
{
|
|
1709
1692
|
var
|
|
1710
1693
|
texCoords = [ ],
|
|
@@ -1721,7 +1704,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1721
1704
|
|
|
1722
1705
|
return texCoords;
|
|
1723
1706
|
},
|
|
1724
|
-
createNormals
|
|
1707
|
+
createNormals (points, coordIndex, creaseAngle)
|
|
1725
1708
|
{
|
|
1726
1709
|
var
|
|
1727
1710
|
cw = ! this ._ccw .getValue (),
|
|
@@ -1754,7 +1737,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1754
1737
|
|
|
1755
1738
|
return this .refineNormals (normalIndex, normals, this ._creaseAngle .getValue ());
|
|
1756
1739
|
},
|
|
1757
|
-
createCoordIndex
|
|
1740
|
+
createCoordIndex ()
|
|
1758
1741
|
{
|
|
1759
1742
|
// p1 - p4
|
|
1760
1743
|
// | \ |
|
|
@@ -1789,7 +1772,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1789
1772
|
|
|
1790
1773
|
return coordIndex;
|
|
1791
1774
|
},
|
|
1792
|
-
createPoints
|
|
1775
|
+
createPoints ()
|
|
1793
1776
|
{
|
|
1794
1777
|
var
|
|
1795
1778
|
points = [ ],
|
|
@@ -1840,7 +1823,7 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1840
1823
|
|
|
1841
1824
|
return points;
|
|
1842
1825
|
},
|
|
1843
|
-
build
|
|
1826
|
+
build ()
|
|
1844
1827
|
{
|
|
1845
1828
|
if (this ._xDimension .getValue () < 2 || this ._zDimension .getValue () < 2)
|
|
1846
1829
|
return;
|
|
@@ -1941,10 +1924,58 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
|
|
|
1941
1924
|
this .setSolid (this ._solid .getValue ());
|
|
1942
1925
|
this .setCCW (this ._ccw .getValue ());
|
|
1943
1926
|
},
|
|
1944
|
-
dispose
|
|
1927
|
+
dispose ()
|
|
1945
1928
|
{
|
|
1946
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
1947
|
-
X3DGeometryNode_default().prototype.dispose.call (this);
|
|
1929
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
1930
|
+
X3DGeometryNode_default().prototype .dispose .call (this);
|
|
1931
|
+
},
|
|
1932
|
+
});
|
|
1933
|
+
|
|
1934
|
+
Object .defineProperties (GeoElevationGrid,
|
|
1935
|
+
{
|
|
1936
|
+
typeName:
|
|
1937
|
+
{
|
|
1938
|
+
value: "GeoElevationGrid",
|
|
1939
|
+
enumerable: true,
|
|
1940
|
+
},
|
|
1941
|
+
componentName:
|
|
1942
|
+
{
|
|
1943
|
+
value: "Geospatial",
|
|
1944
|
+
enumerable: true,
|
|
1945
|
+
},
|
|
1946
|
+
containerField:
|
|
1947
|
+
{
|
|
1948
|
+
value: "geometry",
|
|
1949
|
+
enumerable: true,
|
|
1950
|
+
},
|
|
1951
|
+
specificationRange:
|
|
1952
|
+
{
|
|
1953
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
1954
|
+
enumerable: true,
|
|
1955
|
+
},
|
|
1956
|
+
fieldDefinitions:
|
|
1957
|
+
{
|
|
1958
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
1959
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1960
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
1961
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
1962
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoGridOrigin", new (Fields_default()).SFVec3d ()),
|
|
1963
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "xDimension", new (Fields_default()).SFInt32 ()),
|
|
1964
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "zDimension", new (Fields_default()).SFInt32 ()),
|
|
1965
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "xSpacing", new (Fields_default()).SFDouble (1)),
|
|
1966
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "zSpacing", new (Fields_default()).SFDouble (1)),
|
|
1967
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "yScale", new (Fields_default()).SFFloat (1)),
|
|
1968
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "solid", new (Fields_default()).SFBool (true)),
|
|
1969
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "ccw", new (Fields_default()).SFBool (true)),
|
|
1970
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "creaseAngle", new (Fields_default()).SFDouble ()),
|
|
1971
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "colorPerVertex", new (Fields_default()).SFBool (true)),
|
|
1972
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "normalPerVertex", new (Fields_default()).SFBool (true)),
|
|
1973
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "color", new (Fields_default()).SFNode ()),
|
|
1974
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
|
|
1975
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
1976
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "height", new (Fields_default()).MFDouble (0, 0)),
|
|
1977
|
+
]),
|
|
1978
|
+
enumerable: true,
|
|
1948
1979
|
},
|
|
1949
1980
|
});
|
|
1950
1981
|
|
|
@@ -1954,22 +1985,22 @@ const GeoElevationGrid_default_ = GeoElevationGrid;
|
|
|
1954
1985
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoElevationGrid", GeoElevationGrid_default_);
|
|
1955
1986
|
/* harmony default export */ const Geospatial_GeoElevationGrid = (GeoElevationGrid_default_);
|
|
1956
1987
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
1957
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1988
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
1958
1989
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
1959
1990
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
1960
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1991
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
1961
1992
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
1962
1993
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
1963
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1994
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Rendering/TraverseType");
|
|
1964
1995
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
1965
1996
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
1966
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1997
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Grouping/Group");
|
|
1967
1998
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
1968
1999
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/Inline\")"
|
|
1969
|
-
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2000
|
+
const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Networking/Inline");
|
|
1970
2001
|
var Inline_default = /*#__PURE__*/__webpack_require__.n(Inline_namespaceObject);
|
|
1971
2002
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1972
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2003
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Geometry/Box3");
|
|
1973
2004
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1974
2005
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLOD.js
|
|
1975
2006
|
/*******************************************************************************
|
|
@@ -2039,7 +2070,7 @@ function GeoLOD (executionContext)
|
|
|
2039
2070
|
{
|
|
2040
2071
|
X3DChildNode_default().call (this, executionContext);
|
|
2041
2072
|
X3DBoundedObject_default().call (this, executionContext);
|
|
2042
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
2073
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
2043
2074
|
|
|
2044
2075
|
this .addType ((X3DConstants_default()).GeoLOD);
|
|
2045
2076
|
|
|
@@ -2058,51 +2089,15 @@ function GeoLOD (executionContext)
|
|
|
2058
2089
|
this .modelViewMatrix = new (Matrix4_default()) ();
|
|
2059
2090
|
}
|
|
2060
2091
|
|
|
2061
|
-
|
|
2092
|
+
Object .assign (Object .setPrototypeOf (GeoLOD .prototype, (X3DChildNode_default()).prototype),
|
|
2062
2093
|
(X3DBoundedObject_default()).prototype,
|
|
2063
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
2094
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
2064
2095
|
{
|
|
2065
|
-
|
|
2066
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
2067
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2068
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
2069
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
2070
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "rootUrl", new (Fields_default()).MFString ()),
|
|
2071
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child1Url", new (Fields_default()).MFString ()),
|
|
2072
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child2Url", new (Fields_default()).MFString ()),
|
|
2073
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child3Url", new (Fields_default()).MFString ()),
|
|
2074
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child4Url", new (Fields_default()).MFString ()),
|
|
2075
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "center", new (Fields_default()).SFVec3d ()),
|
|
2076
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "range", new (Fields_default()).SFFloat (10)),
|
|
2077
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "level_changed", new (Fields_default()).SFInt32 (-1)),
|
|
2078
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
2079
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
2080
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
2081
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
2082
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "rootNode", new (Fields_default()).MFNode ()),
|
|
2083
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "children", new (Fields_default()).MFNode ()),
|
|
2084
|
-
]),
|
|
2085
|
-
getTypeName: function ()
|
|
2096
|
+
initialize ()
|
|
2086
2097
|
{
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
{
|
|
2091
|
-
return "Geospatial";
|
|
2092
|
-
},
|
|
2093
|
-
getContainerField: function ()
|
|
2094
|
-
{
|
|
2095
|
-
return "children";
|
|
2096
|
-
},
|
|
2097
|
-
getSpecificationRange: function ()
|
|
2098
|
-
{
|
|
2099
|
-
return ["3.0", "Infinity"];
|
|
2100
|
-
},
|
|
2101
|
-
initialize: function ()
|
|
2102
|
-
{
|
|
2103
|
-
X3DChildNode_default().prototype.initialize.call (this);
|
|
2104
|
-
X3DBoundedObject_default().prototype.initialize.call (this);
|
|
2105
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
2098
|
+
X3DChildNode_default().prototype .initialize .call (this);
|
|
2099
|
+
X3DBoundedObject_default().prototype .initialize .call (this);
|
|
2100
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
2106
2101
|
|
|
2107
2102
|
this ._rootNode .addFieldInterest (this .rootGroup ._children);
|
|
2108
2103
|
|
|
@@ -2140,7 +2135,7 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2140
2135
|
this .child3Inline .setup ();
|
|
2141
2136
|
this .child4Inline .setup ();
|
|
2142
2137
|
},
|
|
2143
|
-
getBBox
|
|
2138
|
+
getBBox (bbox, shadows)
|
|
2144
2139
|
{
|
|
2145
2140
|
if (this ._bboxSize .getValue () .equals (this .getDefaultBBoxSize ()))
|
|
2146
2141
|
{
|
|
@@ -2174,7 +2169,7 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2174
2169
|
|
|
2175
2170
|
return bbox .set (this ._bboxSize .getValue (), this ._bboxCenter .getValue ());
|
|
2176
2171
|
},
|
|
2177
|
-
set_rootLoadState__
|
|
2172
|
+
set_rootLoadState__ ()
|
|
2178
2173
|
{
|
|
2179
2174
|
if (this ._level_changed .getValue () !== 0)
|
|
2180
2175
|
return;
|
|
@@ -2188,7 +2183,7 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2188
2183
|
this .childrenLoaded = false;
|
|
2189
2184
|
}
|
|
2190
2185
|
},
|
|
2191
|
-
set_childLoadState__
|
|
2186
|
+
set_childLoadState__ ()
|
|
2192
2187
|
{
|
|
2193
2188
|
if (this ._level_changed .getValue () !== 1)
|
|
2194
2189
|
return;
|
|
@@ -2240,21 +2235,21 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2240
2235
|
children .push (rootNodes [i]);
|
|
2241
2236
|
}
|
|
2242
2237
|
},
|
|
2243
|
-
set_childCameraObject__
|
|
2238
|
+
set_childCameraObject__ ()
|
|
2244
2239
|
{
|
|
2245
2240
|
this .setCameraObject (this .child1Inline .isCameraObject () ||
|
|
2246
2241
|
this .child2Inline .isCameraObject () ||
|
|
2247
2242
|
this .child3Inline .isCameraObject () ||
|
|
2248
2243
|
this .child4Inline .isCameraObject ());
|
|
2249
2244
|
},
|
|
2250
|
-
set_childPickableObject__
|
|
2245
|
+
set_childPickableObject__ ()
|
|
2251
2246
|
{
|
|
2252
2247
|
this .setPickableObject (this .child1Inline .isPickableObject () ||
|
|
2253
2248
|
this .child2Inline .isPickableObject () ||
|
|
2254
2249
|
this .child3Inline .isPickableObject () ||
|
|
2255
2250
|
this .child4Inline .isPickableObject ());
|
|
2256
2251
|
},
|
|
2257
|
-
getLevel
|
|
2252
|
+
getLevel (modelViewMatrix)
|
|
2258
2253
|
{
|
|
2259
2254
|
var distance = this .getDistance (modelViewMatrix);
|
|
2260
2255
|
|
|
@@ -2263,13 +2258,13 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2263
2258
|
|
|
2264
2259
|
return 0;
|
|
2265
2260
|
},
|
|
2266
|
-
getDistance
|
|
2261
|
+
getDistance (modelViewMatrix)
|
|
2267
2262
|
{
|
|
2268
2263
|
modelViewMatrix .translate (this .getCoord (this ._center .getValue (), center));
|
|
2269
2264
|
|
|
2270
2265
|
return modelViewMatrix .origin .magnitude ();
|
|
2271
2266
|
},
|
|
2272
|
-
traverse
|
|
2267
|
+
traverse (type, renderObject)
|
|
2273
2268
|
{
|
|
2274
2269
|
switch (type)
|
|
2275
2270
|
{
|
|
@@ -2395,7 +2390,7 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2395
2390
|
}
|
|
2396
2391
|
}
|
|
2397
2392
|
},
|
|
2398
|
-
traverseChildren
|
|
2393
|
+
traverseChildren (type, renderObject)
|
|
2399
2394
|
{
|
|
2400
2395
|
switch (this .childrenLoaded ? this ._level_changed .getValue () : 0)
|
|
2401
2396
|
{
|
|
@@ -2418,11 +2413,58 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
|
|
|
2418
2413
|
}
|
|
2419
2414
|
}
|
|
2420
2415
|
},
|
|
2421
|
-
dispose
|
|
2416
|
+
dispose ()
|
|
2422
2417
|
{
|
|
2423
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
2424
|
-
X3DBoundedObject_default().prototype.dispose.call (this);
|
|
2425
|
-
X3DChildNode_default().prototype.dispose.call (this);
|
|
2418
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
2419
|
+
X3DBoundedObject_default().prototype .dispose .call (this);
|
|
2420
|
+
X3DChildNode_default().prototype .dispose .call (this);
|
|
2421
|
+
},
|
|
2422
|
+
});
|
|
2423
|
+
|
|
2424
|
+
Object .defineProperties (GeoLOD,
|
|
2425
|
+
{
|
|
2426
|
+
typeName:
|
|
2427
|
+
{
|
|
2428
|
+
value: "GeoLOD",
|
|
2429
|
+
enumerable: true,
|
|
2430
|
+
},
|
|
2431
|
+
componentName:
|
|
2432
|
+
{
|
|
2433
|
+
value: "Geospatial",
|
|
2434
|
+
enumerable: true,
|
|
2435
|
+
},
|
|
2436
|
+
containerField:
|
|
2437
|
+
{
|
|
2438
|
+
value: "children",
|
|
2439
|
+
enumerable: true,
|
|
2440
|
+
},
|
|
2441
|
+
specificationRange:
|
|
2442
|
+
{
|
|
2443
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
2444
|
+
enumerable: true,
|
|
2445
|
+
},
|
|
2446
|
+
fieldDefinitions:
|
|
2447
|
+
{
|
|
2448
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
2449
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2450
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
2451
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
2452
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "rootUrl", new (Fields_default()).MFString ()),
|
|
2453
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child1Url", new (Fields_default()).MFString ()),
|
|
2454
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child2Url", new (Fields_default()).MFString ()),
|
|
2455
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child3Url", new (Fields_default()).MFString ()),
|
|
2456
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "child4Url", new (Fields_default()).MFString ()),
|
|
2457
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "center", new (Fields_default()).SFVec3d ()),
|
|
2458
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "range", new (Fields_default()).SFFloat (10)),
|
|
2459
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "level_changed", new (Fields_default()).SFInt32 (-1)),
|
|
2460
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
2461
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
2462
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
2463
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
2464
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "rootNode", new (Fields_default()).MFNode ()),
|
|
2465
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "children", new (Fields_default()).MFNode ()),
|
|
2466
|
+
]),
|
|
2467
|
+
enumerable: true,
|
|
2426
2468
|
},
|
|
2427
2469
|
});
|
|
2428
2470
|
|
|
@@ -2432,7 +2474,7 @@ const GeoLOD_default_ = GeoLOD;
|
|
|
2432
2474
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoLOD", GeoLOD_default_);
|
|
2433
2475
|
/* harmony default export */ const Geospatial_GeoLOD = (GeoLOD_default_);
|
|
2434
2476
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformMatrix3DNode\")"
|
|
2435
|
-
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2477
|
+
const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
|
|
2436
2478
|
var X3DTransformMatrix3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformMatrix3DNode_namespaceObject);
|
|
2437
2479
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLocation.js
|
|
2438
2480
|
/*******************************************************************************
|
|
@@ -2495,61 +2537,72 @@ var locationMatrix = new (Matrix4_default()) ();
|
|
|
2495
2537
|
function GeoLocation (executionContext)
|
|
2496
2538
|
{
|
|
2497
2539
|
X3DTransformMatrix3DNode_default().call (this, executionContext);
|
|
2498
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
2540
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
2499
2541
|
|
|
2500
2542
|
this .addType ((X3DConstants_default()).GeoLocation);
|
|
2501
2543
|
}
|
|
2502
2544
|
|
|
2503
|
-
|
|
2504
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
2545
|
+
Object .assign (Object .setPrototypeOf (GeoLocation .prototype, (X3DTransformMatrix3DNode_default()).prototype),
|
|
2546
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
2505
2547
|
{
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
2517
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
2518
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
2519
|
-
]),
|
|
2520
|
-
getTypeName: function ()
|
|
2548
|
+
initialize ()
|
|
2549
|
+
{
|
|
2550
|
+
X3DTransformMatrix3DNode_default().prototype .initialize .call (this);
|
|
2551
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
2552
|
+
|
|
2553
|
+
this .addInterest ("eventsProcessed", this);
|
|
2554
|
+
|
|
2555
|
+
this .eventsProcessed ();
|
|
2556
|
+
},
|
|
2557
|
+
eventsProcessed ()
|
|
2521
2558
|
{
|
|
2522
|
-
|
|
2559
|
+
this .setMatrix (this .getLocationMatrix (this ._geoCoords .getValue (), locationMatrix));
|
|
2523
2560
|
},
|
|
2524
|
-
|
|
2561
|
+
dispose ()
|
|
2525
2562
|
{
|
|
2526
|
-
|
|
2563
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
2564
|
+
X3DTransformMatrix3DNode_default().prototype .dispose .call (this);
|
|
2527
2565
|
},
|
|
2528
|
-
|
|
2566
|
+
});
|
|
2567
|
+
|
|
2568
|
+
Object .defineProperties (GeoLocation,
|
|
2569
|
+
{
|
|
2570
|
+
typeName:
|
|
2529
2571
|
{
|
|
2530
|
-
|
|
2572
|
+
value: "GeoLocation",
|
|
2573
|
+
enumerable: true,
|
|
2531
2574
|
},
|
|
2532
|
-
|
|
2575
|
+
componentName:
|
|
2533
2576
|
{
|
|
2534
|
-
|
|
2577
|
+
value: "Geospatial",
|
|
2578
|
+
enumerable: true,
|
|
2535
2579
|
},
|
|
2536
|
-
|
|
2580
|
+
containerField:
|
|
2537
2581
|
{
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
this .addInterest ("eventsProcessed", this);
|
|
2542
|
-
|
|
2543
|
-
this .eventsProcessed ();
|
|
2582
|
+
value: "children",
|
|
2583
|
+
enumerable: true,
|
|
2544
2584
|
},
|
|
2545
|
-
|
|
2585
|
+
specificationRange:
|
|
2546
2586
|
{
|
|
2547
|
-
|
|
2587
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
2588
|
+
enumerable: true,
|
|
2548
2589
|
},
|
|
2549
|
-
|
|
2590
|
+
fieldDefinitions:
|
|
2550
2591
|
{
|
|
2551
|
-
|
|
2552
|
-
|
|
2592
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
2593
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2594
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
2595
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geoCoords", new (Fields_default()).SFVec3d ()),
|
|
2596
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
2597
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
2598
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
2599
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
2600
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
2601
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
2602
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
2603
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
2604
|
+
]),
|
|
2605
|
+
enumerable: true,
|
|
2553
2606
|
},
|
|
2554
2607
|
});
|
|
2555
2608
|
|
|
@@ -2559,10 +2612,10 @@ const GeoLocation_default_ = GeoLocation;
|
|
|
2559
2612
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoLocation", GeoLocation_default_);
|
|
2560
2613
|
/* harmony default export */ const Geospatial_GeoLocation = (GeoLocation_default_);
|
|
2561
2614
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
2562
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2615
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
2563
2616
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
2564
2617
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
2565
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2618
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
2566
2619
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
2567
2620
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoMetadata.js
|
|
2568
2621
|
/*******************************************************************************
|
|
@@ -2627,46 +2680,57 @@ function GeoMetadata (executionContext)
|
|
|
2627
2680
|
this .addType ((X3DConstants_default()).GeoMetadata);
|
|
2628
2681
|
}
|
|
2629
2682
|
|
|
2630
|
-
|
|
2683
|
+
Object .assign (Object .setPrototypeOf (GeoMetadata .prototype, (X3DInfoNode_default()).prototype),
|
|
2631
2684
|
(X3DUrlObject_default()).prototype,
|
|
2632
2685
|
{
|
|
2633
|
-
|
|
2634
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
2635
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2636
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "load", new (Fields_default()).SFBool (true)),
|
|
2637
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "url", new (Fields_default()).MFString ()),
|
|
2638
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "autoRefresh", new (Fields_default()).SFTime ()),
|
|
2639
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "autoRefreshTimeLimit", new (Fields_default()).SFTime (3600)),
|
|
2640
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "summary", new (Fields_default()).MFString ()),
|
|
2641
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "data", new (Fields_default()).MFNode ()),
|
|
2642
|
-
]),
|
|
2643
|
-
getTypeName: function ()
|
|
2686
|
+
initialize ()
|
|
2644
2687
|
{
|
|
2645
|
-
|
|
2688
|
+
X3DInfoNode_default().prototype .initialize .call (this);
|
|
2689
|
+
X3DUrlObject_default().prototype .initialize .call (this);
|
|
2646
2690
|
},
|
|
2647
|
-
|
|
2691
|
+
requestImmediateLoad (cache = true)
|
|
2692
|
+
{ },
|
|
2693
|
+
dispose ()
|
|
2648
2694
|
{
|
|
2649
|
-
|
|
2695
|
+
X3DUrlObject_default().prototype .dispose .call (this);
|
|
2696
|
+
X3DInfoNode_default().prototype .dispose .call (this);
|
|
2650
2697
|
},
|
|
2651
|
-
|
|
2698
|
+
});
|
|
2699
|
+
|
|
2700
|
+
Object .defineProperties (GeoMetadata,
|
|
2701
|
+
{
|
|
2702
|
+
typeName:
|
|
2652
2703
|
{
|
|
2653
|
-
|
|
2704
|
+
value: "GeoMetadata",
|
|
2705
|
+
enumerable: true,
|
|
2654
2706
|
},
|
|
2655
|
-
|
|
2707
|
+
componentName:
|
|
2656
2708
|
{
|
|
2657
|
-
|
|
2709
|
+
value: "Geospatial",
|
|
2710
|
+
enumerable: true,
|
|
2658
2711
|
},
|
|
2659
|
-
|
|
2712
|
+
containerField:
|
|
2660
2713
|
{
|
|
2661
|
-
|
|
2662
|
-
|
|
2714
|
+
value: "children",
|
|
2715
|
+
enumerable: true,
|
|
2663
2716
|
},
|
|
2664
|
-
|
|
2665
|
-
{
|
|
2666
|
-
|
|
2717
|
+
specificationRange:
|
|
2718
|
+
{
|
|
2719
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
2720
|
+
enumerable: true,
|
|
2721
|
+
},
|
|
2722
|
+
fieldDefinitions:
|
|
2667
2723
|
{
|
|
2668
|
-
|
|
2669
|
-
|
|
2724
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
2725
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2726
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "load", new (Fields_default()).SFBool (true)),
|
|
2727
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "url", new (Fields_default()).MFString ()),
|
|
2728
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "autoRefresh", new (Fields_default()).SFTime ()),
|
|
2729
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "autoRefreshTimeLimit", new (Fields_default()).SFTime (3600)),
|
|
2730
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "summary", new (Fields_default()).MFString ()),
|
|
2731
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "data", new (Fields_default()).MFNode ()),
|
|
2732
|
+
]),
|
|
2733
|
+
enumerable: true,
|
|
2670
2734
|
},
|
|
2671
2735
|
});
|
|
2672
2736
|
|
|
@@ -2676,7 +2740,7 @@ const GeoMetadata_default_ = GeoMetadata;
|
|
|
2676
2740
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoMetadata", GeoMetadata_default_);
|
|
2677
2741
|
/* harmony default export */ const Geospatial_GeoMetadata = (GeoMetadata_default_);
|
|
2678
2742
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
2679
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2743
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Core/X3DNode");
|
|
2680
2744
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
2681
2745
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoOrigin.js
|
|
2682
2746
|
/*******************************************************************************
|
|
@@ -2742,46 +2806,57 @@ function GeoOrigin (executionContext)
|
|
|
2742
2806
|
this .radians = false;
|
|
2743
2807
|
}
|
|
2744
2808
|
|
|
2745
|
-
|
|
2809
|
+
Object .assign (Object .setPrototypeOf (GeoOrigin .prototype, (X3DNode_default()).prototype),
|
|
2746
2810
|
{
|
|
2747
|
-
|
|
2748
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
2749
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2750
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
2751
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geoCoords", new (Fields_default()).SFVec3d ()),
|
|
2752
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "rotateYUp", new (Fields_default()).SFBool ()),
|
|
2753
|
-
]),
|
|
2754
|
-
getTypeName: function ()
|
|
2811
|
+
initialize ()
|
|
2755
2812
|
{
|
|
2756
|
-
|
|
2813
|
+
X3DNode_default().prototype .initialize .call (this);
|
|
2814
|
+
|
|
2815
|
+
this ._geoSystem .addInterest ("set_geoSystem__", this);
|
|
2816
|
+
|
|
2817
|
+
this .set_geoSystem__ ();
|
|
2757
2818
|
},
|
|
2758
|
-
|
|
2819
|
+
set_geoSystem__ ()
|
|
2759
2820
|
{
|
|
2760
|
-
|
|
2821
|
+
this .referenceFrame = Geospatial_Geospatial .getReferenceFrame (this ._geoSystem, this .radians);
|
|
2761
2822
|
},
|
|
2762
|
-
|
|
2823
|
+
getOrigin (result)
|
|
2763
2824
|
{
|
|
2764
|
-
return
|
|
2825
|
+
return this .referenceFrame .convert (this ._geoCoords .getValue (), result);
|
|
2765
2826
|
},
|
|
2766
|
-
|
|
2827
|
+
});
|
|
2828
|
+
|
|
2829
|
+
Object .defineProperties (GeoOrigin,
|
|
2830
|
+
{
|
|
2831
|
+
typeName:
|
|
2767
2832
|
{
|
|
2768
|
-
|
|
2833
|
+
value: "GeoOrigin",
|
|
2834
|
+
enumerable: true,
|
|
2769
2835
|
},
|
|
2770
|
-
|
|
2836
|
+
componentName:
|
|
2771
2837
|
{
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
this ._geoSystem .addInterest ("set_geoSystem__", this);
|
|
2775
|
-
|
|
2776
|
-
this .set_geoSystem__ ();
|
|
2838
|
+
value: "Geospatial",
|
|
2839
|
+
enumerable: true,
|
|
2777
2840
|
},
|
|
2778
|
-
|
|
2841
|
+
containerField:
|
|
2779
2842
|
{
|
|
2780
|
-
|
|
2843
|
+
value: "geoOrigin",
|
|
2844
|
+
enumerable: true,
|
|
2781
2845
|
},
|
|
2782
|
-
|
|
2846
|
+
specificationRange:
|
|
2783
2847
|
{
|
|
2784
|
-
|
|
2848
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
2849
|
+
enumerable: true,
|
|
2850
|
+
},
|
|
2851
|
+
fieldDefinitions:
|
|
2852
|
+
{
|
|
2853
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
2854
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2855
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
2856
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geoCoords", new (Fields_default()).SFVec3d ()),
|
|
2857
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "rotateYUp", new (Fields_default()).SFBool ()),
|
|
2858
|
+
]),
|
|
2859
|
+
enumerable: true,
|
|
2785
2860
|
},
|
|
2786
2861
|
});
|
|
2787
2862
|
|
|
@@ -2791,7 +2866,7 @@ const GeoOrigin_default_ = GeoOrigin;
|
|
|
2791
2866
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoOrigin", GeoOrigin_default_);
|
|
2792
2867
|
/* harmony default export */ const Geospatial_GeoOrigin = (GeoOrigin_default_);
|
|
2793
2868
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/X3DInterpolatorNode\")"
|
|
2794
|
-
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
2869
|
+
const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
|
|
2795
2870
|
var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpolatorNode_namespaceObject);
|
|
2796
2871
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoPositionInterpolator.js
|
|
2797
2872
|
/*******************************************************************************
|
|
@@ -2853,7 +2928,7 @@ var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpol
|
|
|
2853
2928
|
function GeoPositionInterpolator (executionContext)
|
|
2854
2929
|
{
|
|
2855
2930
|
X3DInterpolatorNode_default().call (this, executionContext);
|
|
2856
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
2931
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
2857
2932
|
|
|
2858
2933
|
this .addType ((X3DConstants_default()).GeoPositionInterpolator);
|
|
2859
2934
|
|
|
@@ -2862,49 +2937,22 @@ function GeoPositionInterpolator (executionContext)
|
|
|
2862
2937
|
this .geocentric = new Geospatial_Geocentric ();
|
|
2863
2938
|
}
|
|
2864
2939
|
|
|
2865
|
-
|
|
2866
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
2940
|
+
Object .assign (Object .setPrototypeOf (GeoPositionInterpolator .prototype, (X3DInterpolatorNode_default()).prototype),
|
|
2941
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
2867
2942
|
{
|
|
2868
|
-
|
|
2869
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
2870
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2871
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
2872
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
2873
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
|
|
2874
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "key", new (Fields_default()).MFFloat ()),
|
|
2875
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "keyValue", new (Fields_default()).MFVec3d ()),
|
|
2876
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFVec3d ()),
|
|
2877
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "geovalue_changed", new (Fields_default()).SFVec3d ()),
|
|
2878
|
-
]),
|
|
2879
|
-
getTypeName: function ()
|
|
2880
|
-
{
|
|
2881
|
-
return "GeoPositionInterpolator";
|
|
2882
|
-
},
|
|
2883
|
-
getComponentName: function ()
|
|
2884
|
-
{
|
|
2885
|
-
return "Geospatial";
|
|
2886
|
-
},
|
|
2887
|
-
getContainerField: function ()
|
|
2888
|
-
{
|
|
2889
|
-
return "children";
|
|
2890
|
-
},
|
|
2891
|
-
getSpecificationRange: function ()
|
|
2943
|
+
setup ()
|
|
2892
2944
|
{
|
|
2893
|
-
|
|
2894
|
-
},
|
|
2895
|
-
setup: function ()
|
|
2896
|
-
{
|
|
2897
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
2945
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
2898
2946
|
|
|
2899
|
-
X3DInterpolatorNode_default().prototype.setup.call (this);
|
|
2947
|
+
X3DInterpolatorNode_default().prototype .setup .call (this);
|
|
2900
2948
|
},
|
|
2901
|
-
initialize
|
|
2949
|
+
initialize ()
|
|
2902
2950
|
{
|
|
2903
|
-
X3DInterpolatorNode_default().prototype.initialize.call (this);
|
|
2951
|
+
X3DInterpolatorNode_default().prototype .initialize .call (this);
|
|
2904
2952
|
|
|
2905
2953
|
this ._keyValue .addInterest ("set_keyValue__", this);
|
|
2906
2954
|
},
|
|
2907
|
-
set_keyValue__
|
|
2955
|
+
set_keyValue__ ()
|
|
2908
2956
|
{
|
|
2909
2957
|
const
|
|
2910
2958
|
key = this ._key,
|
|
@@ -2931,10 +2979,48 @@ GeoPositionInterpolator .prototype = Object .assign (Object .create ((X3DInterpo
|
|
|
2931
2979
|
this ._value_changed = coord;
|
|
2932
2980
|
};
|
|
2933
2981
|
})(),
|
|
2934
|
-
dispose
|
|
2982
|
+
dispose ()
|
|
2983
|
+
{
|
|
2984
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
2985
|
+
X3DInterpolatorNode_default().prototype .dispose .call (this);
|
|
2986
|
+
},
|
|
2987
|
+
});
|
|
2988
|
+
|
|
2989
|
+
Object .defineProperties (GeoPositionInterpolator,
|
|
2990
|
+
{
|
|
2991
|
+
typeName:
|
|
2992
|
+
{
|
|
2993
|
+
value: "GeoPositionInterpolator",
|
|
2994
|
+
enumerable: true,
|
|
2995
|
+
},
|
|
2996
|
+
componentName:
|
|
2997
|
+
{
|
|
2998
|
+
value: "Geospatial",
|
|
2999
|
+
enumerable: true,
|
|
3000
|
+
},
|
|
3001
|
+
containerField:
|
|
3002
|
+
{
|
|
3003
|
+
value: "children",
|
|
3004
|
+
enumerable: true,
|
|
3005
|
+
},
|
|
3006
|
+
specificationRange:
|
|
3007
|
+
{
|
|
3008
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
3009
|
+
enumerable: true,
|
|
3010
|
+
},
|
|
3011
|
+
fieldDefinitions:
|
|
2935
3012
|
{
|
|
2936
|
-
|
|
2937
|
-
|
|
3013
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
3014
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3015
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3016
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3017
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
|
|
3018
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "key", new (Fields_default()).MFFloat ()),
|
|
3019
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "keyValue", new (Fields_default()).MFVec3d ()),
|
|
3020
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFVec3d ()),
|
|
3021
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "geovalue_changed", new (Fields_default()).SFVec3d ()),
|
|
3022
|
+
]),
|
|
3023
|
+
enumerable: true,
|
|
2938
3024
|
},
|
|
2939
3025
|
});
|
|
2940
3026
|
|
|
@@ -2944,10 +3030,10 @@ const GeoPositionInterpolator_default_ = GeoPositionInterpolator;
|
|
|
2944
3030
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoPositionInterpolator", GeoPositionInterpolator_default_);
|
|
2945
3031
|
/* harmony default export */ const Geospatial_GeoPositionInterpolator = (GeoPositionInterpolator_default_);
|
|
2946
3032
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode\")"
|
|
2947
|
-
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3033
|
+
const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
|
|
2948
3034
|
var X3DEnvironmentalSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DEnvironmentalSensorNode_namespaceObject);
|
|
2949
3035
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/ProximitySensor\")"
|
|
2950
|
-
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3036
|
+
const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
|
|
2951
3037
|
var ProximitySensor_default = /*#__PURE__*/__webpack_require__.n(ProximitySensor_namespaceObject);
|
|
2952
3038
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoProximitySensor.js
|
|
2953
3039
|
/*******************************************************************************
|
|
@@ -3011,7 +3097,7 @@ var geoCoord = new (Vector3_default()) (0, 0, 0);
|
|
|
3011
3097
|
function GeoProximitySensor (executionContext)
|
|
3012
3098
|
{
|
|
3013
3099
|
X3DEnvironmentalSensorNode_default().call (this, executionContext);
|
|
3014
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
3100
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
3015
3101
|
|
|
3016
3102
|
this .addType ((X3DConstants_default()).GeoProximitySensor);
|
|
3017
3103
|
|
|
@@ -3024,45 +3110,13 @@ function GeoProximitySensor (executionContext)
|
|
|
3024
3110
|
this .setPickableObject (this .proximitySensor .isPickableObject ());
|
|
3025
3111
|
}
|
|
3026
3112
|
|
|
3027
|
-
|
|
3028
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
3113
|
+
Object .assign (Object .setPrototypeOf (GeoProximitySensor .prototype, (X3DEnvironmentalSensorNode_default()).prototype),
|
|
3114
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
3029
3115
|
{
|
|
3030
|
-
|
|
3031
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
3032
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3033
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3034
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3035
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
|
|
3036
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "size", new (Fields_default()).SFVec3f ()),
|
|
3037
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "center", new (Fields_default()).SFVec3f ()),
|
|
3038
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isActive", new (Fields_default()).SFBool ()),
|
|
3039
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "enterTime", new (Fields_default()).SFTime ()),
|
|
3040
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "exitTime", new (Fields_default()).SFTime ()),
|
|
3041
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "geoCoord_changed", new (Fields_default()).SFVec3d ()),
|
|
3042
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "position_changed", new (Fields_default()).SFVec3f ()),
|
|
3043
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "orientation_changed", new (Fields_default()).SFRotation ()),
|
|
3044
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "centerOfRotation_changed", new (Fields_default()).SFVec3f ()),
|
|
3045
|
-
]),
|
|
3046
|
-
getTypeName: function ()
|
|
3047
|
-
{
|
|
3048
|
-
return "GeoProximitySensor";
|
|
3049
|
-
},
|
|
3050
|
-
getComponentName: function ()
|
|
3051
|
-
{
|
|
3052
|
-
return "Geospatial";
|
|
3053
|
-
},
|
|
3054
|
-
getContainerField: function ()
|
|
3116
|
+
initialize ()
|
|
3055
3117
|
{
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
getSpecificationRange: function ()
|
|
3059
|
-
{
|
|
3060
|
-
return ["3.2", "Infinity"];
|
|
3061
|
-
},
|
|
3062
|
-
initialize: function ()
|
|
3063
|
-
{
|
|
3064
|
-
X3DEnvironmentalSensorNode_default().prototype.initialize.call (this);
|
|
3065
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
3118
|
+
X3DEnvironmentalSensorNode_default().prototype .initialize .call (this);
|
|
3119
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
3066
3120
|
|
|
3067
3121
|
this ._enabled .addFieldInterest (this .proximitySensor ._enabled);
|
|
3068
3122
|
this ._size .addFieldInterest (this .proximitySensor ._size);
|
|
@@ -3086,18 +3140,61 @@ GeoProximitySensor .prototype = Object .assign (Object .create ((X3DEnvironmenta
|
|
|
3086
3140
|
|
|
3087
3141
|
this .proximitySensor .setup ();
|
|
3088
3142
|
},
|
|
3089
|
-
set_position__
|
|
3143
|
+
set_position__ (position)
|
|
3090
3144
|
{
|
|
3091
3145
|
this ._geoCoord_changed = this .getGeoCoord (this .proximitySensor ._position_changed .getValue (), geoCoord);
|
|
3092
3146
|
},
|
|
3093
|
-
traverse
|
|
3147
|
+
traverse (type, renderObject)
|
|
3094
3148
|
{
|
|
3095
3149
|
this .proximitySensor .traverse (type, renderObject);
|
|
3096
3150
|
},
|
|
3097
|
-
dispose
|
|
3151
|
+
dispose ()
|
|
3098
3152
|
{
|
|
3099
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
3100
|
-
X3DEnvironmentalSensorNode_default().prototype.dispose.call (this);
|
|
3153
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
3154
|
+
X3DEnvironmentalSensorNode_default().prototype .dispose .call (this);
|
|
3155
|
+
},
|
|
3156
|
+
});
|
|
3157
|
+
|
|
3158
|
+
Object .defineProperties (GeoProximitySensor,
|
|
3159
|
+
{
|
|
3160
|
+
typeName:
|
|
3161
|
+
{
|
|
3162
|
+
value: "GeoProximitySensor",
|
|
3163
|
+
enumerable: true,
|
|
3164
|
+
},
|
|
3165
|
+
componentName:
|
|
3166
|
+
{
|
|
3167
|
+
value: "Geospatial",
|
|
3168
|
+
enumerable: true,
|
|
3169
|
+
},
|
|
3170
|
+
containerField:
|
|
3171
|
+
{
|
|
3172
|
+
value: "children",
|
|
3173
|
+
enumerable: true,
|
|
3174
|
+
},
|
|
3175
|
+
specificationRange:
|
|
3176
|
+
{
|
|
3177
|
+
value: Object .freeze (["3.2", "Infinity"]),
|
|
3178
|
+
enumerable: true,
|
|
3179
|
+
},
|
|
3180
|
+
fieldDefinitions:
|
|
3181
|
+
{
|
|
3182
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
3183
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3184
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3185
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3186
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
|
|
3187
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "size", new (Fields_default()).SFVec3f ()),
|
|
3188
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "center", new (Fields_default()).SFVec3f ()),
|
|
3189
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isActive", new (Fields_default()).SFBool ()),
|
|
3190
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "enterTime", new (Fields_default()).SFTime ()),
|
|
3191
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "exitTime", new (Fields_default()).SFTime ()),
|
|
3192
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "geoCoord_changed", new (Fields_default()).SFVec3d ()),
|
|
3193
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "position_changed", new (Fields_default()).SFVec3f ()),
|
|
3194
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "orientation_changed", new (Fields_default()).SFRotation ()),
|
|
3195
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "centerOfRotation_changed", new (Fields_default()).SFVec3f ()),
|
|
3196
|
+
]),
|
|
3197
|
+
enumerable: true,
|
|
3101
3198
|
},
|
|
3102
3199
|
});
|
|
3103
3200
|
|
|
@@ -3107,7 +3204,7 @@ const GeoProximitySensor_default_ = GeoProximitySensor;
|
|
|
3107
3204
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoProximitySensor", GeoProximitySensor_default_);
|
|
3108
3205
|
/* harmony default export */ const Geospatial_GeoProximitySensor = (GeoProximitySensor_default_);
|
|
3109
3206
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode\")"
|
|
3110
|
-
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3207
|
+
const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
|
|
3111
3208
|
var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSensorNode_namespaceObject);
|
|
3112
3209
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoTouchSensor.js
|
|
3113
3210
|
/*******************************************************************************
|
|
@@ -3168,51 +3265,20 @@ var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSens
|
|
|
3168
3265
|
function GeoTouchSensor (executionContext)
|
|
3169
3266
|
{
|
|
3170
3267
|
X3DTouchSensorNode_default().call (this, executionContext);
|
|
3171
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
3268
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
3172
3269
|
|
|
3173
3270
|
this .addType ((X3DConstants_default()).GeoTouchSensor);
|
|
3174
3271
|
|
|
3175
3272
|
this ._hitPoint_changed .setUnit ("length");
|
|
3176
3273
|
}
|
|
3177
3274
|
|
|
3178
|
-
|
|
3179
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
3275
|
+
Object .assign (Object .setPrototypeOf (GeoTouchSensor .prototype, (X3DTouchSensorNode_default()).prototype),
|
|
3276
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
3180
3277
|
{
|
|
3181
|
-
|
|
3182
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
3183
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3184
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "description", new (Fields_default()).SFString ()),
|
|
3185
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3186
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3187
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
|
|
3188
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitTexCoord_changed", new (Fields_default()).SFVec2f ()),
|
|
3189
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitNormal_changed", new (Fields_default()).SFVec3f ()),
|
|
3190
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitPoint_changed", new (Fields_default()).SFVec3f ()),
|
|
3191
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitGeoCoord_changed", new (Fields_default()).SFVec3d ()),
|
|
3192
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isOver", new (Fields_default()).SFBool ()),
|
|
3193
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isActive", new (Fields_default()).SFBool ()),
|
|
3194
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "touchTime", new (Fields_default()).SFTime ()),
|
|
3195
|
-
]),
|
|
3196
|
-
getTypeName: function ()
|
|
3197
|
-
{
|
|
3198
|
-
return "GeoTouchSensor";
|
|
3199
|
-
},
|
|
3200
|
-
getComponentName: function ()
|
|
3201
|
-
{
|
|
3202
|
-
return "Geospatial";
|
|
3203
|
-
},
|
|
3204
|
-
getContainerField: function ()
|
|
3205
|
-
{
|
|
3206
|
-
return "children";
|
|
3207
|
-
},
|
|
3208
|
-
getSpecificationRange: function ()
|
|
3209
|
-
{
|
|
3210
|
-
return ["3.0", "Infinity"];
|
|
3211
|
-
},
|
|
3212
|
-
initialize: function ()
|
|
3278
|
+
initialize ()
|
|
3213
3279
|
{
|
|
3214
|
-
X3DTouchSensorNode_default().prototype.initialize.call (this);
|
|
3215
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
3280
|
+
X3DTouchSensorNode_default().prototype .initialize .call (this);
|
|
3281
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
3216
3282
|
},
|
|
3217
3283
|
set_over__: (function ()
|
|
3218
3284
|
{
|
|
@@ -3220,16 +3286,58 @@ GeoTouchSensor .prototype = Object .assign (Object .create ((X3DTouchSensorNode_
|
|
|
3220
3286
|
|
|
3221
3287
|
return function (over, hit, modelViewMatrix, projectionMatrix, viewport)
|
|
3222
3288
|
{
|
|
3223
|
-
X3DTouchSensorNode_default().prototype.set_over__.call (this, over, hit, modelViewMatrix, projectionMatrix, viewport);
|
|
3289
|
+
X3DTouchSensorNode_default().prototype .set_over__ .call (this, over, hit, modelViewMatrix, projectionMatrix, viewport);
|
|
3224
3290
|
|
|
3225
3291
|
if (this ._isOver .getValue ())
|
|
3226
3292
|
this ._hitGeoCoord_changed = this .getGeoCoord (this ._hitPoint_changed .getValue (), geoCoords);
|
|
3227
3293
|
};
|
|
3228
3294
|
})(),
|
|
3229
|
-
dispose
|
|
3295
|
+
dispose ()
|
|
3230
3296
|
{
|
|
3231
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
3232
|
-
X3DTouchSensorNode_default().prototype.dispose.call (this);
|
|
3297
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
3298
|
+
X3DTouchSensorNode_default().prototype .dispose .call (this);
|
|
3299
|
+
},
|
|
3300
|
+
});
|
|
3301
|
+
|
|
3302
|
+
Object .defineProperties (GeoTouchSensor,
|
|
3303
|
+
{
|
|
3304
|
+
typeName:
|
|
3305
|
+
{
|
|
3306
|
+
value: "GeoTouchSensor",
|
|
3307
|
+
enumerable: true,
|
|
3308
|
+
},
|
|
3309
|
+
componentName:
|
|
3310
|
+
{
|
|
3311
|
+
value: "Geospatial",
|
|
3312
|
+
enumerable: true,
|
|
3313
|
+
},
|
|
3314
|
+
containerField:
|
|
3315
|
+
{
|
|
3316
|
+
value: "children",
|
|
3317
|
+
enumerable: true,
|
|
3318
|
+
},
|
|
3319
|
+
specificationRange:
|
|
3320
|
+
{
|
|
3321
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
3322
|
+
enumerable: true,
|
|
3323
|
+
},
|
|
3324
|
+
fieldDefinitions:
|
|
3325
|
+
{
|
|
3326
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
3327
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3328
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "description", new (Fields_default()).SFString ()),
|
|
3329
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3330
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3331
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "enabled", new (Fields_default()).SFBool (true)),
|
|
3332
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitTexCoord_changed", new (Fields_default()).SFVec2f ()),
|
|
3333
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitNormal_changed", new (Fields_default()).SFVec3f ()),
|
|
3334
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitPoint_changed", new (Fields_default()).SFVec3f ()),
|
|
3335
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "hitGeoCoord_changed", new (Fields_default()).SFVec3d ()),
|
|
3336
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isOver", new (Fields_default()).SFBool ()),
|
|
3337
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isActive", new (Fields_default()).SFBool ()),
|
|
3338
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "touchTime", new (Fields_default()).SFTime ()),
|
|
3339
|
+
]),
|
|
3340
|
+
enumerable: true,
|
|
3233
3341
|
},
|
|
3234
3342
|
});
|
|
3235
3343
|
|
|
@@ -3301,60 +3409,26 @@ var
|
|
|
3301
3409
|
function GeoTransform (executionContext)
|
|
3302
3410
|
{
|
|
3303
3411
|
X3DTransformMatrix3DNode_default().call (this, executionContext);
|
|
3304
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
3412
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
3305
3413
|
|
|
3306
3414
|
this .addType ((X3DConstants_default()).GeoTransform);
|
|
3307
3415
|
|
|
3308
3416
|
this ._translation .setUnit ("length");
|
|
3309
3417
|
}
|
|
3310
3418
|
|
|
3311
|
-
|
|
3312
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
3419
|
+
Object .assign (Object .setPrototypeOf (GeoTransform .prototype, (X3DTransformMatrix3DNode_default()).prototype),
|
|
3420
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
3313
3421
|
{
|
|
3314
|
-
|
|
3315
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
3316
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3317
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "translation", new (Fields_default()).SFVec3f ()),
|
|
3318
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "rotation", new (Fields_default()).SFRotation ()),
|
|
3319
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scale", new (Fields_default()).SFVec3f (1, 1, 1)),
|
|
3320
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scaleOrientation", new (Fields_default()).SFRotation ()),
|
|
3321
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3322
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3323
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geoCenter", new (Fields_default()).SFVec3d ()),
|
|
3324
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
3325
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
3326
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
3327
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
3328
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
3329
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
3330
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
3331
|
-
]),
|
|
3332
|
-
getTypeName: function ()
|
|
3333
|
-
{
|
|
3334
|
-
return "GeoTransform";
|
|
3335
|
-
},
|
|
3336
|
-
getComponentName: function ()
|
|
3337
|
-
{
|
|
3338
|
-
return "Geospatial";
|
|
3339
|
-
},
|
|
3340
|
-
getContainerField: function ()
|
|
3341
|
-
{
|
|
3342
|
-
return "children";
|
|
3343
|
-
},
|
|
3344
|
-
getSpecificationRange: function ()
|
|
3345
|
-
{
|
|
3346
|
-
return ["3.0", "Infinity"];
|
|
3347
|
-
},
|
|
3348
|
-
initialize: function ()
|
|
3422
|
+
initialize ()
|
|
3349
3423
|
{
|
|
3350
|
-
X3DTransformMatrix3DNode_default().prototype.initialize.call (this);
|
|
3351
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
3424
|
+
X3DTransformMatrix3DNode_default().prototype .initialize .call (this);
|
|
3425
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
3352
3426
|
|
|
3353
3427
|
this .addInterest ("eventsProcessed", this);
|
|
3354
3428
|
|
|
3355
3429
|
this .eventsProcessed ();
|
|
3356
3430
|
},
|
|
3357
|
-
eventsProcessed
|
|
3431
|
+
eventsProcessed ()
|
|
3358
3432
|
{
|
|
3359
3433
|
this .getLocationMatrix (this ._geoCenter .getValue (), GeoTransform_locationMatrix);
|
|
3360
3434
|
|
|
@@ -3365,10 +3439,55 @@ GeoTransform .prototype = Object .assign (Object .create ((X3DTransformMatrix3DN
|
|
|
3365
3439
|
|
|
3366
3440
|
this .setMatrix (matrix .multRight (GeoTransform_locationMatrix) .multLeft (GeoTransform_locationMatrix .inverse ()));
|
|
3367
3441
|
},
|
|
3368
|
-
dispose
|
|
3442
|
+
dispose ()
|
|
3369
3443
|
{
|
|
3370
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
3371
|
-
X3DTransformMatrix3DNode_default().prototype.dispose.call (this);
|
|
3444
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
3445
|
+
X3DTransformMatrix3DNode_default().prototype .dispose .call (this);
|
|
3446
|
+
},
|
|
3447
|
+
});
|
|
3448
|
+
|
|
3449
|
+
Object .defineProperties (GeoTransform,
|
|
3450
|
+
{
|
|
3451
|
+
typeName:
|
|
3452
|
+
{
|
|
3453
|
+
value: "GeoTransform",
|
|
3454
|
+
enumerable: true,
|
|
3455
|
+
},
|
|
3456
|
+
componentName:
|
|
3457
|
+
{
|
|
3458
|
+
value: "Geospatial",
|
|
3459
|
+
enumerable: true,
|
|
3460
|
+
},
|
|
3461
|
+
containerField:
|
|
3462
|
+
{
|
|
3463
|
+
value: "children",
|
|
3464
|
+
enumerable: true,
|
|
3465
|
+
},
|
|
3466
|
+
specificationRange:
|
|
3467
|
+
{
|
|
3468
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
3469
|
+
enumerable: true,
|
|
3470
|
+
},
|
|
3471
|
+
fieldDefinitions:
|
|
3472
|
+
{
|
|
3473
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
3474
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3475
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "translation", new (Fields_default()).SFVec3f ()),
|
|
3476
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "rotation", new (Fields_default()).SFRotation ()),
|
|
3477
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scale", new (Fields_default()).SFVec3f (1, 1, 1)),
|
|
3478
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scaleOrientation", new (Fields_default()).SFRotation ()),
|
|
3479
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3480
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3481
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "geoCenter", new (Fields_default()).SFVec3d ()),
|
|
3482
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
3483
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
3484
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
3485
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
3486
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
3487
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
3488
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
3489
|
+
]),
|
|
3490
|
+
enumerable: true,
|
|
3372
3491
|
},
|
|
3373
3492
|
});
|
|
3374
3493
|
|
|
@@ -3378,16 +3497,16 @@ const GeoTransform_default_ = GeoTransform;
|
|
|
3378
3497
|
Namespace_default().set ("x_ite/Components/Geospatial/GeoTransform", GeoTransform_default_);
|
|
3379
3498
|
/* harmony default export */ const Geospatial_GeoTransform = (GeoTransform_default_);
|
|
3380
3499
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/X3DViewpointNode\")"
|
|
3381
|
-
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3500
|
+
const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
|
|
3382
3501
|
var X3DViewpointNode_default = /*#__PURE__*/__webpack_require__.n(X3DViewpointNode_namespaceObject);
|
|
3383
3502
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
3384
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3503
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
3385
3504
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
3386
3505
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/NavigationInfo\")"
|
|
3387
|
-
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3506
|
+
const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Navigation/NavigationInfo");
|
|
3388
3507
|
var NavigationInfo_default = /*#__PURE__*/__webpack_require__.n(NavigationInfo_namespaceObject);
|
|
3389
3508
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3390
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
3509
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Rotation4");
|
|
3391
3510
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3392
3511
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoViewpoint.js
|
|
3393
3512
|
/*******************************************************************************
|
|
@@ -3452,7 +3571,7 @@ var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceOb
|
|
|
3452
3571
|
function GeoViewpoint (executionContext)
|
|
3453
3572
|
{
|
|
3454
3573
|
X3DViewpointNode_default().call (this, executionContext);
|
|
3455
|
-
Geospatial_X3DGeospatialObject.call (this, executionContext);
|
|
3574
|
+
Geospatial_X3DGeospatialObject .call (this, executionContext);
|
|
3456
3575
|
|
|
3457
3576
|
this .addType ((X3DConstants_default()).GeoViewpoint);
|
|
3458
3577
|
|
|
@@ -3467,52 +3586,13 @@ function GeoViewpoint (executionContext)
|
|
|
3467
3586
|
this .elevation = 0;
|
|
3468
3587
|
}
|
|
3469
3588
|
|
|
3470
|
-
|
|
3471
|
-
Geospatial_X3DGeospatialObject.prototype,
|
|
3589
|
+
Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, (X3DViewpointNode_default()).prototype),
|
|
3590
|
+
Geospatial_X3DGeospatialObject .prototype,
|
|
3472
3591
|
{
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3478
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_bind", new (Fields_default()).SFBool ()),
|
|
3479
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "description", new (Fields_default()).SFString ()),
|
|
3480
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3d (0, 0, 100000)),
|
|
3481
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "orientation", new (Fields_default()).SFRotation ()),
|
|
3482
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "centerOfRotation", new (Fields_default()).SFVec3d ()),
|
|
3483
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "fieldOfView", new (Fields_default()).SFFloat (0.7854)),
|
|
3484
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "nearDistance", new (Fields_default()).SFFloat (-1)),
|
|
3485
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "farDistance", new (Fields_default()).SFFloat (-1)),
|
|
3486
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "viewAll", new (Fields_default()).SFBool ()),
|
|
3487
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "jump", new (Fields_default()).SFBool (true)),
|
|
3488
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "retainUserOffsets", new (Fields_default()).SFBool ()),
|
|
3489
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "navType", new (Fields_default()).MFString ("EXAMINE", "ANY")),
|
|
3490
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "headlight", new (Fields_default()).SFBool (true)),
|
|
3491
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "speedFactor", new (Fields_default()).SFFloat (1)),
|
|
3492
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isBound", new (Fields_default()).SFBool ()),
|
|
3493
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "bindTime", new (Fields_default()).SFTime ()),
|
|
3494
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "navigationInfo", new (Fields_default()).SFNode ()),
|
|
3495
|
-
]),
|
|
3496
|
-
getTypeName: function ()
|
|
3497
|
-
{
|
|
3498
|
-
return "GeoViewpoint";
|
|
3499
|
-
},
|
|
3500
|
-
getComponentName: function ()
|
|
3501
|
-
{
|
|
3502
|
-
return "Geospatial";
|
|
3503
|
-
},
|
|
3504
|
-
getContainerField: function ()
|
|
3505
|
-
{
|
|
3506
|
-
return "children";
|
|
3507
|
-
},
|
|
3508
|
-
getSpecificationRange: function ()
|
|
3509
|
-
{
|
|
3510
|
-
return ["3.0", "Infinity"];
|
|
3511
|
-
},
|
|
3512
|
-
initialize: function ()
|
|
3513
|
-
{
|
|
3514
|
-
X3DViewpointNode_default().prototype.initialize.call (this);
|
|
3515
|
-
Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
|
|
3592
|
+
initialize ()
|
|
3593
|
+
{
|
|
3594
|
+
X3DViewpointNode_default().prototype .initialize .call (this);
|
|
3595
|
+
Geospatial_X3DGeospatialObject .prototype .initialize .call (this);
|
|
3516
3596
|
|
|
3517
3597
|
// Logarithmic depth buffer support
|
|
3518
3598
|
|
|
@@ -3531,14 +3611,14 @@ GeoViewpoint .prototype = Object .assign (Object .create ((X3DViewpointNode_defa
|
|
|
3531
3611
|
|
|
3532
3612
|
this .set_position__ ();
|
|
3533
3613
|
},
|
|
3534
|
-
getRelativeTransformation: (Viewpoint_default()).prototype.getRelativeTransformation,
|
|
3535
|
-
setInterpolators: (Viewpoint_default()).prototype.setInterpolators,
|
|
3536
|
-
getFieldOfView: (Viewpoint_default()).prototype.getFieldOfView,
|
|
3537
|
-
getScreenScale: (Viewpoint_default()).prototype.getScreenScale,
|
|
3538
|
-
getViewportSize: (Viewpoint_default()).prototype.getViewportSize,
|
|
3539
|
-
getLookAtDistance: (Viewpoint_default()).prototype.getLookAtDistance,
|
|
3540
|
-
getProjectionMatrixWithLimits: (Viewpoint_default()).prototype.getProjectionMatrixWithLimits,
|
|
3541
|
-
getLogarithmicDepthBuffer
|
|
3614
|
+
getRelativeTransformation: (Viewpoint_default()).prototype .getRelativeTransformation,
|
|
3615
|
+
setInterpolators: (Viewpoint_default()).prototype .setInterpolators,
|
|
3616
|
+
getFieldOfView: (Viewpoint_default()).prototype .getFieldOfView,
|
|
3617
|
+
getScreenScale: (Viewpoint_default()).prototype .getScreenScale,
|
|
3618
|
+
getViewportSize: (Viewpoint_default()).prototype .getViewportSize,
|
|
3619
|
+
getLookAtDistance: (Viewpoint_default()).prototype .getLookAtDistance,
|
|
3620
|
+
getProjectionMatrixWithLimits: (Viewpoint_default()).prototype .getProjectionMatrixWithLimits,
|
|
3621
|
+
getLogarithmicDepthBuffer ()
|
|
3542
3622
|
{
|
|
3543
3623
|
return this .logarithmicDepthBuffer;
|
|
3544
3624
|
},
|
|
@@ -3614,7 +3694,7 @@ GeoViewpoint .prototype = Object .assign (Object .create ((X3DViewpointNode_defa
|
|
|
3614
3694
|
return this .getCoord (this ._centerOfRotation .getValue (), centerOfRotation);
|
|
3615
3695
|
};
|
|
3616
3696
|
})(),
|
|
3617
|
-
getMaxFarValue
|
|
3697
|
+
getMaxFarValue ()
|
|
3618
3698
|
{
|
|
3619
3699
|
return 1e9;
|
|
3620
3700
|
},
|
|
@@ -3638,24 +3718,74 @@ GeoViewpoint .prototype = Object .assign (Object .create ((X3DViewpointNode_defa
|
|
|
3638
3718
|
}
|
|
3639
3719
|
};
|
|
3640
3720
|
})(),
|
|
3641
|
-
getSpeedFactor
|
|
3721
|
+
getSpeedFactor ()
|
|
3642
3722
|
{
|
|
3643
3723
|
return (Math .max (this .elevation, 0.0) + 10) / 10 * this ._speedFactor .getValue ();
|
|
3644
3724
|
},
|
|
3645
|
-
dispose
|
|
3725
|
+
dispose ()
|
|
3646
3726
|
{
|
|
3647
|
-
Geospatial_X3DGeospatialObject.prototype.dispose.call (this);
|
|
3648
|
-
X3DViewpointNode_default().prototype.dispose.call (this);
|
|
3727
|
+
Geospatial_X3DGeospatialObject .prototype .dispose .call (this);
|
|
3728
|
+
X3DViewpointNode_default().prototype .dispose .call (this);
|
|
3649
3729
|
},
|
|
3650
3730
|
});
|
|
3651
3731
|
|
|
3652
3732
|
function traverse (type, renderObject)
|
|
3653
3733
|
{
|
|
3654
|
-
X3DViewpointNode_default().prototype.traverse.call (this, type, renderObject);
|
|
3734
|
+
X3DViewpointNode_default().prototype .traverse .call (this, type, renderObject);
|
|
3655
3735
|
|
|
3656
3736
|
this .geoNavigationInfoNode .traverse (type, renderObject);
|
|
3657
3737
|
}
|
|
3658
3738
|
|
|
3739
|
+
Object .defineProperties (GeoViewpoint,
|
|
3740
|
+
{
|
|
3741
|
+
typeName:
|
|
3742
|
+
{
|
|
3743
|
+
value: "GeoViewpoint",
|
|
3744
|
+
enumerable: true,
|
|
3745
|
+
},
|
|
3746
|
+
componentName:
|
|
3747
|
+
{
|
|
3748
|
+
value: "Geospatial",
|
|
3749
|
+
enumerable: true,
|
|
3750
|
+
},
|
|
3751
|
+
containerField:
|
|
3752
|
+
{
|
|
3753
|
+
value: "children",
|
|
3754
|
+
enumerable: true,
|
|
3755
|
+
},
|
|
3756
|
+
specificationRange:
|
|
3757
|
+
{
|
|
3758
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
3759
|
+
enumerable: true,
|
|
3760
|
+
},
|
|
3761
|
+
fieldDefinitions:
|
|
3762
|
+
{
|
|
3763
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
3764
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
3765
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoOrigin", new (Fields_default()).SFNode ()),
|
|
3766
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "geoSystem", new (Fields_default()).MFString ("GD", "WE")),
|
|
3767
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_bind", new (Fields_default()).SFBool ()),
|
|
3768
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "description", new (Fields_default()).SFString ()),
|
|
3769
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "position", new (Fields_default()).SFVec3d (0, 0, 100000)),
|
|
3770
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "orientation", new (Fields_default()).SFRotation ()),
|
|
3771
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "centerOfRotation", new (Fields_default()).SFVec3d ()),
|
|
3772
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "fieldOfView", new (Fields_default()).SFFloat (0.7854)),
|
|
3773
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "nearDistance", new (Fields_default()).SFFloat (-1)),
|
|
3774
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "farDistance", new (Fields_default()).SFFloat (-1)),
|
|
3775
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "viewAll", new (Fields_default()).SFBool ()),
|
|
3776
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "jump", new (Fields_default()).SFBool (true)),
|
|
3777
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "retainUserOffsets", new (Fields_default()).SFBool ()),
|
|
3778
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "navType", new (Fields_default()).MFString ("EXAMINE", "ANY")),
|
|
3779
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "headlight", new (Fields_default()).SFBool (true)),
|
|
3780
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "speedFactor", new (Fields_default()).SFFloat (1)),
|
|
3781
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "isBound", new (Fields_default()).SFBool ()),
|
|
3782
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "bindTime", new (Fields_default()).SFTime ()),
|
|
3783
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "navigationInfo", new (Fields_default()).SFNode ()),
|
|
3784
|
+
]),
|
|
3785
|
+
enumerable: true,
|
|
3786
|
+
},
|
|
3787
|
+
});
|
|
3788
|
+
|
|
3659
3789
|
const GeoViewpoint_default_ = GeoViewpoint;
|
|
3660
3790
|
;
|
|
3661
3791
|
|
|
@@ -3723,26 +3853,26 @@ Namespace_default().set ("x_ite/Components/Geospatial/GeoViewpoint", GeoViewpoin
|
|
|
3723
3853
|
|
|
3724
3854
|
|
|
3725
3855
|
|
|
3726
|
-
Components_default().
|
|
3856
|
+
Components_default().add ({
|
|
3727
3857
|
name: "Geospatial",
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3858
|
+
concreteNodes:
|
|
3859
|
+
[
|
|
3860
|
+
Geospatial_GeoCoordinate,
|
|
3861
|
+
Geospatial_GeoElevationGrid,
|
|
3862
|
+
Geospatial_GeoLOD,
|
|
3863
|
+
Geospatial_GeoLocation,
|
|
3864
|
+
Geospatial_GeoMetadata,
|
|
3865
|
+
Geospatial_GeoOrigin,
|
|
3866
|
+
Geospatial_GeoPositionInterpolator,
|
|
3867
|
+
Geospatial_GeoProximitySensor,
|
|
3868
|
+
Geospatial_GeoTouchSensor,
|
|
3869
|
+
Geospatial_GeoTransform,
|
|
3870
|
+
Geospatial_GeoViewpoint,
|
|
3871
|
+
],
|
|
3872
|
+
abstractNodes:
|
|
3873
|
+
[
|
|
3874
|
+
Geospatial_X3DGeospatialObject,
|
|
3875
|
+
],
|
|
3746
3876
|
});
|
|
3747
3877
|
|
|
3748
3878
|
const components_Geospatial_default_ = undefined;
|