2024-06-10 05:07:13 +00:00
|
|
|
/* X_ITE v9.7.0 */(() => { // webpackBootstrap
|
2024-02-12 17:21:14 +00:00
|
|
|
/******/ "use strict";
|
|
|
|
/******/ // The require scope
|
|
|
|
/******/ var __webpack_require__ = {};
|
|
|
|
/******/
|
|
|
|
/************************************************************************/
|
|
|
|
/******/ /* webpack/runtime/compat get default export */
|
|
|
|
/******/ (() => {
|
|
|
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
|
|
/******/ __webpack_require__.n = (module) => {
|
|
|
|
/******/ var getter = module && module.__esModule ?
|
|
|
|
/******/ () => (module['default']) :
|
|
|
|
/******/ () => (module);
|
|
|
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
|
|
/******/ return getter;
|
|
|
|
/******/ };
|
|
|
|
/******/ })();
|
|
|
|
/******/
|
|
|
|
/******/ /* webpack/runtime/define property getters */
|
|
|
|
/******/ (() => {
|
|
|
|
/******/ // define getter functions for harmony exports
|
|
|
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
|
|
/******/ for(var key in definition) {
|
|
|
|
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
|
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
|
|
/******/ }
|
|
|
|
/******/ }
|
|
|
|
/******/ };
|
|
|
|
/******/ })();
|
|
|
|
/******/
|
|
|
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
|
|
/******/ (() => {
|
|
|
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
|
|
/******/ })();
|
|
|
|
/******/
|
|
|
|
/************************************************************************/
|
|
|
|
var __webpack_exports__ = {};
|
|
|
|
|
|
|
|
// UNUSED EXPORTS: default
|
|
|
|
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components");
|
2024-02-12 17:21:14 +00:00
|
|
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Fields");
|
2024-02-12 17:21:14 +00:00
|
|
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
2024-02-12 17:21:14 +00:00
|
|
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
2024-02-12 17:21:14 +00:00
|
|
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
2024-02-12 17:21:14 +00:00
|
|
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Base/X3DConstants");
|
2024-02-12 17:21:14 +00:00
|
|
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("x_ite/Namespace");
|
2024-02-12 17:21:14 +00:00
|
|
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanFilter.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function BooleanFilter (executionContext)
|
|
|
|
{
|
|
|
|
X3DChildNode_default().call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).BooleanFilter);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (BooleanFilter .prototype, (X3DChildNode_default()).prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
X3DChildNode_default().prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._set_boolean .addInterest ("set_boolean__", this);
|
|
|
|
},
|
|
|
|
set_boolean__ ()
|
|
|
|
{
|
|
|
|
const value = this ._set_boolean .getValue ();
|
|
|
|
|
|
|
|
if (value)
|
|
|
|
this ._inputTrue = true;
|
|
|
|
|
|
|
|
else
|
|
|
|
this ._inputFalse = false;
|
|
|
|
|
|
|
|
this ._inputNegate = ! value;
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (BooleanFilter,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "BooleanFilter",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_boolean", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "inputTrue", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "inputFalse", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "inputNegate", new (Fields_default()).SFBool ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const __default__ = BooleanFilter;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("BooleanFilter", "x_ite/Components/EventUtilities/BooleanFilter", __default__);
|
|
|
|
/* harmony default export */ const EventUtilities_BooleanFilter = (__default__);
|
|
|
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
2024-06-10 05:07:13 +00:00
|
|
|
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-9.7.0")] .require ("standard/Math/Algorithm");
|
2024-02-12 17:21:14 +00:00
|
|
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DSequencerNode.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function X3DSequencerNode (executionContext)
|
|
|
|
{
|
|
|
|
X3DChildNode_default().call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).X3DSequencerNode);
|
|
|
|
|
|
|
|
this .index = -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (X3DSequencerNode .prototype, (X3DChildNode_default()).prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
X3DChildNode_default().prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._set_fraction .addInterest ("set_fraction__", this);
|
|
|
|
this ._previous .addInterest ("set_previous__", this);
|
|
|
|
this ._next .addInterest ("set_next__", this);
|
|
|
|
this ._key .addInterest ("set_index__", this);
|
|
|
|
},
|
|
|
|
set_fraction__ ()
|
|
|
|
{
|
|
|
|
const
|
|
|
|
fraction = this ._set_fraction .getValue (),
|
|
|
|
key = this ._key,
|
|
|
|
length = key .length;
|
|
|
|
|
|
|
|
if (length === 0)
|
|
|
|
return;
|
|
|
|
|
|
|
|
let i = 0;
|
|
|
|
|
|
|
|
if (length === 1 || fraction <= key [0])
|
|
|
|
i = 0;
|
|
|
|
|
|
|
|
else if (fraction >= key [length - 1])
|
|
|
|
i = this .getSize () - 1;
|
|
|
|
|
|
|
|
else
|
|
|
|
{
|
|
|
|
const index = Algorithm_default().upperBound (key, 0, length, fraction);
|
|
|
|
|
|
|
|
i = index - 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (i !== this .index)
|
|
|
|
{
|
|
|
|
if (i < this .getSize ())
|
|
|
|
{
|
|
|
|
this .sequence (this .index = i);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
set_previous__ ()
|
|
|
|
{
|
|
|
|
if (this ._previous .getValue ())
|
|
|
|
{
|
|
|
|
if (this .index <= 0)
|
|
|
|
this .index = this .getSize () - 1;
|
|
|
|
|
|
|
|
else
|
|
|
|
-- this .index;
|
|
|
|
|
|
|
|
if (this .index < this .getSize ())
|
|
|
|
this .sequence (this .index);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
set_next__ ()
|
|
|
|
{
|
|
|
|
if (this ._next .getValue ())
|
|
|
|
{
|
|
|
|
if (this .index >= this .getSize () - 1)
|
|
|
|
this .index = 0;
|
|
|
|
|
|
|
|
else
|
|
|
|
++ this .index;
|
|
|
|
|
|
|
|
if (this .index < this .getSize ())
|
|
|
|
this .sequence (this .index);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
set_index__ ()
|
|
|
|
{
|
|
|
|
this .index = -1;
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (X3DSequencerNode,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "X3DSequencerNode",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const X3DSequencerNode_default_ = X3DSequencerNode;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("X3DSequencerNode", "x_ite/Components/EventUtilities/X3DSequencerNode", X3DSequencerNode_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_X3DSequencerNode = (X3DSequencerNode_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanSequencer.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function BooleanSequencer (executionContext)
|
|
|
|
{
|
|
|
|
EventUtilities_X3DSequencerNode .call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).BooleanSequencer);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (BooleanSequencer .prototype, EventUtilities_X3DSequencerNode .prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
EventUtilities_X3DSequencerNode .prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._keyValue .addInterest ("set_index__", this);
|
|
|
|
},
|
|
|
|
getSize ()
|
|
|
|
{
|
|
|
|
return this ._keyValue .length;
|
|
|
|
},
|
|
|
|
sequence (index)
|
|
|
|
{
|
|
|
|
this ._value_changed = this ._keyValue [index];
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (BooleanSequencer,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "BooleanSequencer",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "previous", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "next", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "key", new (Fields_default()).MFFloat ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "keyValue", new (Fields_default()).MFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFBool ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const BooleanSequencer_default_ = BooleanSequencer;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("BooleanSequencer", "x_ite/Components/EventUtilities/BooleanSequencer", BooleanSequencer_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_BooleanSequencer = (BooleanSequencer_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanToggle.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function BooleanToggle (executionContext)
|
|
|
|
{
|
|
|
|
X3DChildNode_default().call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).BooleanToggle);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (BooleanToggle .prototype, (X3DChildNode_default()).prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
X3DChildNode_default().prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._set_boolean .addInterest ("set_boolean__", this);
|
|
|
|
},
|
|
|
|
set_boolean__ ()
|
|
|
|
{
|
|
|
|
if (this ._set_boolean .getValue ())
|
|
|
|
this ._toggle = ! this ._toggle .getValue ();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (BooleanToggle,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "BooleanToggle",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_boolean", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "toggle", new (Fields_default()).SFBool ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const BooleanToggle_default_ = BooleanToggle;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("BooleanToggle", "x_ite/Components/EventUtilities/BooleanToggle", BooleanToggle_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_BooleanToggle = (BooleanToggle_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DTriggerNode.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function X3DTriggerNode (executionContext)
|
|
|
|
{
|
|
|
|
X3DChildNode_default().call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).X3DTriggerNode);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .setPrototypeOf (X3DTriggerNode .prototype, (X3DChildNode_default()).prototype);
|
|
|
|
|
|
|
|
Object .defineProperties (X3DTriggerNode,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "X3DTriggerNode",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const X3DTriggerNode_default_ = X3DTriggerNode;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("X3DTriggerNode", "x_ite/Components/EventUtilities/X3DTriggerNode", X3DTriggerNode_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_X3DTriggerNode = (X3DTriggerNode_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanTrigger.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function BooleanTrigger (executionContext)
|
|
|
|
{
|
|
|
|
EventUtilities_X3DTriggerNode .call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).BooleanTrigger);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (BooleanTrigger .prototype, EventUtilities_X3DTriggerNode .prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
EventUtilities_X3DTriggerNode .prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._set_triggerTime .addInterest ("set_triggerTime__", this);
|
|
|
|
},
|
|
|
|
set_triggerTime__ ()
|
|
|
|
{
|
|
|
|
this ._triggerTrue = true;
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (BooleanTrigger,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "BooleanTrigger",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_triggerTime", new (Fields_default()).SFTime ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "triggerTrue", new (Fields_default()).SFBool ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const BooleanTrigger_default_ = BooleanTrigger;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("BooleanTrigger", "x_ite/Components/EventUtilities/BooleanTrigger", BooleanTrigger_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_BooleanTrigger = (BooleanTrigger_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/IntegerSequencer.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function IntegerSequencer (executionContext)
|
|
|
|
{
|
|
|
|
EventUtilities_X3DSequencerNode .call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).IntegerSequencer);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (IntegerSequencer .prototype, EventUtilities_X3DSequencerNode .prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
EventUtilities_X3DSequencerNode .prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._keyValue .addInterest ("set_index__", this);
|
|
|
|
},
|
|
|
|
getSize ()
|
|
|
|
{
|
|
|
|
return this ._keyValue .length;
|
|
|
|
},
|
|
|
|
sequence (index)
|
|
|
|
{
|
|
|
|
this ._value_changed = this ._keyValue [index];
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (IntegerSequencer,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "IntegerSequencer",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_fraction", new (Fields_default()).SFFloat ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "previous", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "next", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "key", new (Fields_default()).MFFloat ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "keyValue", new (Fields_default()).MFInt32 ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "value_changed", new (Fields_default()).SFInt32 ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const IntegerSequencer_default_ = IntegerSequencer;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("IntegerSequencer", "x_ite/Components/EventUtilities/IntegerSequencer", IntegerSequencer_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_IntegerSequencer = (IntegerSequencer_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/IntegerTrigger.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function IntegerTrigger (executionContext)
|
|
|
|
{
|
|
|
|
EventUtilities_X3DTriggerNode .call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).IntegerTrigger);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (IntegerTrigger .prototype, EventUtilities_X3DTriggerNode .prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
EventUtilities_X3DTriggerNode .prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._set_boolean .addInterest ("set_boolean__", this);
|
|
|
|
},
|
|
|
|
set_boolean__ ()
|
|
|
|
{
|
|
|
|
this ._triggerValue = this ._integerKey;
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (IntegerTrigger,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "IntegerTrigger",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_boolean", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "integerKey", new (Fields_default()).SFInt32 (-1)),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "triggerValue", new (Fields_default()).SFInt32 ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const IntegerTrigger_default_ = IntegerTrigger;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("IntegerTrigger", "x_ite/Components/EventUtilities/IntegerTrigger", IntegerTrigger_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_IntegerTrigger = (IntegerTrigger_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/TimeTrigger.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function TimeTrigger (executionContext)
|
|
|
|
{
|
|
|
|
EventUtilities_X3DTriggerNode .call (this, executionContext);
|
|
|
|
|
|
|
|
this .addType ((X3DConstants_default()).TimeTrigger);
|
|
|
|
}
|
|
|
|
|
|
|
|
Object .assign (Object .setPrototypeOf (TimeTrigger .prototype, EventUtilities_X3DTriggerNode .prototype),
|
|
|
|
{
|
|
|
|
initialize ()
|
|
|
|
{
|
|
|
|
EventUtilities_X3DTriggerNode .prototype .initialize .call (this);
|
|
|
|
|
|
|
|
this ._set_boolean .addInterest ("set_boolean__", this);
|
|
|
|
},
|
|
|
|
set_boolean__ ()
|
|
|
|
{
|
|
|
|
this ._triggerTime = this .getBrowser () .getCurrentTime ();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
Object .defineProperties (TimeTrigger,
|
|
|
|
{
|
|
|
|
typeName:
|
|
|
|
{
|
|
|
|
value: "TimeTrigger",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
componentInfo:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ name: "EventUtilities", level: 1 }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
containerField:
|
|
|
|
{
|
|
|
|
value: "children",
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
specificationRange:
|
|
|
|
{
|
|
|
|
value: Object .freeze ({ from: "3.0", to: "Infinity" }),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
fieldDefinitions:
|
|
|
|
{
|
|
|
|
value: new (FieldDefinitionArray_default()) ([
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOnly, "set_boolean", new (Fields_default()).SFBool ()),
|
|
|
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).outputOnly, "triggerTime", new (Fields_default()).SFTime ()),
|
|
|
|
]),
|
|
|
|
enumerable: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const TimeTrigger_default_ = TimeTrigger;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("TimeTrigger", "x_ite/Components/EventUtilities/TimeTrigger", TimeTrigger_default_);
|
|
|
|
/* harmony default export */ const EventUtilities_TimeTrigger = (TimeTrigger_default_);
|
|
|
|
;// CONCATENATED MODULE: ./src/assets/components/EventUtilities.js
|
|
|
|
/*******************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
|
|
*
|
|
|
|
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* The copyright notice above does not evidence any actual of intended
|
|
|
|
* publication of such source code, and is an unpublished work by create3000.
|
|
|
|
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
|
|
* create3000.
|
|
|
|
*
|
|
|
|
* No permission is granted to copy, distribute, or create derivative works from
|
|
|
|
* the contents of this software, in whole or in part, without the prior written
|
|
|
|
* permission of create3000.
|
|
|
|
*
|
|
|
|
* NON-MILITARY USE ONLY
|
|
|
|
*
|
|
|
|
* All create3000 software are effectively free software with a non-military use
|
|
|
|
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
|
|
* source in any way you please with the exception anything that uses it must be
|
|
|
|
* marked to indicate is contains 'non-military use only' components.
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
|
|
*
|
|
|
|
* This file is part of the X_ITE Project.
|
|
|
|
*
|
|
|
|
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
|
|
* terms of the GNU General Public License version 3 only, as published by the
|
|
|
|
* Free Software Foundation.
|
|
|
|
*
|
|
|
|
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
|
|
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
|
|
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version 3
|
|
|
|
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
|
|
* copy of the GPLv3 License.
|
|
|
|
*
|
|
|
|
* For Silvio, Joy and Adi.
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Components_default().add ({
|
|
|
|
name: "EventUtilities",
|
|
|
|
concreteNodes:
|
|
|
|
[
|
|
|
|
EventUtilities_BooleanFilter,
|
|
|
|
EventUtilities_BooleanSequencer,
|
|
|
|
EventUtilities_BooleanToggle,
|
|
|
|
EventUtilities_BooleanTrigger,
|
|
|
|
EventUtilities_IntegerSequencer,
|
|
|
|
EventUtilities_IntegerTrigger,
|
|
|
|
EventUtilities_TimeTrigger,
|
|
|
|
],
|
|
|
|
abstractNodes:
|
|
|
|
[
|
|
|
|
EventUtilities_X3DSequencerNode,
|
|
|
|
EventUtilities_X3DTriggerNode,
|
|
|
|
],
|
|
|
|
});
|
|
|
|
|
|
|
|
const EventUtilities_default_ = undefined;
|
|
|
|
;
|
|
|
|
|
|
|
|
Namespace_default().add ("EventUtilities", "assets/components/EventUtilities", EventUtilities_default_);
|
|
|
|
/* harmony default export */ const EventUtilities = ((/* unused pure expression or super */ null && (EventUtilities_default_)));
|
|
|
|
/******/ })()
|
|
|
|
;
|