@vertexvis/viewer 0.13.2-canary.9 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{_commonjsHelpers-537d719a.js → _commonjsHelpers-dcc4cf71.js} +21 -0
- package/dist/cjs/{app-globals-3671e828.js → app-globals-2035678d.js} +1 -1
- package/dist/cjs/{browser.esm-075810bf.js → browser.esm-0bcdc581.js} +1 -1
- package/dist/cjs/{bundle.esm-618a5fe9.js → bundle.esm-22b6f2d6.js} +35 -1
- package/dist/cjs/{config-fb124bac.js → config-c63caa4f.js} +3 -2
- package/dist/cjs/{cursors-d71f6a74.js → cursors-f5d3c9a6.js} +13 -1
- package/dist/cjs/{dom-57ef84e9.js → dom-8d90bfaf.js} +1 -1
- package/dist/cjs/dom-d1bbd67c.js +10 -0
- package/dist/cjs/elementRectObserver-9b28f182.js +25 -0
- package/dist/cjs/entities-9eb7e608.js +41 -0
- package/dist/cjs/{entities-90f1347a.js → entities-e71231d8.js} +4 -4
- package/dist/cjs/{grpc-web-client.umd-60a79aae.js → grpc-web-client.umd-2af20c1b.js} +1 -1
- package/dist/cjs/{index-e100709a.js → index-4138aa2c.js} +1 -0
- package/dist/cjs/{index-3bc6bac0.js → index-b9d13137.js} +1 -1
- package/dist/cjs/index.cjs.js +25 -22
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{mapper-80ee2957.js → mapper-08bbab48.js} +4 -4
- package/dist/cjs/{markup-7f7de5f2.js → markup-f7e61d16.js} +2 -2
- package/dist/cjs/{measurement-f1ae9248.js → measurement-3367e9b7.js} +2 -2
- package/dist/cjs/{model-55abd9ab.js → model-5ca87867.js} +1 -1
- package/dist/cjs/model-a9cfd037.js +246 -0
- package/dist/cjs/{overlays-68e8eff2.js → overlays-b0ba69fd.js} +2 -2
- package/dist/cjs/{png-decoder-076131d8.js → png-decoder-ef097f37.js} +2 -2
- package/dist/cjs/{results-e9496869.js → results-178e89a3.js} +1 -1
- package/dist/cjs/{scene-92728420.js → scene-b6b78909.js} +49 -12
- package/dist/cjs/{stencil-a664cd10.js → stencil-ef19638e.js} +5 -1
- package/dist/cjs/{streamAttributes-81eb52f2.js → streamAttributes-c343bdc8.js} +1993 -78
- package/dist/cjs/utils-78928e4e.js +162 -0
- package/dist/cjs/{utils-6397efca.js → utils-b157b0af.js} +1 -1
- package/dist/cjs/{utils-463cd52e.js → utils-c74b8bf0.js} +1 -1
- package/dist/cjs/vertex-scene-tree-search_3.cjs.entry.js +16 -6
- package/dist/cjs/vertex-scene-tree-table-cell.cjs.entry.js +16 -14
- package/dist/cjs/vertex-scene-tree-table-column.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree-table-header.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree-table-resize-divider.cjs.entry.js +3 -3
- package/dist/cjs/vertex-scene-tree-toolbar-group.cjs.entry.js +1 -1
- package/dist/cjs/vertex-scene-tree.cjs.entry.js +154 -27
- package/dist/cjs/vertex-viewer-button_3.cjs.entry.js +3 -3
- package/dist/cjs/vertex-viewer-default-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/{vertex-viewer-dom-element_3.cjs.entry.js → vertex-viewer-dom-element_2.cjs.entry.js} +20 -178
- package/dist/cjs/vertex-viewer-dom-group.cjs.entry.js +191 -0
- package/dist/cjs/vertex-viewer-icon.cjs.entry.js +6 -3
- package/dist/cjs/vertex-viewer-layer.cjs.entry.js +1 -1
- package/dist/cjs/vertex-viewer-markup-arrow_3.cjs.entry.js +49 -196
- package/dist/cjs/vertex-viewer-markup-tool.cjs.entry.js +5 -5
- package/dist/cjs/vertex-viewer-markup.cjs.entry.js +5 -5
- package/dist/cjs/vertex-viewer-measurement-details.cjs.entry.js +8 -7
- package/dist/cjs/vertex-viewer-measurement-distance.cjs.entry.js +16 -15
- package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +10 -9
- package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +18 -35
- package/dist/cjs/vertex-viewer-measurement-tool.cjs.entry.js +8 -7
- package/dist/cjs/vertex-viewer-measurements.cjs.entry.js +12 -11
- package/dist/cjs/vertex-viewer-pin-group.cjs.entry.js +167 -0
- package/dist/cjs/vertex-viewer-pin-label_2.cjs.entry.js +276 -0
- package/dist/cjs/vertex-viewer-pin-tool.cjs.entry.js +322 -0
- package/dist/cjs/vertex-viewer-transform-widget.cjs.entry.js +13272 -0
- package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +8 -7
- package/dist/cjs/vertex-viewer.cjs.entry.js +119 -52
- package/dist/cjs/viewer.cjs.js +4 -4
- package/dist/cjs/{viewport-54b1389d.js → viewport-5ca619f7.js} +14 -4
- package/dist/collection/__mocks__/regl-shape.js +6 -0
- package/dist/collection/__mocks__/regl.js +3 -0
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/scene-tree/lib/controller.js +17 -5
- package/dist/collection/components/scene-tree/lib/errors.js +7 -1
- package/dist/collection/components/scene-tree/lib/viewer-ops.js +12 -1
- package/dist/collection/components/scene-tree/scene-tree.js +112 -22
- package/dist/collection/components/scene-tree-table-cell/scene-tree-table-cell.css +0 -7
- package/dist/collection/components/scene-tree-table-cell/scene-tree-table-cell.js +34 -12
- package/dist/collection/components/scene-tree-table-layout/scene-tree-table-layout.js +14 -2
- package/dist/collection/components/viewer/viewer.js +79 -14
- package/dist/collection/components/viewer-dom-element/viewer-dom-element.js +32 -4
- package/dist/collection/components/viewer-dom-group/utils.js +3 -2
- package/dist/collection/components/viewer-dom-group/viewer-dom-group.js +30 -2
- package/dist/collection/components/viewer-icon/viewer-icon.js +5 -2
- package/dist/collection/components/viewer-markup/utils.js +3 -2
- package/dist/collection/components/viewer-measurement-details/viewer-measurement-details-results.js +2 -2
- package/dist/collection/components/viewer-pin-group/pin-renderer.js +12 -0
- package/dist/collection/components/viewer-pin-group/utils.js +24 -0
- package/dist/collection/components/viewer-pin-group/viewer-pin-group.css +83 -0
- package/dist/collection/components/viewer-pin-group/viewer-pin-group.js +276 -0
- package/dist/collection/components/viewer-pin-label/utils.js +4 -0
- package/dist/collection/components/viewer-pin-label/viewer-pin-label.css +154 -0
- package/dist/collection/components/viewer-pin-label/viewer-pin-label.js +410 -0
- package/dist/collection/components/viewer-pin-label-line/viewer-pin-label-line.css +36 -0
- package/dist/collection/components/viewer-pin-label-line/viewer-pin-label-line.js +61 -0
- package/dist/collection/components/viewer-pin-tool/viewer-pin-tool.css +9 -0
- package/dist/collection/components/viewer-pin-tool/viewer-pin-tool.js +277 -0
- package/dist/collection/components/viewer-transform-widget/__mocks__/widget.js +21 -0
- package/dist/collection/components/viewer-transform-widget/util.js +78 -0
- package/dist/collection/components/viewer-transform-widget/viewer-transform-widget.css +48 -0
- package/dist/collection/components/viewer-transform-widget/viewer-transform-widget.js +442 -0
- package/dist/collection/components/viewer-transform-widget/widget.js +259 -0
- package/dist/collection/lib/cursors.js +11 -1
- package/dist/collection/lib/interactions/baseInteractionHandler.js +9 -2
- package/dist/collection/lib/interactions/flyToPositionKeyInteraction.js +4 -3
- package/dist/collection/lib/interactions/interactionApi.js +21 -1
- package/dist/collection/lib/interactions/interactionApiOrthographic.js +18 -1
- package/dist/collection/lib/interactions/mouseInteractionHandler.js +4 -4
- package/dist/collection/lib/interactions/mouseInteractions.js +24 -1
- package/dist/collection/lib/interactions/multiTouchInteractionHandler.js +1 -2
- package/dist/collection/lib/interactions/pointerInteractionHandler.js +3 -3
- package/dist/collection/lib/mappers/streamAttributes.js +4 -2
- package/dist/collection/lib/pins/controller.js +100 -0
- package/dist/collection/lib/pins/interactions.js +183 -0
- package/dist/collection/lib/pins/model.js +136 -0
- package/dist/collection/lib/rendering/canvas.js +6 -28
- package/dist/collection/lib/scenes/camera.js +34 -2
- package/dist/collection/lib/scenes/colorMaterial.js +8 -8
- package/dist/collection/lib/scenes/mapper.js +2 -1
- package/dist/collection/lib/scenes/queries.js +6 -4
- package/dist/collection/lib/transforms/axis-lines.js +31 -0
- package/dist/collection/lib/transforms/axis-rotation.js +34 -0
- package/dist/collection/lib/transforms/axis-translation.js +30 -0
- package/dist/collection/lib/transforms/controller.js +117 -0
- package/dist/collection/lib/transforms/drawable.js +47 -0
- package/dist/collection/lib/transforms/hits.js +51 -0
- package/dist/collection/lib/transforms/line.js +58 -0
- package/dist/collection/lib/transforms/mesh.js +35 -0
- package/dist/collection/lib/transforms/shape.js +2 -0
- package/dist/collection/lib/transforms/util.js +4 -0
- package/dist/collection/lib/types/depthBuffer.js +2 -2
- package/dist/collection/lib/types/frameCamera.js +4 -6
- package/dist/collection/lib/types/viewport.js +14 -4
- package/dist/custom-elements/index.d.ts +30 -0
- package/dist/custom-elements/index.js +16835 -335
- package/dist/esm/{_commonjsHelpers-9943807e.js → _commonjsHelpers-11ca3be1.js} +20 -1
- package/dist/esm/{app-globals-3a04a531.js → app-globals-40df99a0.js} +1 -1
- package/dist/esm/{browser.esm-e72d80ad.js → browser.esm-1ddb69c9.js} +1 -1
- package/dist/esm/{bundle.esm-8ceccb91.js → bundle.esm-ce2c7ad3.js} +36 -2
- package/dist/esm/{config-fb7cd8ff.js → config-7075833a.js} +3 -2
- package/dist/esm/{cursors-fc2deed7.js → cursors-98b7d89d.js} +12 -2
- package/dist/esm/{dom-2cd18856.js → dom-5b164305.js} +1 -1
- package/dist/esm/dom-be140992.js +8 -0
- package/dist/esm/elementRectObserver-39cf7b95.js +23 -0
- package/dist/esm/{entities-78557270.js → entities-46be90d5.js} +4 -4
- package/dist/esm/entities-ce81dd7f.js +41 -0
- package/dist/esm/{grpc-web-client.umd-5982b7b0.js → grpc-web-client.umd-5409853c.js} +1 -1
- package/dist/esm/{index-10c1495a.js → index-a9fb8318.js} +1 -1
- package/dist/esm/{index-455380d0.js → index-e841d91b.js} +1 -1
- package/dist/esm/index.js +15 -14
- package/dist/esm/index.mjs +15 -14
- package/dist/esm/loader.js +4 -4
- package/dist/esm/loader.mjs +4 -4
- package/dist/esm/{mapper-da36de17.js → mapper-bde6c607.js} +4 -4
- package/dist/esm/{markup-c313d99c.js → markup-8904f2fe.js} +2 -2
- package/dist/esm/{measurement-544b69d5.js → measurement-3f9b0ae0.js} +2 -2
- package/dist/esm/{model-2a34b443.js → model-e54b081f.js} +1 -1
- package/dist/esm/model-f679c493.js +241 -0
- package/dist/esm/{overlays-354e275c.js → overlays-ea2d45ec.js} +2 -2
- package/dist/esm/{png-decoder-07de80d1.js → png-decoder-d4b65417.js} +2 -2
- package/dist/esm/{results-4d0c3568.js → results-3b4df2cf.js} +1 -1
- package/dist/esm/{scene-2bfcce74.js → scene-22ebacfd.js} +49 -12
- package/dist/esm/{stencil-9bf7fb9e.js → stencil-8b20e5a8.js} +5 -2
- package/dist/esm/{streamAttributes-d0b384b3.js → streamAttributes-72a92676.js} +1982 -67
- package/dist/esm/{utils-3ea0acdd.js → utils-0b980078.js} +1 -1
- package/dist/esm/utils-c714e2f7.js +153 -0
- package/dist/esm/{utils-e0941c61.js → utils-f11bd6f7.js} +1 -1
- package/dist/esm/vertex-scene-tree-search_3.entry.js +16 -6
- package/dist/esm/vertex-scene-tree-table-cell.entry.js +16 -14
- package/dist/esm/vertex-scene-tree-table-column.entry.js +1 -1
- package/dist/esm/vertex-scene-tree-table-header.entry.js +1 -1
- package/dist/esm/vertex-scene-tree-table-resize-divider.entry.js +3 -3
- package/dist/esm/vertex-scene-tree-toolbar-group.entry.js +1 -1
- package/dist/esm/vertex-scene-tree.entry.js +154 -27
- package/dist/esm/vertex-viewer-button_3.entry.js +3 -3
- package/dist/esm/vertex-viewer-default-toolbar.entry.js +1 -1
- package/dist/esm/{vertex-viewer-dom-element_3.entry.js → vertex-viewer-dom-element_2.entry.js} +21 -178
- package/dist/esm/vertex-viewer-dom-group.entry.js +187 -0
- package/dist/esm/vertex-viewer-icon.entry.js +6 -3
- package/dist/esm/vertex-viewer-layer.entry.js +1 -1
- package/dist/esm/vertex-viewer-markup-arrow_3.entry.js +8 -155
- package/dist/esm/vertex-viewer-markup-tool.entry.js +5 -5
- package/dist/esm/vertex-viewer-markup.entry.js +5 -5
- package/dist/esm/vertex-viewer-measurement-details.entry.js +8 -7
- package/dist/esm/vertex-viewer-measurement-distance.entry.js +16 -15
- package/dist/esm/vertex-viewer-measurement-line_2.entry.js +10 -9
- package/dist/esm/vertex-viewer-measurement-precise.entry.js +15 -32
- package/dist/esm/vertex-viewer-measurement-tool.entry.js +8 -7
- package/dist/esm/vertex-viewer-measurements.entry.js +12 -11
- package/dist/esm/vertex-viewer-pin-group.entry.js +163 -0
- package/dist/esm/vertex-viewer-pin-label_2.entry.js +271 -0
- package/dist/esm/vertex-viewer-pin-tool.entry.js +318 -0
- package/dist/esm/vertex-viewer-transform-widget.entry.js +13268 -0
- package/dist/esm/vertex-viewer-view-cube.entry.js +8 -7
- package/dist/esm/vertex-viewer.entry.js +118 -51
- package/dist/esm/viewer.js +4 -4
- package/dist/esm/{viewport-5cc7b128.js → viewport-e39e2eba.js} +14 -4
- package/dist/types/__mocks__/regl-shape.d.ts +5 -0
- package/dist/types/__mocks__/regl.d.ts +5 -0
- package/dist/types/components/scene-tree/lib/controller.d.ts +13 -1
- package/dist/types/components/scene-tree/lib/errors.d.ts +3 -1
- package/dist/types/components/scene-tree/lib/viewer-ops.d.ts +1 -0
- package/dist/types/components/scene-tree/scene-tree.d.ts +16 -4
- package/dist/types/components/scene-tree-table-cell/scene-tree-table-cell.d.ts +6 -2
- package/dist/types/components/scene-tree-table-layout/scene-tree-table-layout.d.ts +2 -0
- package/dist/types/components/viewer/viewer.d.ts +13 -1
- package/dist/types/components/viewer-dom-element/viewer-dom-element.d.ts +10 -2
- package/dist/types/components/viewer-dom-group/viewer-dom-group.d.ts +9 -1
- package/dist/types/components/viewer-icon/viewer-icon.d.ts +1 -1
- package/dist/types/components/viewer-pin-group/pin-renderer.d.ts +8 -0
- package/dist/types/components/viewer-pin-group/utils.d.ts +2 -0
- package/dist/types/components/viewer-pin-group/viewer-pin-group.d.ts +49 -0
- package/dist/types/components/viewer-pin-label/utils.d.ts +1 -0
- package/dist/types/components/viewer-pin-label/viewer-pin-label.d.ts +77 -0
- package/dist/types/components/viewer-pin-label-line/viewer-pin-label-line.d.ts +7 -0
- package/dist/types/components/viewer-pin-tool/viewer-pin-tool.d.ts +68 -0
- package/dist/types/components/viewer-transform-widget/__mocks__/widget.d.ts +11 -0
- package/dist/types/components/viewer-transform-widget/util.d.ts +5 -0
- package/dist/types/components/viewer-transform-widget/viewer-transform-widget.d.ts +81 -0
- package/dist/types/components/viewer-transform-widget/widget.d.ts +74 -0
- package/dist/types/components.d.ts +303 -12
- package/dist/types/interfaces.d.ts +1 -0
- package/dist/types/lib/cursors.d.ts +10 -0
- package/dist/types/lib/interactions/baseInteractionHandler.d.ts +4 -3
- package/dist/types/lib/interactions/interactionApi.d.ts +10 -1
- package/dist/types/lib/interactions/interactionApiOrthographic.d.ts +7 -0
- package/dist/types/lib/interactions/mouseInteractionHandler.d.ts +2 -2
- package/dist/types/lib/interactions/mouseInteractions.d.ts +6 -0
- package/dist/types/lib/pins/controller.d.ts +70 -0
- package/dist/types/lib/pins/interactions.d.ts +30 -0
- package/dist/types/lib/pins/model.d.ts +104 -0
- package/dist/types/lib/rendering/canvas.d.ts +1 -2
- package/dist/types/lib/scenes/camera.d.ts +10 -0
- package/dist/types/lib/scenes/colorMaterial.d.ts +1 -0
- package/dist/types/lib/scenes/queries.d.ts +4 -2
- package/dist/types/lib/transforms/axis-lines.d.ts +6 -0
- package/dist/types/lib/transforms/axis-rotation.d.ts +6 -0
- package/dist/types/lib/transforms/axis-translation.d.ts +6 -0
- package/dist/types/lib/transforms/controller.d.ts +17 -0
- package/dist/types/lib/transforms/drawable.d.ts +26 -0
- package/dist/types/lib/transforms/hits.d.ts +10 -0
- package/dist/types/lib/transforms/line.d.ts +31 -0
- package/dist/types/lib/transforms/mesh.d.ts +23 -0
- package/dist/types/lib/transforms/shape.d.ts +3 -0
- package/dist/types/lib/transforms/util.d.ts +2 -0
- package/dist/types/lib/types/frameCamera.d.ts +1 -0
- package/dist/types/lib/types/viewport.d.ts +8 -0
- package/dist/types/regl-shape.d.ts +26 -0
- package/dist/viewer/index.esm.js +1 -1
- package/dist/viewer/p-058632f4.js +4 -0
- package/dist/viewer/p-07aeee89.js +10 -0
- package/dist/viewer/{p-e75bba97.js → p-083f427e.js} +1 -1
- package/dist/viewer/{p-a455ae02.entry.js → p-08eda2b2.entry.js} +1 -1
- package/dist/viewer/{p-bcb66f97.js → p-096e60bd.js} +1 -1
- package/dist/viewer/p-0bc4b3f7.js +4 -0
- package/dist/viewer/p-148c5f1a.js +4 -0
- package/dist/viewer/p-1db9bd1a.entry.js +4 -0
- package/dist/viewer/{p-70ca1ea7.entry.js → p-1f251549.entry.js} +1 -1
- package/dist/viewer/p-29986489.js +4 -0
- package/dist/viewer/{p-cafa57a6.js → p-2e581b2a.js} +1 -1
- package/dist/viewer/{p-d2bcf788.entry.js → p-33daeb09.entry.js} +1 -1
- package/dist/viewer/p-39803f8f.js +4 -0
- package/dist/viewer/p-465a92d9.entry.js +4 -0
- package/dist/viewer/p-4a65ddb3.entry.js +4 -0
- package/dist/viewer/{p-099fe6ca.entry.js → p-4aaf02b4.entry.js} +1 -1
- package/dist/viewer/{p-31658489.entry.js → p-4c3a3738.entry.js} +1 -1
- package/dist/viewer/{p-e38458da.js → p-4d37d97c.js} +1 -1
- package/dist/viewer/p-4fdf8553.entry.js +4 -0
- package/dist/viewer/p-5679f46b.entry.js +4 -0
- package/dist/viewer/p-5809b400.js +4 -0
- package/dist/viewer/{p-fa9a0bed.js → p-58dacdce.js} +1 -1
- package/dist/viewer/p-61a042f0.entry.js +4 -0
- package/dist/viewer/{p-b8774c9c.js → p-6c377932.js} +1 -1
- package/dist/viewer/p-6d379d4a.js +4 -0
- package/dist/viewer/p-6d70b198.entry.js +4 -0
- package/dist/viewer/p-6e7e094a.entry.js +4 -0
- package/dist/viewer/{p-661f0612.js → p-70e5e8a8.js} +1 -1
- package/dist/viewer/p-74102b29.entry.js +32 -0
- package/dist/viewer/p-7a5a9a93.entry.js +4 -0
- package/dist/viewer/p-7c755e0e.entry.js +4 -0
- package/dist/viewer/{p-3a20a038.js → p-92fe4417.js} +1 -1
- package/dist/viewer/{p-7e0328aa.js → p-98e6a50e.js} +1 -1
- package/dist/viewer/{p-388a43f7.js → p-990f98c2.js} +1 -1
- package/dist/viewer/{p-487e054a.js → p-99352cf0.js} +1 -1
- package/dist/viewer/{p-1ca95f9a.entry.js → p-99799a71.entry.js} +1 -1
- package/dist/viewer/p-9acd1b44.js +4 -0
- package/dist/viewer/{p-69058178.js → p-9bcde9c8.js} +1 -1
- package/dist/viewer/{p-5b342e97.js → p-a2ef15e5.js} +1 -1
- package/dist/viewer/{p-61b1097b.entry.js → p-a32cc378.entry.js} +1 -1
- package/dist/viewer/p-a380f0c2.js +4 -0
- package/dist/viewer/{p-41028d3b.entry.js → p-af37b63e.entry.js} +1 -1
- package/dist/viewer/p-b6b727a6.entry.js +4 -0
- package/dist/viewer/p-c2e3312b.js +4 -0
- package/dist/viewer/{p-4717c98e.entry.js → p-c9f91798.entry.js} +1 -1
- package/dist/viewer/p-ca518dcb.entry.js +4 -0
- package/dist/viewer/p-d828fd18.entry.js +4 -0
- package/dist/viewer/p-d996b1d2.entry.js +4 -0
- package/dist/viewer/{p-3f0f83ad.js → p-db01460a.js} +1 -1
- package/dist/viewer/p-db716103.entry.js +4 -0
- package/dist/viewer/p-df8fbe56.js +4 -0
- package/dist/viewer/p-dfe5a97d.js +4 -0
- package/dist/viewer/p-e42cb163.js +4 -0
- package/dist/viewer/p-eb8e5db5.js +4 -0
- package/dist/viewer/{p-46459921.entry.js → p-ebb801c3.entry.js} +1 -1
- package/dist/viewer/p-ebd85d58.entry.js +4 -0
- package/dist/viewer/p-eefae62a.entry.js +4 -0
- package/dist/viewer/viewer.esm.js +1 -1
- package/package.json +12 -10
- package/readme.md +4 -4
- package/dist/viewer/p-0a189e62.entry.js +0 -4
- package/dist/viewer/p-112455b1.js +0 -4
- package/dist/viewer/p-3561d910.js +0 -4
- package/dist/viewer/p-49d36e94.entry.js +0 -4
- package/dist/viewer/p-73a5eacc.entry.js +0 -4
- package/dist/viewer/p-77be081a.js +0 -4
- package/dist/viewer/p-809d09d9.js +0 -4
- package/dist/viewer/p-858bd2c7.entry.js +0 -4
- package/dist/viewer/p-89b66838.entry.js +0 -32
- package/dist/viewer/p-90bb0a1f.entry.js +0 -4
- package/dist/viewer/p-a93a63a9.js +0 -4
- package/dist/viewer/p-b043b076.entry.js +0 -4
- package/dist/viewer/p-b0ac6b3c.entry.js +0 -4
- package/dist/viewer/p-bcde5521.entry.js +0 -4
- package/dist/viewer/p-d1584404.js +0 -4
- package/dist/viewer/p-d32b54cb.js +0 -4
- package/dist/viewer/p-d3a20af4.entry.js +0 -4
- package/dist/viewer/p-d9f99f4d.entry.js +0 -4
- package/dist/viewer/p-ebd55df7.entry.js +0 -4
- package/dist/viewer/p-f0411993.entry.js +0 -4
- package/dist/viewer/p-f482325b.js +0 -10
- package/dist/viewer/p-fad9693e.js +0 -4
- package/dist/viewer/p-ffdeb08c.js +0 -4
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const bundle_esm = require('./bundle.esm-
|
|
7
|
-
const browser_esm = require('./browser.esm-
|
|
8
|
-
const
|
|
6
|
+
const bundle_esm = require('./bundle.esm-22b6f2d6.js');
|
|
7
|
+
const browser_esm = require('./browser.esm-0bcdc581.js');
|
|
8
|
+
const entities = require('./entities-9eb7e608.js');
|
|
9
|
+
const _commonjsHelpers = require('./_commonjsHelpers-dcc4cf71.js');
|
|
9
10
|
|
|
10
11
|
const fromPbUuid = browser_esm.mapper.defineMapper(browser_esm.mapper.read(browser_esm.mapper.requiredProp('hex')), ([uuid]) => uuid);
|
|
11
12
|
|
|
@@ -8719,6 +8720,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8719
8720
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
|
|
8720
8721
|
* @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
|
|
8721
8722
|
* @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
|
|
8723
|
+
* @property {boolean|null} [noDefaultLights] StreamAttributes noDefaultLights
|
|
8722
8724
|
*/
|
|
8723
8725
|
|
|
8724
8726
|
/**
|
|
@@ -8776,6 +8778,14 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8776
8778
|
*/
|
|
8777
8779
|
StreamAttributes.prototype.featureMaps = null;
|
|
8778
8780
|
|
|
8781
|
+
/**
|
|
8782
|
+
* StreamAttributes noDefaultLights.
|
|
8783
|
+
* @member {boolean} noDefaultLights
|
|
8784
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
8785
|
+
* @instance
|
|
8786
|
+
*/
|
|
8787
|
+
StreamAttributes.prototype.noDefaultLights = false;
|
|
8788
|
+
|
|
8779
8789
|
/**
|
|
8780
8790
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
8781
8791
|
* @function create
|
|
@@ -8810,6 +8820,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8810
8820
|
$root$1.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
8811
8821
|
if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
|
|
8812
8822
|
$root$1.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
8823
|
+
if (message.noDefaultLights != null && Object.hasOwnProperty.call(message, "noDefaultLights"))
|
|
8824
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.noDefaultLights);
|
|
8813
8825
|
return writer;
|
|
8814
8826
|
};
|
|
8815
8827
|
|
|
@@ -8859,6 +8871,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8859
8871
|
case 5:
|
|
8860
8872
|
message.featureMaps = $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
|
|
8861
8873
|
break;
|
|
8874
|
+
case 6:
|
|
8875
|
+
message.noDefaultLights = reader.bool();
|
|
8876
|
+
break;
|
|
8862
8877
|
default:
|
|
8863
8878
|
reader.skipType(tag & 7);
|
|
8864
8879
|
break;
|
|
@@ -8919,6 +8934,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8919
8934
|
if (error)
|
|
8920
8935
|
return "featureMaps." + error;
|
|
8921
8936
|
}
|
|
8937
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
8938
|
+
if (typeof message.noDefaultLights !== "boolean")
|
|
8939
|
+
return "noDefaultLights: boolean expected";
|
|
8922
8940
|
return null;
|
|
8923
8941
|
};
|
|
8924
8942
|
|
|
@@ -8959,6 +8977,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8959
8977
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
|
|
8960
8978
|
message.featureMaps = $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
|
|
8961
8979
|
}
|
|
8980
|
+
if (object.noDefaultLights != null)
|
|
8981
|
+
message.noDefaultLights = Boolean(object.noDefaultLights);
|
|
8962
8982
|
return message;
|
|
8963
8983
|
};
|
|
8964
8984
|
|
|
@@ -8981,6 +9001,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8981
9001
|
object.featureLines = null;
|
|
8982
9002
|
object.featureHighlighting = null;
|
|
8983
9003
|
object.featureMaps = null;
|
|
9004
|
+
object.noDefaultLights = false;
|
|
8984
9005
|
}
|
|
8985
9006
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
8986
9007
|
object.experimentalGhosting = $root$1.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -8992,6 +9013,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
8992
9013
|
object.featureHighlighting = $root$1.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
|
|
8993
9014
|
if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
|
|
8994
9015
|
object.featureMaps = $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
|
|
9016
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
9017
|
+
object.noDefaultLights = message.noDefaultLights;
|
|
8995
9018
|
return object;
|
|
8996
9019
|
};
|
|
8997
9020
|
|
|
@@ -11650,6 +11673,198 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
11650
11673
|
return Token;
|
|
11651
11674
|
})();
|
|
11652
11675
|
|
|
11676
|
+
stream.TransformInteraction = (function() {
|
|
11677
|
+
|
|
11678
|
+
/**
|
|
11679
|
+
* Properties of a TransformInteraction.
|
|
11680
|
+
* @memberof vertexvis.protobuf.stream
|
|
11681
|
+
* @interface ITransformInteraction
|
|
11682
|
+
* @property {vertexvis.protobuf.core.IAffineMatrix4f|null} [delta] TransformInteraction delta
|
|
11683
|
+
*/
|
|
11684
|
+
|
|
11685
|
+
/**
|
|
11686
|
+
* Constructs a new TransformInteraction.
|
|
11687
|
+
* @memberof vertexvis.protobuf.stream
|
|
11688
|
+
* @classdesc Represents a TransformInteraction.
|
|
11689
|
+
* @implements ITransformInteraction
|
|
11690
|
+
* @constructor
|
|
11691
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
11692
|
+
*/
|
|
11693
|
+
function TransformInteraction(properties) {
|
|
11694
|
+
if (properties)
|
|
11695
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11696
|
+
if (properties[keys[i]] != null)
|
|
11697
|
+
this[keys[i]] = properties[keys[i]];
|
|
11698
|
+
}
|
|
11699
|
+
|
|
11700
|
+
/**
|
|
11701
|
+
* TransformInteraction delta.
|
|
11702
|
+
* @member {vertexvis.protobuf.core.IAffineMatrix4f|null|undefined} delta
|
|
11703
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11704
|
+
* @instance
|
|
11705
|
+
*/
|
|
11706
|
+
TransformInteraction.prototype.delta = null;
|
|
11707
|
+
|
|
11708
|
+
/**
|
|
11709
|
+
* Creates a new TransformInteraction instance using the specified properties.
|
|
11710
|
+
* @function create
|
|
11711
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11712
|
+
* @static
|
|
11713
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
11714
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction instance
|
|
11715
|
+
*/
|
|
11716
|
+
TransformInteraction.create = function create(properties) {
|
|
11717
|
+
return new TransformInteraction(properties);
|
|
11718
|
+
};
|
|
11719
|
+
|
|
11720
|
+
/**
|
|
11721
|
+
* Encodes the specified TransformInteraction message. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
11722
|
+
* @function encode
|
|
11723
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11724
|
+
* @static
|
|
11725
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
11726
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11727
|
+
* @returns {$protobuf.Writer} Writer
|
|
11728
|
+
*/
|
|
11729
|
+
TransformInteraction.encode = function encode(message, writer) {
|
|
11730
|
+
if (!writer)
|
|
11731
|
+
writer = $Writer$1.create();
|
|
11732
|
+
if (message.delta != null && Object.hasOwnProperty.call(message, "delta"))
|
|
11733
|
+
$root$1.vertexvis.protobuf.core.AffineMatrix4f.encode(message.delta, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
11734
|
+
return writer;
|
|
11735
|
+
};
|
|
11736
|
+
|
|
11737
|
+
/**
|
|
11738
|
+
* Encodes the specified TransformInteraction message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
11739
|
+
* @function encodeDelimited
|
|
11740
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11741
|
+
* @static
|
|
11742
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
11743
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11744
|
+
* @returns {$protobuf.Writer} Writer
|
|
11745
|
+
*/
|
|
11746
|
+
TransformInteraction.encodeDelimited = function encodeDelimited(message, writer) {
|
|
11747
|
+
return this.encode(message, writer).ldelim();
|
|
11748
|
+
};
|
|
11749
|
+
|
|
11750
|
+
/**
|
|
11751
|
+
* Decodes a TransformInteraction message from the specified reader or buffer.
|
|
11752
|
+
* @function decode
|
|
11753
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11754
|
+
* @static
|
|
11755
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11756
|
+
* @param {number} [length] Message length if known beforehand
|
|
11757
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11758
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11759
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11760
|
+
*/
|
|
11761
|
+
TransformInteraction.decode = function decode(reader, length) {
|
|
11762
|
+
if (!(reader instanceof $Reader$1))
|
|
11763
|
+
reader = $Reader$1.create(reader);
|
|
11764
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.TransformInteraction();
|
|
11765
|
+
while (reader.pos < end) {
|
|
11766
|
+
let tag = reader.uint32();
|
|
11767
|
+
switch (tag >>> 3) {
|
|
11768
|
+
case 1:
|
|
11769
|
+
message.delta = $root$1.vertexvis.protobuf.core.AffineMatrix4f.decode(reader, reader.uint32());
|
|
11770
|
+
break;
|
|
11771
|
+
default:
|
|
11772
|
+
reader.skipType(tag & 7);
|
|
11773
|
+
break;
|
|
11774
|
+
}
|
|
11775
|
+
}
|
|
11776
|
+
return message;
|
|
11777
|
+
};
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* Decodes a TransformInteraction message from the specified reader or buffer, length delimited.
|
|
11781
|
+
* @function decodeDelimited
|
|
11782
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11783
|
+
* @static
|
|
11784
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11785
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11786
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11787
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11788
|
+
*/
|
|
11789
|
+
TransformInteraction.decodeDelimited = function decodeDelimited(reader) {
|
|
11790
|
+
if (!(reader instanceof $Reader$1))
|
|
11791
|
+
reader = new $Reader$1(reader);
|
|
11792
|
+
return this.decode(reader, reader.uint32());
|
|
11793
|
+
};
|
|
11794
|
+
|
|
11795
|
+
/**
|
|
11796
|
+
* Verifies a TransformInteraction message.
|
|
11797
|
+
* @function verify
|
|
11798
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11799
|
+
* @static
|
|
11800
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11801
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11802
|
+
*/
|
|
11803
|
+
TransformInteraction.verify = function verify(message) {
|
|
11804
|
+
if (typeof message !== "object" || message === null)
|
|
11805
|
+
return "object expected";
|
|
11806
|
+
if (message.delta != null && message.hasOwnProperty("delta")) {
|
|
11807
|
+
let error = $root$1.vertexvis.protobuf.core.AffineMatrix4f.verify(message.delta);
|
|
11808
|
+
if (error)
|
|
11809
|
+
return "delta." + error;
|
|
11810
|
+
}
|
|
11811
|
+
return null;
|
|
11812
|
+
};
|
|
11813
|
+
|
|
11814
|
+
/**
|
|
11815
|
+
* Creates a TransformInteraction message from a plain object. Also converts values to their respective internal types.
|
|
11816
|
+
* @function fromObject
|
|
11817
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11818
|
+
* @static
|
|
11819
|
+
* @param {Object.<string,*>} object Plain object
|
|
11820
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11821
|
+
*/
|
|
11822
|
+
TransformInteraction.fromObject = function fromObject(object) {
|
|
11823
|
+
if (object instanceof $root$1.vertexvis.protobuf.stream.TransformInteraction)
|
|
11824
|
+
return object;
|
|
11825
|
+
let message = new $root$1.vertexvis.protobuf.stream.TransformInteraction();
|
|
11826
|
+
if (object.delta != null) {
|
|
11827
|
+
if (typeof object.delta !== "object")
|
|
11828
|
+
throw TypeError(".vertexvis.protobuf.stream.TransformInteraction.delta: object expected");
|
|
11829
|
+
message.delta = $root$1.vertexvis.protobuf.core.AffineMatrix4f.fromObject(object.delta);
|
|
11830
|
+
}
|
|
11831
|
+
return message;
|
|
11832
|
+
};
|
|
11833
|
+
|
|
11834
|
+
/**
|
|
11835
|
+
* Creates a plain object from a TransformInteraction message. Also converts values to other types if specified.
|
|
11836
|
+
* @function toObject
|
|
11837
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11838
|
+
* @static
|
|
11839
|
+
* @param {vertexvis.protobuf.stream.TransformInteraction} message TransformInteraction
|
|
11840
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11841
|
+
* @returns {Object.<string,*>} Plain object
|
|
11842
|
+
*/
|
|
11843
|
+
TransformInteraction.toObject = function toObject(message, options) {
|
|
11844
|
+
if (!options)
|
|
11845
|
+
options = {};
|
|
11846
|
+
let object = {};
|
|
11847
|
+
if (options.defaults)
|
|
11848
|
+
object.delta = null;
|
|
11849
|
+
if (message.delta != null && message.hasOwnProperty("delta"))
|
|
11850
|
+
object.delta = $root$1.vertexvis.protobuf.core.AffineMatrix4f.toObject(message.delta, options);
|
|
11851
|
+
return object;
|
|
11852
|
+
};
|
|
11853
|
+
|
|
11854
|
+
/**
|
|
11855
|
+
* Converts this TransformInteraction to JSON.
|
|
11856
|
+
* @function toJSON
|
|
11857
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11858
|
+
* @instance
|
|
11859
|
+
* @returns {Object.<string,*>} JSON object
|
|
11860
|
+
*/
|
|
11861
|
+
TransformInteraction.prototype.toJSON = function toJSON() {
|
|
11862
|
+
return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
|
|
11863
|
+
};
|
|
11864
|
+
|
|
11865
|
+
return TransformInteraction;
|
|
11866
|
+
})();
|
|
11867
|
+
|
|
11653
11868
|
stream.Error = (function() {
|
|
11654
11869
|
|
|
11655
11870
|
/**
|
|
@@ -12877,6 +13092,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
12877
13092
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
|
|
12878
13093
|
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
12879
13094
|
* @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
|
|
13095
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
|
|
12880
13096
|
*/
|
|
12881
13097
|
|
|
12882
13098
|
/**
|
|
@@ -13054,17 +13270,25 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
13054
13270
|
*/
|
|
13055
13271
|
StreamRequest.prototype.refreshToken = null;
|
|
13056
13272
|
|
|
13273
|
+
/**
|
|
13274
|
+
* StreamRequest updateInteraction.
|
|
13275
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionPayload|null|undefined} updateInteraction
|
|
13276
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
13277
|
+
* @instance
|
|
13278
|
+
*/
|
|
13279
|
+
StreamRequest.prototype.updateInteraction = null;
|
|
13280
|
+
|
|
13057
13281
|
// OneOf field names bound to virtual getters and setters
|
|
13058
13282
|
let $oneOfFields;
|
|
13059
13283
|
|
|
13060
13284
|
/**
|
|
13061
13285
|
* StreamRequest payload.
|
|
13062
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|undefined} payload
|
|
13286
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
|
|
13063
13287
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
13064
13288
|
* @instance
|
|
13065
13289
|
*/
|
|
13066
13290
|
Object.defineProperty(StreamRequest.prototype, "payload", {
|
|
13067
|
-
get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken"]),
|
|
13291
|
+
get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
13068
13292
|
set: $util$1.oneOfSetter($oneOfFields)
|
|
13069
13293
|
});
|
|
13070
13294
|
|
|
@@ -13132,6 +13356,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
13132
13356
|
$root$1.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
13133
13357
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
13134
13358
|
$root$1.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
13359
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
13360
|
+
$root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
13135
13361
|
return writer;
|
|
13136
13362
|
};
|
|
13137
13363
|
|
|
@@ -13226,6 +13452,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
13226
13452
|
case 20:
|
|
13227
13453
|
message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenPayload.decode(reader, reader.uint32());
|
|
13228
13454
|
break;
|
|
13455
|
+
case 21:
|
|
13456
|
+
message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
|
|
13457
|
+
break;
|
|
13229
13458
|
default:
|
|
13230
13459
|
reader.skipType(tag & 7);
|
|
13231
13460
|
break;
|
|
@@ -13455,6 +13684,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
13455
13684
|
return "refreshToken." + error;
|
|
13456
13685
|
}
|
|
13457
13686
|
}
|
|
13687
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
13688
|
+
if (properties.payload === 1)
|
|
13689
|
+
return "payload: multiple values";
|
|
13690
|
+
properties.payload = 1;
|
|
13691
|
+
{
|
|
13692
|
+
let error = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.verify(message.updateInteraction);
|
|
13693
|
+
if (error)
|
|
13694
|
+
return "updateInteraction." + error;
|
|
13695
|
+
}
|
|
13696
|
+
}
|
|
13458
13697
|
return null;
|
|
13459
13698
|
};
|
|
13460
13699
|
|
|
@@ -13570,6 +13809,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
13570
13809
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.refreshToken: object expected");
|
|
13571
13810
|
message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenPayload.fromObject(object.refreshToken);
|
|
13572
13811
|
}
|
|
13812
|
+
if (object.updateInteraction != null) {
|
|
13813
|
+
if (typeof object.updateInteraction !== "object")
|
|
13814
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
|
|
13815
|
+
message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
|
|
13816
|
+
}
|
|
13573
13817
|
return message;
|
|
13574
13818
|
};
|
|
13575
13819
|
|
|
@@ -13685,6 +13929,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
13685
13929
|
if (options.oneofs)
|
|
13686
13930
|
object.payload = "refreshToken";
|
|
13687
13931
|
}
|
|
13932
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
13933
|
+
object.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.toObject(message.updateInteraction, options);
|
|
13934
|
+
if (options.oneofs)
|
|
13935
|
+
object.payload = "updateInteraction";
|
|
13936
|
+
}
|
|
13688
13937
|
return object;
|
|
13689
13938
|
};
|
|
13690
13939
|
|
|
@@ -14256,6 +14505,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14256
14505
|
* Properties of a BeginInteractionPayload.
|
|
14257
14506
|
* @memberof vertexvis.protobuf.stream
|
|
14258
14507
|
* @interface IBeginInteractionPayload
|
|
14508
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] BeginInteractionPayload transform
|
|
14259
14509
|
*/
|
|
14260
14510
|
|
|
14261
14511
|
/**
|
|
@@ -14273,6 +14523,28 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14273
14523
|
this[keys[i]] = properties[keys[i]];
|
|
14274
14524
|
}
|
|
14275
14525
|
|
|
14526
|
+
/**
|
|
14527
|
+
* BeginInteractionPayload transform.
|
|
14528
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14529
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
14530
|
+
* @instance
|
|
14531
|
+
*/
|
|
14532
|
+
BeginInteractionPayload.prototype.transform = null;
|
|
14533
|
+
|
|
14534
|
+
// OneOf field names bound to virtual getters and setters
|
|
14535
|
+
let $oneOfFields;
|
|
14536
|
+
|
|
14537
|
+
/**
|
|
14538
|
+
* BeginInteractionPayload interaction.
|
|
14539
|
+
* @member {"transform"|undefined} interaction
|
|
14540
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
14541
|
+
* @instance
|
|
14542
|
+
*/
|
|
14543
|
+
Object.defineProperty(BeginInteractionPayload.prototype, "interaction", {
|
|
14544
|
+
get: $util$1.oneOfGetter($oneOfFields = ["transform"]),
|
|
14545
|
+
set: $util$1.oneOfSetter($oneOfFields)
|
|
14546
|
+
});
|
|
14547
|
+
|
|
14276
14548
|
/**
|
|
14277
14549
|
* Creates a new BeginInteractionPayload instance using the specified properties.
|
|
14278
14550
|
* @function create
|
|
@@ -14297,6 +14569,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14297
14569
|
BeginInteractionPayload.encode = function encode(message, writer) {
|
|
14298
14570
|
if (!writer)
|
|
14299
14571
|
writer = $Writer$1.create();
|
|
14572
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
14573
|
+
$root$1.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14300
14574
|
return writer;
|
|
14301
14575
|
};
|
|
14302
14576
|
|
|
@@ -14331,6 +14605,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14331
14605
|
while (reader.pos < end) {
|
|
14332
14606
|
let tag = reader.uint32();
|
|
14333
14607
|
switch (tag >>> 3) {
|
|
14608
|
+
case 1:
|
|
14609
|
+
message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
14610
|
+
break;
|
|
14334
14611
|
default:
|
|
14335
14612
|
reader.skipType(tag & 7);
|
|
14336
14613
|
break;
|
|
@@ -14366,6 +14643,13 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14366
14643
|
BeginInteractionPayload.verify = function verify(message) {
|
|
14367
14644
|
if (typeof message !== "object" || message === null)
|
|
14368
14645
|
return "object expected";
|
|
14646
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14647
|
+
{
|
|
14648
|
+
let error = $root$1.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
14649
|
+
if (error)
|
|
14650
|
+
return "transform." + error;
|
|
14651
|
+
}
|
|
14652
|
+
}
|
|
14369
14653
|
return null;
|
|
14370
14654
|
};
|
|
14371
14655
|
|
|
@@ -14380,7 +14664,13 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14380
14664
|
BeginInteractionPayload.fromObject = function fromObject(object) {
|
|
14381
14665
|
if (object instanceof $root$1.vertexvis.protobuf.stream.BeginInteractionPayload)
|
|
14382
14666
|
return object;
|
|
14383
|
-
|
|
14667
|
+
let message = new $root$1.vertexvis.protobuf.stream.BeginInteractionPayload();
|
|
14668
|
+
if (object.transform != null) {
|
|
14669
|
+
if (typeof object.transform !== "object")
|
|
14670
|
+
throw TypeError(".vertexvis.protobuf.stream.BeginInteractionPayload.transform: object expected");
|
|
14671
|
+
message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
14672
|
+
}
|
|
14673
|
+
return message;
|
|
14384
14674
|
};
|
|
14385
14675
|
|
|
14386
14676
|
/**
|
|
@@ -14392,8 +14682,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14392
14682
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14393
14683
|
* @returns {Object.<string,*>} Plain object
|
|
14394
14684
|
*/
|
|
14395
|
-
BeginInteractionPayload.toObject = function toObject() {
|
|
14396
|
-
|
|
14685
|
+
BeginInteractionPayload.toObject = function toObject(message, options) {
|
|
14686
|
+
if (!options)
|
|
14687
|
+
options = {};
|
|
14688
|
+
let object = {};
|
|
14689
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14690
|
+
object.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
14691
|
+
if (options.oneofs)
|
|
14692
|
+
object.interaction = "transform";
|
|
14693
|
+
}
|
|
14694
|
+
return object;
|
|
14397
14695
|
};
|
|
14398
14696
|
|
|
14399
14697
|
/**
|
|
@@ -14410,6 +14708,243 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14410
14708
|
return BeginInteractionPayload;
|
|
14411
14709
|
})();
|
|
14412
14710
|
|
|
14711
|
+
stream.UpdateInteractionPayload = (function() {
|
|
14712
|
+
|
|
14713
|
+
/**
|
|
14714
|
+
* Properties of an UpdateInteractionPayload.
|
|
14715
|
+
* @memberof vertexvis.protobuf.stream
|
|
14716
|
+
* @interface IUpdateInteractionPayload
|
|
14717
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateInteractionPayload frameCorrelationId
|
|
14718
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] UpdateInteractionPayload transform
|
|
14719
|
+
*/
|
|
14720
|
+
|
|
14721
|
+
/**
|
|
14722
|
+
* Constructs a new UpdateInteractionPayload.
|
|
14723
|
+
* @memberof vertexvis.protobuf.stream
|
|
14724
|
+
* @classdesc Represents an UpdateInteractionPayload.
|
|
14725
|
+
* @implements IUpdateInteractionPayload
|
|
14726
|
+
* @constructor
|
|
14727
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
14728
|
+
*/
|
|
14729
|
+
function UpdateInteractionPayload(properties) {
|
|
14730
|
+
if (properties)
|
|
14731
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14732
|
+
if (properties[keys[i]] != null)
|
|
14733
|
+
this[keys[i]] = properties[keys[i]];
|
|
14734
|
+
}
|
|
14735
|
+
|
|
14736
|
+
/**
|
|
14737
|
+
* UpdateInteractionPayload frameCorrelationId.
|
|
14738
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
14739
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14740
|
+
* @instance
|
|
14741
|
+
*/
|
|
14742
|
+
UpdateInteractionPayload.prototype.frameCorrelationId = null;
|
|
14743
|
+
|
|
14744
|
+
/**
|
|
14745
|
+
* UpdateInteractionPayload transform.
|
|
14746
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14747
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14748
|
+
* @instance
|
|
14749
|
+
*/
|
|
14750
|
+
UpdateInteractionPayload.prototype.transform = null;
|
|
14751
|
+
|
|
14752
|
+
// OneOf field names bound to virtual getters and setters
|
|
14753
|
+
let $oneOfFields;
|
|
14754
|
+
|
|
14755
|
+
/**
|
|
14756
|
+
* UpdateInteractionPayload interaction.
|
|
14757
|
+
* @member {"transform"|undefined} interaction
|
|
14758
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14759
|
+
* @instance
|
|
14760
|
+
*/
|
|
14761
|
+
Object.defineProperty(UpdateInteractionPayload.prototype, "interaction", {
|
|
14762
|
+
get: $util$1.oneOfGetter($oneOfFields = ["transform"]),
|
|
14763
|
+
set: $util$1.oneOfSetter($oneOfFields)
|
|
14764
|
+
});
|
|
14765
|
+
|
|
14766
|
+
/**
|
|
14767
|
+
* Creates a new UpdateInteractionPayload instance using the specified properties.
|
|
14768
|
+
* @function create
|
|
14769
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14770
|
+
* @static
|
|
14771
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
14772
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload instance
|
|
14773
|
+
*/
|
|
14774
|
+
UpdateInteractionPayload.create = function create(properties) {
|
|
14775
|
+
return new UpdateInteractionPayload(properties);
|
|
14776
|
+
};
|
|
14777
|
+
|
|
14778
|
+
/**
|
|
14779
|
+
* Encodes the specified UpdateInteractionPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
14780
|
+
* @function encode
|
|
14781
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14782
|
+
* @static
|
|
14783
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
14784
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14785
|
+
* @returns {$protobuf.Writer} Writer
|
|
14786
|
+
*/
|
|
14787
|
+
UpdateInteractionPayload.encode = function encode(message, writer) {
|
|
14788
|
+
if (!writer)
|
|
14789
|
+
writer = $Writer$1.create();
|
|
14790
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14791
|
+
$root$1.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14792
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
14793
|
+
$root$1.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14794
|
+
return writer;
|
|
14795
|
+
};
|
|
14796
|
+
|
|
14797
|
+
/**
|
|
14798
|
+
* Encodes the specified UpdateInteractionPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
14799
|
+
* @function encodeDelimited
|
|
14800
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14801
|
+
* @static
|
|
14802
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
14803
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14804
|
+
* @returns {$protobuf.Writer} Writer
|
|
14805
|
+
*/
|
|
14806
|
+
UpdateInteractionPayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14807
|
+
return this.encode(message, writer).ldelim();
|
|
14808
|
+
};
|
|
14809
|
+
|
|
14810
|
+
/**
|
|
14811
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer.
|
|
14812
|
+
* @function decode
|
|
14813
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14814
|
+
* @static
|
|
14815
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14816
|
+
* @param {number} [length] Message length if known beforehand
|
|
14817
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14818
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14819
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14820
|
+
*/
|
|
14821
|
+
UpdateInteractionPayload.decode = function decode(reader, length) {
|
|
14822
|
+
if (!(reader instanceof $Reader$1))
|
|
14823
|
+
reader = $Reader$1.create(reader);
|
|
14824
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
14825
|
+
while (reader.pos < end) {
|
|
14826
|
+
let tag = reader.uint32();
|
|
14827
|
+
switch (tag >>> 3) {
|
|
14828
|
+
case 1:
|
|
14829
|
+
message.frameCorrelationId = $root$1.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14830
|
+
break;
|
|
14831
|
+
case 2:
|
|
14832
|
+
message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
14833
|
+
break;
|
|
14834
|
+
default:
|
|
14835
|
+
reader.skipType(tag & 7);
|
|
14836
|
+
break;
|
|
14837
|
+
}
|
|
14838
|
+
}
|
|
14839
|
+
return message;
|
|
14840
|
+
};
|
|
14841
|
+
|
|
14842
|
+
/**
|
|
14843
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer, length delimited.
|
|
14844
|
+
* @function decodeDelimited
|
|
14845
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14846
|
+
* @static
|
|
14847
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14848
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14849
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14850
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14851
|
+
*/
|
|
14852
|
+
UpdateInteractionPayload.decodeDelimited = function decodeDelimited(reader) {
|
|
14853
|
+
if (!(reader instanceof $Reader$1))
|
|
14854
|
+
reader = new $Reader$1(reader);
|
|
14855
|
+
return this.decode(reader, reader.uint32());
|
|
14856
|
+
};
|
|
14857
|
+
|
|
14858
|
+
/**
|
|
14859
|
+
* Verifies an UpdateInteractionPayload message.
|
|
14860
|
+
* @function verify
|
|
14861
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14862
|
+
* @static
|
|
14863
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14864
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14865
|
+
*/
|
|
14866
|
+
UpdateInteractionPayload.verify = function verify(message) {
|
|
14867
|
+
if (typeof message !== "object" || message === null)
|
|
14868
|
+
return "object expected";
|
|
14869
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
14870
|
+
let error = $root$1.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
14871
|
+
if (error)
|
|
14872
|
+
return "frameCorrelationId." + error;
|
|
14873
|
+
}
|
|
14874
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14875
|
+
{
|
|
14876
|
+
let error = $root$1.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
14877
|
+
if (error)
|
|
14878
|
+
return "transform." + error;
|
|
14879
|
+
}
|
|
14880
|
+
}
|
|
14881
|
+
return null;
|
|
14882
|
+
};
|
|
14883
|
+
|
|
14884
|
+
/**
|
|
14885
|
+
* Creates an UpdateInteractionPayload message from a plain object. Also converts values to their respective internal types.
|
|
14886
|
+
* @function fromObject
|
|
14887
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14888
|
+
* @static
|
|
14889
|
+
* @param {Object.<string,*>} object Plain object
|
|
14890
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14891
|
+
*/
|
|
14892
|
+
UpdateInteractionPayload.fromObject = function fromObject(object) {
|
|
14893
|
+
if (object instanceof $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload)
|
|
14894
|
+
return object;
|
|
14895
|
+
let message = new $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
14896
|
+
if (object.frameCorrelationId != null) {
|
|
14897
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
14898
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.frameCorrelationId: object expected");
|
|
14899
|
+
message.frameCorrelationId = $root$1.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14900
|
+
}
|
|
14901
|
+
if (object.transform != null) {
|
|
14902
|
+
if (typeof object.transform !== "object")
|
|
14903
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.transform: object expected");
|
|
14904
|
+
message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
14905
|
+
}
|
|
14906
|
+
return message;
|
|
14907
|
+
};
|
|
14908
|
+
|
|
14909
|
+
/**
|
|
14910
|
+
* Creates a plain object from an UpdateInteractionPayload message. Also converts values to other types if specified.
|
|
14911
|
+
* @function toObject
|
|
14912
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14913
|
+
* @static
|
|
14914
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionPayload} message UpdateInteractionPayload
|
|
14915
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14916
|
+
* @returns {Object.<string,*>} Plain object
|
|
14917
|
+
*/
|
|
14918
|
+
UpdateInteractionPayload.toObject = function toObject(message, options) {
|
|
14919
|
+
if (!options)
|
|
14920
|
+
options = {};
|
|
14921
|
+
let object = {};
|
|
14922
|
+
if (options.defaults)
|
|
14923
|
+
object.frameCorrelationId = null;
|
|
14924
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14925
|
+
object.frameCorrelationId = $root$1.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
14926
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14927
|
+
object.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
14928
|
+
if (options.oneofs)
|
|
14929
|
+
object.interaction = "transform";
|
|
14930
|
+
}
|
|
14931
|
+
return object;
|
|
14932
|
+
};
|
|
14933
|
+
|
|
14934
|
+
/**
|
|
14935
|
+
* Converts this UpdateInteractionPayload to JSON.
|
|
14936
|
+
* @function toJSON
|
|
14937
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14938
|
+
* @instance
|
|
14939
|
+
* @returns {Object.<string,*>} JSON object
|
|
14940
|
+
*/
|
|
14941
|
+
UpdateInteractionPayload.prototype.toJSON = function toJSON() {
|
|
14942
|
+
return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
|
|
14943
|
+
};
|
|
14944
|
+
|
|
14945
|
+
return UpdateInteractionPayload;
|
|
14946
|
+
})();
|
|
14947
|
+
|
|
14413
14948
|
stream.EndInteractionPayload = (function() {
|
|
14414
14949
|
|
|
14415
14950
|
/**
|
|
@@ -14417,6 +14952,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14417
14952
|
* @memberof vertexvis.protobuf.stream
|
|
14418
14953
|
* @interface IEndInteractionPayload
|
|
14419
14954
|
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] EndInteractionPayload frameCorrelationId
|
|
14955
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] EndInteractionPayload transform
|
|
14420
14956
|
*/
|
|
14421
14957
|
|
|
14422
14958
|
/**
|
|
@@ -14442,6 +14978,28 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14442
14978
|
*/
|
|
14443
14979
|
EndInteractionPayload.prototype.frameCorrelationId = null;
|
|
14444
14980
|
|
|
14981
|
+
/**
|
|
14982
|
+
* EndInteractionPayload transform.
|
|
14983
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14984
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
14985
|
+
* @instance
|
|
14986
|
+
*/
|
|
14987
|
+
EndInteractionPayload.prototype.transform = null;
|
|
14988
|
+
|
|
14989
|
+
// OneOf field names bound to virtual getters and setters
|
|
14990
|
+
let $oneOfFields;
|
|
14991
|
+
|
|
14992
|
+
/**
|
|
14993
|
+
* EndInteractionPayload interaction.
|
|
14994
|
+
* @member {"transform"|undefined} interaction
|
|
14995
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
14996
|
+
* @instance
|
|
14997
|
+
*/
|
|
14998
|
+
Object.defineProperty(EndInteractionPayload.prototype, "interaction", {
|
|
14999
|
+
get: $util$1.oneOfGetter($oneOfFields = ["transform"]),
|
|
15000
|
+
set: $util$1.oneOfSetter($oneOfFields)
|
|
15001
|
+
});
|
|
15002
|
+
|
|
14445
15003
|
/**
|
|
14446
15004
|
* Creates a new EndInteractionPayload instance using the specified properties.
|
|
14447
15005
|
* @function create
|
|
@@ -14468,6 +15026,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14468
15026
|
writer = $Writer$1.create();
|
|
14469
15027
|
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14470
15028
|
$root$1.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15029
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
15030
|
+
$root$1.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14471
15031
|
return writer;
|
|
14472
15032
|
};
|
|
14473
15033
|
|
|
@@ -14505,6 +15065,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14505
15065
|
case 1:
|
|
14506
15066
|
message.frameCorrelationId = $root$1.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14507
15067
|
break;
|
|
15068
|
+
case 2:
|
|
15069
|
+
message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
15070
|
+
break;
|
|
14508
15071
|
default:
|
|
14509
15072
|
reader.skipType(tag & 7);
|
|
14510
15073
|
break;
|
|
@@ -14545,6 +15108,13 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14545
15108
|
if (error)
|
|
14546
15109
|
return "frameCorrelationId." + error;
|
|
14547
15110
|
}
|
|
15111
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
15112
|
+
{
|
|
15113
|
+
let error = $root$1.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
15114
|
+
if (error)
|
|
15115
|
+
return "transform." + error;
|
|
15116
|
+
}
|
|
15117
|
+
}
|
|
14548
15118
|
return null;
|
|
14549
15119
|
};
|
|
14550
15120
|
|
|
@@ -14565,6 +15135,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14565
15135
|
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.frameCorrelationId: object expected");
|
|
14566
15136
|
message.frameCorrelationId = $root$1.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14567
15137
|
}
|
|
15138
|
+
if (object.transform != null) {
|
|
15139
|
+
if (typeof object.transform !== "object")
|
|
15140
|
+
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.transform: object expected");
|
|
15141
|
+
message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
15142
|
+
}
|
|
14568
15143
|
return message;
|
|
14569
15144
|
};
|
|
14570
15145
|
|
|
@@ -14585,6 +15160,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
14585
15160
|
object.frameCorrelationId = null;
|
|
14586
15161
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14587
15162
|
object.frameCorrelationId = $root$1.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15163
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
15164
|
+
object.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
15165
|
+
if (options.oneofs)
|
|
15166
|
+
object.interaction = "transform";
|
|
15167
|
+
}
|
|
14588
15168
|
return object;
|
|
14589
15169
|
};
|
|
14590
15170
|
|
|
@@ -18202,6 +18782,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18202
18782
|
* @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
|
|
18203
18783
|
* @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
|
|
18204
18784
|
* @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
|
|
18785
|
+
* @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
|
|
18205
18786
|
* @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
|
|
18206
18787
|
* @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
|
|
18207
18788
|
* @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
|
|
@@ -18215,6 +18796,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18215
18796
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
18216
18797
|
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
18217
18798
|
* @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
|
|
18799
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
|
|
18218
18800
|
*/
|
|
18219
18801
|
|
|
18220
18802
|
/**
|
|
@@ -18280,6 +18862,14 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18280
18862
|
*/
|
|
18281
18863
|
StreamResponse.prototype.endInteraction = null;
|
|
18282
18864
|
|
|
18865
|
+
/**
|
|
18866
|
+
* StreamResponse gracefulReconnection.
|
|
18867
|
+
* @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
|
|
18868
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18869
|
+
* @instance
|
|
18870
|
+
*/
|
|
18871
|
+
StreamResponse.prototype.gracefulReconnection = null;
|
|
18872
|
+
|
|
18283
18873
|
/**
|
|
18284
18874
|
* StreamResponse reconnect.
|
|
18285
18875
|
* @member {vertexvis.protobuf.stream.IReconnectResult|null|undefined} reconnect
|
|
@@ -18384,17 +18974,25 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18384
18974
|
*/
|
|
18385
18975
|
StreamResponse.prototype.refreshToken = null;
|
|
18386
18976
|
|
|
18977
|
+
/**
|
|
18978
|
+
* StreamResponse updateInteraction.
|
|
18979
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionResult|null|undefined} updateInteraction
|
|
18980
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18981
|
+
* @instance
|
|
18982
|
+
*/
|
|
18983
|
+
StreamResponse.prototype.updateInteraction = null;
|
|
18984
|
+
|
|
18387
18985
|
// OneOf field names bound to virtual getters and setters
|
|
18388
18986
|
let $oneOfFields;
|
|
18389
18987
|
|
|
18390
18988
|
/**
|
|
18391
18989
|
* StreamResponse result.
|
|
18392
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|undefined} result
|
|
18990
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
|
|
18393
18991
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18394
18992
|
* @instance
|
|
18395
18993
|
*/
|
|
18396
18994
|
Object.defineProperty(StreamResponse.prototype, "result", {
|
|
18397
|
-
get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken"]),
|
|
18995
|
+
get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
18398
18996
|
set: $util$1.oneOfSetter($oneOfFields)
|
|
18399
18997
|
});
|
|
18400
18998
|
|
|
@@ -18460,6 +19058,10 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18460
19058
|
$root$1.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
18461
19059
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
18462
19060
|
$root$1.vertexvis.protobuf.stream.RefreshTokenResult.encode(message.refreshToken, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
19061
|
+
if (message.gracefulReconnection != null && Object.hasOwnProperty.call(message, "gracefulReconnection"))
|
|
19062
|
+
$root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
19063
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
19064
|
+
$root$1.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
18463
19065
|
return writer;
|
|
18464
19066
|
};
|
|
18465
19067
|
|
|
@@ -18512,6 +19114,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18512
19114
|
case 6:
|
|
18513
19115
|
message.endInteraction = $root$1.vertexvis.protobuf.stream.EndInteractionResult.decode(reader, reader.uint32());
|
|
18514
19116
|
break;
|
|
19117
|
+
case 20:
|
|
19118
|
+
message.gracefulReconnection = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.decode(reader, reader.uint32());
|
|
19119
|
+
break;
|
|
18515
19120
|
case 7:
|
|
18516
19121
|
message.reconnect = $root$1.vertexvis.protobuf.stream.ReconnectResult.decode(reader, reader.uint32());
|
|
18517
19122
|
break;
|
|
@@ -18551,6 +19156,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18551
19156
|
case 19:
|
|
18552
19157
|
message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenResult.decode(reader, reader.uint32());
|
|
18553
19158
|
break;
|
|
19159
|
+
case 21:
|
|
19160
|
+
message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
|
|
19161
|
+
break;
|
|
18554
19162
|
default:
|
|
18555
19163
|
reader.skipType(tag & 7);
|
|
18556
19164
|
break;
|
|
@@ -18635,6 +19243,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18635
19243
|
return "endInteraction." + error;
|
|
18636
19244
|
}
|
|
18637
19245
|
}
|
|
19246
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
19247
|
+
if (properties.result === 1)
|
|
19248
|
+
return "result: multiple values";
|
|
19249
|
+
properties.result = 1;
|
|
19250
|
+
{
|
|
19251
|
+
let error = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.verify(message.gracefulReconnection);
|
|
19252
|
+
if (error)
|
|
19253
|
+
return "gracefulReconnection." + error;
|
|
19254
|
+
}
|
|
19255
|
+
}
|
|
18638
19256
|
if (message.reconnect != null && message.hasOwnProperty("reconnect")) {
|
|
18639
19257
|
if (properties.result === 1)
|
|
18640
19258
|
return "result: multiple values";
|
|
@@ -18765,6 +19383,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18765
19383
|
return "refreshToken." + error;
|
|
18766
19384
|
}
|
|
18767
19385
|
}
|
|
19386
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
19387
|
+
if (properties.result === 1)
|
|
19388
|
+
return "result: multiple values";
|
|
19389
|
+
properties.result = 1;
|
|
19390
|
+
{
|
|
19391
|
+
let error = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.verify(message.updateInteraction);
|
|
19392
|
+
if (error)
|
|
19393
|
+
return "updateInteraction." + error;
|
|
19394
|
+
}
|
|
19395
|
+
}
|
|
18768
19396
|
return null;
|
|
18769
19397
|
};
|
|
18770
19398
|
|
|
@@ -18810,6 +19438,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18810
19438
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.endInteraction: object expected");
|
|
18811
19439
|
message.endInteraction = $root$1.vertexvis.protobuf.stream.EndInteractionResult.fromObject(object.endInteraction);
|
|
18812
19440
|
}
|
|
19441
|
+
if (object.gracefulReconnection != null) {
|
|
19442
|
+
if (typeof object.gracefulReconnection !== "object")
|
|
19443
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.gracefulReconnection: object expected");
|
|
19444
|
+
message.gracefulReconnection = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.fromObject(object.gracefulReconnection);
|
|
19445
|
+
}
|
|
18813
19446
|
if (object.reconnect != null) {
|
|
18814
19447
|
if (typeof object.reconnect !== "object")
|
|
18815
19448
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.reconnect: object expected");
|
|
@@ -18875,6 +19508,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18875
19508
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.refreshToken: object expected");
|
|
18876
19509
|
message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenResult.fromObject(object.refreshToken);
|
|
18877
19510
|
}
|
|
19511
|
+
if (object.updateInteraction != null) {
|
|
19512
|
+
if (typeof object.updateInteraction !== "object")
|
|
19513
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
|
|
19514
|
+
message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
|
|
19515
|
+
}
|
|
18878
19516
|
return message;
|
|
18879
19517
|
};
|
|
18880
19518
|
|
|
@@ -18984,6 +19622,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
18984
19622
|
if (options.oneofs)
|
|
18985
19623
|
object.result = "refreshToken";
|
|
18986
19624
|
}
|
|
19625
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
19626
|
+
object.gracefulReconnection = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.toObject(message.gracefulReconnection, options);
|
|
19627
|
+
if (options.oneofs)
|
|
19628
|
+
object.result = "gracefulReconnection";
|
|
19629
|
+
}
|
|
19630
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
19631
|
+
object.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.toObject(message.updateInteraction, options);
|
|
19632
|
+
if (options.oneofs)
|
|
19633
|
+
object.result = "updateInteraction";
|
|
19634
|
+
}
|
|
18987
19635
|
return object;
|
|
18988
19636
|
};
|
|
18989
19637
|
|
|
@@ -19868,6 +20516,166 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
19868
20516
|
return BeginInteractionResult;
|
|
19869
20517
|
})();
|
|
19870
20518
|
|
|
20519
|
+
stream.UpdateInteractionResult = (function() {
|
|
20520
|
+
|
|
20521
|
+
/**
|
|
20522
|
+
* Properties of an UpdateInteractionResult.
|
|
20523
|
+
* @memberof vertexvis.protobuf.stream
|
|
20524
|
+
* @interface IUpdateInteractionResult
|
|
20525
|
+
*/
|
|
20526
|
+
|
|
20527
|
+
/**
|
|
20528
|
+
* Constructs a new UpdateInteractionResult.
|
|
20529
|
+
* @memberof vertexvis.protobuf.stream
|
|
20530
|
+
* @classdesc Represents an UpdateInteractionResult.
|
|
20531
|
+
* @implements IUpdateInteractionResult
|
|
20532
|
+
* @constructor
|
|
20533
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
20534
|
+
*/
|
|
20535
|
+
function UpdateInteractionResult(properties) {
|
|
20536
|
+
if (properties)
|
|
20537
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
20538
|
+
if (properties[keys[i]] != null)
|
|
20539
|
+
this[keys[i]] = properties[keys[i]];
|
|
20540
|
+
}
|
|
20541
|
+
|
|
20542
|
+
/**
|
|
20543
|
+
* Creates a new UpdateInteractionResult instance using the specified properties.
|
|
20544
|
+
* @function create
|
|
20545
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20546
|
+
* @static
|
|
20547
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
20548
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult instance
|
|
20549
|
+
*/
|
|
20550
|
+
UpdateInteractionResult.create = function create(properties) {
|
|
20551
|
+
return new UpdateInteractionResult(properties);
|
|
20552
|
+
};
|
|
20553
|
+
|
|
20554
|
+
/**
|
|
20555
|
+
* Encodes the specified UpdateInteractionResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
20556
|
+
* @function encode
|
|
20557
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20558
|
+
* @static
|
|
20559
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
20560
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
20561
|
+
* @returns {$protobuf.Writer} Writer
|
|
20562
|
+
*/
|
|
20563
|
+
UpdateInteractionResult.encode = function encode(message, writer) {
|
|
20564
|
+
if (!writer)
|
|
20565
|
+
writer = $Writer$1.create();
|
|
20566
|
+
return writer;
|
|
20567
|
+
};
|
|
20568
|
+
|
|
20569
|
+
/**
|
|
20570
|
+
* Encodes the specified UpdateInteractionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
20571
|
+
* @function encodeDelimited
|
|
20572
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20573
|
+
* @static
|
|
20574
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
20575
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
20576
|
+
* @returns {$protobuf.Writer} Writer
|
|
20577
|
+
*/
|
|
20578
|
+
UpdateInteractionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
20579
|
+
return this.encode(message, writer).ldelim();
|
|
20580
|
+
};
|
|
20581
|
+
|
|
20582
|
+
/**
|
|
20583
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer.
|
|
20584
|
+
* @function decode
|
|
20585
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20586
|
+
* @static
|
|
20587
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
20588
|
+
* @param {number} [length] Message length if known beforehand
|
|
20589
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20590
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20591
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20592
|
+
*/
|
|
20593
|
+
UpdateInteractionResult.decode = function decode(reader, length) {
|
|
20594
|
+
if (!(reader instanceof $Reader$1))
|
|
20595
|
+
reader = $Reader$1.create(reader);
|
|
20596
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
20597
|
+
while (reader.pos < end) {
|
|
20598
|
+
let tag = reader.uint32();
|
|
20599
|
+
switch (tag >>> 3) {
|
|
20600
|
+
default:
|
|
20601
|
+
reader.skipType(tag & 7);
|
|
20602
|
+
break;
|
|
20603
|
+
}
|
|
20604
|
+
}
|
|
20605
|
+
return message;
|
|
20606
|
+
};
|
|
20607
|
+
|
|
20608
|
+
/**
|
|
20609
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer, length delimited.
|
|
20610
|
+
* @function decodeDelimited
|
|
20611
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20612
|
+
* @static
|
|
20613
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
20614
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20617
|
+
*/
|
|
20618
|
+
UpdateInteractionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
20619
|
+
if (!(reader instanceof $Reader$1))
|
|
20620
|
+
reader = new $Reader$1(reader);
|
|
20621
|
+
return this.decode(reader, reader.uint32());
|
|
20622
|
+
};
|
|
20623
|
+
|
|
20624
|
+
/**
|
|
20625
|
+
* Verifies an UpdateInteractionResult message.
|
|
20626
|
+
* @function verify
|
|
20627
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20628
|
+
* @static
|
|
20629
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
20630
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
20631
|
+
*/
|
|
20632
|
+
UpdateInteractionResult.verify = function verify(message) {
|
|
20633
|
+
if (typeof message !== "object" || message === null)
|
|
20634
|
+
return "object expected";
|
|
20635
|
+
return null;
|
|
20636
|
+
};
|
|
20637
|
+
|
|
20638
|
+
/**
|
|
20639
|
+
* Creates an UpdateInteractionResult message from a plain object. Also converts values to their respective internal types.
|
|
20640
|
+
* @function fromObject
|
|
20641
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20642
|
+
* @static
|
|
20643
|
+
* @param {Object.<string,*>} object Plain object
|
|
20644
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20645
|
+
*/
|
|
20646
|
+
UpdateInteractionResult.fromObject = function fromObject(object) {
|
|
20647
|
+
if (object instanceof $root$1.vertexvis.protobuf.stream.UpdateInteractionResult)
|
|
20648
|
+
return object;
|
|
20649
|
+
return new $root$1.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
20650
|
+
};
|
|
20651
|
+
|
|
20652
|
+
/**
|
|
20653
|
+
* Creates a plain object from an UpdateInteractionResult message. Also converts values to other types if specified.
|
|
20654
|
+
* @function toObject
|
|
20655
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20656
|
+
* @static
|
|
20657
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionResult} message UpdateInteractionResult
|
|
20658
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
20659
|
+
* @returns {Object.<string,*>} Plain object
|
|
20660
|
+
*/
|
|
20661
|
+
UpdateInteractionResult.toObject = function toObject() {
|
|
20662
|
+
return {};
|
|
20663
|
+
};
|
|
20664
|
+
|
|
20665
|
+
/**
|
|
20666
|
+
* Converts this UpdateInteractionResult to JSON.
|
|
20667
|
+
* @function toJSON
|
|
20668
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20669
|
+
* @instance
|
|
20670
|
+
* @returns {Object.<string,*>} JSON object
|
|
20671
|
+
*/
|
|
20672
|
+
UpdateInteractionResult.prototype.toJSON = function toJSON() {
|
|
20673
|
+
return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
|
|
20674
|
+
};
|
|
20675
|
+
|
|
20676
|
+
return UpdateInteractionResult;
|
|
20677
|
+
})();
|
|
20678
|
+
|
|
19871
20679
|
stream.EndInteractionResult = (function() {
|
|
19872
20680
|
|
|
19873
20681
|
/**
|
|
@@ -22703,6 +23511,166 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
|
|
|
22703
23511
|
return UpdateCrossSectioningResult;
|
|
22704
23512
|
})();
|
|
22705
23513
|
|
|
23514
|
+
stream.GracefulReconnectionResult = (function() {
|
|
23515
|
+
|
|
23516
|
+
/**
|
|
23517
|
+
* Properties of a GracefulReconnectionResult.
|
|
23518
|
+
* @memberof vertexvis.protobuf.stream
|
|
23519
|
+
* @interface IGracefulReconnectionResult
|
|
23520
|
+
*/
|
|
23521
|
+
|
|
23522
|
+
/**
|
|
23523
|
+
* Constructs a new GracefulReconnectionResult.
|
|
23524
|
+
* @memberof vertexvis.protobuf.stream
|
|
23525
|
+
* @classdesc Represents a GracefulReconnectionResult.
|
|
23526
|
+
* @implements IGracefulReconnectionResult
|
|
23527
|
+
* @constructor
|
|
23528
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
23529
|
+
*/
|
|
23530
|
+
function GracefulReconnectionResult(properties) {
|
|
23531
|
+
if (properties)
|
|
23532
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23533
|
+
if (properties[keys[i]] != null)
|
|
23534
|
+
this[keys[i]] = properties[keys[i]];
|
|
23535
|
+
}
|
|
23536
|
+
|
|
23537
|
+
/**
|
|
23538
|
+
* Creates a new GracefulReconnectionResult instance using the specified properties.
|
|
23539
|
+
* @function create
|
|
23540
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23541
|
+
* @static
|
|
23542
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
23543
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult instance
|
|
23544
|
+
*/
|
|
23545
|
+
GracefulReconnectionResult.create = function create(properties) {
|
|
23546
|
+
return new GracefulReconnectionResult(properties);
|
|
23547
|
+
};
|
|
23548
|
+
|
|
23549
|
+
/**
|
|
23550
|
+
* Encodes the specified GracefulReconnectionResult message. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
23551
|
+
* @function encode
|
|
23552
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23553
|
+
* @static
|
|
23554
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
23555
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23556
|
+
* @returns {$protobuf.Writer} Writer
|
|
23557
|
+
*/
|
|
23558
|
+
GracefulReconnectionResult.encode = function encode(message, writer) {
|
|
23559
|
+
if (!writer)
|
|
23560
|
+
writer = $Writer$1.create();
|
|
23561
|
+
return writer;
|
|
23562
|
+
};
|
|
23563
|
+
|
|
23564
|
+
/**
|
|
23565
|
+
* Encodes the specified GracefulReconnectionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
23566
|
+
* @function encodeDelimited
|
|
23567
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23568
|
+
* @static
|
|
23569
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
23570
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23571
|
+
* @returns {$protobuf.Writer} Writer
|
|
23572
|
+
*/
|
|
23573
|
+
GracefulReconnectionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
23574
|
+
return this.encode(message, writer).ldelim();
|
|
23575
|
+
};
|
|
23576
|
+
|
|
23577
|
+
/**
|
|
23578
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer.
|
|
23579
|
+
* @function decode
|
|
23580
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23581
|
+
* @static
|
|
23582
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23583
|
+
* @param {number} [length] Message length if known beforehand
|
|
23584
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23585
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23586
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23587
|
+
*/
|
|
23588
|
+
GracefulReconnectionResult.decode = function decode(reader, length) {
|
|
23589
|
+
if (!(reader instanceof $Reader$1))
|
|
23590
|
+
reader = $Reader$1.create(reader);
|
|
23591
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
23592
|
+
while (reader.pos < end) {
|
|
23593
|
+
let tag = reader.uint32();
|
|
23594
|
+
switch (tag >>> 3) {
|
|
23595
|
+
default:
|
|
23596
|
+
reader.skipType(tag & 7);
|
|
23597
|
+
break;
|
|
23598
|
+
}
|
|
23599
|
+
}
|
|
23600
|
+
return message;
|
|
23601
|
+
};
|
|
23602
|
+
|
|
23603
|
+
/**
|
|
23604
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer, length delimited.
|
|
23605
|
+
* @function decodeDelimited
|
|
23606
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23607
|
+
* @static
|
|
23608
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23609
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23610
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23611
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23612
|
+
*/
|
|
23613
|
+
GracefulReconnectionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
23614
|
+
if (!(reader instanceof $Reader$1))
|
|
23615
|
+
reader = new $Reader$1(reader);
|
|
23616
|
+
return this.decode(reader, reader.uint32());
|
|
23617
|
+
};
|
|
23618
|
+
|
|
23619
|
+
/**
|
|
23620
|
+
* Verifies a GracefulReconnectionResult message.
|
|
23621
|
+
* @function verify
|
|
23622
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23623
|
+
* @static
|
|
23624
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
23625
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
23626
|
+
*/
|
|
23627
|
+
GracefulReconnectionResult.verify = function verify(message) {
|
|
23628
|
+
if (typeof message !== "object" || message === null)
|
|
23629
|
+
return "object expected";
|
|
23630
|
+
return null;
|
|
23631
|
+
};
|
|
23632
|
+
|
|
23633
|
+
/**
|
|
23634
|
+
* Creates a GracefulReconnectionResult message from a plain object. Also converts values to their respective internal types.
|
|
23635
|
+
* @function fromObject
|
|
23636
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23637
|
+
* @static
|
|
23638
|
+
* @param {Object.<string,*>} object Plain object
|
|
23639
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23640
|
+
*/
|
|
23641
|
+
GracefulReconnectionResult.fromObject = function fromObject(object) {
|
|
23642
|
+
if (object instanceof $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult)
|
|
23643
|
+
return object;
|
|
23644
|
+
return new $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
23645
|
+
};
|
|
23646
|
+
|
|
23647
|
+
/**
|
|
23648
|
+
* Creates a plain object from a GracefulReconnectionResult message. Also converts values to other types if specified.
|
|
23649
|
+
* @function toObject
|
|
23650
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23651
|
+
* @static
|
|
23652
|
+
* @param {vertexvis.protobuf.stream.GracefulReconnectionResult} message GracefulReconnectionResult
|
|
23653
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
23654
|
+
* @returns {Object.<string,*>} Plain object
|
|
23655
|
+
*/
|
|
23656
|
+
GracefulReconnectionResult.toObject = function toObject() {
|
|
23657
|
+
return {};
|
|
23658
|
+
};
|
|
23659
|
+
|
|
23660
|
+
/**
|
|
23661
|
+
* Converts this GracefulReconnectionResult to JSON.
|
|
23662
|
+
* @function toJSON
|
|
23663
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23664
|
+
* @instance
|
|
23665
|
+
* @returns {Object.<string,*>} JSON object
|
|
23666
|
+
*/
|
|
23667
|
+
GracefulReconnectionResult.prototype.toJSON = function toJSON() {
|
|
23668
|
+
return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
|
|
23669
|
+
};
|
|
23670
|
+
|
|
23671
|
+
return GracefulReconnectionResult;
|
|
23672
|
+
})();
|
|
23673
|
+
|
|
22706
23674
|
return stream;
|
|
22707
23675
|
})();
|
|
22708
23676
|
|
|
@@ -35673,9 +36641,10 @@ var StreamApi = /** @class */ (function () {
|
|
|
35673
36641
|
* @param withResponse Indicates if the server should reply with a response.
|
|
35674
36642
|
* Defaults to `true`.
|
|
35675
36643
|
*/
|
|
35676
|
-
StreamApi.prototype.beginInteraction = function (withResponse) {
|
|
36644
|
+
StreamApi.prototype.beginInteraction = function (payload, withResponse) {
|
|
36645
|
+
if (payload === void 0) { payload = {}; }
|
|
35677
36646
|
if (withResponse === void 0) { withResponse = true; }
|
|
35678
|
-
return this.sendRequest({ beginInteraction:
|
|
36647
|
+
return this.sendRequest({ beginInteraction: payload }, withResponse);
|
|
35679
36648
|
};
|
|
35680
36649
|
/**
|
|
35681
36650
|
* Sends a request to update the position of the scene's camera.
|
|
@@ -35716,6 +36685,21 @@ var StreamApi = /** @class */ (function () {
|
|
|
35716
36685
|
if (withResponse === void 0) { withResponse = true; }
|
|
35717
36686
|
return this.sendRequest({ flyTo: payload }, withResponse);
|
|
35718
36687
|
};
|
|
36688
|
+
/**
|
|
36689
|
+
* Sends a request to update the specified interaction.
|
|
36690
|
+
*
|
|
36691
|
+
* Use `withResponse` to indicate if the server should reply with a response.
|
|
36692
|
+
* If `false`, the returned promise will complete immediately. Otherwise,
|
|
36693
|
+
* it'll complete when a response is received.
|
|
36694
|
+
*
|
|
36695
|
+
* @param payload The payload of the request.
|
|
36696
|
+
* @param withResponse Indicates if the server should reply with a response.
|
|
36697
|
+
* Defaults to `true`.
|
|
36698
|
+
*/
|
|
36699
|
+
StreamApi.prototype.updateInteraction = function (payload, withResponse) {
|
|
36700
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
36701
|
+
return this.sendRequest({ updateInteraction: payload }, withResponse);
|
|
36702
|
+
};
|
|
35719
36703
|
/**
|
|
35720
36704
|
* Sends a request to update the dimensions of the frame.
|
|
35721
36705
|
*
|
|
@@ -35814,9 +36798,10 @@ var StreamApi = /** @class */ (function () {
|
|
|
35814
36798
|
* @param withResponse Indicates if the server should reply with a response.
|
|
35815
36799
|
* Defaults to `true`.
|
|
35816
36800
|
*/
|
|
35817
|
-
StreamApi.prototype.endInteraction = function (withResponse) {
|
|
36801
|
+
StreamApi.prototype.endInteraction = function (payload, withResponse) {
|
|
36802
|
+
if (payload === void 0) { payload = {}; }
|
|
35818
36803
|
if (withResponse === void 0) { withResponse = true; }
|
|
35819
|
-
return this.sendRequest({ endInteraction:
|
|
36804
|
+
return this.sendRequest({ endInteraction: payload }, withResponse);
|
|
35820
36805
|
};
|
|
35821
36806
|
/**
|
|
35822
36807
|
* Sends a request to sync the clocks between the client and server.
|
|
@@ -36436,10 +37421,8 @@ function withPositionAndViewVector(camera) {
|
|
|
36436
37421
|
function toOrthographic(data, boundingBox) {
|
|
36437
37422
|
var _a;
|
|
36438
37423
|
const viewVector = bundle_esm.vector3.subtract(data.lookAt, data.position);
|
|
36439
|
-
const
|
|
36440
|
-
const
|
|
36441
|
-
const radius = bundle_esm.vector3.magnitude(centerToBoundingPlane);
|
|
36442
|
-
const scale = radius / bundle_esm.vector3.magnitude(viewVector);
|
|
37424
|
+
const boundingSphere = bundle_esm.boundingSphere.create(boundingBox);
|
|
37425
|
+
const scale = boundingSphere.radius / bundle_esm.vector3.magnitude(viewVector);
|
|
36443
37426
|
return {
|
|
36444
37427
|
viewVector: bundle_esm.vector3.scale(scale, viewVector),
|
|
36445
37428
|
up: data.up,
|
|
@@ -36612,7 +37595,7 @@ class DepthBuffer {
|
|
|
36612
37595
|
getOrthographicDepthAtPoint(point, fallbackNormalizedDepth) {
|
|
36613
37596
|
const { near, far } = this.camera;
|
|
36614
37597
|
const depth = this.getNormalizedDepthAtPoint(point, fallbackNormalizedDepth);
|
|
36615
|
-
return depth * (far - near)
|
|
37598
|
+
return depth * (far - near);
|
|
36616
37599
|
}
|
|
36617
37600
|
/**
|
|
36618
37601
|
* Computes a depth from a 2D point within the coordinate space of the frame.
|
|
@@ -36714,43 +37697,6 @@ class DepthBuffer {
|
|
|
36714
37697
|
*/
|
|
36715
37698
|
DepthBuffer.MAX_DEPTH_VALUE = 2 ** 16 - 1;
|
|
36716
37699
|
|
|
36717
|
-
// The source of these values are from:
|
|
36718
|
-
// https://github.com/Vertexvis/rendering-worker-service/blob/fc1c864d1da4b5eb12794478dc720fa046412ee2/src/embree.isph#L163
|
|
36719
|
-
/**
|
|
36720
|
-
* An enumeration of the possible types of entities in a frame.
|
|
36721
|
-
*/
|
|
36722
|
-
exports.EntityType = void 0;
|
|
36723
|
-
(function (EntityType) {
|
|
36724
|
-
/**
|
|
36725
|
-
* A value that represents the presence of a cross section.
|
|
36726
|
-
*/
|
|
36727
|
-
EntityType[EntityType["CROSS_SECTION"] = 255] = "CROSS_SECTION";
|
|
36728
|
-
/**
|
|
36729
|
-
* A value that represents the presence of an edge with BREP.
|
|
36730
|
-
*/
|
|
36731
|
-
EntityType[EntityType["PRECISE_EDGE"] = 224] = "PRECISE_EDGE";
|
|
36732
|
-
/**
|
|
36733
|
-
* A value that represents the presence of a surface with BREP.
|
|
36734
|
-
*/
|
|
36735
|
-
EntityType[EntityType["PRECISE_SURFACE"] = 192] = "PRECISE_SURFACE";
|
|
36736
|
-
/**
|
|
36737
|
-
* A value that represents the presence of an edge without BREP.
|
|
36738
|
-
*/
|
|
36739
|
-
EntityType[EntityType["IMPRECISE_EDGE"] = 160] = "IMPRECISE_EDGE";
|
|
36740
|
-
/**
|
|
36741
|
-
* A value that represents the presence of an surface without BREP.
|
|
36742
|
-
*/
|
|
36743
|
-
EntityType[EntityType["IMPRECISE_SURFACE"] = 128] = "IMPRECISE_SURFACE";
|
|
36744
|
-
/**
|
|
36745
|
-
* A value that represents the presence of geometry without BREP.
|
|
36746
|
-
*/
|
|
36747
|
-
EntityType[EntityType["GENERIC_GEOMETRY"] = 96] = "GENERIC_GEOMETRY";
|
|
36748
|
-
/**
|
|
36749
|
-
* A value that represents the absence of geometry.
|
|
36750
|
-
*/
|
|
36751
|
-
EntityType[EntityType["NO_GEOMETRY"] = 0] = "NO_GEOMETRY";
|
|
36752
|
-
})(exports.EntityType || (exports.EntityType = {}));
|
|
36753
|
-
|
|
36754
37700
|
/**
|
|
36755
37701
|
* A `FeatureMap` contains metadata about the location of entities and features
|
|
36756
37702
|
* rendered in a scene. This metadata includes any surfaces, edges, cross
|
|
@@ -36798,26 +37744,26 @@ class FeatureMap {
|
|
|
36798
37744
|
*/
|
|
36799
37745
|
getEntityType(point) {
|
|
36800
37746
|
const color = this.getColor(point);
|
|
36801
|
-
if ((color === null || color === void 0 ? void 0 : color.a) ===
|
|
36802
|
-
return
|
|
37747
|
+
if ((color === null || color === void 0 ? void 0 : color.a) === entities.EntityType.CROSS_SECTION) {
|
|
37748
|
+
return entities.EntityType.CROSS_SECTION;
|
|
36803
37749
|
}
|
|
36804
|
-
else if ((color === null || color === void 0 ? void 0 : color.a) ===
|
|
36805
|
-
return
|
|
37750
|
+
else if ((color === null || color === void 0 ? void 0 : color.a) === entities.EntityType.GENERIC_GEOMETRY) {
|
|
37751
|
+
return entities.EntityType.GENERIC_GEOMETRY;
|
|
36806
37752
|
}
|
|
36807
|
-
else if ((color === null || color === void 0 ? void 0 : color.a) ===
|
|
36808
|
-
return
|
|
37753
|
+
else if ((color === null || color === void 0 ? void 0 : color.a) === entities.EntityType.IMPRECISE_EDGE) {
|
|
37754
|
+
return entities.EntityType.IMPRECISE_EDGE;
|
|
36809
37755
|
}
|
|
36810
|
-
else if ((color === null || color === void 0 ? void 0 : color.a) ===
|
|
36811
|
-
return
|
|
37756
|
+
else if ((color === null || color === void 0 ? void 0 : color.a) === entities.EntityType.IMPRECISE_SURFACE) {
|
|
37757
|
+
return entities.EntityType.IMPRECISE_SURFACE;
|
|
36812
37758
|
}
|
|
36813
|
-
else if ((color === null || color === void 0 ? void 0 : color.a) ===
|
|
36814
|
-
return
|
|
37759
|
+
else if ((color === null || color === void 0 ? void 0 : color.a) === entities.EntityType.PRECISE_EDGE) {
|
|
37760
|
+
return entities.EntityType.PRECISE_EDGE;
|
|
36815
37761
|
}
|
|
36816
|
-
else if ((color === null || color === void 0 ? void 0 : color.a) ===
|
|
36817
|
-
return
|
|
37762
|
+
else if ((color === null || color === void 0 ? void 0 : color.a) === entities.EntityType.PRECISE_SURFACE) {
|
|
37763
|
+
return entities.EntityType.PRECISE_SURFACE;
|
|
36818
37764
|
}
|
|
36819
37765
|
else {
|
|
36820
|
-
return
|
|
37766
|
+
return entities.EntityType.NO_GEOMETRY;
|
|
36821
37767
|
}
|
|
36822
37768
|
}
|
|
36823
37769
|
getColor(point) {
|
|
@@ -36839,7 +37785,7 @@ class FeatureMap {
|
|
|
36839
37785
|
}
|
|
36840
37786
|
|
|
36841
37787
|
async function loadWorker() {
|
|
36842
|
-
return Promise.resolve().then(function () { return require('./png-decoder-
|
|
37788
|
+
return Promise.resolve().then(function () { return require('./png-decoder-ef097f37.js'); });
|
|
36843
37789
|
}
|
|
36844
37790
|
|
|
36845
37791
|
let workerLoader;
|
|
@@ -46356,6 +47302,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46356
47302
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
|
|
46357
47303
|
* @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
|
|
46358
47304
|
* @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
|
|
47305
|
+
* @property {boolean|null} [noDefaultLights] StreamAttributes noDefaultLights
|
|
46359
47306
|
*/
|
|
46360
47307
|
|
|
46361
47308
|
/**
|
|
@@ -46413,6 +47360,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46413
47360
|
*/
|
|
46414
47361
|
StreamAttributes.prototype.featureMaps = null;
|
|
46415
47362
|
|
|
47363
|
+
/**
|
|
47364
|
+
* StreamAttributes noDefaultLights.
|
|
47365
|
+
* @member {boolean} noDefaultLights
|
|
47366
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
47367
|
+
* @instance
|
|
47368
|
+
*/
|
|
47369
|
+
StreamAttributes.prototype.noDefaultLights = false;
|
|
47370
|
+
|
|
46416
47371
|
/**
|
|
46417
47372
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
46418
47373
|
* @function create
|
|
@@ -46447,6 +47402,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46447
47402
|
$root.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
46448
47403
|
if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
|
|
46449
47404
|
$root.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
47405
|
+
if (message.noDefaultLights != null && Object.hasOwnProperty.call(message, "noDefaultLights"))
|
|
47406
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.noDefaultLights);
|
|
46450
47407
|
return writer;
|
|
46451
47408
|
};
|
|
46452
47409
|
|
|
@@ -46496,6 +47453,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46496
47453
|
case 5:
|
|
46497
47454
|
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
|
|
46498
47455
|
break;
|
|
47456
|
+
case 6:
|
|
47457
|
+
message.noDefaultLights = reader.bool();
|
|
47458
|
+
break;
|
|
46499
47459
|
default:
|
|
46500
47460
|
reader.skipType(tag & 7);
|
|
46501
47461
|
break;
|
|
@@ -46556,6 +47516,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46556
47516
|
if (error)
|
|
46557
47517
|
return "featureMaps." + error;
|
|
46558
47518
|
}
|
|
47519
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
47520
|
+
if (typeof message.noDefaultLights !== "boolean")
|
|
47521
|
+
return "noDefaultLights: boolean expected";
|
|
46559
47522
|
return null;
|
|
46560
47523
|
};
|
|
46561
47524
|
|
|
@@ -46596,6 +47559,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46596
47559
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
|
|
46597
47560
|
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
|
|
46598
47561
|
}
|
|
47562
|
+
if (object.noDefaultLights != null)
|
|
47563
|
+
message.noDefaultLights = Boolean(object.noDefaultLights);
|
|
46599
47564
|
return message;
|
|
46600
47565
|
};
|
|
46601
47566
|
|
|
@@ -46618,6 +47583,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46618
47583
|
object.featureLines = null;
|
|
46619
47584
|
object.featureHighlighting = null;
|
|
46620
47585
|
object.featureMaps = null;
|
|
47586
|
+
object.noDefaultLights = false;
|
|
46621
47587
|
}
|
|
46622
47588
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
46623
47589
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -46629,6 +47595,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
46629
47595
|
object.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
|
|
46630
47596
|
if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
|
|
46631
47597
|
object.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
|
|
47598
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
47599
|
+
object.noDefaultLights = message.noDefaultLights;
|
|
46632
47600
|
return object;
|
|
46633
47601
|
};
|
|
46634
47602
|
|
|
@@ -49287,6 +50255,198 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
49287
50255
|
return Token;
|
|
49288
50256
|
})();
|
|
49289
50257
|
|
|
50258
|
+
stream.TransformInteraction = (function() {
|
|
50259
|
+
|
|
50260
|
+
/**
|
|
50261
|
+
* Properties of a TransformInteraction.
|
|
50262
|
+
* @memberof vertexvis.protobuf.stream
|
|
50263
|
+
* @interface ITransformInteraction
|
|
50264
|
+
* @property {vertexvis.protobuf.core.IAffineMatrix4f|null} [delta] TransformInteraction delta
|
|
50265
|
+
*/
|
|
50266
|
+
|
|
50267
|
+
/**
|
|
50268
|
+
* Constructs a new TransformInteraction.
|
|
50269
|
+
* @memberof vertexvis.protobuf.stream
|
|
50270
|
+
* @classdesc Represents a TransformInteraction.
|
|
50271
|
+
* @implements ITransformInteraction
|
|
50272
|
+
* @constructor
|
|
50273
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
50274
|
+
*/
|
|
50275
|
+
function TransformInteraction(properties) {
|
|
50276
|
+
if (properties)
|
|
50277
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
50278
|
+
if (properties[keys[i]] != null)
|
|
50279
|
+
this[keys[i]] = properties[keys[i]];
|
|
50280
|
+
}
|
|
50281
|
+
|
|
50282
|
+
/**
|
|
50283
|
+
* TransformInteraction delta.
|
|
50284
|
+
* @member {vertexvis.protobuf.core.IAffineMatrix4f|null|undefined} delta
|
|
50285
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50286
|
+
* @instance
|
|
50287
|
+
*/
|
|
50288
|
+
TransformInteraction.prototype.delta = null;
|
|
50289
|
+
|
|
50290
|
+
/**
|
|
50291
|
+
* Creates a new TransformInteraction instance using the specified properties.
|
|
50292
|
+
* @function create
|
|
50293
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50294
|
+
* @static
|
|
50295
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
50296
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction instance
|
|
50297
|
+
*/
|
|
50298
|
+
TransformInteraction.create = function create(properties) {
|
|
50299
|
+
return new TransformInteraction(properties);
|
|
50300
|
+
};
|
|
50301
|
+
|
|
50302
|
+
/**
|
|
50303
|
+
* Encodes the specified TransformInteraction message. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
50304
|
+
* @function encode
|
|
50305
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50306
|
+
* @static
|
|
50307
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
50308
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50309
|
+
* @returns {$protobuf.Writer} Writer
|
|
50310
|
+
*/
|
|
50311
|
+
TransformInteraction.encode = function encode(message, writer) {
|
|
50312
|
+
if (!writer)
|
|
50313
|
+
writer = $Writer.create();
|
|
50314
|
+
if (message.delta != null && Object.hasOwnProperty.call(message, "delta"))
|
|
50315
|
+
$root.vertexvis.protobuf.core.AffineMatrix4f.encode(message.delta, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
50316
|
+
return writer;
|
|
50317
|
+
};
|
|
50318
|
+
|
|
50319
|
+
/**
|
|
50320
|
+
* Encodes the specified TransformInteraction message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
50321
|
+
* @function encodeDelimited
|
|
50322
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50323
|
+
* @static
|
|
50324
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
50325
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50326
|
+
* @returns {$protobuf.Writer} Writer
|
|
50327
|
+
*/
|
|
50328
|
+
TransformInteraction.encodeDelimited = function encodeDelimited(message, writer) {
|
|
50329
|
+
return this.encode(message, writer).ldelim();
|
|
50330
|
+
};
|
|
50331
|
+
|
|
50332
|
+
/**
|
|
50333
|
+
* Decodes a TransformInteraction message from the specified reader or buffer.
|
|
50334
|
+
* @function decode
|
|
50335
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50336
|
+
* @static
|
|
50337
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50338
|
+
* @param {number} [length] Message length if known beforehand
|
|
50339
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
50340
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50341
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50342
|
+
*/
|
|
50343
|
+
TransformInteraction.decode = function decode(reader, length) {
|
|
50344
|
+
if (!(reader instanceof $Reader))
|
|
50345
|
+
reader = $Reader.create(reader);
|
|
50346
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.TransformInteraction();
|
|
50347
|
+
while (reader.pos < end) {
|
|
50348
|
+
let tag = reader.uint32();
|
|
50349
|
+
switch (tag >>> 3) {
|
|
50350
|
+
case 1:
|
|
50351
|
+
message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.decode(reader, reader.uint32());
|
|
50352
|
+
break;
|
|
50353
|
+
default:
|
|
50354
|
+
reader.skipType(tag & 7);
|
|
50355
|
+
break;
|
|
50356
|
+
}
|
|
50357
|
+
}
|
|
50358
|
+
return message;
|
|
50359
|
+
};
|
|
50360
|
+
|
|
50361
|
+
/**
|
|
50362
|
+
* Decodes a TransformInteraction message from the specified reader or buffer, length delimited.
|
|
50363
|
+
* @function decodeDelimited
|
|
50364
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50365
|
+
* @static
|
|
50366
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50367
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
50368
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50369
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50370
|
+
*/
|
|
50371
|
+
TransformInteraction.decodeDelimited = function decodeDelimited(reader) {
|
|
50372
|
+
if (!(reader instanceof $Reader))
|
|
50373
|
+
reader = new $Reader(reader);
|
|
50374
|
+
return this.decode(reader, reader.uint32());
|
|
50375
|
+
};
|
|
50376
|
+
|
|
50377
|
+
/**
|
|
50378
|
+
* Verifies a TransformInteraction message.
|
|
50379
|
+
* @function verify
|
|
50380
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50381
|
+
* @static
|
|
50382
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
50383
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
50384
|
+
*/
|
|
50385
|
+
TransformInteraction.verify = function verify(message) {
|
|
50386
|
+
if (typeof message !== "object" || message === null)
|
|
50387
|
+
return "object expected";
|
|
50388
|
+
if (message.delta != null && message.hasOwnProperty("delta")) {
|
|
50389
|
+
let error = $root.vertexvis.protobuf.core.AffineMatrix4f.verify(message.delta);
|
|
50390
|
+
if (error)
|
|
50391
|
+
return "delta." + error;
|
|
50392
|
+
}
|
|
50393
|
+
return null;
|
|
50394
|
+
};
|
|
50395
|
+
|
|
50396
|
+
/**
|
|
50397
|
+
* Creates a TransformInteraction message from a plain object. Also converts values to their respective internal types.
|
|
50398
|
+
* @function fromObject
|
|
50399
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50400
|
+
* @static
|
|
50401
|
+
* @param {Object.<string,*>} object Plain object
|
|
50402
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
50403
|
+
*/
|
|
50404
|
+
TransformInteraction.fromObject = function fromObject(object) {
|
|
50405
|
+
if (object instanceof $root.vertexvis.protobuf.stream.TransformInteraction)
|
|
50406
|
+
return object;
|
|
50407
|
+
let message = new $root.vertexvis.protobuf.stream.TransformInteraction();
|
|
50408
|
+
if (object.delta != null) {
|
|
50409
|
+
if (typeof object.delta !== "object")
|
|
50410
|
+
throw TypeError(".vertexvis.protobuf.stream.TransformInteraction.delta: object expected");
|
|
50411
|
+
message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.fromObject(object.delta);
|
|
50412
|
+
}
|
|
50413
|
+
return message;
|
|
50414
|
+
};
|
|
50415
|
+
|
|
50416
|
+
/**
|
|
50417
|
+
* Creates a plain object from a TransformInteraction message. Also converts values to other types if specified.
|
|
50418
|
+
* @function toObject
|
|
50419
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50420
|
+
* @static
|
|
50421
|
+
* @param {vertexvis.protobuf.stream.TransformInteraction} message TransformInteraction
|
|
50422
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
50423
|
+
* @returns {Object.<string,*>} Plain object
|
|
50424
|
+
*/
|
|
50425
|
+
TransformInteraction.toObject = function toObject(message, options) {
|
|
50426
|
+
if (!options)
|
|
50427
|
+
options = {};
|
|
50428
|
+
let object = {};
|
|
50429
|
+
if (options.defaults)
|
|
50430
|
+
object.delta = null;
|
|
50431
|
+
if (message.delta != null && message.hasOwnProperty("delta"))
|
|
50432
|
+
object.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.toObject(message.delta, options);
|
|
50433
|
+
return object;
|
|
50434
|
+
};
|
|
50435
|
+
|
|
50436
|
+
/**
|
|
50437
|
+
* Converts this TransformInteraction to JSON.
|
|
50438
|
+
* @function toJSON
|
|
50439
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
50440
|
+
* @instance
|
|
50441
|
+
* @returns {Object.<string,*>} JSON object
|
|
50442
|
+
*/
|
|
50443
|
+
TransformInteraction.prototype.toJSON = function toJSON() {
|
|
50444
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
50445
|
+
};
|
|
50446
|
+
|
|
50447
|
+
return TransformInteraction;
|
|
50448
|
+
})();
|
|
50449
|
+
|
|
49290
50450
|
stream.Error = (function() {
|
|
49291
50451
|
|
|
49292
50452
|
/**
|
|
@@ -50514,6 +51674,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
50514
51674
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
|
|
50515
51675
|
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
50516
51676
|
* @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
|
|
51677
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
|
|
50517
51678
|
*/
|
|
50518
51679
|
|
|
50519
51680
|
/**
|
|
@@ -50691,17 +51852,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
50691
51852
|
*/
|
|
50692
51853
|
StreamRequest.prototype.refreshToken = null;
|
|
50693
51854
|
|
|
51855
|
+
/**
|
|
51856
|
+
* StreamRequest updateInteraction.
|
|
51857
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionPayload|null|undefined} updateInteraction
|
|
51858
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
51859
|
+
* @instance
|
|
51860
|
+
*/
|
|
51861
|
+
StreamRequest.prototype.updateInteraction = null;
|
|
51862
|
+
|
|
50694
51863
|
// OneOf field names bound to virtual getters and setters
|
|
50695
51864
|
let $oneOfFields;
|
|
50696
51865
|
|
|
50697
51866
|
/**
|
|
50698
51867
|
* StreamRequest payload.
|
|
50699
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|undefined} payload
|
|
51868
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
|
|
50700
51869
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
50701
51870
|
* @instance
|
|
50702
51871
|
*/
|
|
50703
51872
|
Object.defineProperty(StreamRequest.prototype, "payload", {
|
|
50704
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken"]),
|
|
51873
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
50705
51874
|
set: $util.oneOfSetter($oneOfFields)
|
|
50706
51875
|
});
|
|
50707
51876
|
|
|
@@ -50769,6 +51938,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
50769
51938
|
$root.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
50770
51939
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
50771
51940
|
$root.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
51941
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
51942
|
+
$root.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
50772
51943
|
return writer;
|
|
50773
51944
|
};
|
|
50774
51945
|
|
|
@@ -50863,6 +52034,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
50863
52034
|
case 20:
|
|
50864
52035
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.decode(reader, reader.uint32());
|
|
50865
52036
|
break;
|
|
52037
|
+
case 21:
|
|
52038
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
|
|
52039
|
+
break;
|
|
50866
52040
|
default:
|
|
50867
52041
|
reader.skipType(tag & 7);
|
|
50868
52042
|
break;
|
|
@@ -51092,6 +52266,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51092
52266
|
return "refreshToken." + error;
|
|
51093
52267
|
}
|
|
51094
52268
|
}
|
|
52269
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
52270
|
+
if (properties.payload === 1)
|
|
52271
|
+
return "payload: multiple values";
|
|
52272
|
+
properties.payload = 1;
|
|
52273
|
+
{
|
|
52274
|
+
let error = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.verify(message.updateInteraction);
|
|
52275
|
+
if (error)
|
|
52276
|
+
return "updateInteraction." + error;
|
|
52277
|
+
}
|
|
52278
|
+
}
|
|
51095
52279
|
return null;
|
|
51096
52280
|
};
|
|
51097
52281
|
|
|
@@ -51207,6 +52391,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51207
52391
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.refreshToken: object expected");
|
|
51208
52392
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.fromObject(object.refreshToken);
|
|
51209
52393
|
}
|
|
52394
|
+
if (object.updateInteraction != null) {
|
|
52395
|
+
if (typeof object.updateInteraction !== "object")
|
|
52396
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
|
|
52397
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
|
|
52398
|
+
}
|
|
51210
52399
|
return message;
|
|
51211
52400
|
};
|
|
51212
52401
|
|
|
@@ -51322,6 +52511,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51322
52511
|
if (options.oneofs)
|
|
51323
52512
|
object.payload = "refreshToken";
|
|
51324
52513
|
}
|
|
52514
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
52515
|
+
object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.toObject(message.updateInteraction, options);
|
|
52516
|
+
if (options.oneofs)
|
|
52517
|
+
object.payload = "updateInteraction";
|
|
52518
|
+
}
|
|
51325
52519
|
return object;
|
|
51326
52520
|
};
|
|
51327
52521
|
|
|
@@ -51893,6 +53087,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51893
53087
|
* Properties of a BeginInteractionPayload.
|
|
51894
53088
|
* @memberof vertexvis.protobuf.stream
|
|
51895
53089
|
* @interface IBeginInteractionPayload
|
|
53090
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] BeginInteractionPayload transform
|
|
51896
53091
|
*/
|
|
51897
53092
|
|
|
51898
53093
|
/**
|
|
@@ -51910,6 +53105,28 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51910
53105
|
this[keys[i]] = properties[keys[i]];
|
|
51911
53106
|
}
|
|
51912
53107
|
|
|
53108
|
+
/**
|
|
53109
|
+
* BeginInteractionPayload transform.
|
|
53110
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
53111
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
53112
|
+
* @instance
|
|
53113
|
+
*/
|
|
53114
|
+
BeginInteractionPayload.prototype.transform = null;
|
|
53115
|
+
|
|
53116
|
+
// OneOf field names bound to virtual getters and setters
|
|
53117
|
+
let $oneOfFields;
|
|
53118
|
+
|
|
53119
|
+
/**
|
|
53120
|
+
* BeginInteractionPayload interaction.
|
|
53121
|
+
* @member {"transform"|undefined} interaction
|
|
53122
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
53123
|
+
* @instance
|
|
53124
|
+
*/
|
|
53125
|
+
Object.defineProperty(BeginInteractionPayload.prototype, "interaction", {
|
|
53126
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
53127
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
53128
|
+
});
|
|
53129
|
+
|
|
51913
53130
|
/**
|
|
51914
53131
|
* Creates a new BeginInteractionPayload instance using the specified properties.
|
|
51915
53132
|
* @function create
|
|
@@ -51934,6 +53151,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51934
53151
|
BeginInteractionPayload.encode = function encode(message, writer) {
|
|
51935
53152
|
if (!writer)
|
|
51936
53153
|
writer = $Writer.create();
|
|
53154
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
53155
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
51937
53156
|
return writer;
|
|
51938
53157
|
};
|
|
51939
53158
|
|
|
@@ -51968,6 +53187,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
51968
53187
|
while (reader.pos < end) {
|
|
51969
53188
|
let tag = reader.uint32();
|
|
51970
53189
|
switch (tag >>> 3) {
|
|
53190
|
+
case 1:
|
|
53191
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
53192
|
+
break;
|
|
51971
53193
|
default:
|
|
51972
53194
|
reader.skipType(tag & 7);
|
|
51973
53195
|
break;
|
|
@@ -52003,6 +53225,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52003
53225
|
BeginInteractionPayload.verify = function verify(message) {
|
|
52004
53226
|
if (typeof message !== "object" || message === null)
|
|
52005
53227
|
return "object expected";
|
|
53228
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
53229
|
+
{
|
|
53230
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
53231
|
+
if (error)
|
|
53232
|
+
return "transform." + error;
|
|
53233
|
+
}
|
|
53234
|
+
}
|
|
52006
53235
|
return null;
|
|
52007
53236
|
};
|
|
52008
53237
|
|
|
@@ -52017,7 +53246,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52017
53246
|
BeginInteractionPayload.fromObject = function fromObject(object) {
|
|
52018
53247
|
if (object instanceof $root.vertexvis.protobuf.stream.BeginInteractionPayload)
|
|
52019
53248
|
return object;
|
|
52020
|
-
|
|
53249
|
+
let message = new $root.vertexvis.protobuf.stream.BeginInteractionPayload();
|
|
53250
|
+
if (object.transform != null) {
|
|
53251
|
+
if (typeof object.transform !== "object")
|
|
53252
|
+
throw TypeError(".vertexvis.protobuf.stream.BeginInteractionPayload.transform: object expected");
|
|
53253
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
53254
|
+
}
|
|
53255
|
+
return message;
|
|
52021
53256
|
};
|
|
52022
53257
|
|
|
52023
53258
|
/**
|
|
@@ -52029,8 +53264,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52029
53264
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
52030
53265
|
* @returns {Object.<string,*>} Plain object
|
|
52031
53266
|
*/
|
|
52032
|
-
BeginInteractionPayload.toObject = function toObject() {
|
|
52033
|
-
|
|
53267
|
+
BeginInteractionPayload.toObject = function toObject(message, options) {
|
|
53268
|
+
if (!options)
|
|
53269
|
+
options = {};
|
|
53270
|
+
let object = {};
|
|
53271
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
53272
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
53273
|
+
if (options.oneofs)
|
|
53274
|
+
object.interaction = "transform";
|
|
53275
|
+
}
|
|
53276
|
+
return object;
|
|
52034
53277
|
};
|
|
52035
53278
|
|
|
52036
53279
|
/**
|
|
@@ -52047,6 +53290,243 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52047
53290
|
return BeginInteractionPayload;
|
|
52048
53291
|
})();
|
|
52049
53292
|
|
|
53293
|
+
stream.UpdateInteractionPayload = (function() {
|
|
53294
|
+
|
|
53295
|
+
/**
|
|
53296
|
+
* Properties of an UpdateInteractionPayload.
|
|
53297
|
+
* @memberof vertexvis.protobuf.stream
|
|
53298
|
+
* @interface IUpdateInteractionPayload
|
|
53299
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateInteractionPayload frameCorrelationId
|
|
53300
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] UpdateInteractionPayload transform
|
|
53301
|
+
*/
|
|
53302
|
+
|
|
53303
|
+
/**
|
|
53304
|
+
* Constructs a new UpdateInteractionPayload.
|
|
53305
|
+
* @memberof vertexvis.protobuf.stream
|
|
53306
|
+
* @classdesc Represents an UpdateInteractionPayload.
|
|
53307
|
+
* @implements IUpdateInteractionPayload
|
|
53308
|
+
* @constructor
|
|
53309
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
53310
|
+
*/
|
|
53311
|
+
function UpdateInteractionPayload(properties) {
|
|
53312
|
+
if (properties)
|
|
53313
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
53314
|
+
if (properties[keys[i]] != null)
|
|
53315
|
+
this[keys[i]] = properties[keys[i]];
|
|
53316
|
+
}
|
|
53317
|
+
|
|
53318
|
+
/**
|
|
53319
|
+
* UpdateInteractionPayload frameCorrelationId.
|
|
53320
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
53321
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53322
|
+
* @instance
|
|
53323
|
+
*/
|
|
53324
|
+
UpdateInteractionPayload.prototype.frameCorrelationId = null;
|
|
53325
|
+
|
|
53326
|
+
/**
|
|
53327
|
+
* UpdateInteractionPayload transform.
|
|
53328
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
53329
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53330
|
+
* @instance
|
|
53331
|
+
*/
|
|
53332
|
+
UpdateInteractionPayload.prototype.transform = null;
|
|
53333
|
+
|
|
53334
|
+
// OneOf field names bound to virtual getters and setters
|
|
53335
|
+
let $oneOfFields;
|
|
53336
|
+
|
|
53337
|
+
/**
|
|
53338
|
+
* UpdateInteractionPayload interaction.
|
|
53339
|
+
* @member {"transform"|undefined} interaction
|
|
53340
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53341
|
+
* @instance
|
|
53342
|
+
*/
|
|
53343
|
+
Object.defineProperty(UpdateInteractionPayload.prototype, "interaction", {
|
|
53344
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
53345
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
53346
|
+
});
|
|
53347
|
+
|
|
53348
|
+
/**
|
|
53349
|
+
* Creates a new UpdateInteractionPayload instance using the specified properties.
|
|
53350
|
+
* @function create
|
|
53351
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53352
|
+
* @static
|
|
53353
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
53354
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload instance
|
|
53355
|
+
*/
|
|
53356
|
+
UpdateInteractionPayload.create = function create(properties) {
|
|
53357
|
+
return new UpdateInteractionPayload(properties);
|
|
53358
|
+
};
|
|
53359
|
+
|
|
53360
|
+
/**
|
|
53361
|
+
* Encodes the specified UpdateInteractionPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
53362
|
+
* @function encode
|
|
53363
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53364
|
+
* @static
|
|
53365
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
53366
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
53367
|
+
* @returns {$protobuf.Writer} Writer
|
|
53368
|
+
*/
|
|
53369
|
+
UpdateInteractionPayload.encode = function encode(message, writer) {
|
|
53370
|
+
if (!writer)
|
|
53371
|
+
writer = $Writer.create();
|
|
53372
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
53373
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
53374
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
53375
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
53376
|
+
return writer;
|
|
53377
|
+
};
|
|
53378
|
+
|
|
53379
|
+
/**
|
|
53380
|
+
* Encodes the specified UpdateInteractionPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
53381
|
+
* @function encodeDelimited
|
|
53382
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53383
|
+
* @static
|
|
53384
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
53385
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
53386
|
+
* @returns {$protobuf.Writer} Writer
|
|
53387
|
+
*/
|
|
53388
|
+
UpdateInteractionPayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
53389
|
+
return this.encode(message, writer).ldelim();
|
|
53390
|
+
};
|
|
53391
|
+
|
|
53392
|
+
/**
|
|
53393
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer.
|
|
53394
|
+
* @function decode
|
|
53395
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53396
|
+
* @static
|
|
53397
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
53398
|
+
* @param {number} [length] Message length if known beforehand
|
|
53399
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
53400
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53401
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53402
|
+
*/
|
|
53403
|
+
UpdateInteractionPayload.decode = function decode(reader, length) {
|
|
53404
|
+
if (!(reader instanceof $Reader))
|
|
53405
|
+
reader = $Reader.create(reader);
|
|
53406
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
53407
|
+
while (reader.pos < end) {
|
|
53408
|
+
let tag = reader.uint32();
|
|
53409
|
+
switch (tag >>> 3) {
|
|
53410
|
+
case 1:
|
|
53411
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
53412
|
+
break;
|
|
53413
|
+
case 2:
|
|
53414
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
53415
|
+
break;
|
|
53416
|
+
default:
|
|
53417
|
+
reader.skipType(tag & 7);
|
|
53418
|
+
break;
|
|
53419
|
+
}
|
|
53420
|
+
}
|
|
53421
|
+
return message;
|
|
53422
|
+
};
|
|
53423
|
+
|
|
53424
|
+
/**
|
|
53425
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer, length delimited.
|
|
53426
|
+
* @function decodeDelimited
|
|
53427
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53428
|
+
* @static
|
|
53429
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
53430
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
53431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
53432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
53433
|
+
*/
|
|
53434
|
+
UpdateInteractionPayload.decodeDelimited = function decodeDelimited(reader) {
|
|
53435
|
+
if (!(reader instanceof $Reader))
|
|
53436
|
+
reader = new $Reader(reader);
|
|
53437
|
+
return this.decode(reader, reader.uint32());
|
|
53438
|
+
};
|
|
53439
|
+
|
|
53440
|
+
/**
|
|
53441
|
+
* Verifies an UpdateInteractionPayload message.
|
|
53442
|
+
* @function verify
|
|
53443
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53444
|
+
* @static
|
|
53445
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
53446
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
53447
|
+
*/
|
|
53448
|
+
UpdateInteractionPayload.verify = function verify(message) {
|
|
53449
|
+
if (typeof message !== "object" || message === null)
|
|
53450
|
+
return "object expected";
|
|
53451
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
53452
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
53453
|
+
if (error)
|
|
53454
|
+
return "frameCorrelationId." + error;
|
|
53455
|
+
}
|
|
53456
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
53457
|
+
{
|
|
53458
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
53459
|
+
if (error)
|
|
53460
|
+
return "transform." + error;
|
|
53461
|
+
}
|
|
53462
|
+
}
|
|
53463
|
+
return null;
|
|
53464
|
+
};
|
|
53465
|
+
|
|
53466
|
+
/**
|
|
53467
|
+
* Creates an UpdateInteractionPayload message from a plain object. Also converts values to their respective internal types.
|
|
53468
|
+
* @function fromObject
|
|
53469
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53470
|
+
* @static
|
|
53471
|
+
* @param {Object.<string,*>} object Plain object
|
|
53472
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
53473
|
+
*/
|
|
53474
|
+
UpdateInteractionPayload.fromObject = function fromObject(object) {
|
|
53475
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionPayload)
|
|
53476
|
+
return object;
|
|
53477
|
+
let message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
53478
|
+
if (object.frameCorrelationId != null) {
|
|
53479
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
53480
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.frameCorrelationId: object expected");
|
|
53481
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
53482
|
+
}
|
|
53483
|
+
if (object.transform != null) {
|
|
53484
|
+
if (typeof object.transform !== "object")
|
|
53485
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.transform: object expected");
|
|
53486
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
53487
|
+
}
|
|
53488
|
+
return message;
|
|
53489
|
+
};
|
|
53490
|
+
|
|
53491
|
+
/**
|
|
53492
|
+
* Creates a plain object from an UpdateInteractionPayload message. Also converts values to other types if specified.
|
|
53493
|
+
* @function toObject
|
|
53494
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53495
|
+
* @static
|
|
53496
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionPayload} message UpdateInteractionPayload
|
|
53497
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
53498
|
+
* @returns {Object.<string,*>} Plain object
|
|
53499
|
+
*/
|
|
53500
|
+
UpdateInteractionPayload.toObject = function toObject(message, options) {
|
|
53501
|
+
if (!options)
|
|
53502
|
+
options = {};
|
|
53503
|
+
let object = {};
|
|
53504
|
+
if (options.defaults)
|
|
53505
|
+
object.frameCorrelationId = null;
|
|
53506
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
53507
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
53508
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
53509
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
53510
|
+
if (options.oneofs)
|
|
53511
|
+
object.interaction = "transform";
|
|
53512
|
+
}
|
|
53513
|
+
return object;
|
|
53514
|
+
};
|
|
53515
|
+
|
|
53516
|
+
/**
|
|
53517
|
+
* Converts this UpdateInteractionPayload to JSON.
|
|
53518
|
+
* @function toJSON
|
|
53519
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
53520
|
+
* @instance
|
|
53521
|
+
* @returns {Object.<string,*>} JSON object
|
|
53522
|
+
*/
|
|
53523
|
+
UpdateInteractionPayload.prototype.toJSON = function toJSON() {
|
|
53524
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
53525
|
+
};
|
|
53526
|
+
|
|
53527
|
+
return UpdateInteractionPayload;
|
|
53528
|
+
})();
|
|
53529
|
+
|
|
52050
53530
|
stream.EndInteractionPayload = (function() {
|
|
52051
53531
|
|
|
52052
53532
|
/**
|
|
@@ -52054,6 +53534,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52054
53534
|
* @memberof vertexvis.protobuf.stream
|
|
52055
53535
|
* @interface IEndInteractionPayload
|
|
52056
53536
|
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] EndInteractionPayload frameCorrelationId
|
|
53537
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] EndInteractionPayload transform
|
|
52057
53538
|
*/
|
|
52058
53539
|
|
|
52059
53540
|
/**
|
|
@@ -52079,6 +53560,28 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52079
53560
|
*/
|
|
52080
53561
|
EndInteractionPayload.prototype.frameCorrelationId = null;
|
|
52081
53562
|
|
|
53563
|
+
/**
|
|
53564
|
+
* EndInteractionPayload transform.
|
|
53565
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
53566
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
53567
|
+
* @instance
|
|
53568
|
+
*/
|
|
53569
|
+
EndInteractionPayload.prototype.transform = null;
|
|
53570
|
+
|
|
53571
|
+
// OneOf field names bound to virtual getters and setters
|
|
53572
|
+
let $oneOfFields;
|
|
53573
|
+
|
|
53574
|
+
/**
|
|
53575
|
+
* EndInteractionPayload interaction.
|
|
53576
|
+
* @member {"transform"|undefined} interaction
|
|
53577
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
53578
|
+
* @instance
|
|
53579
|
+
*/
|
|
53580
|
+
Object.defineProperty(EndInteractionPayload.prototype, "interaction", {
|
|
53581
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
53582
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
53583
|
+
});
|
|
53584
|
+
|
|
52082
53585
|
/**
|
|
52083
53586
|
* Creates a new EndInteractionPayload instance using the specified properties.
|
|
52084
53587
|
* @function create
|
|
@@ -52105,6 +53608,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52105
53608
|
writer = $Writer.create();
|
|
52106
53609
|
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
52107
53610
|
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
53611
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
53612
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
52108
53613
|
return writer;
|
|
52109
53614
|
};
|
|
52110
53615
|
|
|
@@ -52142,6 +53647,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52142
53647
|
case 1:
|
|
52143
53648
|
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
52144
53649
|
break;
|
|
53650
|
+
case 2:
|
|
53651
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
53652
|
+
break;
|
|
52145
53653
|
default:
|
|
52146
53654
|
reader.skipType(tag & 7);
|
|
52147
53655
|
break;
|
|
@@ -52182,6 +53690,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52182
53690
|
if (error)
|
|
52183
53691
|
return "frameCorrelationId." + error;
|
|
52184
53692
|
}
|
|
53693
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
53694
|
+
{
|
|
53695
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
53696
|
+
if (error)
|
|
53697
|
+
return "transform." + error;
|
|
53698
|
+
}
|
|
53699
|
+
}
|
|
52185
53700
|
return null;
|
|
52186
53701
|
};
|
|
52187
53702
|
|
|
@@ -52202,6 +53717,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52202
53717
|
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.frameCorrelationId: object expected");
|
|
52203
53718
|
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
52204
53719
|
}
|
|
53720
|
+
if (object.transform != null) {
|
|
53721
|
+
if (typeof object.transform !== "object")
|
|
53722
|
+
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.transform: object expected");
|
|
53723
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
53724
|
+
}
|
|
52205
53725
|
return message;
|
|
52206
53726
|
};
|
|
52207
53727
|
|
|
@@ -52222,6 +53742,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
52222
53742
|
object.frameCorrelationId = null;
|
|
52223
53743
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
52224
53744
|
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
53745
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
53746
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
53747
|
+
if (options.oneofs)
|
|
53748
|
+
object.interaction = "transform";
|
|
53749
|
+
}
|
|
52225
53750
|
return object;
|
|
52226
53751
|
};
|
|
52227
53752
|
|
|
@@ -55839,6 +57364,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
55839
57364
|
* @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
|
|
55840
57365
|
* @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
|
|
55841
57366
|
* @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
|
|
57367
|
+
* @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
|
|
55842
57368
|
* @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
|
|
55843
57369
|
* @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
|
|
55844
57370
|
* @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
|
|
@@ -55852,6 +57378,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
55852
57378
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
55853
57379
|
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
55854
57380
|
* @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
|
|
57381
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
|
|
55855
57382
|
*/
|
|
55856
57383
|
|
|
55857
57384
|
/**
|
|
@@ -55917,6 +57444,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
55917
57444
|
*/
|
|
55918
57445
|
StreamResponse.prototype.endInteraction = null;
|
|
55919
57446
|
|
|
57447
|
+
/**
|
|
57448
|
+
* StreamResponse gracefulReconnection.
|
|
57449
|
+
* @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
|
|
57450
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
57451
|
+
* @instance
|
|
57452
|
+
*/
|
|
57453
|
+
StreamResponse.prototype.gracefulReconnection = null;
|
|
57454
|
+
|
|
55920
57455
|
/**
|
|
55921
57456
|
* StreamResponse reconnect.
|
|
55922
57457
|
* @member {vertexvis.protobuf.stream.IReconnectResult|null|undefined} reconnect
|
|
@@ -56021,17 +57556,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56021
57556
|
*/
|
|
56022
57557
|
StreamResponse.prototype.refreshToken = null;
|
|
56023
57558
|
|
|
57559
|
+
/**
|
|
57560
|
+
* StreamResponse updateInteraction.
|
|
57561
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionResult|null|undefined} updateInteraction
|
|
57562
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
57563
|
+
* @instance
|
|
57564
|
+
*/
|
|
57565
|
+
StreamResponse.prototype.updateInteraction = null;
|
|
57566
|
+
|
|
56024
57567
|
// OneOf field names bound to virtual getters and setters
|
|
56025
57568
|
let $oneOfFields;
|
|
56026
57569
|
|
|
56027
57570
|
/**
|
|
56028
57571
|
* StreamResponse result.
|
|
56029
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|undefined} result
|
|
57572
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
|
|
56030
57573
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
56031
57574
|
* @instance
|
|
56032
57575
|
*/
|
|
56033
57576
|
Object.defineProperty(StreamResponse.prototype, "result", {
|
|
56034
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken"]),
|
|
57577
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
56035
57578
|
set: $util.oneOfSetter($oneOfFields)
|
|
56036
57579
|
});
|
|
56037
57580
|
|
|
@@ -56097,6 +57640,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56097
57640
|
$root.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
56098
57641
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
56099
57642
|
$root.vertexvis.protobuf.stream.RefreshTokenResult.encode(message.refreshToken, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
57643
|
+
if (message.gracefulReconnection != null && Object.hasOwnProperty.call(message, "gracefulReconnection"))
|
|
57644
|
+
$root.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
57645
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
57646
|
+
$root.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
56100
57647
|
return writer;
|
|
56101
57648
|
};
|
|
56102
57649
|
|
|
@@ -56149,6 +57696,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56149
57696
|
case 6:
|
|
56150
57697
|
message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.decode(reader, reader.uint32());
|
|
56151
57698
|
break;
|
|
57699
|
+
case 20:
|
|
57700
|
+
message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.decode(reader, reader.uint32());
|
|
57701
|
+
break;
|
|
56152
57702
|
case 7:
|
|
56153
57703
|
message.reconnect = $root.vertexvis.protobuf.stream.ReconnectResult.decode(reader, reader.uint32());
|
|
56154
57704
|
break;
|
|
@@ -56188,6 +57738,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56188
57738
|
case 19:
|
|
56189
57739
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.decode(reader, reader.uint32());
|
|
56190
57740
|
break;
|
|
57741
|
+
case 21:
|
|
57742
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
|
|
57743
|
+
break;
|
|
56191
57744
|
default:
|
|
56192
57745
|
reader.skipType(tag & 7);
|
|
56193
57746
|
break;
|
|
@@ -56272,6 +57825,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56272
57825
|
return "endInteraction." + error;
|
|
56273
57826
|
}
|
|
56274
57827
|
}
|
|
57828
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
57829
|
+
if (properties.result === 1)
|
|
57830
|
+
return "result: multiple values";
|
|
57831
|
+
properties.result = 1;
|
|
57832
|
+
{
|
|
57833
|
+
let error = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.verify(message.gracefulReconnection);
|
|
57834
|
+
if (error)
|
|
57835
|
+
return "gracefulReconnection." + error;
|
|
57836
|
+
}
|
|
57837
|
+
}
|
|
56275
57838
|
if (message.reconnect != null && message.hasOwnProperty("reconnect")) {
|
|
56276
57839
|
if (properties.result === 1)
|
|
56277
57840
|
return "result: multiple values";
|
|
@@ -56402,6 +57965,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56402
57965
|
return "refreshToken." + error;
|
|
56403
57966
|
}
|
|
56404
57967
|
}
|
|
57968
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
57969
|
+
if (properties.result === 1)
|
|
57970
|
+
return "result: multiple values";
|
|
57971
|
+
properties.result = 1;
|
|
57972
|
+
{
|
|
57973
|
+
let error = $root.vertexvis.protobuf.stream.UpdateInteractionResult.verify(message.updateInteraction);
|
|
57974
|
+
if (error)
|
|
57975
|
+
return "updateInteraction." + error;
|
|
57976
|
+
}
|
|
57977
|
+
}
|
|
56405
57978
|
return null;
|
|
56406
57979
|
};
|
|
56407
57980
|
|
|
@@ -56447,6 +58020,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56447
58020
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.endInteraction: object expected");
|
|
56448
58021
|
message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.fromObject(object.endInteraction);
|
|
56449
58022
|
}
|
|
58023
|
+
if (object.gracefulReconnection != null) {
|
|
58024
|
+
if (typeof object.gracefulReconnection !== "object")
|
|
58025
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.gracefulReconnection: object expected");
|
|
58026
|
+
message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.fromObject(object.gracefulReconnection);
|
|
58027
|
+
}
|
|
56450
58028
|
if (object.reconnect != null) {
|
|
56451
58029
|
if (typeof object.reconnect !== "object")
|
|
56452
58030
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.reconnect: object expected");
|
|
@@ -56512,6 +58090,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56512
58090
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.refreshToken: object expected");
|
|
56513
58091
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.fromObject(object.refreshToken);
|
|
56514
58092
|
}
|
|
58093
|
+
if (object.updateInteraction != null) {
|
|
58094
|
+
if (typeof object.updateInteraction !== "object")
|
|
58095
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
|
|
58096
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
|
|
58097
|
+
}
|
|
56515
58098
|
return message;
|
|
56516
58099
|
};
|
|
56517
58100
|
|
|
@@ -56621,6 +58204,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
56621
58204
|
if (options.oneofs)
|
|
56622
58205
|
object.result = "refreshToken";
|
|
56623
58206
|
}
|
|
58207
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
58208
|
+
object.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.toObject(message.gracefulReconnection, options);
|
|
58209
|
+
if (options.oneofs)
|
|
58210
|
+
object.result = "gracefulReconnection";
|
|
58211
|
+
}
|
|
58212
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
58213
|
+
object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.toObject(message.updateInteraction, options);
|
|
58214
|
+
if (options.oneofs)
|
|
58215
|
+
object.result = "updateInteraction";
|
|
58216
|
+
}
|
|
56624
58217
|
return object;
|
|
56625
58218
|
};
|
|
56626
58219
|
|
|
@@ -57505,6 +59098,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
57505
59098
|
return BeginInteractionResult;
|
|
57506
59099
|
})();
|
|
57507
59100
|
|
|
59101
|
+
stream.UpdateInteractionResult = (function() {
|
|
59102
|
+
|
|
59103
|
+
/**
|
|
59104
|
+
* Properties of an UpdateInteractionResult.
|
|
59105
|
+
* @memberof vertexvis.protobuf.stream
|
|
59106
|
+
* @interface IUpdateInteractionResult
|
|
59107
|
+
*/
|
|
59108
|
+
|
|
59109
|
+
/**
|
|
59110
|
+
* Constructs a new UpdateInteractionResult.
|
|
59111
|
+
* @memberof vertexvis.protobuf.stream
|
|
59112
|
+
* @classdesc Represents an UpdateInteractionResult.
|
|
59113
|
+
* @implements IUpdateInteractionResult
|
|
59114
|
+
* @constructor
|
|
59115
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
59116
|
+
*/
|
|
59117
|
+
function UpdateInteractionResult(properties) {
|
|
59118
|
+
if (properties)
|
|
59119
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
59120
|
+
if (properties[keys[i]] != null)
|
|
59121
|
+
this[keys[i]] = properties[keys[i]];
|
|
59122
|
+
}
|
|
59123
|
+
|
|
59124
|
+
/**
|
|
59125
|
+
* Creates a new UpdateInteractionResult instance using the specified properties.
|
|
59126
|
+
* @function create
|
|
59127
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59128
|
+
* @static
|
|
59129
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
59130
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult instance
|
|
59131
|
+
*/
|
|
59132
|
+
UpdateInteractionResult.create = function create(properties) {
|
|
59133
|
+
return new UpdateInteractionResult(properties);
|
|
59134
|
+
};
|
|
59135
|
+
|
|
59136
|
+
/**
|
|
59137
|
+
* Encodes the specified UpdateInteractionResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
59138
|
+
* @function encode
|
|
59139
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59140
|
+
* @static
|
|
59141
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
59142
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
59143
|
+
* @returns {$protobuf.Writer} Writer
|
|
59144
|
+
*/
|
|
59145
|
+
UpdateInteractionResult.encode = function encode(message, writer) {
|
|
59146
|
+
if (!writer)
|
|
59147
|
+
writer = $Writer.create();
|
|
59148
|
+
return writer;
|
|
59149
|
+
};
|
|
59150
|
+
|
|
59151
|
+
/**
|
|
59152
|
+
* Encodes the specified UpdateInteractionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
59153
|
+
* @function encodeDelimited
|
|
59154
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59155
|
+
* @static
|
|
59156
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
59157
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
59158
|
+
* @returns {$protobuf.Writer} Writer
|
|
59159
|
+
*/
|
|
59160
|
+
UpdateInteractionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
59161
|
+
return this.encode(message, writer).ldelim();
|
|
59162
|
+
};
|
|
59163
|
+
|
|
59164
|
+
/**
|
|
59165
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer.
|
|
59166
|
+
* @function decode
|
|
59167
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59168
|
+
* @static
|
|
59169
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
59170
|
+
* @param {number} [length] Message length if known beforehand
|
|
59171
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
59172
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
59173
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
59174
|
+
*/
|
|
59175
|
+
UpdateInteractionResult.decode = function decode(reader, length) {
|
|
59176
|
+
if (!(reader instanceof $Reader))
|
|
59177
|
+
reader = $Reader.create(reader);
|
|
59178
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
59179
|
+
while (reader.pos < end) {
|
|
59180
|
+
let tag = reader.uint32();
|
|
59181
|
+
switch (tag >>> 3) {
|
|
59182
|
+
default:
|
|
59183
|
+
reader.skipType(tag & 7);
|
|
59184
|
+
break;
|
|
59185
|
+
}
|
|
59186
|
+
}
|
|
59187
|
+
return message;
|
|
59188
|
+
};
|
|
59189
|
+
|
|
59190
|
+
/**
|
|
59191
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer, length delimited.
|
|
59192
|
+
* @function decodeDelimited
|
|
59193
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59194
|
+
* @static
|
|
59195
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
59196
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
59197
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
59198
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
59199
|
+
*/
|
|
59200
|
+
UpdateInteractionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
59201
|
+
if (!(reader instanceof $Reader))
|
|
59202
|
+
reader = new $Reader(reader);
|
|
59203
|
+
return this.decode(reader, reader.uint32());
|
|
59204
|
+
};
|
|
59205
|
+
|
|
59206
|
+
/**
|
|
59207
|
+
* Verifies an UpdateInteractionResult message.
|
|
59208
|
+
* @function verify
|
|
59209
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59210
|
+
* @static
|
|
59211
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
59212
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
59213
|
+
*/
|
|
59214
|
+
UpdateInteractionResult.verify = function verify(message) {
|
|
59215
|
+
if (typeof message !== "object" || message === null)
|
|
59216
|
+
return "object expected";
|
|
59217
|
+
return null;
|
|
59218
|
+
};
|
|
59219
|
+
|
|
59220
|
+
/**
|
|
59221
|
+
* Creates an UpdateInteractionResult message from a plain object. Also converts values to their respective internal types.
|
|
59222
|
+
* @function fromObject
|
|
59223
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59224
|
+
* @static
|
|
59225
|
+
* @param {Object.<string,*>} object Plain object
|
|
59226
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
59227
|
+
*/
|
|
59228
|
+
UpdateInteractionResult.fromObject = function fromObject(object) {
|
|
59229
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionResult)
|
|
59230
|
+
return object;
|
|
59231
|
+
return new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
59232
|
+
};
|
|
59233
|
+
|
|
59234
|
+
/**
|
|
59235
|
+
* Creates a plain object from an UpdateInteractionResult message. Also converts values to other types if specified.
|
|
59236
|
+
* @function toObject
|
|
59237
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59238
|
+
* @static
|
|
59239
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionResult} message UpdateInteractionResult
|
|
59240
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
59241
|
+
* @returns {Object.<string,*>} Plain object
|
|
59242
|
+
*/
|
|
59243
|
+
UpdateInteractionResult.toObject = function toObject() {
|
|
59244
|
+
return {};
|
|
59245
|
+
};
|
|
59246
|
+
|
|
59247
|
+
/**
|
|
59248
|
+
* Converts this UpdateInteractionResult to JSON.
|
|
59249
|
+
* @function toJSON
|
|
59250
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
59251
|
+
* @instance
|
|
59252
|
+
* @returns {Object.<string,*>} JSON object
|
|
59253
|
+
*/
|
|
59254
|
+
UpdateInteractionResult.prototype.toJSON = function toJSON() {
|
|
59255
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
59256
|
+
};
|
|
59257
|
+
|
|
59258
|
+
return UpdateInteractionResult;
|
|
59259
|
+
})();
|
|
59260
|
+
|
|
57508
59261
|
stream.EndInteractionResult = (function() {
|
|
57509
59262
|
|
|
57510
59263
|
/**
|
|
@@ -60340,6 +62093,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
60340
62093
|
return UpdateCrossSectioningResult;
|
|
60341
62094
|
})();
|
|
60342
62095
|
|
|
62096
|
+
stream.GracefulReconnectionResult = (function() {
|
|
62097
|
+
|
|
62098
|
+
/**
|
|
62099
|
+
* Properties of a GracefulReconnectionResult.
|
|
62100
|
+
* @memberof vertexvis.protobuf.stream
|
|
62101
|
+
* @interface IGracefulReconnectionResult
|
|
62102
|
+
*/
|
|
62103
|
+
|
|
62104
|
+
/**
|
|
62105
|
+
* Constructs a new GracefulReconnectionResult.
|
|
62106
|
+
* @memberof vertexvis.protobuf.stream
|
|
62107
|
+
* @classdesc Represents a GracefulReconnectionResult.
|
|
62108
|
+
* @implements IGracefulReconnectionResult
|
|
62109
|
+
* @constructor
|
|
62110
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
62111
|
+
*/
|
|
62112
|
+
function GracefulReconnectionResult(properties) {
|
|
62113
|
+
if (properties)
|
|
62114
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
62115
|
+
if (properties[keys[i]] != null)
|
|
62116
|
+
this[keys[i]] = properties[keys[i]];
|
|
62117
|
+
}
|
|
62118
|
+
|
|
62119
|
+
/**
|
|
62120
|
+
* Creates a new GracefulReconnectionResult instance using the specified properties.
|
|
62121
|
+
* @function create
|
|
62122
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62123
|
+
* @static
|
|
62124
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
62125
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult instance
|
|
62126
|
+
*/
|
|
62127
|
+
GracefulReconnectionResult.create = function create(properties) {
|
|
62128
|
+
return new GracefulReconnectionResult(properties);
|
|
62129
|
+
};
|
|
62130
|
+
|
|
62131
|
+
/**
|
|
62132
|
+
* Encodes the specified GracefulReconnectionResult message. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
62133
|
+
* @function encode
|
|
62134
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62135
|
+
* @static
|
|
62136
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
62137
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
62138
|
+
* @returns {$protobuf.Writer} Writer
|
|
62139
|
+
*/
|
|
62140
|
+
GracefulReconnectionResult.encode = function encode(message, writer) {
|
|
62141
|
+
if (!writer)
|
|
62142
|
+
writer = $Writer.create();
|
|
62143
|
+
return writer;
|
|
62144
|
+
};
|
|
62145
|
+
|
|
62146
|
+
/**
|
|
62147
|
+
* Encodes the specified GracefulReconnectionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
62148
|
+
* @function encodeDelimited
|
|
62149
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62150
|
+
* @static
|
|
62151
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
62152
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
62153
|
+
* @returns {$protobuf.Writer} Writer
|
|
62154
|
+
*/
|
|
62155
|
+
GracefulReconnectionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
62156
|
+
return this.encode(message, writer).ldelim();
|
|
62157
|
+
};
|
|
62158
|
+
|
|
62159
|
+
/**
|
|
62160
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer.
|
|
62161
|
+
* @function decode
|
|
62162
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62163
|
+
* @static
|
|
62164
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
62165
|
+
* @param {number} [length] Message length if known beforehand
|
|
62166
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
62167
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
62168
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
62169
|
+
*/
|
|
62170
|
+
GracefulReconnectionResult.decode = function decode(reader, length) {
|
|
62171
|
+
if (!(reader instanceof $Reader))
|
|
62172
|
+
reader = $Reader.create(reader);
|
|
62173
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
62174
|
+
while (reader.pos < end) {
|
|
62175
|
+
let tag = reader.uint32();
|
|
62176
|
+
switch (tag >>> 3) {
|
|
62177
|
+
default:
|
|
62178
|
+
reader.skipType(tag & 7);
|
|
62179
|
+
break;
|
|
62180
|
+
}
|
|
62181
|
+
}
|
|
62182
|
+
return message;
|
|
62183
|
+
};
|
|
62184
|
+
|
|
62185
|
+
/**
|
|
62186
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer, length delimited.
|
|
62187
|
+
* @function decodeDelimited
|
|
62188
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62189
|
+
* @static
|
|
62190
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
62191
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
62192
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
62193
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
62194
|
+
*/
|
|
62195
|
+
GracefulReconnectionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
62196
|
+
if (!(reader instanceof $Reader))
|
|
62197
|
+
reader = new $Reader(reader);
|
|
62198
|
+
return this.decode(reader, reader.uint32());
|
|
62199
|
+
};
|
|
62200
|
+
|
|
62201
|
+
/**
|
|
62202
|
+
* Verifies a GracefulReconnectionResult message.
|
|
62203
|
+
* @function verify
|
|
62204
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62205
|
+
* @static
|
|
62206
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
62207
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
62208
|
+
*/
|
|
62209
|
+
GracefulReconnectionResult.verify = function verify(message) {
|
|
62210
|
+
if (typeof message !== "object" || message === null)
|
|
62211
|
+
return "object expected";
|
|
62212
|
+
return null;
|
|
62213
|
+
};
|
|
62214
|
+
|
|
62215
|
+
/**
|
|
62216
|
+
* Creates a GracefulReconnectionResult message from a plain object. Also converts values to their respective internal types.
|
|
62217
|
+
* @function fromObject
|
|
62218
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62219
|
+
* @static
|
|
62220
|
+
* @param {Object.<string,*>} object Plain object
|
|
62221
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
62222
|
+
*/
|
|
62223
|
+
GracefulReconnectionResult.fromObject = function fromObject(object) {
|
|
62224
|
+
if (object instanceof $root.vertexvis.protobuf.stream.GracefulReconnectionResult)
|
|
62225
|
+
return object;
|
|
62226
|
+
return new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
62227
|
+
};
|
|
62228
|
+
|
|
62229
|
+
/**
|
|
62230
|
+
* Creates a plain object from a GracefulReconnectionResult message. Also converts values to other types if specified.
|
|
62231
|
+
* @function toObject
|
|
62232
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62233
|
+
* @static
|
|
62234
|
+
* @param {vertexvis.protobuf.stream.GracefulReconnectionResult} message GracefulReconnectionResult
|
|
62235
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
62236
|
+
* @returns {Object.<string,*>} Plain object
|
|
62237
|
+
*/
|
|
62238
|
+
GracefulReconnectionResult.toObject = function toObject() {
|
|
62239
|
+
return {};
|
|
62240
|
+
};
|
|
62241
|
+
|
|
62242
|
+
/**
|
|
62243
|
+
* Converts this GracefulReconnectionResult to JSON.
|
|
62244
|
+
* @function toJSON
|
|
62245
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
62246
|
+
* @instance
|
|
62247
|
+
* @returns {Object.<string,*>} JSON object
|
|
62248
|
+
*/
|
|
62249
|
+
GracefulReconnectionResult.prototype.toJSON = function toJSON() {
|
|
62250
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
62251
|
+
};
|
|
62252
|
+
|
|
62253
|
+
return GracefulReconnectionResult;
|
|
62254
|
+
})();
|
|
62255
|
+
|
|
60343
62256
|
return stream;
|
|
60344
62257
|
})();
|
|
60345
62258
|
|
|
@@ -71677,9 +73590,11 @@ const toPbFeatureHighlight = browser_esm.mapper.defineMapper(browser_esm.mapper.
|
|
|
71677
73590
|
occludedOpacity,
|
|
71678
73591
|
outline,
|
|
71679
73592
|
}));
|
|
71680
|
-
const
|
|
73593
|
+
const toPbNoDefaultLights = browser_esm.mapper.defineMapper((noDefaultLights) => !!noDefaultLights, (attr) => attr);
|
|
73594
|
+
const toPbStreamAttributes = browser_esm.mapper.defineMapper(browser_esm.mapper.read(browser_esm.mapper.mapProp('depthBuffers', toPbFrameType), browser_esm.mapper.mapProp('experimentalGhosting', toPbExperimentalGhosting), browser_esm.mapper.mapProp('noDefaultLights', toPbNoDefaultLights), browser_esm.mapper.mapProp('featureLines', toPbFeatureLines), browser_esm.mapper.mapProp('featureHighlighting', toPbFeatureHighlight), browser_esm.mapper.mapProp('featureMaps', toPbFrameType)), ([db, eg, ndl, fl, fh, fm]) => ({
|
|
71681
73595
|
depthBuffers: db,
|
|
71682
73596
|
experimentalGhosting: eg,
|
|
73597
|
+
noDefaultLights: ndl,
|
|
71683
73598
|
featureLines: fl,
|
|
71684
73599
|
featureHighlighting: fh,
|
|
71685
73600
|
featureMaps: fm,
|