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,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.8.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 355:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-8.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,22 +73,22 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/TextureProperties\")"
|
|
79
|
-
const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
79
|
+
const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Texturing/TextureProperties");
|
|
80
80
|
var TextureProperties_default = /*#__PURE__*/__webpack_require__.n(TextureProperties_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
82
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
82
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector3");
|
|
83
83
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
85
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
85
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Matrix4");
|
|
86
86
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
|
|
88
|
-
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
88
|
+
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Geometry/ViewVolume");
|
|
89
89
|
var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
91
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
91
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Namespace");
|
|
92
92
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/X3DLayoutContext.js
|
|
94
94
|
/*******************************************************************************
|
|
@@ -149,9 +149,9 @@ const
|
|
|
149
149
|
function X3DLayoutContext ()
|
|
150
150
|
{ }
|
|
151
151
|
|
|
152
|
-
X3DLayoutContext .prototype
|
|
152
|
+
Object .assign (X3DLayoutContext .prototype,
|
|
153
153
|
{
|
|
154
|
-
getScreenTextureProperties
|
|
154
|
+
getScreenTextureProperties ()
|
|
155
155
|
{
|
|
156
156
|
this [_screenTextureProperties] = new (TextureProperties_default()) (this .getPrivateScene ());
|
|
157
157
|
|
|
@@ -219,7 +219,7 @@ X3DLayoutContext .prototype =
|
|
|
219
219
|
matrix .assign (modelViewMatrix) .inverse () .multLeft (screenMatrix);
|
|
220
220
|
};
|
|
221
221
|
})(),
|
|
222
|
-
};
|
|
222
|
+
});
|
|
223
223
|
|
|
224
224
|
const __default__ = X3DLayoutContext;
|
|
225
225
|
;
|
|
@@ -227,19 +227,19 @@ const __default__ = X3DLayoutContext;
|
|
|
227
227
|
Namespace_default().set ("x_ite/Browser/Layout/X3DLayoutContext", __default__);
|
|
228
228
|
/* harmony default export */ const Layout_X3DLayoutContext = (__default__);
|
|
229
229
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
230
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
230
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Fields");
|
|
231
231
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
232
232
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
233
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
233
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
234
234
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
235
235
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
236
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
236
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
237
237
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
238
238
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
239
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
239
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
240
240
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
241
241
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
242
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
242
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DConstants");
|
|
243
243
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
244
244
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/X3DLayoutNode.js
|
|
245
245
|
/*******************************************************************************
|
|
@@ -299,9 +299,20 @@ function X3DLayoutNode (executionContext)
|
|
|
299
299
|
this .addType ((X3DConstants_default()).X3DLayoutNode);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
|
|
302
|
+
Object .setPrototypeOf (X3DLayoutNode .prototype, (X3DChildNode_default()).prototype);
|
|
303
|
+
|
|
304
|
+
Object .defineProperties (X3DLayoutNode,
|
|
303
305
|
{
|
|
304
|
-
|
|
306
|
+
typeName:
|
|
307
|
+
{
|
|
308
|
+
value: "X3DLayoutNode",
|
|
309
|
+
enumerable: true,
|
|
310
|
+
},
|
|
311
|
+
componentName:
|
|
312
|
+
{
|
|
313
|
+
value: "Layout",
|
|
314
|
+
enumerable: true,
|
|
315
|
+
},
|
|
305
316
|
});
|
|
306
317
|
|
|
307
318
|
const X3DLayoutNode_default_ = X3DLayoutNode;
|
|
@@ -310,13 +321,13 @@ const X3DLayoutNode_default_ = X3DLayoutNode;
|
|
|
310
321
|
Namespace_default().set ("x_ite/Components/Layout/X3DLayoutNode", X3DLayoutNode_default_);
|
|
311
322
|
/* harmony default export */ const Layout_X3DLayoutNode = (X3DLayoutNode_default_);
|
|
312
323
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
313
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
324
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Base/X3DCast");
|
|
314
325
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
315
326
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
316
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
327
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Vector2");
|
|
317
328
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
318
329
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
319
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
330
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Numbers/Rotation4");
|
|
320
331
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
321
332
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/Layout.js
|
|
322
333
|
/*******************************************************************************
|
|
@@ -393,7 +404,7 @@ const
|
|
|
393
404
|
|
|
394
405
|
function Layout (executionContext)
|
|
395
406
|
{
|
|
396
|
-
Layout_X3DLayoutNode.call (this, executionContext);
|
|
407
|
+
Layout_X3DLayoutNode .call (this, executionContext);
|
|
397
408
|
|
|
398
409
|
this .addType ((X3DConstants_default()).Layout);
|
|
399
410
|
|
|
@@ -415,9 +426,8 @@ function Layout (executionContext)
|
|
|
415
426
|
this .matrix = new (Matrix4_default()) ();
|
|
416
427
|
}
|
|
417
428
|
|
|
418
|
-
|
|
429
|
+
Object .assign (Object .setPrototypeOf (Layout .prototype, Layout_X3DLayoutNode .prototype),
|
|
419
430
|
{
|
|
420
|
-
constructor: Layout,
|
|
421
431
|
viewportPixel: new (Vector2_default()) (0, 0),
|
|
422
432
|
pixelSize: new (Vector2_default()) (0, 0),
|
|
423
433
|
translation: new (Vector3_default()) (0, 0, 0),
|
|
@@ -427,34 +437,9 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
427
437
|
currentRotation: new (Rotation4_default()) (),
|
|
428
438
|
currentScale: new (Vector3_default()) (0, 0, 0),
|
|
429
439
|
modelViewMatrix: new (Matrix4_default()) (),
|
|
430
|
-
|
|
431
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
432
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "align", new (Fields_default()).MFString ("CENTER", "CENTER")),
|
|
433
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "offsetUnits", new (Fields_default()).MFString ("WORLD", "WORLD")),
|
|
434
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "offset", new (Fields_default()).MFFloat (0, 0)),
|
|
435
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "sizeUnits", new (Fields_default()).MFString ("WORLD", "WORLD")),
|
|
436
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "size", new (Fields_default()).MFFloat (1, 1)),
|
|
437
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scaleMode", new (Fields_default()).MFString ("NONE", "NONE")),
|
|
438
|
-
]),
|
|
439
|
-
getTypeName: function ()
|
|
440
|
-
{
|
|
441
|
-
return "Layout";
|
|
442
|
-
},
|
|
443
|
-
getComponentName: function ()
|
|
444
|
-
{
|
|
445
|
-
return "Layout";
|
|
446
|
-
},
|
|
447
|
-
getContainerField: function ()
|
|
448
|
-
{
|
|
449
|
-
return "layout";
|
|
450
|
-
},
|
|
451
|
-
getSpecificationRange: function ()
|
|
452
|
-
{
|
|
453
|
-
return ["3.2", "Infinity"];
|
|
454
|
-
},
|
|
455
|
-
initialize: function ()
|
|
440
|
+
initialize ()
|
|
456
441
|
{
|
|
457
|
-
Layout_X3DLayoutNode.prototype.initialize.call (this);
|
|
442
|
+
Layout_X3DLayoutNode .prototype .initialize .call (this);
|
|
458
443
|
|
|
459
444
|
this ._align .addInterest ("set_align__", this);
|
|
460
445
|
this ._offsetUnits .addInterest ("set_offsetUnits__", this);
|
|
@@ -470,7 +455,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
470
455
|
this .set_size__ ();
|
|
471
456
|
this .set_scaleMode__ ();
|
|
472
457
|
},
|
|
473
|
-
set_align__
|
|
458
|
+
set_align__ ()
|
|
474
459
|
{
|
|
475
460
|
// X
|
|
476
461
|
|
|
@@ -504,7 +489,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
504
489
|
else
|
|
505
490
|
this .alignY = CENTER;
|
|
506
491
|
},
|
|
507
|
-
set_offsetUnits__
|
|
492
|
+
set_offsetUnits__ ()
|
|
508
493
|
{
|
|
509
494
|
if (this ._offsetUnits .length > 0)
|
|
510
495
|
{
|
|
@@ -541,7 +526,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
541
526
|
this .offsetUnitY = WORLD;
|
|
542
527
|
}
|
|
543
528
|
},
|
|
544
|
-
set_offset__
|
|
529
|
+
set_offset__ ()
|
|
545
530
|
{
|
|
546
531
|
if (this ._offset .length > 0)
|
|
547
532
|
{
|
|
@@ -563,7 +548,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
563
548
|
this .offsetY = 0;
|
|
564
549
|
}
|
|
565
550
|
},
|
|
566
|
-
set_sizeUnits__
|
|
551
|
+
set_sizeUnits__ ()
|
|
567
552
|
{
|
|
568
553
|
if (this ._sizeUnits .length > 0)
|
|
569
554
|
{
|
|
@@ -600,7 +585,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
600
585
|
this .sizeUnitY = WORLD;
|
|
601
586
|
}
|
|
602
587
|
},
|
|
603
|
-
set_size__
|
|
588
|
+
set_size__ ()
|
|
604
589
|
{
|
|
605
590
|
if (this ._size .length > 0)
|
|
606
591
|
{
|
|
@@ -622,7 +607,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
622
607
|
this .sizeY = 0;
|
|
623
608
|
}
|
|
624
609
|
},
|
|
625
|
-
set_scaleMode__
|
|
610
|
+
set_scaleMode__ ()
|
|
626
611
|
{
|
|
627
612
|
if (this ._scaleMode .length > 0)
|
|
628
613
|
{
|
|
@@ -665,23 +650,23 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
665
650
|
this .scaleModeY = NONE;
|
|
666
651
|
}
|
|
667
652
|
},
|
|
668
|
-
getRectangleCenter
|
|
653
|
+
getRectangleCenter ()
|
|
669
654
|
{
|
|
670
655
|
return this .rectangleCenter;
|
|
671
656
|
},
|
|
672
|
-
getRectangleSize
|
|
657
|
+
getRectangleSize ()
|
|
673
658
|
{
|
|
674
659
|
return this .rectangleSize;
|
|
675
660
|
},
|
|
676
|
-
getAlignX
|
|
661
|
+
getAlignX ()
|
|
677
662
|
{
|
|
678
663
|
return this .alignX;
|
|
679
664
|
},
|
|
680
|
-
getAlignY
|
|
665
|
+
getAlignY ()
|
|
681
666
|
{
|
|
682
667
|
return this .alignY;
|
|
683
668
|
},
|
|
684
|
-
getOffsetUnitX
|
|
669
|
+
getOffsetUnitX ()
|
|
685
670
|
{
|
|
686
671
|
if (this .offsetUnitX === WORLD)
|
|
687
672
|
{
|
|
@@ -693,7 +678,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
693
678
|
|
|
694
679
|
return this .offsetUnitX;
|
|
695
680
|
},
|
|
696
|
-
getOffsetUnitY
|
|
681
|
+
getOffsetUnitY ()
|
|
697
682
|
{
|
|
698
683
|
if (this .offsetUnitY === WORLD)
|
|
699
684
|
{
|
|
@@ -705,15 +690,15 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
705
690
|
|
|
706
691
|
return this .offsetUnitY;
|
|
707
692
|
},
|
|
708
|
-
getOffsetX
|
|
693
|
+
getOffsetX ()
|
|
709
694
|
{
|
|
710
695
|
return this .offsetX;
|
|
711
696
|
},
|
|
712
|
-
getOffsetY
|
|
697
|
+
getOffsetY ()
|
|
713
698
|
{
|
|
714
699
|
return this .offsetY;
|
|
715
700
|
},
|
|
716
|
-
getSizeUnitX
|
|
701
|
+
getSizeUnitX ()
|
|
717
702
|
{
|
|
718
703
|
if (this .sizeUnitX === WORLD)
|
|
719
704
|
{
|
|
@@ -725,7 +710,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
725
710
|
|
|
726
711
|
return this .sizeUnitX;
|
|
727
712
|
},
|
|
728
|
-
getSizeUnitY
|
|
713
|
+
getSizeUnitY ()
|
|
729
714
|
{
|
|
730
715
|
if (this .sizeUnitY === WORLD)
|
|
731
716
|
{
|
|
@@ -737,15 +722,15 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
737
722
|
|
|
738
723
|
return this .sizeUnitY;
|
|
739
724
|
},
|
|
740
|
-
getSizeX
|
|
725
|
+
getSizeX ()
|
|
741
726
|
{
|
|
742
727
|
return this .sizeX;
|
|
743
728
|
},
|
|
744
|
-
getSizeY
|
|
729
|
+
getSizeY ()
|
|
745
730
|
{
|
|
746
731
|
return this .sizeY;
|
|
747
732
|
},
|
|
748
|
-
getScaleModeX
|
|
733
|
+
getScaleModeX ()
|
|
749
734
|
{
|
|
750
735
|
if (this .parent)
|
|
751
736
|
return this .scaleModeX;
|
|
@@ -755,7 +740,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
755
740
|
|
|
756
741
|
return this .scaleModeX;
|
|
757
742
|
},
|
|
758
|
-
getScaleModeY
|
|
743
|
+
getScaleModeY ()
|
|
759
744
|
{
|
|
760
745
|
if (this .parent)
|
|
761
746
|
return this .scaleModeY;
|
|
@@ -765,7 +750,7 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
765
750
|
|
|
766
751
|
return this .scaleModeY;
|
|
767
752
|
},
|
|
768
|
-
transform
|
|
753
|
+
transform (type, renderObject)
|
|
769
754
|
{
|
|
770
755
|
const parent = this .parent = renderObject .getParentLayout ();
|
|
771
756
|
|
|
@@ -949,16 +934,53 @@ Layout .prototype = Object .assign (Object .create (Layout_X3DLayoutNode.prototy
|
|
|
949
934
|
},
|
|
950
935
|
});
|
|
951
936
|
|
|
937
|
+
Object .defineProperties (Layout,
|
|
938
|
+
{
|
|
939
|
+
typeName:
|
|
940
|
+
{
|
|
941
|
+
value: "Layout",
|
|
942
|
+
enumerable: true,
|
|
943
|
+
},
|
|
944
|
+
componentName:
|
|
945
|
+
{
|
|
946
|
+
value: "Layout",
|
|
947
|
+
enumerable: true,
|
|
948
|
+
},
|
|
949
|
+
containerField:
|
|
950
|
+
{
|
|
951
|
+
value: "layout",
|
|
952
|
+
enumerable: true,
|
|
953
|
+
},
|
|
954
|
+
specificationRange:
|
|
955
|
+
{
|
|
956
|
+
value: Object .freeze (["3.2", "Infinity"]),
|
|
957
|
+
enumerable: true,
|
|
958
|
+
},
|
|
959
|
+
fieldDefinitions:
|
|
960
|
+
{
|
|
961
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
962
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
963
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "align", new (Fields_default()).MFString ("CENTER", "CENTER")),
|
|
964
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "offsetUnits", new (Fields_default()).MFString ("WORLD", "WORLD")),
|
|
965
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "offset", new (Fields_default()).MFFloat (0, 0)),
|
|
966
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "sizeUnits", new (Fields_default()).MFString ("WORLD", "WORLD")),
|
|
967
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "size", new (Fields_default()).MFFloat (1, 1)),
|
|
968
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "scaleMode", new (Fields_default()).MFString ("NONE", "NONE")),
|
|
969
|
+
]),
|
|
970
|
+
enumerable: true,
|
|
971
|
+
},
|
|
972
|
+
});
|
|
973
|
+
|
|
952
974
|
const Layout_default_ = Layout;
|
|
953
975
|
;
|
|
954
976
|
|
|
955
977
|
Namespace_default().set ("x_ite/Components/Layout/Layout", Layout_default_);
|
|
956
978
|
/* harmony default export */ const Layout_Layout = (Layout_default_);
|
|
957
979
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
958
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
980
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
959
981
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
960
982
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
961
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
983
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Rendering/TraverseType");
|
|
962
984
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
963
985
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutGroup.js
|
|
964
986
|
/*******************************************************************************
|
|
@@ -1031,40 +1053,11 @@ function LayoutGroup (executionContext)
|
|
|
1031
1053
|
this .screenMatrix = new (Matrix4_default()) ();
|
|
1032
1054
|
}
|
|
1033
1055
|
|
|
1034
|
-
|
|
1056
|
+
Object .assign (Object .setPrototypeOf (LayoutGroup .prototype, (X3DGroupingNode_default()).prototype),
|
|
1035
1057
|
{
|
|
1036
|
-
|
|
1037
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
1038
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1039
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "layout", new (Fields_default()).SFNode ()),
|
|
1040
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "viewport", new (Fields_default()).SFNode ()),
|
|
1041
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
1042
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
1043
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
1044
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
1045
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
1046
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
1047
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
1048
|
-
]),
|
|
1049
|
-
getTypeName: function ()
|
|
1058
|
+
initialize ()
|
|
1050
1059
|
{
|
|
1051
|
-
|
|
1052
|
-
},
|
|
1053
|
-
getComponentName: function ()
|
|
1054
|
-
{
|
|
1055
|
-
return "Layout";
|
|
1056
|
-
},
|
|
1057
|
-
getContainerField: function ()
|
|
1058
|
-
{
|
|
1059
|
-
return "children";
|
|
1060
|
-
},
|
|
1061
|
-
getSpecificationRange: function ()
|
|
1062
|
-
{
|
|
1063
|
-
return ["3.2", "Infinity"];
|
|
1064
|
-
},
|
|
1065
|
-
initialize: function ()
|
|
1066
|
-
{
|
|
1067
|
-
X3DGroupingNode_default().prototype.initialize.call (this);
|
|
1060
|
+
X3DGroupingNode_default().prototype .initialize .call (this);
|
|
1068
1061
|
|
|
1069
1062
|
this ._viewport .addInterest ("set_viewport__", this);
|
|
1070
1063
|
this ._layout .addInterest ("set_layout__", this);
|
|
@@ -1072,30 +1065,30 @@ LayoutGroup .prototype = Object .assign (Object .create ((X3DGroupingNode_defaul
|
|
|
1072
1065
|
this .set_viewport__ ();
|
|
1073
1066
|
this .set_layout__ ();
|
|
1074
1067
|
},
|
|
1075
|
-
set_viewport__
|
|
1068
|
+
set_viewport__ ()
|
|
1076
1069
|
{
|
|
1077
1070
|
this .viewportNode = X3DCast_default() ((X3DConstants_default()).X3DViewportNode, this ._viewport);
|
|
1078
1071
|
},
|
|
1079
|
-
set_layout__
|
|
1072
|
+
set_layout__ ()
|
|
1080
1073
|
{
|
|
1081
1074
|
this .layoutNode = X3DCast_default() ((X3DConstants_default()).X3DLayoutNode, this ._layout);
|
|
1082
1075
|
},
|
|
1083
|
-
getBBox
|
|
1076
|
+
getBBox (bbox, shadows)
|
|
1084
1077
|
{
|
|
1085
|
-
return X3DGroupingNode_default().prototype.getBBox.call (this, bbox, shadows) .multRight (this .getMatrix ());
|
|
1078
|
+
return X3DGroupingNode_default().prototype .getBBox .call (this, bbox, shadows) .multRight (this .getMatrix ());
|
|
1086
1079
|
},
|
|
1087
|
-
getMatrix
|
|
1080
|
+
getMatrix ()
|
|
1088
1081
|
{
|
|
1089
1082
|
if (this .layoutNode)
|
|
1090
1083
|
return this .matrix .assign (this .modelViewMatrix) .inverse () .multLeft (this .screenMatrix);
|
|
1091
1084
|
|
|
1092
1085
|
return this .matrix .identity ();
|
|
1093
1086
|
},
|
|
1094
|
-
getLayout
|
|
1087
|
+
getLayout ()
|
|
1095
1088
|
{
|
|
1096
1089
|
return this .layoutNode;
|
|
1097
1090
|
},
|
|
1098
|
-
traverse
|
|
1091
|
+
traverse (type, renderObject)
|
|
1099
1092
|
{
|
|
1100
1093
|
switch (type)
|
|
1101
1094
|
{
|
|
@@ -1118,14 +1111,14 @@ LayoutGroup .prototype = Object .assign (Object .create ((X3DGroupingNode_defaul
|
|
|
1118
1111
|
modelViewMatrix .pushMatrix (this .screenMatrix);
|
|
1119
1112
|
renderObject .getLayouts () .push (this .layoutNode);
|
|
1120
1113
|
|
|
1121
|
-
X3DGroupingNode_default().prototype.traverse.call (this, type, renderObject);
|
|
1114
|
+
X3DGroupingNode_default().prototype .traverse .call (this, type, renderObject);
|
|
1122
1115
|
|
|
1123
1116
|
renderObject .getLayouts () .pop ();
|
|
1124
1117
|
modelViewMatrix .pop ();
|
|
1125
1118
|
}
|
|
1126
1119
|
else
|
|
1127
1120
|
{
|
|
1128
|
-
X3DGroupingNode_default().prototype.traverse.call (this, type, renderObject);
|
|
1121
|
+
X3DGroupingNode_default().prototype .traverse .call (this, type, renderObject);
|
|
1129
1122
|
}
|
|
1130
1123
|
|
|
1131
1124
|
if (this .viewportNode)
|
|
@@ -1137,16 +1130,56 @@ LayoutGroup .prototype = Object .assign (Object .create ((X3DGroupingNode_defaul
|
|
|
1137
1130
|
},
|
|
1138
1131
|
});
|
|
1139
1132
|
|
|
1133
|
+
Object .defineProperties (LayoutGroup,
|
|
1134
|
+
{
|
|
1135
|
+
typeName:
|
|
1136
|
+
{
|
|
1137
|
+
value: "LayoutGroup",
|
|
1138
|
+
enumerable: true,
|
|
1139
|
+
},
|
|
1140
|
+
componentName:
|
|
1141
|
+
{
|
|
1142
|
+
value: "Layout",
|
|
1143
|
+
enumerable: true,
|
|
1144
|
+
},
|
|
1145
|
+
containerField:
|
|
1146
|
+
{
|
|
1147
|
+
value: "children",
|
|
1148
|
+
enumerable: true,
|
|
1149
|
+
},
|
|
1150
|
+
specificationRange:
|
|
1151
|
+
{
|
|
1152
|
+
value: Object .freeze (["3.2", "Infinity"]),
|
|
1153
|
+
enumerable: true,
|
|
1154
|
+
},
|
|
1155
|
+
fieldDefinitions:
|
|
1156
|
+
{
|
|
1157
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
1158
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1159
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "layout", new (Fields_default()).SFNode ()),
|
|
1160
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "viewport", new (Fields_default()).SFNode ()),
|
|
1161
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
1162
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
1163
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
1164
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
1165
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
1166
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
1167
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
1168
|
+
]),
|
|
1169
|
+
enumerable: true,
|
|
1170
|
+
},
|
|
1171
|
+
});
|
|
1172
|
+
|
|
1140
1173
|
const LayoutGroup_default_ = LayoutGroup;
|
|
1141
1174
|
;
|
|
1142
1175
|
|
|
1143
1176
|
Namespace_default().set ("x_ite/Components/Layout/LayoutGroup", LayoutGroup_default_);
|
|
1144
1177
|
/* harmony default export */ const Layout_LayoutGroup = (LayoutGroup_default_);
|
|
1145
1178
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
|
|
1146
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1179
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
1147
1180
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
1148
1181
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/OrthoViewpoint\")"
|
|
1149
|
-
const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1182
|
+
const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Navigation/OrthoViewpoint");
|
|
1150
1183
|
var OrthoViewpoint_default = /*#__PURE__*/__webpack_require__.n(OrthoViewpoint_namespaceObject);
|
|
1151
1184
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutLayer.js
|
|
1152
1185
|
/*******************************************************************************
|
|
@@ -1214,39 +1247,11 @@ function LayoutLayer (executionContext)
|
|
|
1214
1247
|
this .addType ((X3DConstants_default()).LayoutLayer);
|
|
1215
1248
|
}
|
|
1216
1249
|
|
|
1217
|
-
|
|
1250
|
+
Object .assign (Object .setPrototypeOf (LayoutLayer .prototype, (X3DLayerNode_default()).prototype),
|
|
1218
1251
|
{
|
|
1219
|
-
|
|
1220
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
1221
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1222
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "pickable", new (Fields_default()).SFBool (true)),
|
|
1223
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "objectType", new (Fields_default()).MFString ("ALL")),
|
|
1224
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
1225
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "layout", new (Fields_default()).SFNode ()),
|
|
1226
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "viewport", new (Fields_default()).SFNode ()),
|
|
1227
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
1228
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
1229
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
1230
|
-
]),
|
|
1231
|
-
getTypeName: function ()
|
|
1232
|
-
{
|
|
1233
|
-
return "LayoutLayer";
|
|
1234
|
-
},
|
|
1235
|
-
getComponentName: function ()
|
|
1236
|
-
{
|
|
1237
|
-
return "Layout";
|
|
1238
|
-
},
|
|
1239
|
-
getContainerField: function ()
|
|
1240
|
-
{
|
|
1241
|
-
return "layers";
|
|
1242
|
-
},
|
|
1243
|
-
getSpecificationRange: function ()
|
|
1252
|
+
initialize ()
|
|
1244
1253
|
{
|
|
1245
|
-
|
|
1246
|
-
},
|
|
1247
|
-
initialize: function ()
|
|
1248
|
-
{
|
|
1249
|
-
X3DLayerNode_default().prototype.initialize.call (this);
|
|
1254
|
+
X3DLayerNode_default().prototype .initialize .call (this);
|
|
1250
1255
|
|
|
1251
1256
|
this ._layout .addFieldInterest (this .getGroup () ._layout);
|
|
1252
1257
|
this ._addChildren .addFieldInterest (this .getGroup () ._addChildren);
|
|
@@ -1261,31 +1266,70 @@ LayoutLayer .prototype = Object .assign (Object .create ((X3DLayerNode_default()
|
|
|
1261
1266
|
},
|
|
1262
1267
|
});
|
|
1263
1268
|
|
|
1269
|
+
Object .defineProperties (LayoutLayer,
|
|
1270
|
+
{
|
|
1271
|
+
typeName:
|
|
1272
|
+
{
|
|
1273
|
+
value: "LayoutLayer",
|
|
1274
|
+
enumerable: true,
|
|
1275
|
+
},
|
|
1276
|
+
componentName:
|
|
1277
|
+
{
|
|
1278
|
+
value: "Layout",
|
|
1279
|
+
enumerable: true,
|
|
1280
|
+
},
|
|
1281
|
+
containerField:
|
|
1282
|
+
{
|
|
1283
|
+
value: "layers",
|
|
1284
|
+
enumerable: true,
|
|
1285
|
+
},
|
|
1286
|
+
specificationRange:
|
|
1287
|
+
{
|
|
1288
|
+
value: Object .freeze (["3.2", "Infinity"]),
|
|
1289
|
+
enumerable: true,
|
|
1290
|
+
},
|
|
1291
|
+
fieldDefinitions:
|
|
1292
|
+
{
|
|
1293
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
1294
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1295
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "pickable", new (Fields_default()).SFBool (true)),
|
|
1296
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "objectType", new (Fields_default()).MFString ("ALL")),
|
|
1297
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
1298
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "layout", new (Fields_default()).SFNode ()),
|
|
1299
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "viewport", new (Fields_default()).SFNode ()),
|
|
1300
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
1301
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
1302
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
1303
|
+
]),
|
|
1304
|
+
enumerable: true,
|
|
1305
|
+
},
|
|
1306
|
+
});
|
|
1307
|
+
|
|
1264
1308
|
const LayoutLayer_default_ = LayoutLayer;
|
|
1265
1309
|
;
|
|
1266
1310
|
|
|
1267
1311
|
Namespace_default().set ("x_ite/Components/Layout/LayoutLayer", LayoutLayer_default_);
|
|
1268
1312
|
/* harmony default export */ const Layout_LayoutLayer = (LayoutLayer_default_);
|
|
1269
1313
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Text/X3DFontStyleNode\")"
|
|
1270
|
-
const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1314
|
+
const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Text/X3DFontStyleNode");
|
|
1271
1315
|
var X3DFontStyleNode_default = /*#__PURE__*/__webpack_require__.n(X3DFontStyleNode_namespaceObject);
|
|
1272
1316
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/X3DTextGeometry\")"
|
|
1273
|
-
const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1317
|
+
const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Browser/Text/X3DTextGeometry");
|
|
1274
1318
|
var X3DTextGeometry_default = /*#__PURE__*/__webpack_require__.n(X3DTextGeometry_namespaceObject);
|
|
1275
1319
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/TextAlignment\")"
|
|
1276
|
-
const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1320
|
+
const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Browser/Text/TextAlignment");
|
|
1277
1321
|
var TextAlignment_default = /*#__PURE__*/__webpack_require__.n(TextAlignment_namespaceObject);
|
|
1278
1322
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/PixelTexture\")"
|
|
1279
|
-
const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1323
|
+
const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Texturing/PixelTexture");
|
|
1280
1324
|
var PixelTexture_default = /*#__PURE__*/__webpack_require__.n(PixelTexture_namespaceObject);
|
|
1281
1325
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
1282
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1326
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
1283
1327
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
1284
1328
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1285
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1329
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Geometry/Box3");
|
|
1286
1330
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1287
1331
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
1288
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
1332
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.8.0")] .require ("standard/Math/Algorithm");
|
|
1289
1333
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
1290
1334
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/ScreenText.js
|
|
1291
1335
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -1361,15 +1405,14 @@ function ScreenText (text, fontStyle)
|
|
|
1361
1405
|
this .textureNode .setup ();
|
|
1362
1406
|
}
|
|
1363
1407
|
|
|
1364
|
-
|
|
1408
|
+
Object .assign (Object .setPrototypeOf (ScreenText .prototype, (X3DTextGeometry_default()).prototype),
|
|
1365
1409
|
{
|
|
1366
|
-
constructor: ScreenText,
|
|
1367
1410
|
modelViewMatrix: new (Matrix4_default()) (),
|
|
1368
|
-
isTransparent
|
|
1411
|
+
isTransparent ()
|
|
1369
1412
|
{
|
|
1370
1413
|
return true;
|
|
1371
1414
|
},
|
|
1372
|
-
getMatrix
|
|
1415
|
+
getMatrix ()
|
|
1373
1416
|
{
|
|
1374
1417
|
return this .matrix;
|
|
1375
1418
|
},
|
|
@@ -1381,7 +1424,7 @@ ScreenText .prototype = Object .assign (Object .create ((X3DTextGeometry_default
|
|
|
1381
1424
|
|
|
1382
1425
|
return function ()
|
|
1383
1426
|
{
|
|
1384
|
-
X3DTextGeometry_default().prototype.update.call (this);
|
|
1427
|
+
X3DTextGeometry_default().prototype .update .call (this);
|
|
1385
1428
|
|
|
1386
1429
|
const
|
|
1387
1430
|
fontStyle = this .getFontStyle (),
|
|
@@ -1601,7 +1644,7 @@ ScreenText .prototype = Object .assign (Object .create ((X3DTextGeometry_default
|
|
|
1601
1644
|
this .textureNode .clear ();
|
|
1602
1645
|
};
|
|
1603
1646
|
})(),
|
|
1604
|
-
drawGlyph
|
|
1647
|
+
drawGlyph (cx, font, glyph, x, y, size)
|
|
1605
1648
|
{
|
|
1606
1649
|
//console .log (glyph .name, x, y);
|
|
1607
1650
|
|
|
@@ -1656,7 +1699,7 @@ ScreenText .prototype = Object .assign (Object .create ((X3DTextGeometry_default
|
|
|
1656
1699
|
cx .stroke ();
|
|
1657
1700
|
}
|
|
1658
1701
|
},
|
|
1659
|
-
getGlyphExtents
|
|
1702
|
+
getGlyphExtents (font, glyph, primitiveQuality, min, max)
|
|
1660
1703
|
{
|
|
1661
1704
|
const unitsPerEm = font .unitsPerEm;
|
|
1662
1705
|
|
|
@@ -1678,9 +1721,9 @@ ScreenText .prototype = Object .assign (Object .create ((X3DTextGeometry_default
|
|
|
1678
1721
|
this .getText () .setBBox (bbox);
|
|
1679
1722
|
};
|
|
1680
1723
|
})(),
|
|
1681
|
-
display
|
|
1724
|
+
display (gl, renderContext)
|
|
1682
1725
|
{
|
|
1683
|
-
Matrix4_default().prototype.multLeft.call (renderContext .modelViewMatrix, this .matrix);
|
|
1726
|
+
Matrix4_default().prototype .multLeft .call (renderContext .modelViewMatrix, this .matrix);
|
|
1684
1727
|
|
|
1685
1728
|
renderContext .textureNode = this .textureNode;
|
|
1686
1729
|
},
|
|
@@ -1694,7 +1737,7 @@ ScreenText .prototype = Object .assign (Object .create ((X3DTextGeometry_default
|
|
|
1694
1737
|
return line .multLineMatrix (invMatrix .assign (this .matrix) .inverse ());
|
|
1695
1738
|
};
|
|
1696
1739
|
})(),
|
|
1697
|
-
transformMatrix
|
|
1740
|
+
transformMatrix (matrix)
|
|
1698
1741
|
{
|
|
1699
1742
|
// Apply screen nodes transformation in place here.
|
|
1700
1743
|
return matrix .multLeft (this .matrix);
|
|
@@ -1768,50 +1811,61 @@ function ScreenFontStyle (executionContext)
|
|
|
1768
1811
|
this .addType ((X3DConstants_default()).ScreenFontStyle);
|
|
1769
1812
|
}
|
|
1770
1813
|
|
|
1771
|
-
|
|
1814
|
+
Object .assign (Object .setPrototypeOf (ScreenFontStyle .prototype, (X3DFontStyleNode_default()).prototype),
|
|
1772
1815
|
{
|
|
1773
|
-
|
|
1774
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
1775
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1776
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "language", new (Fields_default()).SFString ()),
|
|
1777
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "family", new (Fields_default()).MFString ("SERIF")),
|
|
1778
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "style", new (Fields_default()).SFString ("PLAIN")),
|
|
1779
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "pointSize", new (Fields_default()).SFFloat (12)),
|
|
1780
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "spacing", new (Fields_default()).SFFloat (1)),
|
|
1781
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "horizontal", new (Fields_default()).SFBool (true)),
|
|
1782
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "leftToRight", new (Fields_default()).SFBool (true)),
|
|
1783
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "topToBottom", new (Fields_default()).SFBool (true)),
|
|
1784
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "justify", new (Fields_default()).MFString ("BEGIN")),
|
|
1785
|
-
]),
|
|
1786
|
-
getTypeName: function ()
|
|
1816
|
+
initialize ()
|
|
1787
1817
|
{
|
|
1788
|
-
|
|
1818
|
+
X3DFontStyleNode_default().prototype .initialize .call (this);
|
|
1819
|
+
|
|
1820
|
+
this .getBrowser () .getRenderingProperties () ._ContentScale .addInterest ("addNodeEvent", this);
|
|
1789
1821
|
},
|
|
1790
|
-
|
|
1822
|
+
getTextGeometry (text)
|
|
1791
1823
|
{
|
|
1792
|
-
return
|
|
1824
|
+
return new Layout_ScreenText (text, this);
|
|
1793
1825
|
},
|
|
1794
|
-
|
|
1826
|
+
getScale ()
|
|
1795
1827
|
{
|
|
1796
|
-
return
|
|
1828
|
+
return this ._pointSize .getValue () * this .getBrowser () .getPixelPerPoint ();
|
|
1797
1829
|
},
|
|
1798
|
-
|
|
1830
|
+
});
|
|
1831
|
+
|
|
1832
|
+
Object .defineProperties (ScreenFontStyle,
|
|
1833
|
+
{
|
|
1834
|
+
typeName:
|
|
1799
1835
|
{
|
|
1800
|
-
|
|
1836
|
+
value: "ScreenFontStyle",
|
|
1837
|
+
enumerable: true,
|
|
1801
1838
|
},
|
|
1802
|
-
|
|
1839
|
+
componentName:
|
|
1803
1840
|
{
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
this .getBrowser () .getRenderingProperties () ._ContentScale .addInterest ("addNodeEvent", this);
|
|
1841
|
+
value: "Layout",
|
|
1842
|
+
enumerable: true,
|
|
1807
1843
|
},
|
|
1808
|
-
|
|
1844
|
+
containerField:
|
|
1809
1845
|
{
|
|
1810
|
-
|
|
1846
|
+
value: "fontStyle",
|
|
1847
|
+
enumerable: true,
|
|
1811
1848
|
},
|
|
1812
|
-
|
|
1849
|
+
specificationRange:
|
|
1813
1850
|
{
|
|
1814
|
-
|
|
1851
|
+
value: Object .freeze (["3.2", "Infinity"]),
|
|
1852
|
+
enumerable: true,
|
|
1853
|
+
},
|
|
1854
|
+
fieldDefinitions:
|
|
1855
|
+
{
|
|
1856
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
1857
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1858
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "language", new (Fields_default()).SFString ()),
|
|
1859
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "family", new (Fields_default()).MFString ("SERIF")),
|
|
1860
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "style", new (Fields_default()).SFString ("PLAIN")),
|
|
1861
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "pointSize", new (Fields_default()).SFFloat (12)),
|
|
1862
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "spacing", new (Fields_default()).SFFloat (1)),
|
|
1863
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "horizontal", new (Fields_default()).SFBool (true)),
|
|
1864
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "leftToRight", new (Fields_default()).SFBool (true)),
|
|
1865
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "topToBottom", new (Fields_default()).SFBool (true)),
|
|
1866
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "justify", new (Fields_default()).MFString ("BEGIN")),
|
|
1867
|
+
]),
|
|
1868
|
+
enumerable: true,
|
|
1815
1869
|
},
|
|
1816
1870
|
});
|
|
1817
1871
|
|
|
@@ -1885,44 +1939,17 @@ function ScreenGroup (executionContext)
|
|
|
1885
1939
|
this .matrix = new (Matrix4_default()) ();
|
|
1886
1940
|
}
|
|
1887
1941
|
|
|
1888
|
-
|
|
1942
|
+
Object .assign (Object .setPrototypeOf (ScreenGroup .prototype, (X3DGroupingNode_default()).prototype),
|
|
1889
1943
|
{
|
|
1890
|
-
|
|
1891
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new (FieldDefinitionArray_default()) ([
|
|
1892
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
1893
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
1894
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
1895
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
1896
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
1897
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
1898
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
1899
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
1900
|
-
]),
|
|
1901
|
-
getTypeName: function ()
|
|
1902
|
-
{
|
|
1903
|
-
return "ScreenGroup";
|
|
1904
|
-
},
|
|
1905
|
-
getComponentName: function ()
|
|
1906
|
-
{
|
|
1907
|
-
return "Layout";
|
|
1908
|
-
},
|
|
1909
|
-
getContainerField: function ()
|
|
1910
|
-
{
|
|
1911
|
-
return "children";
|
|
1912
|
-
},
|
|
1913
|
-
getSpecificationRange: function ()
|
|
1914
|
-
{
|
|
1915
|
-
return ["3.2", "Infinity"];
|
|
1916
|
-
},
|
|
1917
|
-
getBBox: function (bbox, shadows)
|
|
1944
|
+
getBBox (bbox, shadows)
|
|
1918
1945
|
{
|
|
1919
1946
|
return this .getSubBBox (bbox, shadows) .multRight (this .matrix);
|
|
1920
1947
|
},
|
|
1921
|
-
getMatrix
|
|
1948
|
+
getMatrix ()
|
|
1922
1949
|
{
|
|
1923
1950
|
return this .matrix;
|
|
1924
1951
|
},
|
|
1925
|
-
traverse
|
|
1952
|
+
traverse (type, renderObject)
|
|
1926
1953
|
{
|
|
1927
1954
|
switch (type)
|
|
1928
1955
|
{
|
|
@@ -1941,12 +1968,50 @@ ScreenGroup .prototype = Object .assign (Object .create ((X3DGroupingNode_defaul
|
|
|
1941
1968
|
modelViewMatrix .push ();
|
|
1942
1969
|
modelViewMatrix .multLeft (this .matrix);
|
|
1943
1970
|
|
|
1944
|
-
X3DGroupingNode_default().prototype.traverse.call (this, type, renderObject);
|
|
1971
|
+
X3DGroupingNode_default().prototype .traverse .call (this, type, renderObject);
|
|
1945
1972
|
|
|
1946
1973
|
modelViewMatrix .pop ();
|
|
1947
1974
|
},
|
|
1948
1975
|
});
|
|
1949
1976
|
|
|
1977
|
+
Object .defineProperties (ScreenGroup,
|
|
1978
|
+
{
|
|
1979
|
+
typeName:
|
|
1980
|
+
{
|
|
1981
|
+
value: "ScreenGroup",
|
|
1982
|
+
enumerable: true,
|
|
1983
|
+
},
|
|
1984
|
+
componentName:
|
|
1985
|
+
{
|
|
1986
|
+
value: "Layout",
|
|
1987
|
+
enumerable: true,
|
|
1988
|
+
},
|
|
1989
|
+
containerField:
|
|
1990
|
+
{
|
|
1991
|
+
value: "children",
|
|
1992
|
+
enumerable: true,
|
|
1993
|
+
},
|
|
1994
|
+
specificationRange:
|
|
1995
|
+
{
|
|
1996
|
+
value: Object .freeze (["3.2", "Infinity"]),
|
|
1997
|
+
enumerable: true,
|
|
1998
|
+
},
|
|
1999
|
+
fieldDefinitions:
|
|
2000
|
+
{
|
|
2001
|
+
value: new (FieldDefinitionArray_default()) ([
|
|
2002
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2003
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "visible", new (Fields_default()).SFBool (true)),
|
|
2004
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "bboxDisplay", new (Fields_default()).SFBool ()),
|
|
2005
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxSize", new (Fields_default()).SFVec3f (-1, -1, -1)),
|
|
2006
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).initializeOnly, "bboxCenter", new (Fields_default()).SFVec3f ()),
|
|
2007
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "addChildren", new (Fields_default()).MFNode ()),
|
|
2008
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "removeChildren", new (Fields_default()).MFNode ()),
|
|
2009
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "children", new (Fields_default()).MFNode ()),
|
|
2010
|
+
]),
|
|
2011
|
+
enumerable: true,
|
|
2012
|
+
},
|
|
2013
|
+
});
|
|
2014
|
+
|
|
1950
2015
|
const ScreenGroup_default_ = ScreenGroup;
|
|
1951
2016
|
;
|
|
1952
2017
|
|
|
@@ -2009,20 +2074,20 @@ Namespace_default().set ("x_ite/Components/Layout/ScreenGroup", ScreenGroup_defa
|
|
|
2009
2074
|
|
|
2010
2075
|
|
|
2011
2076
|
|
|
2012
|
-
Components_default().
|
|
2077
|
+
Components_default().add ({
|
|
2013
2078
|
name: "Layout",
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2079
|
+
concreteNodes:
|
|
2080
|
+
[
|
|
2081
|
+
Layout_Layout,
|
|
2082
|
+
Layout_LayoutGroup,
|
|
2083
|
+
Layout_LayoutLayer,
|
|
2084
|
+
Layout_ScreenFontStyle,
|
|
2085
|
+
Layout_ScreenGroup,
|
|
2086
|
+
],
|
|
2087
|
+
abstractNodes:
|
|
2088
|
+
[
|
|
2089
|
+
Layout_X3DLayoutNode,
|
|
2090
|
+
],
|
|
2026
2091
|
browserContext: Layout_X3DLayoutContext,
|
|
2027
2092
|
});
|
|
2028
2093
|
|