x_ite 8.11.16 → 8.12.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.
Files changed (49) hide show
  1. package/README.md +5 -3
  2. package/dist/LICENSE.md +2 -2
  3. package/dist/assets/components/Annotation.js +21 -21
  4. package/dist/assets/components/Annotation.min.js +1 -1
  5. package/dist/assets/components/CADGeometry.js +38 -36
  6. package/dist/assets/components/CADGeometry.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturing.js +31 -31
  8. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  9. package/dist/assets/components/DIS.js +20 -20
  10. package/dist/assets/components/DIS.min.js +1 -1
  11. package/dist/assets/components/EventUtilities.js +19 -19
  12. package/dist/assets/components/EventUtilities.min.js +1 -1
  13. package/dist/assets/components/Geometry2D.js +34 -34
  14. package/dist/assets/components/Geometry2D.min.js +1 -1
  15. package/dist/assets/components/Geospatial.js +86 -85
  16. package/dist/assets/components/Geospatial.min.js +1 -1
  17. package/dist/assets/components/HAnim.js +30 -32
  18. package/dist/assets/components/HAnim.min.js +1 -1
  19. package/dist/assets/components/KeyDeviceSensor.js +13 -13
  20. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  21. package/dist/assets/components/Layout.js +46 -42
  22. package/dist/assets/components/Layout.min.js +1 -1
  23. package/dist/assets/components/NURBS.js +65 -65
  24. package/dist/assets/components/NURBS.min.js +1 -1
  25. package/dist/assets/components/ParticleSystems.js +46 -46
  26. package/dist/assets/components/ParticleSystems.min.js +1 -1
  27. package/dist/assets/components/Picking.js +31 -31
  28. package/dist/assets/components/Picking.min.js +1 -1
  29. package/dist/assets/components/RigidBodyPhysics.js +48 -48
  30. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  31. package/dist/assets/components/Scripting.js +108 -101
  32. package/dist/assets/components/Scripting.min.js +1 -1
  33. package/dist/assets/components/Text.js +44 -44
  34. package/dist/assets/components/Text.min.js +1 -1
  35. package/dist/assets/components/TextureProjector.js +18 -18
  36. package/dist/assets/components/TextureProjector.min.js +1 -1
  37. package/dist/assets/components/Texturing3D.js +74 -92
  38. package/dist/assets/components/Texturing3D.min.js +1 -1
  39. package/dist/assets/components/VolumeRendering.js +39 -40
  40. package/dist/assets/components/VolumeRendering.min.js +1 -1
  41. package/dist/assets/components/X_ITE.js +11 -11
  42. package/dist/assets/components/X_ITE.min.js +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +3153 -2347
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -0
  47. package/dist/x_ite.mjs +121582 -0
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +9 -2
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.11.16 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.12.0 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,37 +39,37 @@ var __webpack_exports__ = {};
39
39
  // UNUSED EXPORTS: default
40
40
 
41
41
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components");
43
43
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
44
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Fields");
46
46
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DFieldDefinition");
49
49
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.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/X3DChildNode\")"
54
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Core/X3DChildNode");
54
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Core/X3DChildNode");
55
55
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
57
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DConstants");
57
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.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-8.11.16")] .require ("x_ite/Base/X3DCast");
60
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.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 (\"standard/Math/Numbers/Vector3\")"
63
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Vector3");
63
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Vector3");
64
64
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
65
65
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
66
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Rotation4");
66
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Rotation4");
67
67
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
68
68
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
69
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Matrix4");
69
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Matrix4");
70
70
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
71
71
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
72
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Namespace");
72
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Namespace");
73
73
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
74
74
  ;// CONCATENATED MODULE: ./src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js
75
75
  /*******************************************************************************
@@ -298,13 +298,13 @@ Object .defineProperties (X3DTextureProjectorNode,
298
298
  const __default__ = X3DTextureProjectorNode;
299
299
  ;
300
300
 
301
- Namespace_default().set ("x_ite/Components/TextureProjector/X3DTextureProjectorNode", __default__);
301
+ Namespace_default().add ("X3DTextureProjectorNode", "x_ite/Components/TextureProjector/X3DTextureProjectorNode", __default__);
302
302
  /* harmony default export */ const TextureProjector_X3DTextureProjectorNode = (__default__);
303
303
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Camera\")"
304
- const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Geometry/Camera");
304
+ const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Geometry/Camera");
305
305
  var Camera_default = /*#__PURE__*/__webpack_require__.n(Camera_namespaceObject);
306
306
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/ObjectCache\")"
307
- const ObjectCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Utility/ObjectCache");
307
+ const ObjectCache_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Utility/ObjectCache");
308
308
  var ObjectCache_default = /*#__PURE__*/__webpack_require__.n(ObjectCache_namespaceObject);
309
309
  ;// CONCATENATED MODULE: ./src/x_ite/Components/TextureProjector/TextureProjector.js
310
310
  /*******************************************************************************
@@ -522,7 +522,7 @@ Object .defineProperties (TextureProjector,
522
522
  const TextureProjector_default_ = TextureProjector;
523
523
  ;
524
524
 
525
- Namespace_default().set ("x_ite/Components/TextureProjector/TextureProjector", TextureProjector_default_);
525
+ Namespace_default().add ("TextureProjector", "x_ite/Components/TextureProjector/TextureProjector", TextureProjector_default_);
526
526
  /* harmony default export */ const TextureProjector_TextureProjector = (TextureProjector_default_);
527
527
  ;// CONCATENATED MODULE: ./src/x_ite/Components/TextureProjector/TextureProjectorParallel.js
528
528
  /*******************************************************************************
@@ -795,7 +795,7 @@ Object .defineProperties (TextureProjectorParallel,
795
795
  const TextureProjectorParallel_default_ = TextureProjectorParallel;
796
796
  ;
797
797
 
798
- Namespace_default().set ("x_ite/Components/TextureProjector/TextureProjectorParallel", TextureProjectorParallel_default_);
798
+ Namespace_default().add ("TextureProjectorParallel", "x_ite/Components/TextureProjector/TextureProjectorParallel", TextureProjectorParallel_default_);
799
799
  /* harmony default export */ const TextureProjector_TextureProjectorParallel = (TextureProjectorParallel_default_);
800
800
  ;// CONCATENATED MODULE: ./src/assets/components/TextureProjector.js
801
801
  /*******************************************************************************
@@ -866,7 +866,7 @@ Components_default().add ({
866
866
  const components_TextureProjector_default_ = undefined;
867
867
  ;
868
868
 
869
- Namespace_default().set ("assets/components/TextureProjector", components_TextureProjector_default_);
869
+ Namespace_default().add ("TextureProjector", "assets/components/TextureProjector", components_TextureProjector_default_);
870
870
  /* harmony default export */ const components_TextureProjector = ((/* unused pure expression or super */ null && (components_TextureProjector_default_)));
871
871
  /******/ })()
