x_ite 9.4.5 → 9.5.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/README.md +19 -5
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +33 -17
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +20 -20
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +45 -60
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +37 -34
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +107 -155
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +28 -28
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +303 -8
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1517 -1097
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +1517 -1097
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.5.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,10 +39,10 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
45
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
45
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Namespace");
|
|
46
46
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js
|
|
48
48
|
/*******************************************************************************
|
|
@@ -145,19 +145,19 @@ const __default__ = X3DKeyDeviceSensorContext;
|
|
|
145
145
|
Namespace_default().add ("X3DKeyDeviceSensorContext", "x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext", __default__);
|
|
146
146
|
/* harmony default export */ const KeyDeviceSensor_X3DKeyDeviceSensorContext = (__default__);
|
|
147
147
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
148
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
148
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Fields");
|
|
149
149
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
150
150
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
151
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
151
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
152
152
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
153
153
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
154
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
154
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
155
155
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
156
156
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
|
|
157
|
-
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
157
|
+
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Core/X3DSensorNode");
|
|
158
158
|
var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
|
|
159
159
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
160
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
160
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DConstants");
|
|
161
161
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
162
162
|
;// CONCATENATED MODULE: ./src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js
|
|
163
163
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.5.0 */(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var a in s)e.o(s,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:s[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components");var s=e.n(t);const a=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Namespace");var i=e.n(a);const n=Symbol(),o=Symbol(),r=Symbol();function c(){this[n]=new Set}Object.assign(c.prototype,{initialize(){const e=this.getElement();e.on("keydown.X3DKeyDeviceSensorContext",this[o].bind(this)),e.on("keyup.X3DKeyDeviceSensorContext",this[r].bind(this))},addKeyDeviceSensorNode(e){this[n].add(e)},removeKeyDeviceSensorNode(e){this[n].delete(e)},getKeyDeviceSensorNodes(){return this[n]},[o](e){for(const t of this[n])t.keydown(e)},[r](e){for(const t of this[n])t.keyup(e)}});const l=c;i().add("X3DKeyDeviceSensorContext","x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext",l);const y=l,h=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Fields");var _=e.n(h);const b=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/X3DFieldDefinition");var d=e.n(b);const u=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/FieldDefinitionArray");var k=e.n(u);const p=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Core/X3DSensorNode");var K=e.n(p);const S=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/X3DConstants");var v=e.n(S);function w(e){K().call(this,e),this.addType(v().X3DKeyDeviceSensorNode)}Object.assign(Object.setPrototypeOf(w.prototype,K().prototype),{initialize(){K().prototype.initialize.call(this),this.getLive().addInterest("set_live__",this),this.set_live__()},set_live__(){this.getLive().getValue()?(this._enabled.addInterest("set_enabled__",this),this._enabled.getValue()&&this.enable()):(this._enabled.removeInterest("set_enabled__",this),this.disable())},set_enabled__(){this._enabled.getValue()?this.enable():this.disable()},enable(){this.getBrowser().addKeyDeviceSensorNode(this)},disable(){this.getBrowser().removeKeyDeviceSensorNode(this),this.release()},keydown(){},keyup(){},release(){}}),Object.defineProperties(w,{typeName:{value:"X3DKeyDeviceSensorNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"KeyDeviceSensor",level:1}),enumerable:!0}});const f=w;i().add("X3DKeyDeviceSensorNode","x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode",f);const m=f;function D(e){m.call(this,e),this.addType(v().KeySensor)}Object.assign(Object.setPrototypeOf(D.prototype,m.prototype),{keydown(e){switch(e.preventDefault(),this._isActive.getValue()||(this._isActive=!0),e.which){case 16:this._shiftKey=!0;break;case 17:this._controlKey=!0;break;case 18:this._altKey=!0;break;case 112:this._actionKeyPress=1;break;case 113:this._actionKeyPress=2;break;case 114:this._actionKeyPress=3;break;case 115:this._actionKeyPress=4;break;case 116:this._actionKeyPress=5;break;case 117:this._actionKeyPress=6;break;case 118:this._actionKeyPress=7;break;case 119:this._actionKeyPress=8;break;case 120:this._actionKeyPress=9;break;case 121:this._actionKeyPress=10;break;case 122:this._actionKeyPress=11;break;case 123:this._actionKeyPress=12;break;case 36:this._actionKeyPress=13;break;case 35:this._actionKeyPress=14;break;case 33:this._actionKeyPress=15;break;case 34:this._actionKeyPress=16;break;case 38:this._actionKeyPress=17;break;case 40:this._actionKeyPress=18;break;case 37:this._actionKeyPress=19;break;case 39:this._actionKeyPress=20;break;default:if(e.charCode||e.keyCode)switch(e.key){case"AltGraph":case"CapsLock":case"Insert":break;case"Backspace":this._keyPress=String.fromCharCode(8);break;case"Delete":this._keyPress=String.fromCharCode(127);break;case"Enter":this._keyPress="\n";break;case"Escape":this._keyPress=String.fromCharCode(27);break;case"Tab":this._keyPress="\t";break;default:1===e.key.length&&(this._keyPress=e.key)}}},keyup(e){switch(e.preventDefault(),e.which){case 16:this._shiftKey=!1;break;case 17:this._controlKey=!1;break;case 18:this._altKey=!1;break;case 112:this._actionKeyRelease=1;break;case 113:this._actionKeyRelease=2;break;case 114:this._actionKeyRelease=3;break;case 115:this._actionKeyRelease=4;break;case 116:this._actionKeyRelease=5;break;case 117:this._actionKeyRelease=6;break;case 118:this._actionKeyRelease=7;break;case 119:this._actionKeyRelease=8;break;case 120:this._actionKeyRelease=9;break;case 121:this._actionKeyRelease=10;break;case 122:this._actionKeyRelease=11;break;case 123:this._actionKeyRelease=12;break;case 36:this._actionKeyRelease=13;break;case 35:this._actionKeyRelease=14;break;case 33:this._actionKeyRelease=15;break;case 34:this._actionKeyRelease=16;break;case 38:this._actionKeyRelease=17;break;case 40:this._actionKeyRelease=18;break;case 37:this._actionKeyRelease=19;break;case 39:this._actionKeyRelease=20;break;default:if(e.charCode||e.keyCode)switch(e.key){case"AltGraph":case"CapsLock":case"Insert":break;case"Backspace":this._keyRelease=String.fromCharCode(8);break;case"Delete":this._keyRelease=String.fromCharCode(127);break;case"Enter":this._keyRelease="\n";break;case"Escape":this._keyRelease=String.fromCharCode(27);break;case"Tab":this._keyRelease="\t";break;default:1===e.key.length&&(this._keyRelease=e.key)}}this._isActive.getValue()&&(this._isActive=!1)},release(){this._shiftKey.getValue()&&(this._shiftKey=!1),this._controlKey.getValue()&&(this._controlKey=!1),this._altKey.getValue()&&(this._altKey=!1)}}),Object.defineProperties(D,{typeName:{value:"KeySensor",enumerable:!0},componentInfo:{value:Object.freeze({name:"KeyDeviceSensor",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(k())([new(d())(v().inputOutput,"metadata",new(_().SFNode)),new(d())(v().inputOutput,"description",new(_().SFString)),new(d())(v().inputOutput,"enabled",new(_().SFBool)(!0)),new(d())(v().outputOnly,"controlKey",new(_().SFBool)),new(d())(v().outputOnly,"shiftKey",new(_().SFBool)),new(d())(v().outputOnly,"altKey",new(_().SFBool)),new(d())(v().outputOnly,"actionKeyPress",new(_().SFInt32)),new(d())(v().outputOnly,"actionKeyRelease",new(_().SFInt32)),new(d())(v().outputOnly,"keyPress",new(_().SFString)),new(d())(v().outputOnly,"keyRelease",new(_().SFString)),new(d())(v().outputOnly,"isActive",new(_().SFBool))]),enumerable:!0}});const g=D;i().add("KeySensor","x_ite/Components/KeyDeviceSensor/KeySensor",g);const O=g;function P(e){m.call(this,e),this.addType(v().StringSensor)}Object.assign(Object.setPrototypeOf(P.prototype,m.prototype),{keydown(e){switch(e.preventDefault(),e.key){case"Backspace":this._isActive.getValue()&&this._deletionAllowed.getValue()&&this._enteredText.length&&(this._enteredText=this._enteredText.getValue().substr(0,this._enteredText.length-1));break;case"Enter":this._finalText=this._enteredText,this._enteredText.set(""),this._isActive.getValue()&&(this._isActive=!1);break;case"Escape":this._enteredText.set(""),this._isActive.getValue()&&(this._isActive=!1);break;case"Tab":break;default:(e.charCode||e.keyCode)&&1===e.key.length&&(this._isActive.getValue()||(this._isActive=!0,this._enteredText=""),this._enteredText=this._enteredText.getValue()+e.key)}}}),Object.defineProperties(P,{typeName:{value:"StringSensor",enumerable:!0},componentInfo:{value:Object.freeze({name:"KeyDeviceSensor",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(k())([new(d())(v().inputOutput,"metadata",new(_().SFNode)),new(d())(v().inputOutput,"description",new(_().SFString)),new(d())(v().inputOutput,"enabled",new(_().SFBool)(!0)),new(d())(v().inputOutput,"deletionAllowed",new(_().SFBool)(!0)),new(d())(v().outputOnly,"enteredText",new(_().SFString)),new(d())(v().outputOnly,"finalText",new(_().SFString)),new(d())(v().outputOnly,"isActive",new(_().SFBool))]),enumerable:!0}});const C=P;i().add("StringSensor","x_ite/Components/KeyDeviceSensor/StringSensor",C);const R=C;s().add({name:"KeyDeviceSensor",concreteNodes:[O,R],abstractNodes:[m],browserContext:y});const x=void 0;i().add("KeyDeviceSensor","assets/components/KeyDeviceSensor",x)})();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.5.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 823:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-9.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-9.5.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-9.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.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-9.
|
|
79
|
+
const TextureProperties_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.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-9.
|
|
82
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.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-9.
|
|
85
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.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-9.
|
|
88
|
+
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.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-9.
|
|
91
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.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
|
/*******************************************************************************
|
|
@@ -229,19 +229,19 @@ const __default__ = X3DLayoutContext;
|
|
|
229
229
|
Namespace_default().add ("X3DLayoutContext", "x_ite/Browser/Layout/X3DLayoutContext", __default__);
|
|
230
230
|
/* harmony default export */ const Layout_X3DLayoutContext = (__default__);
|
|
231
231
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
232
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
232
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Fields");
|
|
233
233
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
234
234
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
235
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
235
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
236
236
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
237
237
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
238
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
238
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
239
239
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
240
240
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
241
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
241
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
242
242
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
243
243
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
244
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
244
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DConstants");
|
|
245
245
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
246
246
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/X3DLayoutNode.js
|
|
247
247
|
/*******************************************************************************
|
|
@@ -323,10 +323,10 @@ const X3DLayoutNode_default_ = X3DLayoutNode;
|
|
|
323
323
|
Namespace_default().add ("X3DLayoutNode", "x_ite/Components/Layout/X3DLayoutNode", X3DLayoutNode_default_);
|
|
324
324
|
/* harmony default export */ const Layout_X3DLayoutNode = (X3DLayoutNode_default_);
|
|
325
325
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
326
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
326
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Numbers/Vector2");
|
|
327
327
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
328
328
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
329
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
329
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Numbers/Rotation4");
|
|
330
330
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
331
331
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/Layout.js
|
|
332
332
|
/*******************************************************************************
|
|
@@ -975,13 +975,13 @@ const Layout_default_ = Layout;
|
|
|
975
975
|
Namespace_default().add ("Layout", "x_ite/Components/Layout/Layout", Layout_default_);
|
|
976
976
|
/* harmony default export */ const Layout_Layout = (Layout_default_);
|
|
977
977
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
978
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
978
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
979
979
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
980
980
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
981
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
981
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DCast");
|
|
982
982
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
983
983
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
984
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
984
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Rendering/TraverseType");
|
|
985
985
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
986
986
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutGroup.js
|
|
987
987
|
/*******************************************************************************
|
|
@@ -1176,10 +1176,10 @@ const LayoutGroup_default_ = LayoutGroup;
|
|
|
1176
1176
|
Namespace_default().add ("LayoutGroup", "x_ite/Components/Layout/LayoutGroup", LayoutGroup_default_);
|
|
1177
1177
|
/* harmony default export */ const Layout_LayoutGroup = (LayoutGroup_default_);
|
|
1178
1178
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
|
|
1179
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1179
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
1180
1180
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
1181
1181
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/OrthoViewpoint\")"
|
|
1182
|
-
const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1182
|
+
const OrthoViewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Navigation/OrthoViewpoint");
|
|
1183
1183
|
var OrthoViewpoint_default = /*#__PURE__*/__webpack_require__.n(OrthoViewpoint_namespaceObject);
|
|
1184
1184
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/LayoutLayer.js
|
|
1185
1185
|
/*******************************************************************************
|
|
@@ -1315,22 +1315,22 @@ const LayoutLayer_default_ = LayoutLayer;
|
|
|
1315
1315
|
Namespace_default().add ("LayoutLayer", "x_ite/Components/Layout/LayoutLayer", LayoutLayer_default_);
|
|
1316
1316
|
/* harmony default export */ const Layout_LayoutLayer = (LayoutLayer_default_);
|
|
1317
1317
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Text/X3DFontStyleNode\")"
|
|
1318
|
-
const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1318
|
+
const X3DFontStyleNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Text/X3DFontStyleNode");
|
|
1319
1319
|
var X3DFontStyleNode_default = /*#__PURE__*/__webpack_require__.n(X3DFontStyleNode_namespaceObject);
|
|
1320
1320
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/X3DTextGeometry\")"
|
|
1321
|
-
const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1321
|
+
const X3DTextGeometry_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Browser/Text/X3DTextGeometry");
|
|
1322
1322
|
var X3DTextGeometry_default = /*#__PURE__*/__webpack_require__.n(X3DTextGeometry_namespaceObject);
|
|
1323
1323
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/Text/TextAlignment\")"
|
|
1324
|
-
const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1324
|
+
const TextAlignment_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Browser/Text/TextAlignment");
|
|
1325
1325
|
var TextAlignment_default = /*#__PURE__*/__webpack_require__.n(TextAlignment_namespaceObject);
|
|
1326
1326
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/PixelTexture\")"
|
|
1327
|
-
const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1327
|
+
const PixelTexture_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Texturing/PixelTexture");
|
|
1328
1328
|
var PixelTexture_default = /*#__PURE__*/__webpack_require__.n(PixelTexture_namespaceObject);
|
|
1329
1329
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
1330
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1330
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Geometry/Box3");
|
|
1331
1331
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
1332
1332
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
1333
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1333
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Algorithm");
|
|
1334
1334
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
1335
1335
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Layout/ScreenText.js
|
|
1336
1336
|
/* provided dependency */ var $ = __webpack_require__(823);
|
|
@@ -1872,7 +1872,7 @@ const ScreenFontStyle_default_ = ScreenFontStyle;
|
|
|
1872
1872
|
Namespace_default().add ("ScreenFontStyle", "x_ite/Components/Layout/ScreenFontStyle", ScreenFontStyle_default_);
|
|
1873
1873
|
/* harmony default export */ const Layout_ScreenFontStyle = (ScreenFontStyle_default_);
|
|
1874
1874
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclaration\")"
|
|
1875
|
-
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1875
|
+
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Prototype/X3DProtoDeclaration");
|
|
1876
1876
|
var X3DProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclaration_namespaceObject);
|
|
1877
1877
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Layout/ScreenGroup.js
|
|
1878
1878
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v9.4.5 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-9.4.5")].require("lib/jquery")}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components");var t=i.n(e);const n=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Texturing/TextureProperties");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Numbers/Vector3");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Numbers/Matrix4");var l=i.n(a);const h=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Geometry/ViewVolume");var u=i.n(h);const c=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Namespace");var d=i.n(c);const p=Symbol();function y(){}Object.assign(y.prototype,{getScreenTextureProperties(){return this[p]=new(s())(this.getPrivateScene()),this[p]._boundaryModeS="CLAMP_TO_EDGE",this[p]._boundaryModeT="CLAMP_TO_EDGE",this[p]._boundaryModeR="CLAMP_TO_EDGE",this[p]._minificationFilter="NEAREST_PIXEL",this[p]._magnificationFilter="NEAREST_PIXEL",this[p]._generateMipMaps=!1,this[p]._textureCompression="DEFAULT",this[p].setup(),this.getScreenTextureProperties=function(){return this[p]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[p]},getScreenScaleMatrix:(()=>{const e=new(r()),t=new(r()),i=new(l());return function(n,s,o,a){const l=n.getModelViewMatrix().get(),h=n.getProjectionMatrix().get(),c=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(l.origin,c,e);const d=l.xAxis.normalize().multiply(e.x*o),p=l.yAxis.normalize().multiply(e.y*o),y=l.zAxis.normalize().multiply(e.x*o);i.set(d.x,d.y,d.z,0,p.x,p.y,p.z,0,y.x,y.y,y.z,0,l[12],l[13],l[14],1),a&&(u().projectPoint(r().Zero,i,h,c,t),t.x=Math.round(t.x),t.y=Math.round(t.y),u().unProjectPoint(t.x,t.y,t.z,i,h,c,t),t.z=0,i.translate(t)),s.assign(l).inverse().multLeft(i)}})()});const f=y;d().add("X3DLayoutContext","x_ite/Browser/Layout/X3DLayoutContext",f);const w=f,g=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Fields");var x=i.n(g);const _=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/X3DFieldDefinition");var m=i.n(_);const b=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/FieldDefinitionArray");var S=i.n(b);const X=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Core/X3DChildNode");var M=i.n(X);const O=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/X3DConstants");var v=i.n(O);function z(e){M().call(this,e),this.addType(v().X3DLayoutNode)}Object.setPrototypeOf(z.prototype,M().prototype),Object.defineProperties(z,{typeName:{value:"X3DLayoutNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0}});const T=z;d().add("X3DLayoutNode","x_ite/Components/Layout/X3DLayoutNode",T);const N=T,F=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Numbers/Vector2");var I=i.n(F);const L=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Numbers/Rotation4");var E=i.n(L);let D=0;const U=D++,C=D++,P=D++,B=D++,Y=D++,R=D++,j=D++,V=D++,A=D++,q=D++;function G(e){N.call(this,e),this.addType(v().Layout),this.alignX=C,this.alignY=C,this.offsetUnitX=R,this.offsetUnitY=R,this.offsetX=0,this.offsetY=0,this.sizeUnitX=R,this.sizeUnitY=R,this.sizeX=1,this.sizeY=1,this.scaleModeX=A,this.scaleModeY=A,this.parent=null,this.rectangleCenter=new(I()),this.rectangleSize=new(I()),this.matrix=new(l())}Object.assign(Object.setPrototypeOf(G.prototype,N.prototype),{viewportPixel:new(I()),pixelSize:new(I()),translation:new(r()),offset:new(r()),scale:new(r())(1,1,1),currentTranslation:new(r()),currentRotation:new(E()),currentScale:new(r()),modelViewMatrix:new(l()),initialize(){N.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=U:"RIGHT"===this._align[0]?this.alignX=P:this.alignX=C:this.alignX=C,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=B:"TOP"===this._align[1]?this.alignY=Y:this.alignY=C:this.alignY=C},set_offsetUnits__(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=j:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=V:this.offsetUnitX=R,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=j:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=V:this.offsetUnitY=R:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=R,this.offsetUnitY=R)},set_offset__(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=j:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=V:this.sizeUnitX=R,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=j:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=V:this.sizeUnitY=R:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=R,this.sizeUnitY=R)},set_size__(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=j:"PIXEL"===this._scaleMode[0]?this.scaleModeX=V:"STRETCH"===this._scaleMode[0]?this.scaleModeX=q:this.scaleModeX=A,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=j:"PIXEL"===this._scaleMode[1]?this.scaleModeY=V:"STRETCH"===this._scaleMode[1]?this.scaleModeY=q:this.scaleModeY=A:this.scaleModeY=this.scaleModeX):(this.scaleModeX=A,this.scaleModeY=A)},getRectangleCenter(){return this.rectangleCenter},getRectangleSize(){return this.rectangleSize},getAlignX(){return this.alignX},getAlignY(){return this.alignY},getOffsetUnitX(){return this.offsetUnitX===R?this.parent?this.parent.getOffsetUnitX():j:this.offsetUnitX},getOffsetUnitY(){return this.offsetUnitY===R?this.parent?this.parent.getOffsetUnitY():j:this.offsetUnitY},getOffsetX(){return this.offsetX},getOffsetY(){return this.offsetY},getSizeUnitX(){return this.sizeUnitX===R?this.parent?this.parent.getSizeUnitX():j:this.sizeUnitX},getSizeUnitY(){return this.sizeUnitY===R?this.parent?this.parent.getSizeUnitY():j:this.sizeUnitY},getSizeX(){return this.sizeX},getSizeY(){return this.sizeY},getScaleModeX(){return this.parent?this.scaleModeX:this.scaleModeX===A?j:this.scaleModeX},getScaleModeY(){return this.parent?this.scaleModeY:this.scaleModeY===A?j:this.scaleModeY},transform(e,t){const i=this.parent=t.getParentLayout(),n=this.getBrowser().getRenderingProperty("ContentScale"),s=this.matrix,o=t.getViewpoint(),r=t.getNavigationInfo().getNearValue(),a=t.getViewVolume().getScissor(),l=o.getViewportSize(a,r),h=this.viewportPixel,u=this.pixelSize,c=i?i.getRectangleSize():l,d=this.rectangleSize,p=this.rectangleCenter;switch(h.set(a[2],a[3]).divide(n),u.assign(l).divVec(h),this.getSizeUnitX()){case j:d.x=this.sizeX*c.x;break;case V:d.x=this.sizeX*u.x}switch(this.getSizeUnitY()){case j:d.y=this.sizeY*c.y;break;case V:d.y=this.sizeY*u.y}const y=this.translation.set(0,0,0);switch(this.getAlignX()){case U:y.x=-(c.x-d.x)/2;break;case C:this.getSizeUnitX()===V&&1&h.x&&(y.x=-u.x/2);break;case P:y.x=(c.x-d.x)/2}switch(this.getAlignY()){case B:y.y=-(c.y-d.y)/2;break;case C:this.getSizeUnitX()===V&&1&h.y&&(y.y=-u.y/2);break;case Y:y.y=(c.y-d.y)/2}const f=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case j:f.x=this.offsetX*c.x;break;case V:f.x=this.offsetX*l.x/h.x}switch(this.getOffsetUnitY()){case j:f.y=this.offsetY*c.y;break;case V:f.y=this.offsetY*l.y/h.y}const w=this.scale.set(1,1,1),g=this.currentTranslation,x=this.currentRotation,_=this.currentScale;switch(t.getModelViewMatrix().get().get(g,x,_),this.getScaleModeX()){case A:w.x=_.x;break;case j:w.x=d.x;break;case q:break;case V:w.x=l.x/h.x}switch(this.getScaleModeY()){case A:w.y=_.y;break;case j:w.y=d.y;break;case q:break;case V:w.y=l.y/h.y}return this.getScaleModeX()===q?this.getScaleModeY()===q?d.x>d.y?(w.x=d.x,w.y=w.x):(w.y=d.y,w.x=w.y):w.x=w.y:this.getScaleModeY()===q&&(w.y=w.x),p.assign(y.add(f)),s.set(g,x),s.translate(y),s.scale(w),s}}),Object.defineProperties(G,{typeName:{value:"Layout",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layout",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"align",new(x().MFString)("CENTER","CENTER")),new(m())(v().inputOutput,"offsetUnits",new(x().MFString)("WORLD","WORLD")),new(m())(v().inputOutput,"offset",new(x().MFFloat)(0,0)),new(m())(v().inputOutput,"sizeUnits",new(x().MFString)("WORLD","WORLD")),new(m())(v().inputOutput,"size",new(x().MFFloat)(1,1)),new(m())(v().inputOutput,"scaleMode",new(x().MFString)("NONE","NONE"))]),enumerable:!0}});const k=G;d().add("Layout","x_ite/Components/Layout/Layout",k);const W=k,H=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Grouping/X3DGroupingNode");var K=i.n(H);const Z=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Base/X3DCast");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Rendering/TraverseType");var $=i.n(J);function ee(e){K().call(this,e),this.addType(v().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.matrix=new(l()),this.modelViewMatrix=new(l()),this.screenMatrix=new(l())}Object.assign(Object.setPrototypeOf(ee.prototype,K().prototype),{initialize(){K().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__(){this.viewportNode=Q()(v().X3DViewportNode,this._viewport)},set_layout__(){this.layoutNode=Q()(v().X3DLayoutNode,this._layout)},getBBox(e,t){return K().prototype.getBBox.call(this,e,t).multRight(this.getMatrix())},getMatrix(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity()},getLayout(){return this.layoutNode},traverse(e,t){if(e!==$().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){const i=t.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(e,t)),i.pushMatrix(this.screenMatrix),t.getLayouts().push(this.layoutNode),K().prototype.traverse.call(this,e,t),t.getLayouts().pop(),i.pop()}else K().prototype.traverse.call(this,e,t);this.viewportNode&&this.viewportNode.pop()}}}),Object.defineProperties(ee,{typeName:{value:"LayoutGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"layout",new(x().SFNode)),new(m())(v().inputOutput,"viewport",new(x().SFNode)),new(m())(v().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(v().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(v().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(v().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(v().inputOnly,"addChildren",new(x().MFNode)),new(m())(v().inputOnly,"removeChildren",new(x().MFNode)),new(m())(v().inputOutput,"children",new(x().MFNode))]),enumerable:!0}});const te=ee;d().add("LayoutGroup","x_ite/Components/Layout/LayoutGroup",te);const ie=te,ne=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Layering/X3DLayerNode");var se=i.n(ne);const oe=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Navigation/OrthoViewpoint");var re=i.n(oe);function ae(e){se().call(this,e,new(re())(e),new ie(e)),this.addType(v().LayoutLayer)}Object.assign(Object.setPrototypeOf(ae.prototype,se().prototype),{initialize(){se().prototype.initialize.call(this);const e=this.getGroups()._children[0].getValue();this._layout.addFieldInterest(e._layout),this._addChildren.addFieldInterest(e._addChildren),this._removeChildren.addFieldInterest(e._removeChildren),this._children.addFieldInterest(e._children),e._layout=this._layout,e._children=this._children,e.setPrivate(!0),e.setup(),this.getGroups().setup()}}),Object.defineProperties(ae,{typeName:{value:"LayoutLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"pickable",new(x().SFBool)(!0)),new(m())(v().inputOutput,"objectType",new(x().MFString)("ALL")),new(m())(v().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(v().inputOutput,"layout",new(x().SFNode)),new(m())(v().inputOutput,"viewport",new(x().SFNode)),new(m())(v().inputOnly,"addChildren",new(x().MFNode)),new(m())(v().inputOnly,"removeChildren",new(x().MFNode)),new(m())(v().inputOutput,"children",new(x().MFNode))]),enumerable:!0}});const le=ae;d().add("LayoutLayer","x_ite/Components/Layout/LayoutLayer",le);const he=le,ue=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Text/X3DFontStyleNode");var ce=i.n(ue);const de=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Browser/Text/X3DTextGeometry");var pe=i.n(de);const ye=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Browser/Text/TextAlignment");var fe=i.n(ye);const we=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Components/Texturing/PixelTexture");var ge=i.n(we);const xe=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Geometry/Box3");var _e=i.n(xe);const me=window[Symbol.for("X_ITE.X3D-9.4.5")].require("standard/Math/Algorithm");var be=i.n(me),Se=i(823);function Xe(e,t){pe().call(this,e,t),e.setTransparent(!0),this.textureNode=new(ge())(e.getExecutionContext()),this.canvas=Se("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(l()),this.textureNode._textureProperties=t.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}Object.assign(Object.setPrototypeOf(Xe.prototype,pe().prototype),{modelViewMatrix:new(l()),isTransparent:()=>!0,getMatrix(){return this.matrix},update:(()=>{const e=new(r()),t=new(r())(1,1,0);return function(){pe().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(e,t),e.x-=1,e.y-=1,i.getMajorAlignment()){case fe().BEGIN:case fe().FIRST:e.x=Math.floor(e.x),t.x=e.x+n._textBounds.x;break;case fe().MIDDLE:e.x=Math.round(e.x),t.x=e.x+n._textBounds.x;break;case fe().END:t.x=Math.ceil(t.x),e.x=t.x-n._textBounds.x}switch(i.getMinorAlignment()){case fe().BEGIN:case fe().FIRST:t.y=Math.ceil(t.y),e.y=t.y-n._textBounds.y;break;case fe().MIDDLE:t.y=Math.round(t.y),e.y=t.y-n._textBounds.y;break;case fe().END:e.y=Math.floor(e.y),t.y=e.y+n._textBounds.y}n._origin.x=e.x,n._origin.y=t.y,this.getBBox().setExtents(e,t)}})(),build:(()=>{const e=new(r()),t=new(r())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),l=this.getCharSpacings(),h=i.getScale(),u=h/n.unitsPerEm,c=s.getTexCoords(),d=s.getNormals(),p=s.getVertices(),y=this.canvas[0],f=this.context;s.getMultiTexCoords().push(c),this.getBBox().getExtents(e,t),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),p.push(e.x,e.y,0,1,t.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,t.y,0,1);const w=s._textBounds.x,g=s._textBounds.y;y.width=be().nextPowerOfTwo(w),y.height=be().nextPowerOfTwo(g);const x=w/y.width,_=1-g/y.height;if(c.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),f.fillStyle="rgba(255,255,255,0)",f.fillRect(0,0,y.width,y.height),f.fillStyle="rgba(255,255,255,1)",f.save(),f.translate(0,y.height),f.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],c=l[i],d=a[i];let p=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+p+i*c-e.x,l=r.y+d.y-t.y;this.drawGlyph(f,n,o,a,l,h);let y=0;i+1<s.length&&(y=n.getKerningValue(o,s[i+1])),p+=(o.advanceWidth+y)*u}}else{const l=i._leftToRight.getValue(),u=i._topToBottom.getValue(),c=l?0:s._string.length-1,d=l?s._string.length:-1,p=l?1:-1;for(let i=c,s=0;i!==d;i+=p){const l=o[i],c=l.length,d=u?c:-1,p=u?1:-1;for(let i=u?0:c-1;i!==d;i+=p,++s){const o=a[s],u=r.x+o.x-e.x,c=r.y+o.y-t.y;this.drawGlyph(f,n,l[i],u,c,h)}}}f.restore();const m=f.getImageData(0,0,y.width,y.height);m?this.textureNode.setTextureFromData(y.width,y.height,!0,!0,new Uint8Array(m.data.buffer)):this.textureNode.clear()}})(),drawGlyph(e,t,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;e.beginPath();for(let t=0,i=a.length;t<i;++t){const i=a[t];switch(i.type){case"M":e.moveTo(i.x,i.y);continue;case"Z":e.closePath();continue;case"L":e.lineTo(i.x,i.y);continue;case"Q":e.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":e.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&e.fill(),r.stroke&&(e.lineWidth=r.strokeWidth,e.stroke())},getGlyphExtents(e,t,i,n,s){const o=e.unitsPerEm;n.set((t.xMin||0)/o,(t.yMin||0)/o,0),s.set((t.xMax||0)/o,(t.yMax||0)/o,0)},traverse:(()=>{const e=new(_e());return function(t,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix,1,!0),e.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(e)}})(),display(e,t){l().prototype.multLeft.call(t.modelViewMatrix,this.matrix),t.textureNode=this.textureNode},transformLine:(()=>{const e=new(l());return function(t){return t.multLineMatrix(e.assign(this.matrix).inverse())}})(),transformMatrix(e){return e.multLeft(this.matrix)}});const Me=Xe;d().add("ScreenText","x_ite/Browser/Layout/ScreenText",Me);const Oe=Me;function ve(e){ce().call(this,e),this.addType(v().ScreenFontStyle)}Object.assign(Object.setPrototypeOf(ve.prototype,ce().prototype),{initialize(){ce().prototype.initialize.call(this),this.getBrowser().getRenderingProperties()._ContentScale.addInterest("addNodeEvent",this)},getTextGeometry(e){return new Oe(e,this)},getScale(){return this._pointSize.getValue()*this.getBrowser().getPixelsPerPoint()}}),Object.defineProperties(ve,{typeName:{value:"ScreenFontStyle",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"fontStyle",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"language",new(x().SFString)),new(m())(v().inputOutput,"family",new(x().MFString)("SERIF")),new(m())(v().inputOutput,"style",new(x().SFString)("PLAIN")),new(m())(v().inputOutput,"pointSize",new(x().SFFloat)(12)),new(m())(v().inputOutput,"spacing",new(x().SFFloat)(1)),new(m())(v().inputOutput,"horizontal",new(x().SFBool)(!0)),new(m())(v().inputOutput,"leftToRight",new(x().SFBool)(!0)),new(m())(v().inputOutput,"topToBottom",new(x().SFBool)(!0)),new(m())(v().inputOutput,"justify",new(x().MFString)("BEGIN"))]),enumerable:!0}});const ze=ve;d().add("ScreenFontStyle","x_ite/Components/Layout/ScreenFontStyle",ze);const Te=ze,Ne=window[Symbol.for("X_ITE.X3D-9.4.5")].require("x_ite/Prototype/X3DProtoDeclaration");var Fe=i.n(Ne);function Ie(e){K().call(this,e),this.addType(v().ScreenGroup),e.getOuterNode()instanceof Fe()?this.matrix=new(l()):this.matrix=new(l())(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}Object.assign(Object.setPrototypeOf(Ie.prototype,K().prototype),{getBBox(e,t){return this.getSubBBox(e,t).multRight(this.matrix)},getMatrix(){return this.matrix},traverse(e,t){switch(e){case $().CAMERA:case $().PICKING:case $().SHADOW:break;default:{const e=this.getBrowser();e.getScreenScaleMatrix(t,this.matrix,e.getRenderingProperty("ContentScale"),!1);break}}const i=t.getModelViewMatrix();i.push(),i.multLeft(this.matrix),K().prototype.traverse.call(this,e,t),i.pop()}}),Object.defineProperties(Ie,{typeName:{value:"ScreenGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(v().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(v().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(v().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(v().inputOnly,"addChildren",new(x().MFNode)),new(m())(v().inputOnly,"removeChildren",new(x().MFNode)),new(m())(v().inputOutput,"children",new(x().MFNode))]),enumerable:!0}});const Le=Ie;d().add("ScreenGroup","x_ite/Components/Layout/ScreenGroup",Le);const Ee=Le;t().add({name:"Layout",concreteNodes:[W,ie,he,Te,Ee],abstractNodes:[N],browserContext:w});const De=void 0;d().add("Layout","assets/components/Layout",De)})()})();
|
|
1
|
+
/* X_ITE v9.5.0 */(()=>{"use strict";var e={823:e=>{e.exports=window[Symbol.for("X_ITE.X3D-9.5.0")].require("lib/jquery")}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components");var t=i.n(e);const n=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Texturing/TextureProperties");var s=i.n(n);const o=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Numbers/Vector3");var r=i.n(o);const a=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Numbers/Matrix4");var l=i.n(a);const h=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Geometry/ViewVolume");var u=i.n(h);const c=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Namespace");var d=i.n(c);const p=Symbol();function y(){}Object.assign(y.prototype,{getScreenTextureProperties(){return this[p]=new(s())(this.getPrivateScene()),this[p]._boundaryModeS="CLAMP_TO_EDGE",this[p]._boundaryModeT="CLAMP_TO_EDGE",this[p]._boundaryModeR="CLAMP_TO_EDGE",this[p]._minificationFilter="NEAREST_PIXEL",this[p]._magnificationFilter="NEAREST_PIXEL",this[p]._generateMipMaps=!1,this[p]._textureCompression="DEFAULT",this[p].setup(),this.getScreenTextureProperties=function(){return this[p]},Object.defineProperty(this,"getScreenTextureProperties",{enumerable:!1}),this[p]},getScreenScaleMatrix:(()=>{const e=new(r()),t=new(r()),i=new(l());return function(n,s,o,a){const l=n.getModelViewMatrix().get(),h=n.getProjectionMatrix().get(),c=n.getViewVolume().getViewport();n.getViewpoint().getScreenScale(l.origin,c,e);const d=l.xAxis.normalize().multiply(e.x*o),p=l.yAxis.normalize().multiply(e.y*o),y=l.zAxis.normalize().multiply(e.x*o);i.set(d.x,d.y,d.z,0,p.x,p.y,p.z,0,y.x,y.y,y.z,0,l[12],l[13],l[14],1),a&&(u().projectPoint(r().Zero,i,h,c,t),t.x=Math.round(t.x),t.y=Math.round(t.y),u().unProjectPoint(t.x,t.y,t.z,i,h,c,t),t.z=0,i.translate(t)),s.assign(l).inverse().multLeft(i)}})()});const f=y;d().add("X3DLayoutContext","x_ite/Browser/Layout/X3DLayoutContext",f);const w=f,g=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Fields");var x=i.n(g);const _=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/X3DFieldDefinition");var m=i.n(_);const b=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/FieldDefinitionArray");var S=i.n(b);const X=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Core/X3DChildNode");var M=i.n(X);const O=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/X3DConstants");var v=i.n(O);function z(e){M().call(this,e),this.addType(v().X3DLayoutNode)}Object.setPrototypeOf(z.prototype,M().prototype),Object.defineProperties(z,{typeName:{value:"X3DLayoutNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0}});const T=z;d().add("X3DLayoutNode","x_ite/Components/Layout/X3DLayoutNode",T);const N=T,F=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Numbers/Vector2");var I=i.n(F);const L=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Numbers/Rotation4");var E=i.n(L);let D=0;const U=D++,C=D++,P=D++,B=D++,Y=D++,R=D++,j=D++,V=D++,A=D++,q=D++;function G(e){N.call(this,e),this.addType(v().Layout),this.alignX=C,this.alignY=C,this.offsetUnitX=R,this.offsetUnitY=R,this.offsetX=0,this.offsetY=0,this.sizeUnitX=R,this.sizeUnitY=R,this.sizeX=1,this.sizeY=1,this.scaleModeX=A,this.scaleModeY=A,this.parent=null,this.rectangleCenter=new(I()),this.rectangleSize=new(I()),this.matrix=new(l())}Object.assign(Object.setPrototypeOf(G.prototype,N.prototype),{viewportPixel:new(I()),pixelSize:new(I()),translation:new(r()),offset:new(r()),scale:new(r())(1,1,1),currentTranslation:new(r()),currentRotation:new(E()),currentScale:new(r()),modelViewMatrix:new(l()),initialize(){N.prototype.initialize.call(this),this._align.addInterest("set_align__",this),this._offsetUnits.addInterest("set_offsetUnits__",this),this._offset.addInterest("set_offset__",this),this._sizeUnits.addInterest("set_sizeUnits__",this),this._size.addInterest("set_size__",this),this._scaleMode.addInterest("set_scaleMode__",this),this.set_align__(),this.set_offsetUnits__(),this.set_offset__(),this.set_sizeUnits__(),this.set_size__(),this.set_scaleMode__()},set_align__(){this._align.length>0?"LEFT"===this._align[0]?this.alignX=U:"RIGHT"===this._align[0]?this.alignX=P:this.alignX=C:this.alignX=C,this._align.length>1?"BOTTOM"===this._align[1]?this.alignY=B:"TOP"===this._align[1]?this.alignY=Y:this.alignY=C:this.alignY=C},set_offsetUnits__(){this._offsetUnits.length>0?("FRACTION"===this._offsetUnits[0]?this.offsetUnitX=j:"PIXEL"===this._offsetUnits[0]?this.offsetUnitX=V:this.offsetUnitX=R,this._offsetUnits.length>1?"FRACTION"===this._offsetUnits[1]?this.offsetUnitY=j:"PIXEL"===this._offsetUnits[1]?this.offsetUnitY=V:this.offsetUnitY=R:this.offsetUnitY=this.offsetUnitX):(this.offsetUnitX=R,this.offsetUnitY=R)},set_offset__(){this._offset.length>0?(this.offsetX=this._offset[0],this._offset.length>1?this.offsetY=this._offset[1]:this.offsetY=offsetX):(this.offsetX=0,this.offsetY=0)},set_sizeUnits__(){this._sizeUnits.length>0?("FRACTION"===this._sizeUnits[0]?this.sizeUnitX=j:"PIXEL"===this._sizeUnits[0]?this.sizeUnitX=V:this.sizeUnitX=R,this._sizeUnits.length>1?"FRACTION"===this._sizeUnits[1]?this.sizeUnitY=j:"PIXEL"===this._sizeUnits[1]?this.sizeUnitY=V:this.sizeUnitY=R:this.sizeUnitY=this.sizeUnitX):(this.sizeUnitX=R,this.sizeUnitY=R)},set_size__(){this._size.length>0?(this.sizeX=this._size[0],this._size.length>1?this.sizeY=this._size[1]:this.sizeY=this.sizeX):(this.sizeX=0,this.sizeY=0)},set_scaleMode__(){this._scaleMode.length>0?("FRACTION"===this._scaleMode[0]?this.scaleModeX=j:"PIXEL"===this._scaleMode[0]?this.scaleModeX=V:"STRETCH"===this._scaleMode[0]?this.scaleModeX=q:this.scaleModeX=A,this._scaleMode.length>1?"FRACTION"===this._scaleMode[1]?this.scaleModeY=j:"PIXEL"===this._scaleMode[1]?this.scaleModeY=V:"STRETCH"===this._scaleMode[1]?this.scaleModeY=q:this.scaleModeY=A:this.scaleModeY=this.scaleModeX):(this.scaleModeX=A,this.scaleModeY=A)},getRectangleCenter(){return this.rectangleCenter},getRectangleSize(){return this.rectangleSize},getAlignX(){return this.alignX},getAlignY(){return this.alignY},getOffsetUnitX(){return this.offsetUnitX===R?this.parent?this.parent.getOffsetUnitX():j:this.offsetUnitX},getOffsetUnitY(){return this.offsetUnitY===R?this.parent?this.parent.getOffsetUnitY():j:this.offsetUnitY},getOffsetX(){return this.offsetX},getOffsetY(){return this.offsetY},getSizeUnitX(){return this.sizeUnitX===R?this.parent?this.parent.getSizeUnitX():j:this.sizeUnitX},getSizeUnitY(){return this.sizeUnitY===R?this.parent?this.parent.getSizeUnitY():j:this.sizeUnitY},getSizeX(){return this.sizeX},getSizeY(){return this.sizeY},getScaleModeX(){return this.parent?this.scaleModeX:this.scaleModeX===A?j:this.scaleModeX},getScaleModeY(){return this.parent?this.scaleModeY:this.scaleModeY===A?j:this.scaleModeY},transform(e,t){const i=this.parent=t.getParentLayout(),n=this.getBrowser().getRenderingProperty("ContentScale"),s=this.matrix,o=t.getViewpoint(),r=t.getNavigationInfo().getNearValue(),a=t.getViewVolume().getScissor(),l=o.getViewportSize(a,r),h=this.viewportPixel,u=this.pixelSize,c=i?i.getRectangleSize():l,d=this.rectangleSize,p=this.rectangleCenter;switch(h.set(a[2],a[3]).divide(n),u.assign(l).divVec(h),this.getSizeUnitX()){case j:d.x=this.sizeX*c.x;break;case V:d.x=this.sizeX*u.x}switch(this.getSizeUnitY()){case j:d.y=this.sizeY*c.y;break;case V:d.y=this.sizeY*u.y}const y=this.translation.set(0,0,0);switch(this.getAlignX()){case U:y.x=-(c.x-d.x)/2;break;case C:this.getSizeUnitX()===V&&1&h.x&&(y.x=-u.x/2);break;case P:y.x=(c.x-d.x)/2}switch(this.getAlignY()){case B:y.y=-(c.y-d.y)/2;break;case C:this.getSizeUnitX()===V&&1&h.y&&(y.y=-u.y/2);break;case Y:y.y=(c.y-d.y)/2}const f=this.offset.set(0,0,0);switch(this.getOffsetUnitX()){case j:f.x=this.offsetX*c.x;break;case V:f.x=this.offsetX*l.x/h.x}switch(this.getOffsetUnitY()){case j:f.y=this.offsetY*c.y;break;case V:f.y=this.offsetY*l.y/h.y}const w=this.scale.set(1,1,1),g=this.currentTranslation,x=this.currentRotation,_=this.currentScale;switch(t.getModelViewMatrix().get().get(g,x,_),this.getScaleModeX()){case A:w.x=_.x;break;case j:w.x=d.x;break;case q:break;case V:w.x=l.x/h.x}switch(this.getScaleModeY()){case A:w.y=_.y;break;case j:w.y=d.y;break;case q:break;case V:w.y=l.y/h.y}return this.getScaleModeX()===q?this.getScaleModeY()===q?d.x>d.y?(w.x=d.x,w.y=w.x):(w.y=d.y,w.x=w.y):w.x=w.y:this.getScaleModeY()===q&&(w.y=w.x),p.assign(y.add(f)),s.set(g,x),s.translate(y),s.scale(w),s}}),Object.defineProperties(G,{typeName:{value:"Layout",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layout",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"align",new(x().MFString)("CENTER","CENTER")),new(m())(v().inputOutput,"offsetUnits",new(x().MFString)("WORLD","WORLD")),new(m())(v().inputOutput,"offset",new(x().MFFloat)(0,0)),new(m())(v().inputOutput,"sizeUnits",new(x().MFString)("WORLD","WORLD")),new(m())(v().inputOutput,"size",new(x().MFFloat)(1,1)),new(m())(v().inputOutput,"scaleMode",new(x().MFString)("NONE","NONE"))]),enumerable:!0}});const k=G;d().add("Layout","x_ite/Components/Layout/Layout",k);const W=k,H=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var K=i.n(H);const Z=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Base/X3DCast");var Q=i.n(Z);const J=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Rendering/TraverseType");var $=i.n(J);function ee(e){K().call(this,e),this.addType(v().LayoutGroup),this.viewportNode=null,this.layoutNode=null,this.matrix=new(l()),this.modelViewMatrix=new(l()),this.screenMatrix=new(l())}Object.assign(Object.setPrototypeOf(ee.prototype,K().prototype),{initialize(){K().prototype.initialize.call(this),this._viewport.addInterest("set_viewport__",this),this._layout.addInterest("set_layout__",this),this.set_viewport__(),this.set_layout__()},set_viewport__(){this.viewportNode=Q()(v().X3DViewportNode,this._viewport)},set_layout__(){this.layoutNode=Q()(v().X3DLayoutNode,this._layout)},getBBox(e,t){return K().prototype.getBBox.call(this,e,t).multRight(this.getMatrix())},getMatrix(){return this.layoutNode?this.matrix.assign(this.modelViewMatrix).inverse().multLeft(this.screenMatrix):this.matrix.identity()},getLayout(){return this.layoutNode},traverse(e,t){if(e!==$().COLLISION){if(this.viewportNode&&this.viewportNode.push(),this.layoutNode){const i=t.getModelViewMatrix();this.modelViewMatrix.assign(i.get()),this.screenMatrix.assign(this.layoutNode.transform(e,t)),i.pushMatrix(this.screenMatrix),t.getLayouts().push(this.layoutNode),K().prototype.traverse.call(this,e,t),t.getLayouts().pop(),i.pop()}else K().prototype.traverse.call(this,e,t);this.viewportNode&&this.viewportNode.pop()}}}),Object.defineProperties(ee,{typeName:{value:"LayoutGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"layout",new(x().SFNode)),new(m())(v().inputOutput,"viewport",new(x().SFNode)),new(m())(v().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(v().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(v().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(v().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(v().inputOnly,"addChildren",new(x().MFNode)),new(m())(v().inputOnly,"removeChildren",new(x().MFNode)),new(m())(v().inputOutput,"children",new(x().MFNode))]),enumerable:!0}});const te=ee;d().add("LayoutGroup","x_ite/Components/Layout/LayoutGroup",te);const ie=te,ne=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Layering/X3DLayerNode");var se=i.n(ne);const oe=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Navigation/OrthoViewpoint");var re=i.n(oe);function ae(e){se().call(this,e,new(re())(e),new ie(e)),this.addType(v().LayoutLayer)}Object.assign(Object.setPrototypeOf(ae.prototype,se().prototype),{initialize(){se().prototype.initialize.call(this);const e=this.getGroups()._children[0].getValue();this._layout.addFieldInterest(e._layout),this._addChildren.addFieldInterest(e._addChildren),this._removeChildren.addFieldInterest(e._removeChildren),this._children.addFieldInterest(e._children),e._layout=this._layout,e._children=this._children,e.setPrivate(!0),e.setup(),this.getGroups().setup()}}),Object.defineProperties(ae,{typeName:{value:"LayoutLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:1}),enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"pickable",new(x().SFBool)(!0)),new(m())(v().inputOutput,"objectType",new(x().MFString)("ALL")),new(m())(v().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(v().inputOutput,"layout",new(x().SFNode)),new(m())(v().inputOutput,"viewport",new(x().SFNode)),new(m())(v().inputOnly,"addChildren",new(x().MFNode)),new(m())(v().inputOnly,"removeChildren",new(x().MFNode)),new(m())(v().inputOutput,"children",new(x().MFNode))]),enumerable:!0}});const le=ae;d().add("LayoutLayer","x_ite/Components/Layout/LayoutLayer",le);const he=le,ue=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Text/X3DFontStyleNode");var ce=i.n(ue);const de=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Browser/Text/X3DTextGeometry");var pe=i.n(de);const ye=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Browser/Text/TextAlignment");var fe=i.n(ye);const we=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Components/Texturing/PixelTexture");var ge=i.n(we);const xe=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Geometry/Box3");var _e=i.n(xe);const me=window[Symbol.for("X_ITE.X3D-9.5.0")].require("standard/Math/Algorithm");var be=i.n(me),Se=i(823);function Xe(e,t){pe().call(this,e,t),e.setTransparent(!0),this.textureNode=new(ge())(e.getExecutionContext()),this.canvas=Se("<canvas></canvas>"),this.context=this.canvas[0].getContext("2d",{willReadFrequently:!0}),this.matrix=new(l()),this.textureNode._textureProperties=t.getBrowser().getScreenTextureProperties(),this.textureNode.setup()}Object.assign(Object.setPrototypeOf(Xe.prototype,pe().prototype),{modelViewMatrix:new(l()),isTransparent:()=>!0,getMatrix(){return this.matrix},update:(()=>{const e=new(r()),t=new(r())(1,1,0);return function(){pe().prototype.update.call(this);const i=this.getFontStyle(),n=this.getText();switch(n._textBounds.x=Math.ceil(n._textBounds.x)+1,n._textBounds.y=Math.ceil(n._textBounds.y)+1,this.getBBox().getExtents(e,t),e.x-=1,e.y-=1,i.getMajorAlignment()){case fe().BEGIN:case fe().FIRST:e.x=Math.floor(e.x),t.x=e.x+n._textBounds.x;break;case fe().MIDDLE:e.x=Math.round(e.x),t.x=e.x+n._textBounds.x;break;case fe().END:t.x=Math.ceil(t.x),e.x=t.x-n._textBounds.x}switch(i.getMinorAlignment()){case fe().BEGIN:case fe().FIRST:t.y=Math.ceil(t.y),e.y=t.y-n._textBounds.y;break;case fe().MIDDLE:t.y=Math.round(t.y),e.y=t.y-n._textBounds.y;break;case fe().END:e.y=Math.floor(e.y),t.y=e.y+n._textBounds.y}n._origin.x=e.x,n._origin.y=t.y,this.getBBox().setExtents(e,t)}})(),build:(()=>{const e=new(r()),t=new(r())(1,1,0);return function(){const i=this.getFontStyle(),n=i.getFont();if(!n)return;const s=this.getText(),o=this.getGlyphs(),r=this.getMinorAlignment(),a=this.getTranslations(),l=this.getCharSpacings(),h=i.getScale(),u=h/n.unitsPerEm,c=s.getTexCoords(),d=s.getNormals(),p=s.getVertices(),y=this.canvas[0],f=this.context;s.getMultiTexCoords().push(c),this.getBBox().getExtents(e,t),d.push(0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1),p.push(e.x,e.y,0,1,t.x,e.y,0,1,t.x,t.y,0,1,e.x,e.y,0,1,t.x,t.y,0,1,e.x,t.y,0,1);const w=s._textBounds.x,g=s._textBounds.y;y.width=be().nextPowerOfTwo(w),y.height=be().nextPowerOfTwo(g);const x=w/y.width,_=1-g/y.height;if(c.push(0,_,0,1,x,_,0,1,x,1,0,1,0,_,0,1,x,1,0,1,0,1,0,1),f.fillStyle="rgba(255,255,255,0)",f.fillRect(0,0,y.width,y.height),f.fillStyle="rgba(255,255,255,1)",f.save(),f.translate(0,y.height),f.scale(1,-1),i._horizontal.getValue())for(let i=0,s=o.length;i<s;++i){const s=o[i],c=l[i],d=a[i];let p=0;for(let i=0,o=s.length;i<o;++i){const o=s[i],a=r.x+d.x+p+i*c-e.x,l=r.y+d.y-t.y;this.drawGlyph(f,n,o,a,l,h);let y=0;i+1<s.length&&(y=n.getKerningValue(o,s[i+1])),p+=(o.advanceWidth+y)*u}}else{const l=i._leftToRight.getValue(),u=i._topToBottom.getValue(),c=l?0:s._string.length-1,d=l?s._string.length:-1,p=l?1:-1;for(let i=c,s=0;i!==d;i+=p){const l=o[i],c=l.length,d=u?c:-1,p=u?1:-1;for(let i=u?0:c-1;i!==d;i+=p,++s){const o=a[s],u=r.x+o.x-e.x,c=r.y+o.y-t.y;this.drawGlyph(f,n,l[i],u,c,h)}}}f.restore();const m=f.getImageData(0,0,y.width,y.height);m?this.textureNode.setTextureFromData(y.width,y.height,!0,!0,new Uint8Array(m.data.buffer)):this.textureNode.clear()}})(),drawGlyph(e,t,i,n,s,o){const r=i.getPath(n,-s,o),a=r.commands;e.beginPath();for(let t=0,i=a.length;t<i;++t){const i=a[t];switch(i.type){case"M":e.moveTo(i.x,i.y);continue;case"Z":e.closePath();continue;case"L":e.lineTo(i.x,i.y);continue;case"Q":e.quadraticCurveTo(i.x1,i.y1,i.x,i.y);continue;case"C":e.bezierCurveTo(i.x1,i.y1,i.x2,i.y2,i.x,i.y);continue}}r.fill&&e.fill(),r.stroke&&(e.lineWidth=r.strokeWidth,e.stroke())},getGlyphExtents(e,t,i,n,s){const o=e.unitsPerEm;n.set((t.xMin||0)/o,(t.yMin||0)/o,0),s.set((t.xMax||0)/o,(t.yMax||0)/o,0)},traverse:(()=>{const e=new(_e());return function(t,i){this.getBrowser().getScreenScaleMatrix(i,this.matrix,1,!0),e.assign(this.getBBox()).multRight(this.matrix),this.getText().setBBox(e)}})(),display(e,t){l().prototype.multLeft.call(t.modelViewMatrix,this.matrix),t.textureNode=this.textureNode},transformLine:(()=>{const e=new(l());return function(t){return t.multLineMatrix(e.assign(this.matrix).inverse())}})(),transformMatrix(e){return e.multLeft(this.matrix)}});const Me=Xe;d().add("ScreenText","x_ite/Browser/Layout/ScreenText",Me);const Oe=Me;function ve(e){ce().call(this,e),this.addType(v().ScreenFontStyle)}Object.assign(Object.setPrototypeOf(ve.prototype,ce().prototype),{initialize(){ce().prototype.initialize.call(this),this.getBrowser().getRenderingProperties()._ContentScale.addInterest("addNodeEvent",this)},getTextGeometry(e){return new Oe(e,this)},getScale(){return this._pointSize.getValue()*this.getBrowser().getPixelsPerPoint()}}),Object.defineProperties(ve,{typeName:{value:"ScreenFontStyle",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"fontStyle",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"language",new(x().SFString)),new(m())(v().inputOutput,"family",new(x().MFString)("SERIF")),new(m())(v().inputOutput,"style",new(x().SFString)("PLAIN")),new(m())(v().inputOutput,"pointSize",new(x().SFFloat)(12)),new(m())(v().inputOutput,"spacing",new(x().SFFloat)(1)),new(m())(v().inputOutput,"horizontal",new(x().SFBool)(!0)),new(m())(v().inputOutput,"leftToRight",new(x().SFBool)(!0)),new(m())(v().inputOutput,"topToBottom",new(x().SFBool)(!0)),new(m())(v().inputOutput,"justify",new(x().MFString)("BEGIN"))]),enumerable:!0}});const ze=ve;d().add("ScreenFontStyle","x_ite/Components/Layout/ScreenFontStyle",ze);const Te=ze,Ne=window[Symbol.for("X_ITE.X3D-9.5.0")].require("x_ite/Prototype/X3DProtoDeclaration");var Fe=i.n(Ne);function Ie(e){K().call(this,e),this.addType(v().ScreenGroup),e.getOuterNode()instanceof Fe()?this.matrix=new(l()):this.matrix=new(l())(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}Object.assign(Object.setPrototypeOf(Ie.prototype,K().prototype),{getBBox(e,t){return this.getSubBBox(e,t).multRight(this.matrix)},getMatrix(){return this.matrix},traverse(e,t){switch(e){case $().CAMERA:case $().PICKING:case $().SHADOW:break;default:{const e=this.getBrowser();e.getScreenScaleMatrix(t,this.matrix,e.getRenderingProperty("ContentScale"),!1);break}}const i=t.getModelViewMatrix();i.push(),i.multLeft(this.matrix),K().prototype.traverse.call(this,e,t),i.pop()}}),Object.defineProperties(Ie,{typeName:{value:"ScreenGroup",enumerable:!0},componentInfo:{value:Object.freeze({name:"Layout",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.2",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(S())([new(m())(v().inputOutput,"metadata",new(x().SFNode)),new(m())(v().inputOutput,"visible",new(x().SFBool)(!0)),new(m())(v().inputOutput,"bboxDisplay",new(x().SFBool)),new(m())(v().initializeOnly,"bboxSize",new(x().SFVec3f)(-1,-1,-1)),new(m())(v().initializeOnly,"bboxCenter",new(x().SFVec3f)),new(m())(v().inputOnly,"addChildren",new(x().MFNode)),new(m())(v().inputOnly,"removeChildren",new(x().MFNode)),new(m())(v().inputOutput,"children",new(x().MFNode))]),enumerable:!0}});const Le=Ie;d().add("ScreenGroup","x_ite/Components/Layout/ScreenGroup",Le);const Ee=Le;t().add({name:"Layout",concreteNodes:[W,ie,he,Te,Ee],abstractNodes:[N],browserContext:w});const De=void 0;d().add("Layout","assets/components/Layout",De)})()})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v9.
|
|
1
|
+
/* X_ITE v9.5.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,28 +39,28 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
54
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
54
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Core/X3DNode");
|
|
55
55
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
60
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
60
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Base/X3DCast");
|
|
61
61
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
63
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
63
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Namespace");
|
|
64
64
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/Contour2D.js
|
|
66
66
|
/*******************************************************************************
|
|
@@ -317,7 +317,7 @@ const X3DNurbsControlCurveNode_default_ = X3DNurbsControlCurveNode;
|
|
|
317
317
|
Namespace_default().add ("X3DNurbsControlCurveNode", "x_ite/Components/NURBS/X3DNurbsControlCurveNode", X3DNurbsControlCurveNode_default_);
|
|
318
318
|
/* harmony default export */ const NURBS_X3DNurbsControlCurveNode = (X3DNurbsControlCurveNode_default_);
|
|
319
319
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
320
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
320
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Numbers/Vector3");
|
|
321
321
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
322
322
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/ContourPolyline2D.js
|
|
323
323
|
/*******************************************************************************
|
|
@@ -490,13 +490,13 @@ const ContourPolyline2D_default_ = ContourPolyline2D;
|
|
|
490
490
|
Namespace_default().add ("ContourPolyline2D", "x_ite/Components/NURBS/ContourPolyline2D", ContourPolyline2D_default_);
|
|
491
491
|
/* harmony default export */ const NURBS_ContourPolyline2D = (ContourPolyline2D_default_);
|
|
492
492
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
|
|
493
|
-
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
493
|
+
const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
|
|
494
494
|
var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
|
|
495
495
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
496
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
496
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Numbers/Vector2");
|
|
497
497
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
498
498
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
|
|
499
|
-
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
499
|
+
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Numbers/Vector4");
|
|
500
500
|
var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
|
|
501
501
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/NURBS/NURBS.js
|
|
502
502
|
/*******************************************************************************
|
|
@@ -1061,7 +1061,7 @@ const X3DParametricGeometryNode_default_ = X3DParametricGeometryNode;
|
|
|
1061
1061
|
Namespace_default().add ("X3DParametricGeometryNode", "x_ite/Components/NURBS/X3DParametricGeometryNode", X3DParametricGeometryNode_default_);
|
|
1062
1062
|
/* harmony default export */ const NURBS_X3DParametricGeometryNode = (X3DParametricGeometryNode_default_);
|
|
1063
1063
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DLineGeometryNode\")"
|
|
1064
|
-
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
1064
|
+
const X3DLineGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Rendering/X3DLineGeometryNode");
|
|
1065
1065
|
var X3DLineGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DLineGeometryNode_namespaceObject);
|
|
1066
1066
|
;// CONCATENATED MODULE: ./src/lib/nurbs/src/utils/is-ndarray.js
|
|
1067
1067
|
|
|
@@ -3133,13 +3133,13 @@ const NurbsCurve2D_default_ = NurbsCurve2D;
|
|
|
3133
3133
|
Namespace_default().add ("NurbsCurve2D", "x_ite/Components/NURBS/NurbsCurve2D", NurbsCurve2D_default_);
|
|
3134
3134
|
/* harmony default export */ const NURBS_NurbsCurve2D = (NurbsCurve2D_default_);
|
|
3135
3135
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
3136
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3136
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
3137
3137
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
3138
3138
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/OrientationInterpolator\")"
|
|
3139
|
-
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3139
|
+
const OrientationInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Interpolation/OrientationInterpolator");
|
|
3140
3140
|
var OrientationInterpolator_default = /*#__PURE__*/__webpack_require__.n(OrientationInterpolator_namespaceObject);
|
|
3141
3141
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
3142
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3142
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Numbers/Rotation4");
|
|
3143
3143
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
3144
3144
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js
|
|
3145
3145
|
/*******************************************************************************
|
|
@@ -3376,10 +3376,10 @@ const NurbsOrientationInterpolator_default_ = NurbsOrientationInterpolator;
|
|
|
3376
3376
|
Namespace_default().add ("NurbsOrientationInterpolator", "x_ite/Components/NURBS/NurbsOrientationInterpolator", NurbsOrientationInterpolator_default_);
|
|
3377
3377
|
/* harmony default export */ const NURBS_NurbsOrientationInterpolator = (NurbsOrientationInterpolator_default_);
|
|
3378
3378
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
3379
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3379
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Algorithm");
|
|
3380
3380
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
3381
3381
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
|
|
3382
|
-
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3382
|
+
const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Geometry/Triangle3");
|
|
3383
3383
|
var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
|
|
3384
3384
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js
|
|
3385
3385
|
/*******************************************************************************
|
|
@@ -3893,7 +3893,7 @@ const NurbsPatchSurface_default_ = NurbsPatchSurface;
|
|
|
3893
3893
|
Namespace_default().add ("NurbsPatchSurface", "x_ite/Components/NURBS/NurbsPatchSurface", NurbsPatchSurface_default_);
|
|
3894
3894
|
/* harmony default export */ const NURBS_NurbsPatchSurface = (NurbsPatchSurface_default_);
|
|
3895
3895
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/PositionInterpolator\")"
|
|
3896
|
-
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
3896
|
+
const PositionInterpolator_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Interpolation/PositionInterpolator");
|
|
3897
3897
|
var PositionInterpolator_default = /*#__PURE__*/__webpack_require__.n(PositionInterpolator_namespaceObject);
|
|
3898
3898
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsPositionInterpolator.js
|
|
3899
3899
|
/*******************************************************************************
|
|
@@ -4118,7 +4118,7 @@ const NurbsPositionInterpolator_default_ = NurbsPositionInterpolator;
|
|
|
4118
4118
|
Namespace_default().add ("NurbsPositionInterpolator", "x_ite/Components/NURBS/NurbsPositionInterpolator", NurbsPositionInterpolator_default_);
|
|
4119
4119
|
/* harmony default export */ const NURBS_NurbsPositionInterpolator = (NurbsPositionInterpolator_default_);
|
|
4120
4120
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
4121
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
4121
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
4122
4122
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
4123
4123
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSet.js
|
|
4124
4124
|
/*******************************************************************************
|
|
@@ -4312,7 +4312,7 @@ const NurbsSet_default_ = NurbsSet;
|
|
|
4312
4312
|
Namespace_default().add ("NurbsSet", "x_ite/Components/NURBS/NurbsSet", NurbsSet_default_);
|
|
4313
4313
|
/* harmony default export */ const NURBS_NurbsSet = (NurbsSet_default_);
|
|
4314
4314
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Line3\")"
|
|
4315
|
-
const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
4315
|
+
const Line3_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("standard/Math/Geometry/Line3");
|
|
4316
4316
|
var Line3_default = /*#__PURE__*/__webpack_require__.n(Line3_namespaceObject);
|
|
4317
4317
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle2.js
|
|
4318
4318
|
/*******************************************************************************
|
|
@@ -4592,7 +4592,7 @@ const NurbsSurfaceInterpolator_default_ = NurbsSurfaceInterpolator;
|
|
|
4592
4592
|
Namespace_default().add ("NurbsSurfaceInterpolator", "x_ite/Components/NURBS/NurbsSurfaceInterpolator", NurbsSurfaceInterpolator_default_);
|
|
4593
4593
|
/* harmony default export */ const NURBS_NurbsSurfaceInterpolator = (NurbsSurfaceInterpolator_default_);
|
|
4594
4594
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Geometry3D/Extrusion\")"
|
|
4595
|
-
const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.
|
|
4595
|
+
const Extrusion_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.5.0")] .require ("x_ite/Components/Geometry3D/Extrusion");
|
|
4596
4596
|
var Extrusion_default = /*#__PURE__*/__webpack_require__.n(Extrusion_namespaceObject);
|
|
4597
4597
|
;// CONCATENATED MODULE: ./src/x_ite/Components/NURBS/NurbsSweptSurface.js
|
|
4598
4598
|
/*******************************************************************************
|