x_ite 8.11.15 → 8.11.17
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 +2 -2
- package/dist/assets/components/Annotation.js +21 -21
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +34 -32
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +31 -31
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +20 -20
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +19 -19
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +34 -34
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +70 -69
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +30 -32
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +13 -13
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +46 -42
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +65 -65
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +45 -45
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +31 -31
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +48 -48
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +107 -101
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +32 -32
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +18 -18
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +74 -92
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +39 -40
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +11 -11
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1643 -1646
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Introduction
|
|
4
4
|
|
|
5
|
-
X_ITE is
|
|
5
|
+
X_ITE is a X3D JavaScript WebGL browser. It is a full standard X3D WebGL browser for all major web browsers, which can also be used as a VRML viewer.
|
|
6
6
|
|
|
7
|
-
🚀 For more information and live preview please
|
|
7
|
+
🚀 For more information and a live preview, please visit our [home page](https://create3000.github.io/x_ite/).
|
|
8
8
|
|
|
9
9
|
## Quick Links
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.11.
|
|
1
|
+
/* X_ITE v8.11.17 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,31 +39,31 @@ 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.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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/Layering/X3DLayerNode\")"
|
|
54
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
54
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
55
55
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
57
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
57
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
58
58
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
60
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
60
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Grouping/Group");
|
|
61
61
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
63
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
63
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Base/X3DConstants");
|
|
64
64
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
66
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
66
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Namespace");
|
|
67
67
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
68
68
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationLayer.js
|
|
69
69
|
/*******************************************************************************
|
|
@@ -177,10 +177,10 @@ Object .defineProperties (AnnotationLayer,
|
|
|
177
177
|
const __default__ = AnnotationLayer;
|
|
178
178
|
;
|
|
179
179
|
|
|
180
|
-
Namespace_default().
|
|
180
|
+
Namespace_default().add ("AnnotationLayer", "x_ite/Components/Annotation/AnnotationLayer", __default__);
|
|
181
181
|
/* harmony default export */ const Annotation_AnnotationLayer = (__default__);
|
|
182
182
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
183
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
183
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
184
184
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
185
185
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
|
|
186
186
|
/*******************************************************************************
|
|
@@ -289,10 +289,10 @@ Object .defineProperties (AnnotationTarget,
|
|
|
289
289
|
const AnnotationTarget_default_ = AnnotationTarget;
|
|
290
290
|
;
|
|
291
291
|
|
|
292
|
-
Namespace_default().
|
|
292
|
+
Namespace_default().add ("AnnotationTarget", "x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
|
|
293
293
|
/* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
|
|
294
294
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
295
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
295
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
296
296
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
297
297
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
|
|
298
298
|
/*******************************************************************************
|
|
@@ -377,7 +377,7 @@ Object .defineProperties (X3DAnnotationNode,
|
|
|
377
377
|
const X3DAnnotationNode_default_ = X3DAnnotationNode;
|
|
378
378
|
;
|
|
379
379
|
|
|
380
|
-
Namespace_default().
|
|
380
|
+
Namespace_default().add ("X3DAnnotationNode", "x_ite/Components/Annotation/X3DAnnotationNode", X3DAnnotationNode_default_);
|
|
381
381
|
/* harmony default export */ const Annotation_X3DAnnotationNode = (X3DAnnotationNode_default_);
|
|
382
382
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/GroupAnnotation.js
|
|
383
383
|
/*******************************************************************************
|
|
@@ -501,10 +501,10 @@ Object .defineProperties (GroupAnnotation,
|
|
|
501
501
|
const GroupAnnotation_default_ = GroupAnnotation;
|
|
502
502
|
;
|
|
503
503
|
|
|
504
|
-
Namespace_default().
|
|
504
|
+
Namespace_default().add ("GroupAnnotation", "x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
|
|
505
505
|
/* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
|
|
506
506
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
507
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
507
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
508
508
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
509
509
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
|
|
510
510
|
/*******************************************************************************
|
|
@@ -626,7 +626,7 @@ Object .defineProperties (IconAnnotation,
|
|
|
626
626
|
const IconAnnotation_default_ = IconAnnotation;
|
|
627
627
|
;
|
|
628
628
|
|
|
629
|
-
Namespace_default().
|
|
629
|
+
Namespace_default().add ("IconAnnotation", "x_ite/Components/Annotation/IconAnnotation", IconAnnotation_default_);
|
|
630
630
|
/* harmony default export */ const Annotation_IconAnnotation = (IconAnnotation_default_);
|
|
631
631
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/TextAnnotation.js
|
|
632
632
|
/*******************************************************************************
|
|
@@ -736,7 +736,7 @@ Object .defineProperties (TextAnnotation,
|
|
|
736
736
|
const TextAnnotation_default_ = TextAnnotation;
|
|
737
737
|
;
|
|
738
738
|
|
|
739
|
-
Namespace_default().
|
|
739
|
+
Namespace_default().add ("TextAnnotation", "x_ite/Components/Annotation/TextAnnotation", TextAnnotation_default_);
|
|
740
740
|
/* harmony default export */ const Annotation_TextAnnotation = (TextAnnotation_default_);
|
|
741
741
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/URLAnnotation.js
|
|
742
742
|
/*******************************************************************************
|
|
@@ -845,7 +845,7 @@ Object .defineProperties (URLAnnotation,
|
|
|
845
845
|
const URLAnnotation_default_ = URLAnnotation;
|
|
846
846
|
;
|
|
847
847
|
|
|
848
|
-
Namespace_default().
|
|
848
|
+
Namespace_default().add ("URLAnnotation", "x_ite/Components/Annotation/URLAnnotation", URLAnnotation_default_);
|
|
849
849
|
/* harmony default export */ const Annotation_URLAnnotation = (URLAnnotation_default_);
|
|
850
850
|
;// CONCATENATED MODULE: ./src/assets/components/Annotation.js
|
|
851
851
|
/*******************************************************************************
|
|
@@ -924,7 +924,7 @@ Components_default().add ({
|
|
|
924
924
|
const Annotation_default_ = undefined;
|
|
925
925
|
;
|
|
926
926
|
|
|
927
|
-
Namespace_default().
|
|
927
|
+
Namespace_default().add ("Annotation", "assets/components/Annotation", Annotation_default_);
|
|
928
928
|
/* harmony default export */ const Annotation = ((/* unused pure expression or super */ null && (Annotation_default_)));
|
|
929
929
|
/******/ })()
|
|
930
930
|
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.11.
|
|
1
|
+
/* X_ITE v8.11.17 */(()=>{"use strict";var e={n:n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},d:(n,t)=>{for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components");var t=e.n(n);const o=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Fields");var i=e.n(o);const a=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/X3DFieldDefinition");var r=e.n(a);const p=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/FieldDefinitionArray");var u=e.n(p);const l=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Layering/X3DLayerNode");var s=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Navigation/Viewpoint");var d=e.n(c);const w=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Grouping/Group");var m=e.n(w);const y=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/X3DConstants");var b=e.n(y);const O=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Namespace");var f=e.n(O);function S(e){s().call(this,e,new(d())(e),new(m())(e)),this.addType(b().AnnotationLayer)}Object.assign(Object.setPrototypeOf(S.prototype,s().prototype),{initialize(){s().prototype.initialize.call(this)}}),Object.defineProperties(S,{typeName:{value:"AnnotationLayer",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"isPickable",new(i().SFBool)(!0)),new(r())(b().inputOutput,"layoutPolicy",new(i().MFString)),new(r())(b().inputOutput,"shownGroupID",new(i().MFString)),new(r())(b().inputOutput,"viewport",new(i().SFNode))]),enumerable:!0}});const v=S;f().add("AnnotationLayer","x_ite/Components/Annotation/AnnotationLayer",v);const F=v,A=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Core/X3DChildNode");var N=e.n(A);function h(e){N().call(this,e),this.addType(b().AnnotationTarget)}Object.assign(Object.setPrototypeOf(h.prototype,N().prototype),{initialize(){N().prototype.initialize.call(this)}}),Object.defineProperties(h,{typeName:{value:"AnnotationTarget",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(r())(b().inputOutput,"leadLineStyle",new(i().SFNode)),new(r())(b().inputOutput,"marker",new(i().SFNode)),new(r())(b().inputOutput,"annotations",new(i().MFNode))]),enumerable:!0}});const g=h;f().add("AnnotationTarget","x_ite/Components/Annotation/AnnotationTarget",g);const D=g,X=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=e.n(X);function T(e){N().call(this,e),this.addType(b().X3DAnnotationNode)}Object.assign(Object.setPrototypeOf(T.prototype,N().prototype),{initialize(){N().prototype.initialize.call(this)}}),Object.defineProperties(T,{typeName:{value:"X3DAnnotationNode",enumerable:!0},componentName:{value:"Annotation",enumerable:!0}});const j=T;f().add("X3DAnnotationNode","x_ite/Components/Annotation/X3DAnnotationNode",j);const x=j;function I(e){_().call(this,e),x.call(this,e),this.addType(b().GroupAnnotation)}Object.assign(Object.setPrototypeOf(I.prototype,_().prototype),x.prototype,{initialize(){_().prototype.initialize.call(this),x.prototype.initialize.call(this)},dispose(){x.prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(I,{typeName:{value:"GroupAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"visible",new(i().SFBool)(!0)),new(r())(b().inputOutput,"bboxDisplay",new(i().SFBool)),new(r())(b().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(r())(b().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(r())(b().inputOnly,"addChildren",new(i().MFNode)),new(r())(b().inputOnly,"removeChildren",new(i().MFNode)),new(r())(b().inputOutput,"children",new(i().MFNode))]),enumerable:!0}});const z=I;f().add("GroupAnnotation","x_ite/Components/Annotation/GroupAnnotation",z);const P=z,C=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Networking/X3DUrlObject");var E=e.n(C);function R(e){x.call(this,e),E().call(this,e),this.addType(b().IconAnnotation)}Object.assign(Object.setPrototypeOf(R.prototype,x.prototype),E().prototype,{initialize(){x.prototype.initialize.call(this),E().prototype.initialize.call(this)},requestImmediateLoad(e=!0){},dispose(){E().prototype.dispose.call(this),x.prototype.dispose.call(this)}}),Object.defineProperties(R,{typeName:{value:"IconAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"url",new(i().MFString)),new(r())(b().inputOutput,"autoRefresh",new(i().SFTime)),new(r())(b().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),enumerable:!0}});const q=R;f().add("IconAnnotation","x_ite/Components/Annotation/IconAnnotation",q);const G=q;function L(e){x.call(this,e),this.addType(b().TextAnnotation)}Object.assign(Object.setPrototypeOf(L.prototype,x.prototype),{initialize(){x.prototype.initialize.call(this)}}),Object.defineProperties(L,{typeName:{value:"TextAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"contentType",new(i().SFString)("text/plain")),new(r())(b().inputOutput,"text",new(i().SFString))]),enumerable:!0}});const B=L;f().add("TextAnnotation","x_ite/Components/Annotation/TextAnnotation",B);const M=B;function V(e){x.call(this,e),this.addType(b().URLAnnotation)}Object.assign(Object.setPrototypeOf(V.prototype,x.prototype),{initialize(){x.prototype.initialize.call(this)}}),Object.defineProperties(V,{typeName:{value:"URLAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"url",new(i().MFString))]),enumerable:!0}});const U=V;f().add("URLAnnotation","x_ite/Components/Annotation/URLAnnotation",U);const k=U;t().add({name:"Annotation",concreteNodes:[F,D,P,G,M,k],abstractNodes:[x]});const H=void 0;f().add("Annotation","assets/components/Annotation",H)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.11.
|
|
1
|
+
/* X_ITE v8.11.17 */(() => { // 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-8.11.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .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/Grouping/X3DGroupingNode\")"
|
|
54
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
54
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
55
55
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
57
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
57
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
58
58
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
60
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
60
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Base/X3DConstants");
|
|
61
61
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_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-8.11.
|
|
63
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Namespace");
|
|
64
64
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js
|
|
66
66
|
/*******************************************************************************
|
|
@@ -139,7 +139,7 @@ Object .defineProperties (X3DProductStructureChildNode,
|
|
|
139
139
|
const __default__ = X3DProductStructureChildNode;
|
|
140
140
|
;
|
|
141
141
|
|
|
142
|
-
Namespace_default().
|
|
142
|
+
Namespace_default().add ("X3DProductStructureChildNode", "x_ite/Components/CADGeometry/X3DProductStructureChildNode", __default__);
|
|
143
143
|
/* harmony default export */ const CADGeometry_X3DProductStructureChildNode = (__default__);
|
|
144
144
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADAssembly.js
|
|
145
145
|
/*******************************************************************************
|
|
@@ -251,14 +251,17 @@ Object .defineProperties (CADAssembly,
|
|
|
251
251
|
const CADAssembly_default_ = CADAssembly;
|
|
252
252
|
;
|
|
253
253
|
|
|
254
|
-
Namespace_default().
|
|
254
|
+
Namespace_default().add ("CADAssembly", "x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
|
|
255
255
|
/* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
|
|
256
256
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
257
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
257
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
258
258
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
259
259
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
260
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
260
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Rendering/TraverseType");
|
|
261
261
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
262
|
+
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
263
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Base/X3DCast");
|
|
264
|
+
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
262
265
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
|
|
263
266
|
/*******************************************************************************
|
|
264
267
|
*
|
|
@@ -315,6 +318,7 @@ var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_names
|
|
|
315
318
|
|
|
316
319
|
|
|
317
320
|
|
|
321
|
+
|
|
318
322
|
function CADFace (executionContext)
|
|
319
323
|
{
|
|
320
324
|
CADGeometry_X3DProductStructureChildNode .call (this, executionContext);
|
|
@@ -353,17 +357,17 @@ Object .assign (Object .setPrototypeOf (CADFace .prototype, CADGeometry_X3DProdu
|
|
|
353
357
|
this .childNode ._isCameraObject .removeInterest ("set_cameraObject__", this);
|
|
354
358
|
this .childNode ._isPickableObject .removeInterest ("set_transformSensors__", this);
|
|
355
359
|
|
|
356
|
-
this .childNode .
|
|
360
|
+
this .childNode ._display .removeInterest ("set_display__", this);
|
|
357
361
|
this .childNode ._bboxDisplay .removeInterest ("set_bboxDisplay__", this);
|
|
358
362
|
}
|
|
359
363
|
|
|
360
364
|
this .childNode = null;
|
|
361
365
|
|
|
362
|
-
|
|
366
|
+
const node = X3DCast_default() ((X3DConstants_default()).X3DChildNode, this ._shape);
|
|
367
|
+
|
|
368
|
+
if (node)
|
|
363
369
|
{
|
|
364
|
-
const
|
|
365
|
-
node = this ._shape .getValue () .getInnerNode (),
|
|
366
|
-
type = node .getType ();
|
|
370
|
+
const type = node .getType ();
|
|
367
371
|
|
|
368
372
|
for (let t = type .length - 1; t >= 0; -- t)
|
|
369
373
|
{
|
|
@@ -376,7 +380,7 @@ Object .assign (Object .setPrototypeOf (CADFace .prototype, CADGeometry_X3DProdu
|
|
|
376
380
|
node ._isCameraObject .addInterest ("set_cameraObject__", this);
|
|
377
381
|
node ._isPickableObject .addInterest ("set_transformSensors__", this);
|
|
378
382
|
|
|
379
|
-
node .
|
|
383
|
+
node ._display .addInterest ("set_display__", this);
|
|
380
384
|
node ._bboxDisplay .addInterest ("set_bboxDisplay__", this);
|
|
381
385
|
|
|
382
386
|
this .childNode = node;
|
|
@@ -389,8 +393,6 @@ Object .assign (Object .setPrototypeOf (CADFace .prototype, CADGeometry_X3DProdu
|
|
|
389
393
|
break;
|
|
390
394
|
}
|
|
391
395
|
}
|
|
392
|
-
catch
|
|
393
|
-
{ }
|
|
394
396
|
|
|
395
397
|
if (this .childNode)
|
|
396
398
|
{
|
|
@@ -401,7 +403,7 @@ Object .assign (Object .setPrototypeOf (CADFace .prototype, CADGeometry_X3DProdu
|
|
|
401
403
|
this .traverse = Function .prototype;
|
|
402
404
|
}
|
|
403
405
|
|
|
404
|
-
this .
|
|
406
|
+
this .set_display__ ();
|
|
405
407
|
this .set_bboxDisplay__ ();
|
|
406
408
|
},
|
|
407
409
|
set_cameraObject__ ()
|
|
@@ -412,10 +414,10 @@ Object .assign (Object .setPrototypeOf (CADFace .prototype, CADGeometry_X3DProdu
|
|
|
412
414
|
{
|
|
413
415
|
this .setPickableObject (!!this .visibleNode ?.isPickableObject ());
|
|
414
416
|
},
|
|
415
|
-
|
|
417
|
+
set_display__ ()
|
|
416
418
|
{
|
|
417
419
|
if (this .childNode)
|
|
418
|
-
this .visibleNode = this .childNode .
|
|
420
|
+
this .visibleNode = this .childNode ._display .getValue () ? this .childNode : null;
|
|
419
421
|
else
|
|
420
422
|
this .visibleNode = null;
|
|
421
423
|
|
|
@@ -514,7 +516,7 @@ Object .defineProperties (CADFace,
|
|
|
514
516
|
const CADFace_default_ = CADFace;
|
|
515
517
|
;
|
|
516
518
|
|
|
517
|
-
Namespace_default().
|
|
519
|
+
Namespace_default().add ("CADFace", "x_ite/Components/CADGeometry/CADFace", CADFace_default_);
|
|
518
520
|
/* harmony default export */ const CADGeometry_CADFace = (CADFace_default_);
|
|
519
521
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADLayer.js
|
|
520
522
|
/*******************************************************************************
|
|
@@ -621,10 +623,10 @@ Object .defineProperties (CADLayer,
|
|
|
621
623
|
const CADLayer_default_ = CADLayer;
|
|
622
624
|
;
|
|
623
625
|
|
|
624
|
-
Namespace_default().
|
|
626
|
+
Namespace_default().add ("CADLayer", "x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
|
|
625
627
|
/* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
|
|
626
628
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
|
|
627
|
-
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
629
|
+
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Grouping/X3DTransformNode");
|
|
628
630
|
var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
|
|
629
631
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
|
|
630
632
|
/*******************************************************************************
|
|
@@ -741,10 +743,10 @@ Object .defineProperties (CADPart,
|
|
|
741
743
|
const CADPart_default_ = CADPart;
|
|
742
744
|
;
|
|
743
745
|
|
|
744
|
-
Namespace_default().
|
|
746
|
+
Namespace_default().add ("CADPart", "x_ite/Components/CADGeometry/CADPart", CADPart_default_);
|
|
745
747
|
/* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
|
|
746
748
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
|
|
747
|
-
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.
|
|
749
|
+
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.17")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
|
|
748
750
|
var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
|
|
749
751
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
|
|
750
752
|
/*******************************************************************************
|
|
@@ -881,7 +883,7 @@ Object .defineProperties (IndexedQuadSet,
|
|
|
881
883
|
const IndexedQuadSet_default_ = IndexedQuadSet;
|
|
882
884
|
;
|
|
883
885
|
|
|
884
|
-
Namespace_default().
|
|
886
|
+
Namespace_default().add ("IndexedQuadSet", "x_ite/Components/CADGeometry/IndexedQuadSet", IndexedQuadSet_default_);
|
|
885
887
|
/* harmony default export */ const CADGeometry_IndexedQuadSet = (IndexedQuadSet_default_);
|
|
886
888
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/QuadSet.js
|
|
887
889
|
/*******************************************************************************
|
|
@@ -1013,7 +1015,7 @@ Object .defineProperties (QuadSet,
|
|
|
1013
1015
|
const QuadSet_default_ = QuadSet;
|
|
1014
1016
|
;
|
|
1015
1017
|
|
|
1016
|
-
Namespace_default().
|
|
1018
|
+
Namespace_default().add ("QuadSet", "x_ite/Components/CADGeometry/QuadSet", QuadSet_default_);
|
|
1017
1019
|
/* harmony default export */ const CADGeometry_QuadSet = (QuadSet_default_);
|
|
1018
1020
|
;// CONCATENATED MODULE: ./src/assets/components/CADGeometry.js
|
|
1019
1021
|
/*******************************************************************************
|
|
@@ -1092,7 +1094,7 @@ Components_default().add ({
|
|
|
1092
1094
|
const CADGeometry_default_ = undefined;
|
|
1093
1095
|
;
|
|
1094
1096
|
|
|
1095
|
-
Namespace_default().
|
|
1097
|
+
Namespace_default().add ("CADGeometry", "assets/components/CADGeometry", CADGeometry_default_);
|
|
1096
1098
|
/* harmony default export */ const CADGeometry = ((/* unused pure expression or super */ null && (CADGeometry_default_)));
|
|
1097
1099
|
/******/ })()
|
|
1098
1100
|
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.11.15 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const s=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Namespace");var h=e.n(m);function y(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(y.prototype,c().prototype),Object.defineProperties(y,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0}});const O=y;h().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const _=O;function f(e){d().call(this,e),_.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(f.prototype,d().prototype),{}),Object.defineProperties(f,{typeName:{value:"CADAssembly",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const S=f;h().set("x_ite/Components/CADGeometry/CADAssembly",S);const v=S,N=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Components/Grouping/X3DBoundedObject");var F=e.n(N);const D=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Rendering/TraverseType");var C=e.n(D);function x(e){_.call(this,e),F().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(x.prototype,_.prototype),F().prototype,{initialize(){_.prototype.initialize.call(this),F().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case w().LOD:case w().Transform:case w().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch{}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse(e,t){switch(e){case C().POINTER:case C().CAMERA:case C().SHADOW:return void this.visibleNode?.traverse(e,t);case C().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case C().COLLISION:return void this.visibleNode?.traverse(e,t);case C().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){F().prototype.dispose.call(this),_.prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"CADFace",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOutput,"shape",new(o().SFNode))]),enumerable:!0}});const g=x;h().set("x_ite/Components/CADGeometry/CADFace",g);const j=g;function I(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(I.prototype,d().prototype),Object.defineProperties(I,{typeName:{value:"CADLayer",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const z=I;h().set("x_ite/Components/CADGeometry/CADLayer",z);const A=z,P=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Components/Grouping/X3DTransformNode");var X=e.n(P);function B(e){X().call(this,e),_.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(B.prototype,X().prototype),{}),Object.defineProperties(B,{typeName:{value:"CADPart",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"translation",new(o().SFVec3f)),new(a())(w().inputOutput,"rotation",new(o().SFRotation)),new(a())(w().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(a())(w().inputOutput,"scaleOrientation",new(o().SFRotation)),new(a())(w().inputOutput,"center",new(o().SFVec3f)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const T=B;h().set("x_ite/Components/CADGeometry/CADPart",T);const G=T,V=window[Symbol.for("X_ITE.X3D-8.11.15")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var M=e.n(V);function E(e){M().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(E.prototype,M().prototype),{initialize(){M().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},build(){let e=this._index.length;e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(E,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOnly,"set_index",new(o().MFInt32)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"index",new(o().MFInt32)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const q=E;h().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const R=q;function k(e){M().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,M().prototype),{getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)},createNormals(e,t){return this.createFaceNormals(e,t)}}),Object.defineProperties(k,{typeName:{value:"QuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const L=k;h().set("x_ite/Components/CADGeometry/QuadSet",L);const Q=L;n().add({name:"CADGeometry",concreteNodes:[v,j,A,G,R,Q],abstractNodes:[_]});const H=void 0;h().set("assets/components/CADGeometry",H)})();
|
|
1
|
+
/* X_ITE v8.11.17 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const l=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/FieldDefinitionArray");var s=e.n(l);const u=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Namespace");var y=e.n(m);function h(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(h.prototype,c().prototype),Object.defineProperties(h,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0}});const O=h;y().add("X3DProductStructureChildNode","x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const _=O;function f(e){d().call(this,e),_.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(f.prototype,d().prototype),{}),Object.defineProperties(f,{typeName:{value:"CADAssembly",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const S=f;y().add("CADAssembly","x_ite/Components/CADGeometry/CADAssembly",S);const N=S,D=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Grouping/X3DBoundedObject");var v=e.n(D);const C=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Rendering/TraverseType");var F=e.n(C);const x=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Base/X3DCast");var g=e.n(x);function j(e){_.call(this,e),v().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(j.prototype,_.prototype),v().prototype,{initialize(){_.prototype.initialize.call(this),v().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._display.removeInterest("set_display__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;const e=g()(w().X3DChildNode,this._shape);if(e){const t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case w().LOD:case w().Transform:case w().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._display.addInterest("set_display__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_display__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_display__(){this.childNode?this.visibleNode=this.childNode._display.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse(e,t){switch(e){case F().POINTER:case F().CAMERA:case F().SHADOW:return void this.visibleNode?.traverse(e,t);case F().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case F().COLLISION:return void this.visibleNode?.traverse(e,t);case F().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){v().prototype.dispose.call(this),_.prototype.dispose.call(this)}}),Object.defineProperties(j,{typeName:{value:"CADFace",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOutput,"shape",new(o().SFNode))]),enumerable:!0}});const I=j;y().add("CADFace","x_ite/Components/CADGeometry/CADFace",I);const A=I;function X(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(X.prototype,d().prototype),Object.defineProperties(X,{typeName:{value:"CADLayer",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const P=X;y().add("CADLayer","x_ite/Components/CADGeometry/CADLayer",P);const z=P,B=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Grouping/X3DTransformNode");var T=e.n(B);function G(e){T().call(this,e),_.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(G.prototype,T().prototype),{}),Object.defineProperties(G,{typeName:{value:"CADPart",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"translation",new(o().SFVec3f)),new(a())(w().inputOutput,"rotation",new(o().SFRotation)),new(a())(w().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(a())(w().inputOutput,"scaleOrientation",new(o().SFRotation)),new(a())(w().inputOutput,"center",new(o().SFVec3f)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const V=G;y().add("CADPart","x_ite/Components/CADGeometry/CADPart",V);const M=V,E=window[Symbol.for("X_ITE.X3D-8.11.17")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var q=e.n(E);function R(e){q().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(R.prototype,q().prototype),{initialize(){q().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},build(){let e=this._index.length;e-=e%4,q().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(R,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOnly,"set_index",new(o().MFInt32)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"index",new(o().MFInt32)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const L=R;y().add("IndexedQuadSet","x_ite/Components/CADGeometry/IndexedQuadSet",L);const Q=L;function k(e){q().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,q().prototype),{getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,q().prototype.build.call(this,4,e,6,e/4*6)},createNormals(e,t){return this.createFaceNormals(e,t)}}),Object.defineProperties(k,{typeName:{value:"QuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const H=k;y().add("QuadSet","x_ite/Components/CADGeometry/QuadSet",H);const K=H;n().add({name:"CADGeometry",concreteNodes:[N,A,z,M,Q,K],abstractNodes:[_]});const W=void 0;y().add("CADGeometry","assets/components/CADGeometry",W)})();
|