872
872
  ;
@@ -1 +1 @@
1
- /* X_ITE v8.11.16 */(()=>{"use strict";var t={n:e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return t.d(i,{a:i}),i},d:(e,i)=>{for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components");var i=t.n(e);const r=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Fields");var o=t.n(r);const n=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DFieldDefinition");var s=t.n(n);const a=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/FieldDefinitionArray");var u=t.n(a);const c=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Components/Core/X3DChildNode");var l=t.n(c);const h=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DConstants");var x=t.n(h);const p=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Base/X3DCast");var d=t.n(p);const m=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Numbers/Vector3");var g=t.n(m);const w=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Numbers/Rotation4");var _=t.n(w);const f=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Numbers/Matrix4");var T=t.n(f);const j=window[Symbol.for("X_ITE.X3D-8.11.16")].require("x_ite/Namespace");var b=t.n(j);function M(t){l().call(this,t),this.addType(x().X3DTextureProjectorNode),this._location.setUnit("length"),this._farDistance.setUnit("length"),this._location.setUnit("length")}Object.assign(Object.setPrototypeOf(M.prototype,l().prototype),{initialize(){l().prototype.initialize.call(this),this._on.addInterest("set_on__",this),this._texture.addInterest("set_texture__",this),this.set_texture__()},getGlobal(){return this._global.getValue()},getLocation(){return this._location.getValue()},getDirection(){return this._direction.getValue()},getNearDistance(){const t=this._nearDistance.getValue();return-1===t?.125:t},getFarDistance(){const t=this._farDistance.getValue();return-1===t?1e5:t},getTexture(){return this.textureNode},getBiasMatrix:(()=>{const t=new(T())(.5,0,0,0,0,.5,0,0,0,0,.5,0,.5,.5,.5,1);return function(){return t}})(),straightenHorizon:(()=>{const t=new(g())(0,0,0),e=new(g())(0,0,0),i=new(g())(0,0,0),r=new(_());return function(o){o.multVecRot(t.assign(g().xAxis).negate()),o.multVecRot(e.assign(g().zAxis)),i.assign(this._upVector.getValue()).normalize();const n=e.cross(i);return Math.abs(e.dot(i))>=1||Math.abs(n.dot(t))>=1?o:(r.setFromToVec(t,n),o.multRight(r))}})(),set_on__(){this._on.getValue()&&this.textureNode?(delete this.push,delete this.pop):(this.push=Function.prototype,this.pop=Function.prototype)},set_texture__(){this.textureNode&&this.textureNode.removeInterest("set_aspectRatio__",this),this.textureNode=d()(x().X3DTexture2DNode,this._texture),this.textureNode&&this.textureNode.addInterest("set_aspectRatio__",this),this.set_aspectRatio__(),this.set_on__()},set_aspectRatio__(){this.textureNode?this._aspectRatio=this.textureNode.getWidth()/this.textureNode.getHeight():this._aspectRatio=0},push(t){const e=this.getTextureProjectors().pop();e.set(this,t.getModelViewMatrix().get()),this._global.getValue()?(t.getGlobalObjects().push(e),t.getTextureProjectors().push(e)):(t.getLocalObjects().push(e),t.getTextureProjectors().push(e),++t.getLocalObjectsCount()[2])},pop(t){this._global.getValue()||(t.getLocalObjects().pop(),--t.getLocalObjectsCount()[2])}}),Object.defineProperties(M,{typeName:{value:"X3DTextureProjectorNode",enumerable:!0},componentName:{value:"TextureProjector",enumerable:!0}});const v=M;b().set("x_ite/Components/TextureProjector/X3DTextureProjectorNode",v);const O=v,y=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Math/Geometry/Camera");var P=t.n(y);const S=window[Symbol.for("X_ITE.X3D-8.11.16")].require("standard/Utility/ObjectCache");var V=t.n(S);const X=V()(F);function F(){this.projectionMatrix=new(T()),this.modelViewMatrix=new(T()),this.modelMatrix=new(T()),this.invTextureSpaceMatrix=new(T()),this.invTextureSpaceProjectionMatrix=new(T()),this.location=new(g())(0,0,0),this.locationArray=new Float32Array(3),this.direction=new(g())(0,0,0),this.rotation=new(_()),this.projectiveTextureMatrix=new(T()),this.projectiveTextureMatrixArray=new Float32Array(16)}function D(t){O.call(this,t),this.addType(x().TextureProjector),this._fieldOfView.setUnit("angle")}Object.assign(F.prototype,{set(t,e){this.browser=t.getBrowser(),this.textureProjectorNode=t,this.modelViewMatrix.assign(e)},setGlobalVariables(t){const e=this.textureProjectorNode,i=t.getCameraSpaceMatrix().get(),r=this.modelMatrix.assign(this.modelViewMatrix).multRight(i),o=this.invTextureSpaceMatrix.assign(e.getGlobal()?r:T().Identity);this.rotation.setFromToVec(g().zAxis,this.direction.assign(e.getDirection()).negate()),e.straightenHorizon(this.rotation),o.translate(e.getLocation()),o.rotate(this.rotation),o.inverse();const n=e.getTexture().getWidth(),s=e.getTexture().getHeight(),a=e.getNearDistance(),u=e.getFarDistance(),c=e.getFieldOfView();P().perspective(c,a,u,n,s,this.projectionMatrix),e.getGlobal()||o.multLeft(r.inverse()),this.invTextureSpaceProjectionMatrix.assign(o).multRight(this.projectionMatrix).multRight(e.getBiasMatrix()),this.projectiveTextureMatrix.assign(i).multRight(this.invTextureSpaceProjectionMatrix),this.projectiveTextureMatrixArray.set(this.projectiveTextureMatrix),this.modelViewMatrix.multVecMatrix(this.location.assign(e._location.getValue())),this.locationArray.set(this.location)},setShaderUniforms(t,e,i){const r=e.numProjectiveTextures++;if(e.hasTextureProjector(r,this))return;const o=this.textureProjectorNode.getTexture(),n=this.browser.getTexture2DUnit();t.activeTexture(t.TEXTURE0+n),t.bindTexture(t.TEXTURE_2D,o.getTexture()),t.uniform1i(e.x3d_ProjectiveTexture[r],n),t.uniformMatrix4fv(e.x3d_ProjectiveTextureMatrix[r],!1,this.projectiveTextureMatrixArray),t.uniform3fv(e.x3d_ProjectiveTextureLocation[r],this.locationArray)},dispose(){X.push(this)}}),Object.assign(Object.setPrototypeOf(D.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this)},getFieldOfView(){const t=this._fieldOfView.getValue();return t>0&&t<Math.PI?t:Math.PI/4},getTextureProjectors:()=>X}),Object.defineProperties(D,{typeName:{value:"TextureProjector",enumerable:!0},componentName:{value:"TextureProjector",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(s())(x().inputOutput,"metadata",new(o().SFNode)),new(s())(x().inputOutput,"description",new(o().SFString)),new(s())(x().inputOutput,"on",new(o().SFBool)(!0)),new(s())(x().inputOutput,"global",new(o().SFBool)(!0)),new(s())(x().inputOutput,"location",new(o().SFVec3f)(0,0,0)),new(s())(x().inputOutput,"direction",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"upVector",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"fieldOfView",new(o().SFFloat)(.785398)),new(s())(x().inputOutput,"nearDistance",new(o().SFFloat)(-1)),new(s())(x().inputOutput,"farDistance",new(o().SFFloat)(-1)),new(s())(x().outputOnly,"aspectRatio",new(o().SFFloat)),new(s())(x().inputOutput,"texture",new(o().SFNode))]),enumerable:!0}});const N=D;b().set("x_ite/Components/TextureProjector/TextureProjector",N);const R=N,I=V()(z);function z(){this.projectionMatrix=new(T()),this.modelViewMatrix=new(T()),this.modelMatrix=new(T()),this.invTextureSpaceMatrix=new(T()),this.location=new(g())(0,0,0),this.locationArray=new Float32Array(3),this.invTextureSpaceProjectionMatrix=new(T()),this.direction=new(g())(0,0,0),this.rotation=new(_()),this.projectiveTextureMatrix=new(T()),this.projectiveTextureMatrixArray=new Float32Array(16)}function A(t){O.call(this,t),this.addType(x().TextureProjectorParallel),this._fieldOfView.setUnit("length")}Object.assign(z.prototype,{set(t,e){this.browser=t.getBrowser(),this.textureProjectorNode=t,this.modelViewMatrix.assign(e)},setGlobalVariables(t){const e=this.textureProjectorNode,i=t.getCameraSpaceMatrix().get(),r=this.modelMatrix.assign(this.modelViewMatrix).multRight(i),o=this.invTextureSpaceMatrix.assign(e.getGlobal()?r:T().Identity);this.rotation.setFromToVec(g().zAxis,this.direction.assign(e.getDirection()).negate()),e.straightenHorizon(this.rotation),o.translate(e.getLocation()),o.rotate(this.rotation),o.inverse();const n=e.getTexture().getWidth()/e.getTexture().getHeight(),s=e.getMinimumX(),a=e.getMaximumX(),u=e.getMinimumY(),c=e.getMaximumY(),l=e.getSizeX(),h=e.getSizeY(),x=e.getNearDistance(),p=e.getFarDistance();if(n>l/h){const t=(s+a)/2,e=h*n/2;P().ortho(t-e,t+e,u,c,x,p,this.projectionMatrix)}else{const t=(u+c)/2,e=l/n/2;P().ortho(s,a,t-e,t+e,x,p,this.projectionMatrix)}e.getGlobal()||o.multLeft(r.inverse()),this.invTextureSpaceProjectionMatrix.assign(o).multRight(this.projectionMatrix).multRight(e.getBiasMatrix()),this.projectiveTextureMatrix.assign(i).multRight(this.invTextureSpaceProjectionMatrix),this.projectiveTextureMatrixArray.set(this.projectiveTextureMatrix),this.modelViewMatrix.multVecMatrix(this.location.assign(e._location.getValue())),this.locationArray.set(this.location)},setShaderUniforms(t,e,i){const r=e.numProjectiveTextures++;if(e.hasTextureProjector(r,this))return;const o=this.textureProjectorNode.getTexture(),n=this.browser.getTexture2DUnit();t.activeTexture(t.TEXTURE0+n),t.bindTexture(t.TEXTURE_2D,o.getTexture()),t.uniform1i(e.x3d_ProjectiveTexture[r],n),t.uniformMatrix4fv(e.x3d_ProjectiveTextureMatrix[r],!1,this.projectiveTextureMatrixArray),t.uniform3fv(e.x3d_ProjectiveTextureLocation[r],this.locationArray)},dispose(){I.push(this)}}),Object.assign(Object.setPrototypeOf(A.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._fieldOfView.addInterest("set_fieldOfView___",this),this.set_fieldOfView___()},set_fieldOfView___(){const t=this._fieldOfView.length;this.minimumX=t>0?this._fieldOfView[0]:-1,this.minimumY=t>1?this._fieldOfView[1]:-1,this.maximumX=t>2?this._fieldOfView[2]:1,this.maximumY=t>3?this._fieldOfView[3]:1,this.sizeX=this.maximumX-this.minimumX,this.sizeY=this.maximumY-this.minimumY},getMinimumX(){return this.minimumX},getMinimumY(){return this.minimumY},getMaximumX(){return this.maximumX},getMaximumY(){return this.maximumY},getSizeX(){return this.sizeX},getSizeY(){return this.sizeY},getTextureProjectors:()=>I}),Object.defineProperties(A,{typeName:{value:"TextureProjectorParallel",enumerable:!0},componentName:{value:"TextureProjector",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(s())(x().inputOutput,"metadata",new(o().SFNode)),new(s())(x().inputOutput,"description",new(o().SFString)),new(s())(x().inputOutput,"on",new(o().SFBool)(!0)),new(s())(x().inputOutput,"global",new(o().SFBool)(!0)),new(s())(x().inputOutput,"location",new(o().SFVec3f)(0,0,0)),new(s())(x().inputOutput,"direction",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"upVector",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"fieldOfView",new(o().MFFloat)(-1,-1,1,1)),new(s())(x().inputOutput,"nearDistance",new(o().SFFloat)(-1)),new(s())(x().inputOutput,"farDistance",new(o().SFFloat)(-1)),new(s())(x().outputOnly,"aspectRatio",new(o().SFFloat)),new(s())(x().inputOutput,"texture",new(o().SFNode))]),enumerable:!0}});const E=A;b().set("x_ite/Components/TextureProjector/TextureProjectorParallel",E);const C=E;i().add({name:"TextureProjector",concreteNodes:[R,C],abstractNodes:[O]});const U=void 0;b().set("assets/components/TextureProjector",U)})();
1
+ /* X_ITE v8.12.0 */(()=>{"use strict";var t={n:e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return t.d(i,{a:i}),i},d:(e,i)=>{for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components");var i=t.n(e);const r=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Fields");var o=t.n(r);const n=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DFieldDefinition");var s=t.n(n);const a=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/FieldDefinitionArray");var u=t.n(a);const c=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Components/Core/X3DChildNode");var l=t.n(c);const h=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DConstants");var x=t.n(h);const p=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Base/X3DCast");var d=t.n(p);const m=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Numbers/Vector3");var g=t.n(m);const w=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Numbers/Rotation4");var _=t.n(w);const T=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Numbers/Matrix4");var f=t.n(T);const j=window[Symbol.for("X_ITE.X3D-8.12.0")].require("x_ite/Namespace");var b=t.n(j);function M(t){l().call(this,t),this.addType(x().X3DTextureProjectorNode),this._location.setUnit("length"),this._farDistance.setUnit("length"),this._location.setUnit("length")}Object.assign(Object.setPrototypeOf(M.prototype,l().prototype),{initialize(){l().prototype.initialize.call(this),this._on.addInterest("set_on__",this),this._texture.addInterest("set_texture__",this),this.set_texture__()},getGlobal(){return this._global.getValue()},getLocation(){return this._location.getValue()},getDirection(){return this._direction.getValue()},getNearDistance(){const t=this._nearDistance.getValue();return-1===t?.125:t},getFarDistance(){const t=this._farDistance.getValue();return-1===t?1e5:t},getTexture(){return this.textureNode},getBiasMatrix:(()=>{const t=new(f())(.5,0,0,0,0,.5,0,0,0,0,.5,0,.5,.5,.5,1);return function(){return t}})(),straightenHorizon:(()=>{const t=new(g())(0,0,0),e=new(g())(0,0,0),i=new(g())(0,0,0),r=new(_());return function(o){o.multVecRot(t.assign(g().xAxis).negate()),o.multVecRot(e.assign(g().zAxis)),i.assign(this._upVector.getValue()).normalize();const n=e.cross(i);return Math.abs(e.dot(i))>=1||Math.abs(n.dot(t))>=1?o:(r.setFromToVec(t,n),o.multRight(r))}})(),set_on__(){this._on.getValue()&&this.textureNode?(delete this.push,delete this.pop):(this.push=Function.prototype,this.pop=Function.prototype)},set_texture__(){this.textureNode&&this.textureNode.removeInterest("set_aspectRatio__",this),this.textureNode=d()(x().X3DTexture2DNode,this._texture),this.textureNode&&this.textureNode.addInterest("set_aspectRatio__",this),this.set_aspectRatio__(),this.set_on__()},set_aspectRatio__(){this.textureNode?this._aspectRatio=this.textureNode.getWidth()/this.textureNode.getHeight():this._aspectRatio=0},push(t){const e=this.getTextureProjectors().pop();e.set(this,t.getModelViewMatrix().get()),this._global.getValue()?(t.getGlobalObjects().push(e),t.getTextureProjectors().push(e)):(t.getLocalObjects().push(e),t.getTextureProjectors().push(e),++t.getLocalObjectsCount()[2])},pop(t){this._global.getValue()||(t.getLocalObjects().pop(),--t.getLocalObjectsCount()[2])}}),Object.defineProperties(M,{typeName:{value:"X3DTextureProjectorNode",enumerable:!0},componentName:{value:"TextureProjector",enumerable:!0}});const v=M;b().add("X3DTextureProjectorNode","x_ite/Components/TextureProjector/X3DTextureProjectorNode",v);const O=v,y=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Math/Geometry/Camera");var P=t.n(y);const S=window[Symbol.for("X_ITE.X3D-8.12.0")].require("standard/Utility/ObjectCache");var V=t.n(S);const X=V()(F);function F(){this.projectionMatrix=new(f()),this.modelViewMatrix=new(f()),this.modelMatrix=new(f()),this.invTextureSpaceMatrix=new(f()),this.invTextureSpaceProjectionMatrix=new(f()),this.location=new(g())(0,0,0),this.locationArray=new Float32Array(3),this.direction=new(g())(0,0,0),this.rotation=new(_()),this.projectiveTextureMatrix=new(f()),this.projectiveTextureMatrixArray=new Float32Array(16)}function D(t){O.call(this,t),this.addType(x().TextureProjector),this._fieldOfView.setUnit("angle")}Object.assign(F.prototype,{set(t,e){this.browser=t.getBrowser(),this.textureProjectorNode=t,this.modelViewMatrix.assign(e)},setGlobalVariables(t){const e=this.textureProjectorNode,i=t.getCameraSpaceMatrix().get(),r=this.modelMatrix.assign(this.modelViewMatrix).multRight(i),o=this.invTextureSpaceMatrix.assign(e.getGlobal()?r:f().Identity);this.rotation.setFromToVec(g().zAxis,this.direction.assign(e.getDirection()).negate()),e.straightenHorizon(this.rotation),o.translate(e.getLocation()),o.rotate(this.rotation),o.inverse();const n=e.getTexture().getWidth(),s=e.getTexture().getHeight(),a=e.getNearDistance(),u=e.getFarDistance(),c=e.getFieldOfView();P().perspective(c,a,u,n,s,this.projectionMatrix),e.getGlobal()||o.multLeft(r.inverse()),this.invTextureSpaceProjectionMatrix.assign(o).multRight(this.projectionMatrix).multRight(e.getBiasMatrix()),this.projectiveTextureMatrix.assign(i).multRight(this.invTextureSpaceProjectionMatrix),this.projectiveTextureMatrixArray.set(this.projectiveTextureMatrix),this.modelViewMatrix.multVecMatrix(this.location.assign(e._location.getValue())),this.locationArray.set(this.location)},setShaderUniforms(t,e,i){const r=e.numProjectiveTextures++;if(e.hasTextureProjector(r,this))return;const o=this.textureProjectorNode.getTexture(),n=this.browser.getTexture2DUnit();t.activeTexture(t.TEXTURE0+n),t.bindTexture(t.TEXTURE_2D,o.getTexture()),t.uniform1i(e.x3d_ProjectiveTexture[r],n),t.uniformMatrix4fv(e.x3d_ProjectiveTextureMatrix[r],!1,this.projectiveTextureMatrixArray),t.uniform3fv(e.x3d_ProjectiveTextureLocation[r],this.locationArray)},dispose(){X.push(this)}}),Object.assign(Object.setPrototypeOf(D.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this)},getFieldOfView(){const t=this._fieldOfView.getValue();return t>0&&t<Math.PI?t:Math.PI/4},getTextureProjectors:()=>X}),Object.defineProperties(D,{typeName:{value:"TextureProjector",enumerable:!0},componentName:{value:"TextureProjector",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(s())(x().inputOutput,"metadata",new(o().SFNode)),new(s())(x().inputOutput,"description",new(o().SFString)),new(s())(x().inputOutput,"on",new(o().SFBool)(!0)),new(s())(x().inputOutput,"global",new(o().SFBool)(!0)),new(s())(x().inputOutput,"location",new(o().SFVec3f)(0,0,0)),new(s())(x().inputOutput,"direction",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"upVector",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"fieldOfView",new(o().SFFloat)(.785398)),new(s())(x().inputOutput,"nearDistance",new(o().SFFloat)(-1)),new(s())(x().inputOutput,"farDistance",new(o().SFFloat)(-1)),new(s())(x().outputOnly,"aspectRatio",new(o().SFFloat)),new(s())(x().inputOutput,"texture",new(o().SFNode))]),enumerable:!0}});const N=D;b().add("TextureProjector","x_ite/Components/TextureProjector/TextureProjector",N);const R=N,I=V()(z);function z(){this.projectionMatrix=new(f()),this.modelViewMatrix=new(f()),this.modelMatrix=new(f()),this.invTextureSpaceMatrix=new(f()),this.location=new(g())(0,0,0),this.locationArray=new Float32Array(3),this.invTextureSpaceProjectionMatrix=new(f()),this.direction=new(g())(0,0,0),this.rotation=new(_()),this.projectiveTextureMatrix=new(f()),this.projectiveTextureMatrixArray=new Float32Array(16)}function A(t){O.call(this,t),this.addType(x().TextureProjectorParallel),this._fieldOfView.setUnit("length")}Object.assign(z.prototype,{set(t,e){this.browser=t.getBrowser(),this.textureProjectorNode=t,this.modelViewMatrix.assign(e)},setGlobalVariables(t){const e=this.textureProjectorNode,i=t.getCameraSpaceMatrix().get(),r=this.modelMatrix.assign(this.modelViewMatrix).multRight(i),o=this.invTextureSpaceMatrix.assign(e.getGlobal()?r:f().Identity);this.rotation.setFromToVec(g().zAxis,this.direction.assign(e.getDirection()).negate()),e.straightenHorizon(this.rotation),o.translate(e.getLocation()),o.rotate(this.rotation),o.inverse();const n=e.getTexture().getWidth()/e.getTexture().getHeight(),s=e.getMinimumX(),a=e.getMaximumX(),u=e.getMinimumY(),c=e.getMaximumY(),l=e.getSizeX(),h=e.getSizeY(),x=e.getNearDistance(),p=e.getFarDistance();if(n>l/h){const t=(s+a)/2,e=h*n/2;P().ortho(t-e,t+e,u,c,x,p,this.projectionMatrix)}else{const t=(u+c)/2,e=l/n/2;P().ortho(s,a,t-e,t+e,x,p,this.projectionMatrix)}e.getGlobal()||o.multLeft(r.inverse()),this.invTextureSpaceProjectionMatrix.assign(o).multRight(this.projectionMatrix).multRight(e.getBiasMatrix()),this.projectiveTextureMatrix.assign(i).multRight(this.invTextureSpaceProjectionMatrix),this.projectiveTextureMatrixArray.set(this.projectiveTextureMatrix),this.modelViewMatrix.multVecMatrix(this.location.assign(e._location.getValue())),this.locationArray.set(this.location)},setShaderUniforms(t,e,i){const r=e.numProjectiveTextures++;if(e.hasTextureProjector(r,this))return;const o=this.textureProjectorNode.getTexture(),n=this.browser.getTexture2DUnit();t.activeTexture(t.TEXTURE0+n),t.bindTexture(t.TEXTURE_2D,o.getTexture()),t.uniform1i(e.x3d_ProjectiveTexture[r],n),t.uniformMatrix4fv(e.x3d_ProjectiveTextureMatrix[r],!1,this.projectiveTextureMatrixArray),t.uniform3fv(e.x3d_ProjectiveTextureLocation[r],this.locationArray)},dispose(){I.push(this)}}),Object.assign(Object.setPrototypeOf(A.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._fieldOfView.addInterest("set_fieldOfView___",this),this.set_fieldOfView___()},set_fieldOfView___(){const t=this._fieldOfView.length;this.minimumX=t>0?this._fieldOfView[0]:-1,this.minimumY=t>1?this._fieldOfView[1]:-1,this.maximumX=t>2?this._fieldOfView[2]:1,this.maximumY=t>3?this._fieldOfView[3]:1,this.sizeX=this.maximumX-this.minimumX,this.sizeY=this.maximumY-this.minimumY},getMinimumX(){return this.minimumX},getMinimumY(){return this.minimumY},getMaximumX(){return this.maximumX},getMaximumY(){return this.maximumY},getSizeX(){return this.sizeX},getSizeY(){return this.sizeY},getTextureProjectors:()=>I}),Object.defineProperties(A,{typeName:{value:"TextureProjectorParallel",enumerable:!0},componentName:{value:"TextureProjector",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(s())(x().inputOutput,"metadata",new(o().SFNode)),new(s())(x().inputOutput,"description",new(o().SFString)),new(s())(x().inputOutput,"on",new(o().SFBool)(!0)),new(s())(x().inputOutput,"global",new(o().SFBool)(!0)),new(s())(x().inputOutput,"location",new(o().SFVec3f)(0,0,0)),new(s())(x().inputOutput,"direction",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"upVector",new(o().SFVec3f)(0,0,1)),new(s())(x().inputOutput,"fieldOfView",new(o().MFFloat)(-1,-1,1,1)),new(s())(x().inputOutput,"nearDistance",new(o().SFFloat)(-1)),new(s())(x().inputOutput,"farDistance",new(o().SFFloat)(-1)),new(s())(x().outputOnly,"aspectRatio",new(o().SFFloat)),new(s())(x().inputOutput,"texture",new(o().SFNode))]),enumerable:!0}});const E=A;b().add("TextureProjectorParallel","x_ite/Components/TextureProjector/TextureProjectorParallel",E);const C=E;i().add({name:"TextureProjector",concreteNodes:[R,C],abstractNodes:[O]});const U=void 0;b().add("TextureProjector","assets/components/TextureProjector",U)})();
@@ -1,7 +1,7 @@
1
- /* X_ITE v8.11.16 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.12.0 */(() => { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
- /***/ 513:
4
+ /***/ 34:
5
5
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6
6
 
7
7
  var __dirname = "/";
@@ -38,7 +38,7 @@ var Ib=[cx,_q,cr,Yr,as,fs,hs,Hu,Su,cx,cx,cx,cx,cx,cx,cx];var Jb=[dx,si,gi,Wh,Kh,
38
38
 
39
39
  /***/ }),
40
40
 
41
- /***/ 60:
41
+ /***/ 991:
42
42
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
43
43
 
44
44
  var __dirname = "/";
@@ -72,7 +72,7 @@ var _a=[yj,od,ef,yj];var $a=[zj,Li,di,bi,Kb,Lb,Mb,Nb,Rc,Sc,Uc,jd,xd,Ye,lf,yd,zd,
72
72
 
73
73
  /***/ }),
74
74
 
75
- /***/ 471:
75
+ /***/ 706:
76
76
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77
77
 
78
78
  /*! dicom-parser - 1.8.12 - 2023-02-20 | (c) 2017 Chris Hafey | https://github.com/cornerstonejs/dicomParser */
@@ -4028,7 +4028,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_zlib__;
4028
4028
 
4029
4029
  /***/ }),
4030
4030
 
4031
- /***/ 737:
4031
+ /***/ 814:
4032
4032
  /***/ ((module) => {
4033
4033
 
4034
4034
  /* -*- tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
@@ -5183,7 +5183,7 @@ function decode(jpegData, userOpts = {}) {
5183
5183
 
5184
5184
  /***/ }),
5185
5185
 
5186
- /***/ 803:
5186
+ /***/ 441:
5187
5187
  /***/ ((module) => {
5188
5188
 
5189
5189
  (function(f){if(true){module.exports=f()}else { var g; }})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=undefined;if(!f&&c)return require(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=undefined,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
@@ -6952,7 +6952,7 @@ if ((moduleType !== 'undefined') && module.exports) {
6952
6952
  /***/ ((module) => {
6953
6953
 
6954
6954
  "use strict";
6955
- module.exports = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("lib/jquery");
6955
+ module.exports = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("lib/jquery");
6956
6956
 
6957
6957
  /***/ }),
6958
6958
 
@@ -7056,25 +7056,25 @@ var __webpack_exports__ = {};
7056
7056
  // UNUSED EXPORTS: default
7057
7057
 
7058
7058
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
7059
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components");
7059
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components");
7060
7060
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
7061
7061
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
7062
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Fields");
7062
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Fields");
7063
7063
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
7064
7064
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
7065
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DFieldDefinition");
7065
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DFieldDefinition");
7066
7066
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
7067
7067
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
7068
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/FieldDefinitionArray");
7068
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/FieldDefinitionArray");
7069
7069
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
7070
7070
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureNode\")"
7071
- const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
7071
+ const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
7072
7072
  var X3DSingleTextureNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureNode_namespaceObject);
7073
7073
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
7074
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DConstants");
7074
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DConstants");
7075
7075
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
7076
7076
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
7077
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Namespace");
7077
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Namespace");
7078
7078
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
7079
7079
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/X3DTexture3DNode.js
7080
7080
  /*******************************************************************************
@@ -7252,10 +7252,10 @@ Object .defineProperties (X3DTexture3DNode,
7252
7252
  const __default__ = X3DTexture3DNode;
7253
7253
  ;
7254
7254
 
7255
- Namespace_default().set ("x_ite/Components/Texturing3D/X3DTexture3DNode", __default__);
7255
+ Namespace_default().add ("X3DTexture3DNode", "x_ite/Components/Texturing3D/X3DTexture3DNode", __default__);
7256
7256
  /* harmony default export */ const Texturing3D_X3DTexture3DNode = (__default__);
7257
7257
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
7258
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Base/X3DCast");
7258
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Base/X3DCast");
7259
7259
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
7260
7260
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/ComposedTexture3D.js
7261
7261
  /*******************************************************************************
@@ -7461,13 +7461,13 @@ Object .defineProperties (ComposedTexture3D,
7461
7461
  const ComposedTexture3D_default_ = ComposedTexture3D;
7462
7462
  ;
7463
7463
 
7464
- Namespace_default().set ("x_ite/Components/Texturing3D/ComposedTexture3D", ComposedTexture3D_default_);
7464
+ Namespace_default().add ("ComposedTexture3D", "x_ite/Components/Texturing3D/ComposedTexture3D", ComposedTexture3D_default_);
7465
7465
  /* harmony default export */ const Texturing3D_ComposedTexture3D = (ComposedTexture3D_default_);
7466
7466
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
7467
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Networking/X3DUrlObject");
7467
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
7468
7468
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
7469
7469
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Parser/Expressions\")"
7470
- const Expressions_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Parser/Expressions");
7470
+ const Expressions_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Parser/Expressions");
7471
7471
  var Expressions_default = /*#__PURE__*/__webpack_require__.n(Expressions_namespaceObject);
7472
7472
  // EXTERNAL MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"lib/jquery\")"
7473
7473
  var jquery_ = __webpack_require__(355);
@@ -7933,14 +7933,14 @@ Object .assign (NRRDParser .prototype,
7933
7933
  const NRRDParser_default_ = NRRDParser;
7934
7934
  ;
7935
7935
 
7936
- Namespace_default().set ("x_ite/Browser/Texturing3D/NRRDParser", NRRDParser_default_);
7936
+ Namespace_default().add ("NRRDParser", "x_ite/Browser/Texturing3D/NRRDParser", NRRDParser_default_);
7937
7937
  /* harmony default export */ const Texturing3D_NRRDParser = (NRRDParser_default_);
7938
7938
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing3D/DICOMParser.js
7939
- /* provided dependency */ var dicomParser = __webpack_require__(471);
7940
- /* provided dependency */ var JpegImage = __webpack_require__(737);
7941
- /* provided dependency */ var jpeg = __webpack_require__(803);
7942
- /* provided dependency */ var CharLS = __webpack_require__(513);
7943
- /* provided dependency */ var OpenJPEG = __webpack_require__(60);
7939
+ /* provided dependency */ var dicomParser = __webpack_require__(706);
7940
+ /* provided dependency */ var JpegImage = __webpack_require__(814);
7941
+ /* provided dependency */ var jpeg = __webpack_require__(441);
7942
+ /* provided dependency */ var CharLS = __webpack_require__(34);
7943
+ /* provided dependency */ var OpenJPEG = __webpack_require__(991);
7944
7944
  /*******************************************************************************
7945
7945
  *
7946
7946
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -9040,10 +9040,10 @@ Object .assign (DicomParser .prototype,
9040
9040
  const DICOMParser_default_ = DicomParser;
9041
9041
  ;
9042
9042
 
9043
- Namespace_default().set ("x_ite/Browser/Texturing3D/DICOMParser", DICOMParser_default_);
9043
+ Namespace_default().add ("DICOMParser", "x_ite/Browser/Texturing3D/DICOMParser", DICOMParser_default_);
9044
9044
  /* harmony default export */ const DICOMParser = (DICOMParser_default_);
9045
9045
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
9046
- const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/InputOutput/FileLoader");
9046
+ const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/InputOutput/FileLoader");
9047
9047
  var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
9048
9048
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/ImageTexture3D.js
9049
9049
  /*******************************************************************************
@@ -9231,10 +9231,10 @@ Object .defineProperties (ImageTexture3D,
9231
9231
  const ImageTexture3D_default_ = ImageTexture3D;
9232
9232
  ;
9233
9233
 
9234
- Namespace_default().set ("x_ite/Components/Texturing3D/ImageTexture3D", ImageTexture3D_default_);
9234
+ Namespace_default().add ("ImageTexture3D", "x_ite/Components/Texturing3D/ImageTexture3D", ImageTexture3D_default_);
9235
9235
  /* harmony default export */ const Texturing3D_ImageTexture3D = (ImageTexture3D_default_);
9236
9236
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEVELOPMENT\")"
9237
- const DEVELOPMENT_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/DEVELOPMENT");
9237
+ const DEVELOPMENT_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/DEVELOPMENT");
9238
9238
  var DEVELOPMENT_default = /*#__PURE__*/__webpack_require__.n(DEVELOPMENT_namespaceObject);
9239
9239
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/ImageTextureAtlas.js
9240
9240
  /* provided dependency */ var $ = __webpack_require__(355);
@@ -9485,7 +9485,7 @@ Object .defineProperties (ImageTextureAtlas,
9485
9485
  const ImageTextureAtlas_default_ = ImageTextureAtlas;
9486
9486
  ;
9487
9487
 
9488
- Namespace_default().set ("x_ite/Components/Texturing3D/ImageTextureAtlas", ImageTextureAtlas_default_);
9488
+ Namespace_default().add ("ImageTextureAtlas", "x_ite/Components/Texturing3D/ImageTextureAtlas", ImageTextureAtlas_default_);
9489
9489
  /* harmony default export */ const Texturing3D_ImageTextureAtlas = (ImageTextureAtlas_default_);
9490
9490
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/PixelTexture3D.js
9491
9491
  /*******************************************************************************
@@ -9711,13 +9711,13 @@ Object .defineProperties (PixelTexture3D,
9711
9711
  const PixelTexture3D_default_ = PixelTexture3D;
9712
9712
  ;
9713
9713
 
9714
- Namespace_default().set ("x_ite/Components/Texturing3D/PixelTexture3D", PixelTexture3D_default_);
9714
+ Namespace_default().add ("PixelTexture3D", "x_ite/Components/Texturing3D/PixelTexture3D", PixelTexture3D_default_);
9715
9715
  /* harmony default export */ const Texturing3D_PixelTexture3D = (PixelTexture3D_default_);
9716
9716
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureCoordinateNode\")"
9717
- const X3DSingleTextureCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Texturing/X3DSingleTextureCoordinateNode");
9717
+ const X3DSingleTextureCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Texturing/X3DSingleTextureCoordinateNode");
9718
9718
  var X3DSingleTextureCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureCoordinateNode_namespaceObject);
9719
9719
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
9720
- const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Vector4");
9720
+ const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Vector4");
9721
9721
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/TextureCoordinate3D.js
9722
9722
  /*******************************************************************************
9723
9723
  *
@@ -9803,41 +9803,32 @@ Object .assign (Object .setPrototypeOf (TextureCoordinate3D .prototype, (X3DSing
9803
9803
  {
9804
9804
  return this .length;
9805
9805
  },
9806
- getPoints (array)
9807
- {
9808
- const
9809
- point = this .point,
9810
- length = this .length;
9811
-
9812
- for (let i = 0, p = 0; i < length; ++ i, p += 3)
9813
- array .push (point [p], point [p + 1], point [p + 2], 1);
9814
-
9815
- return array;
9816
- },
9817
9806
  addPointToChannel (index, array)
9818
9807
  {
9819
- if (index >= 0 && index < this .length)
9820
- {
9821
- const point = this .point;
9822
-
9823
- index *= 3;
9824
-
9825
- array .push (point [index], point [index + 1], point [index + 2], 1);
9826
- }
9827
- else if (index >= 0 && this .length)
9808
+ if (index >= 0 && this .length)
9828
9809
  {
9829
- const point = this .point;
9830
-
9831
- index %= this .length;
9832
- index *= 3;
9810
+ const
9811
+ point = this .point,
9812
+ i = (index % this .length) * 3;
9833
9813
 
9834
- array .push (point [index], point [index + 1], point [index + 2], 1);
9814
+ array .push (point [i], point [i + 1], point [i + 2], 1);
9835
9815
  }
9836
9816
  else
9837
9817
  {
9838
9818
  array .push (0, 0, 0, 1);
9839
9819
  }
9840
9820
  },
9821
+ addPoints (array)
9822
+ {
9823
+ const
9824
+ point = this .point,
9825
+ length = this .length;
9826
+
9827
+ for (let i = 0, p = 0; i < length; ++ i, p += 3)
9828
+ array .push (point [p], point [p + 1], point [p + 2], 1);
9829
+
9830
+ return array;
9831
+ },
9841
9832
  });
9842
9833
 
9843
9834
  Object .defineProperties (TextureCoordinate3D,
@@ -9876,7 +9867,7 @@ Object .defineProperties (TextureCoordinate3D,
9876
9867
  const TextureCoordinate3D_default_ = TextureCoordinate3D;
9877
9868
  ;
9878
9869
 
9879
- Namespace_default().set ("x_ite/Components/Texturing3D/TextureCoordinate3D", TextureCoordinate3D_default_);
9870
+ Namespace_default().add ("TextureCoordinate3D", "x_ite/Components/Texturing3D/TextureCoordinate3D", TextureCoordinate3D_default_);
9880
9871
  /* harmony default export */ const Texturing3D_TextureCoordinate3D = (TextureCoordinate3D_default_);
9881
9872
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/TextureCoordinate4D.js
9882
9873
  /*******************************************************************************
@@ -9963,41 +9954,32 @@ Object .assign (Object .setPrototypeOf (TextureCoordinate4D .prototype, (X3DSing
9963
9954
  {
9964
9955
  return this .length;
9965
9956
  },
9966
- getPoints (array)
9967
- {
9968
- const
9969
- point = this .point,
9970
- length = this .length;
9971
-
9972
- for (let i = 0, p = 0; i < length; ++ i, p += 4)
9973
- array .push (point [p], point [p + 1], point [p + 2], point [p + 3]);
9974
-
9975
- return array;
9976
- },
9977
9957
  addPointToChannel (index, array)
9978
9958
  {
9979
- if (index >= 0 && index < this .length)
9980
- {
9981
- const point = this .point;
9982
-
9983
- index *= 4;
9984
-
9985
- array .push (point [index], point [index + 1], point [index + 2], point [index + 3]);
9986
- }
9987
- else if (index >= 0 && this .length)
9959
+ if (index >= 0 && this .length)
9988
9960
  {
9989
- const point = this .point;
9990
-
9991
- index %= this .length;
9992
- index *= 4;
9961
+ const
9962
+ point = this .point,
9963
+ i = (index % this .length) * 4;
9993
9964
 
9994
- array .push (point [index], point [index + 1], point [index + 2], point [index + 3]);
9965
+ array .push (point [i], point [i + 1], point [i + 2], point [i + 3]);
9995
9966
  }
9996
9967
  else
9997
9968
  {
9998
9969
  array .push (0, 0, 0, 1);
9999
9970
  }
10000
9971
  },
9972
+ addPoints (array)
9973
+ {
9974
+ const
9975
+ point = this .point,
9976
+ length = this .length;
9977
+
9978
+ for (let i = 0, p = 0; i < length; ++ i, p += 4)
9979
+ array .push (point [p], point [p + 1], point [p + 2], point [p + 3]);
9980
+
9981
+ return array;
9982
+ },
10001
9983
  });
10002
9984
 
10003
9985
  Object .defineProperties (TextureCoordinate4D,
@@ -10036,19 +10018,19 @@ Object .defineProperties (TextureCoordinate4D,
10036
10018
  const TextureCoordinate4D_default_ = TextureCoordinate4D;
10037
10019
  ;
10038
10020
 
10039
- Namespace_default().set ("x_ite/Components/Texturing3D/TextureCoordinate4D", TextureCoordinate4D_default_);
10021
+ Namespace_default().add ("TextureCoordinate4D", "x_ite/Components/Texturing3D/TextureCoordinate4D", TextureCoordinate4D_default_);
10040
10022
  /* harmony default export */ const Texturing3D_TextureCoordinate4D = (TextureCoordinate4D_default_);
10041
10023
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureTransformNode\")"
10042
- const X3DSingleTextureTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("x_ite/Components/Texturing/X3DSingleTextureTransformNode");
10024
+ const X3DSingleTextureTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("x_ite/Components/Texturing/X3DSingleTextureTransformNode");
10043
10025
  var X3DSingleTextureTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureTransformNode_namespaceObject);
10044
10026
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
10045
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Vector3");
10027
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Vector3");
10046
10028
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
10047
10029
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
10048
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Rotation4");
10030
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Rotation4");
10049
10031
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
10050
10032
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
10051
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.16")] .require ("standard/Math/Numbers/Matrix4");
10033
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.12.0")] .require ("standard/Math/Numbers/Matrix4");
10052
10034
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
10053
10035
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/TextureTransform3D.js
10054
10036
  /*******************************************************************************
@@ -10204,7 +10186,7 @@ Object .defineProperties (TextureTransform3D,
10204
10186
  const TextureTransform3D_default_ = TextureTransform3D;
10205
10187
  ;
10206
10188
 
10207
- Namespace_default().set ("x_ite/Components/Texturing3D/TextureTransform3D", TextureTransform3D_default_);
10189
+ Namespace_default().add ("TextureTransform3D", "x_ite/Components/Texturing3D/TextureTransform3D", TextureTransform3D_default_);
10208
10190
  /* harmony default export */ const Texturing3D_TextureTransform3D = (TextureTransform3D_default_);
10209
10191
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js
10210
10192
  /*******************************************************************************
@@ -10323,7 +10305,7 @@ Object .defineProperties (TextureTransformMatrix3D,
10323
10305
  const TextureTransformMatrix3D_default_ = TextureTransformMatrix3D;
10324
10306
  ;
10325
10307
 
10326
- Namespace_default().set ("x_ite/Components/Texturing3D/TextureTransformMatrix3D", TextureTransformMatrix3D_default_);
10308
+ Namespace_default().add ("TextureTransformMatrix3D", "x_ite/Components/Texturing3D/TextureTransformMatrix3D", TextureTransformMatrix3D_default_);
10327
10309
  /* harmony default export */ const Texturing3D_TextureTransformMatrix3D = (TextureTransformMatrix3D_default_);
10328
10310
  ;// CONCATENATED MODULE: ./src/assets/components/Texturing3D.js
10329
10311
  /*******************************************************************************
@@ -10406,7 +10388,7 @@ Components_default().add ({
10406
10388
  const Texturing3D_default_ = undefined;
10407
10389
  ;
10408
10390
 
10409
- Namespace_default().set ("assets/components/Texturing3D", Texturing3D_default_);
10391
+ Namespace_default().add ("Texturing3D", "assets/components/Texturing3D", Texturing3D_default_);
10410
10392
  /* harmony default export */ const Texturing3D = ((/* unused pure expression or super */ null && (Texturing3D_default_)));
10411
10393
  })();
10412
10394