@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.
Files changed (323) hide show
  1. package/dist/cjs/{_commonjsHelpers-537d719a.js → _commonjsHelpers-dcc4cf71.js} +21 -0
  2. package/dist/cjs/{app-globals-3671e828.js → app-globals-2035678d.js} +1 -1
  3. package/dist/cjs/{browser.esm-075810bf.js → browser.esm-0bcdc581.js} +1 -1
  4. package/dist/cjs/{bundle.esm-618a5fe9.js → bundle.esm-22b6f2d6.js} +35 -1
  5. package/dist/cjs/{config-fb124bac.js → config-c63caa4f.js} +3 -2
  6. package/dist/cjs/{cursors-d71f6a74.js → cursors-f5d3c9a6.js} +13 -1
  7. package/dist/cjs/{dom-57ef84e9.js → dom-8d90bfaf.js} +1 -1
  8. package/dist/cjs/dom-d1bbd67c.js +10 -0
  9. package/dist/cjs/elementRectObserver-9b28f182.js +25 -0
  10. package/dist/cjs/entities-9eb7e608.js +41 -0
  11. package/dist/cjs/{entities-90f1347a.js → entities-e71231d8.js} +4 -4
  12. package/dist/cjs/{grpc-web-client.umd-60a79aae.js → grpc-web-client.umd-2af20c1b.js} +1 -1
  13. package/dist/cjs/{index-e100709a.js → index-4138aa2c.js} +1 -0
  14. package/dist/cjs/{index-3bc6bac0.js → index-b9d13137.js} +1 -1
  15. package/dist/cjs/index.cjs.js +25 -22
  16. package/dist/cjs/loader.cjs.js +4 -4
  17. package/dist/cjs/{mapper-80ee2957.js → mapper-08bbab48.js} +4 -4
  18. package/dist/cjs/{markup-7f7de5f2.js → markup-f7e61d16.js} +2 -2
  19. package/dist/cjs/{measurement-f1ae9248.js → measurement-3367e9b7.js} +2 -2
  20. package/dist/cjs/{model-55abd9ab.js → model-5ca87867.js} +1 -1
  21. package/dist/cjs/model-a9cfd037.js +246 -0
  22. package/dist/cjs/{overlays-68e8eff2.js → overlays-b0ba69fd.js} +2 -2
  23. package/dist/cjs/{png-decoder-076131d8.js → png-decoder-ef097f37.js} +2 -2
  24. package/dist/cjs/{results-e9496869.js → results-178e89a3.js} +1 -1
  25. package/dist/cjs/{scene-92728420.js → scene-b6b78909.js} +49 -12
  26. package/dist/cjs/{stencil-a664cd10.js → stencil-ef19638e.js} +5 -1
  27. package/dist/cjs/{streamAttributes-81eb52f2.js → streamAttributes-c343bdc8.js} +1993 -78
  28. package/dist/cjs/utils-78928e4e.js +162 -0
  29. package/dist/cjs/{utils-6397efca.js → utils-b157b0af.js} +1 -1
  30. package/dist/cjs/{utils-463cd52e.js → utils-c74b8bf0.js} +1 -1
  31. package/dist/cjs/vertex-scene-tree-search_3.cjs.entry.js +16 -6
  32. package/dist/cjs/vertex-scene-tree-table-cell.cjs.entry.js +16 -14
  33. package/dist/cjs/vertex-scene-tree-table-column.cjs.entry.js +1 -1
  34. package/dist/cjs/vertex-scene-tree-table-header.cjs.entry.js +1 -1
  35. package/dist/cjs/vertex-scene-tree-table-resize-divider.cjs.entry.js +3 -3
  36. package/dist/cjs/vertex-scene-tree-toolbar-group.cjs.entry.js +1 -1
  37. package/dist/cjs/vertex-scene-tree.cjs.entry.js +154 -27
  38. package/dist/cjs/vertex-viewer-button_3.cjs.entry.js +3 -3
  39. package/dist/cjs/vertex-viewer-default-toolbar.cjs.entry.js +1 -1
  40. package/dist/cjs/{vertex-viewer-dom-element_3.cjs.entry.js → vertex-viewer-dom-element_2.cjs.entry.js} +20 -178
  41. package/dist/cjs/vertex-viewer-dom-group.cjs.entry.js +191 -0
  42. package/dist/cjs/vertex-viewer-icon.cjs.entry.js +6 -3
  43. package/dist/cjs/vertex-viewer-layer.cjs.entry.js +1 -1
  44. package/dist/cjs/vertex-viewer-markup-arrow_3.cjs.entry.js +49 -196
  45. package/dist/cjs/vertex-viewer-markup-tool.cjs.entry.js +5 -5
  46. package/dist/cjs/vertex-viewer-markup.cjs.entry.js +5 -5
  47. package/dist/cjs/vertex-viewer-measurement-details.cjs.entry.js +8 -7
  48. package/dist/cjs/vertex-viewer-measurement-distance.cjs.entry.js +16 -15
  49. package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +10 -9
  50. package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +18 -35
  51. package/dist/cjs/vertex-viewer-measurement-tool.cjs.entry.js +8 -7
  52. package/dist/cjs/vertex-viewer-measurements.cjs.entry.js +12 -11
  53. package/dist/cjs/vertex-viewer-pin-group.cjs.entry.js +167 -0
  54. package/dist/cjs/vertex-viewer-pin-label_2.cjs.entry.js +276 -0
  55. package/dist/cjs/vertex-viewer-pin-tool.cjs.entry.js +322 -0
  56. package/dist/cjs/vertex-viewer-transform-widget.cjs.entry.js +13272 -0
  57. package/dist/cjs/vertex-viewer-view-cube.cjs.entry.js +8 -7
  58. package/dist/cjs/vertex-viewer.cjs.entry.js +119 -52
  59. package/dist/cjs/viewer.cjs.js +4 -4
  60. package/dist/cjs/{viewport-54b1389d.js → viewport-5ca619f7.js} +14 -4
  61. package/dist/collection/__mocks__/regl-shape.js +6 -0
  62. package/dist/collection/__mocks__/regl.js +3 -0
  63. package/dist/collection/collection-manifest.json +5 -0
  64. package/dist/collection/components/scene-tree/lib/controller.js +17 -5
  65. package/dist/collection/components/scene-tree/lib/errors.js +7 -1
  66. package/dist/collection/components/scene-tree/lib/viewer-ops.js +12 -1
  67. package/dist/collection/components/scene-tree/scene-tree.js +112 -22
  68. package/dist/collection/components/scene-tree-table-cell/scene-tree-table-cell.css +0 -7
  69. package/dist/collection/components/scene-tree-table-cell/scene-tree-table-cell.js +34 -12
  70. package/dist/collection/components/scene-tree-table-layout/scene-tree-table-layout.js +14 -2
  71. package/dist/collection/components/viewer/viewer.js +79 -14
  72. package/dist/collection/components/viewer-dom-element/viewer-dom-element.js +32 -4
  73. package/dist/collection/components/viewer-dom-group/utils.js +3 -2
  74. package/dist/collection/components/viewer-dom-group/viewer-dom-group.js +30 -2
  75. package/dist/collection/components/viewer-icon/viewer-icon.js +5 -2
  76. package/dist/collection/components/viewer-markup/utils.js +3 -2
  77. package/dist/collection/components/viewer-measurement-details/viewer-measurement-details-results.js +2 -2
  78. package/dist/collection/components/viewer-pin-group/pin-renderer.js +12 -0
  79. package/dist/collection/components/viewer-pin-group/utils.js +24 -0
  80. package/dist/collection/components/viewer-pin-group/viewer-pin-group.css +83 -0
  81. package/dist/collection/components/viewer-pin-group/viewer-pin-group.js +276 -0
  82. package/dist/collection/components/viewer-pin-label/utils.js +4 -0
  83. package/dist/collection/components/viewer-pin-label/viewer-pin-label.css +154 -0
  84. package/dist/collection/components/viewer-pin-label/viewer-pin-label.js +410 -0
  85. package/dist/collection/components/viewer-pin-label-line/viewer-pin-label-line.css +36 -0
  86. package/dist/collection/components/viewer-pin-label-line/viewer-pin-label-line.js +61 -0
  87. package/dist/collection/components/viewer-pin-tool/viewer-pin-tool.css +9 -0
  88. package/dist/collection/components/viewer-pin-tool/viewer-pin-tool.js +277 -0
  89. package/dist/collection/components/viewer-transform-widget/__mocks__/widget.js +21 -0
  90. package/dist/collection/components/viewer-transform-widget/util.js +78 -0
  91. package/dist/collection/components/viewer-transform-widget/viewer-transform-widget.css +48 -0
  92. package/dist/collection/components/viewer-transform-widget/viewer-transform-widget.js +442 -0
  93. package/dist/collection/components/viewer-transform-widget/widget.js +259 -0
  94. package/dist/collection/lib/cursors.js +11 -1
  95. package/dist/collection/lib/interactions/baseInteractionHandler.js +9 -2
  96. package/dist/collection/lib/interactions/flyToPositionKeyInteraction.js +4 -3
  97. package/dist/collection/lib/interactions/interactionApi.js +21 -1
  98. package/dist/collection/lib/interactions/interactionApiOrthographic.js +18 -1
  99. package/dist/collection/lib/interactions/mouseInteractionHandler.js +4 -4
  100. package/dist/collection/lib/interactions/mouseInteractions.js +24 -1
  101. package/dist/collection/lib/interactions/multiTouchInteractionHandler.js +1 -2
  102. package/dist/collection/lib/interactions/pointerInteractionHandler.js +3 -3
  103. package/dist/collection/lib/mappers/streamAttributes.js +4 -2
  104. package/dist/collection/lib/pins/controller.js +100 -0
  105. package/dist/collection/lib/pins/interactions.js +183 -0
  106. package/dist/collection/lib/pins/model.js +136 -0
  107. package/dist/collection/lib/rendering/canvas.js +6 -28
  108. package/dist/collection/lib/scenes/camera.js +34 -2
  109. package/dist/collection/lib/scenes/colorMaterial.js +8 -8
  110. package/dist/collection/lib/scenes/mapper.js +2 -1
  111. package/dist/collection/lib/scenes/queries.js +6 -4
  112. package/dist/collection/lib/transforms/axis-lines.js +31 -0
  113. package/dist/collection/lib/transforms/axis-rotation.js +34 -0
  114. package/dist/collection/lib/transforms/axis-translation.js +30 -0
  115. package/dist/collection/lib/transforms/controller.js +117 -0
  116. package/dist/collection/lib/transforms/drawable.js +47 -0
  117. package/dist/collection/lib/transforms/hits.js +51 -0
  118. package/dist/collection/lib/transforms/line.js +58 -0
  119. package/dist/collection/lib/transforms/mesh.js +35 -0
  120. package/dist/collection/lib/transforms/shape.js +2 -0
  121. package/dist/collection/lib/transforms/util.js +4 -0
  122. package/dist/collection/lib/types/depthBuffer.js +2 -2
  123. package/dist/collection/lib/types/frameCamera.js +4 -6
  124. package/dist/collection/lib/types/viewport.js +14 -4
  125. package/dist/custom-elements/index.d.ts +30 -0
  126. package/dist/custom-elements/index.js +16835 -335
  127. package/dist/esm/{_commonjsHelpers-9943807e.js → _commonjsHelpers-11ca3be1.js} +20 -1
  128. package/dist/esm/{app-globals-3a04a531.js → app-globals-40df99a0.js} +1 -1
  129. package/dist/esm/{browser.esm-e72d80ad.js → browser.esm-1ddb69c9.js} +1 -1
  130. package/dist/esm/{bundle.esm-8ceccb91.js → bundle.esm-ce2c7ad3.js} +36 -2
  131. package/dist/esm/{config-fb7cd8ff.js → config-7075833a.js} +3 -2
  132. package/dist/esm/{cursors-fc2deed7.js → cursors-98b7d89d.js} +12 -2
  133. package/dist/esm/{dom-2cd18856.js → dom-5b164305.js} +1 -1
  134. package/dist/esm/dom-be140992.js +8 -0
  135. package/dist/esm/elementRectObserver-39cf7b95.js +23 -0
  136. package/dist/esm/{entities-78557270.js → entities-46be90d5.js} +4 -4
  137. package/dist/esm/entities-ce81dd7f.js +41 -0
  138. package/dist/esm/{grpc-web-client.umd-5982b7b0.js → grpc-web-client.umd-5409853c.js} +1 -1
  139. package/dist/esm/{index-10c1495a.js → index-a9fb8318.js} +1 -1
  140. package/dist/esm/{index-455380d0.js → index-e841d91b.js} +1 -1
  141. package/dist/esm/index.js +15 -14
  142. package/dist/esm/index.mjs +15 -14
  143. package/dist/esm/loader.js +4 -4
  144. package/dist/esm/loader.mjs +4 -4
  145. package/dist/esm/{mapper-da36de17.js → mapper-bde6c607.js} +4 -4
  146. package/dist/esm/{markup-c313d99c.js → markup-8904f2fe.js} +2 -2
  147. package/dist/esm/{measurement-544b69d5.js → measurement-3f9b0ae0.js} +2 -2
  148. package/dist/esm/{model-2a34b443.js → model-e54b081f.js} +1 -1
  149. package/dist/esm/model-f679c493.js +241 -0
  150. package/dist/esm/{overlays-354e275c.js → overlays-ea2d45ec.js} +2 -2
  151. package/dist/esm/{png-decoder-07de80d1.js → png-decoder-d4b65417.js} +2 -2
  152. package/dist/esm/{results-4d0c3568.js → results-3b4df2cf.js} +1 -1
  153. package/dist/esm/{scene-2bfcce74.js → scene-22ebacfd.js} +49 -12
  154. package/dist/esm/{stencil-9bf7fb9e.js → stencil-8b20e5a8.js} +5 -2
  155. package/dist/esm/{streamAttributes-d0b384b3.js → streamAttributes-72a92676.js} +1982 -67
  156. package/dist/esm/{utils-3ea0acdd.js → utils-0b980078.js} +1 -1
  157. package/dist/esm/utils-c714e2f7.js +153 -0
  158. package/dist/esm/{utils-e0941c61.js → utils-f11bd6f7.js} +1 -1
  159. package/dist/esm/vertex-scene-tree-search_3.entry.js +16 -6
  160. package/dist/esm/vertex-scene-tree-table-cell.entry.js +16 -14
  161. package/dist/esm/vertex-scene-tree-table-column.entry.js +1 -1
  162. package/dist/esm/vertex-scene-tree-table-header.entry.js +1 -1
  163. package/dist/esm/vertex-scene-tree-table-resize-divider.entry.js +3 -3
  164. package/dist/esm/vertex-scene-tree-toolbar-group.entry.js +1 -1
  165. package/dist/esm/vertex-scene-tree.entry.js +154 -27
  166. package/dist/esm/vertex-viewer-button_3.entry.js +3 -3
  167. package/dist/esm/vertex-viewer-default-toolbar.entry.js +1 -1
  168. package/dist/esm/{vertex-viewer-dom-element_3.entry.js → vertex-viewer-dom-element_2.entry.js} +21 -178
  169. package/dist/esm/vertex-viewer-dom-group.entry.js +187 -0
  170. package/dist/esm/vertex-viewer-icon.entry.js +6 -3
  171. package/dist/esm/vertex-viewer-layer.entry.js +1 -1
  172. package/dist/esm/vertex-viewer-markup-arrow_3.entry.js +8 -155
  173. package/dist/esm/vertex-viewer-markup-tool.entry.js +5 -5
  174. package/dist/esm/vertex-viewer-markup.entry.js +5 -5
  175. package/dist/esm/vertex-viewer-measurement-details.entry.js +8 -7
  176. package/dist/esm/vertex-viewer-measurement-distance.entry.js +16 -15
  177. package/dist/esm/vertex-viewer-measurement-line_2.entry.js +10 -9
  178. package/dist/esm/vertex-viewer-measurement-precise.entry.js +15 -32
  179. package/dist/esm/vertex-viewer-measurement-tool.entry.js +8 -7
  180. package/dist/esm/vertex-viewer-measurements.entry.js +12 -11
  181. package/dist/esm/vertex-viewer-pin-group.entry.js +163 -0
  182. package/dist/esm/vertex-viewer-pin-label_2.entry.js +271 -0
  183. package/dist/esm/vertex-viewer-pin-tool.entry.js +318 -0
  184. package/dist/esm/vertex-viewer-transform-widget.entry.js +13268 -0
  185. package/dist/esm/vertex-viewer-view-cube.entry.js +8 -7
  186. package/dist/esm/vertex-viewer.entry.js +118 -51
  187. package/dist/esm/viewer.js +4 -4
  188. package/dist/esm/{viewport-5cc7b128.js → viewport-e39e2eba.js} +14 -4
  189. package/dist/types/__mocks__/regl-shape.d.ts +5 -0
  190. package/dist/types/__mocks__/regl.d.ts +5 -0
  191. package/dist/types/components/scene-tree/lib/controller.d.ts +13 -1
  192. package/dist/types/components/scene-tree/lib/errors.d.ts +3 -1
  193. package/dist/types/components/scene-tree/lib/viewer-ops.d.ts +1 -0
  194. package/dist/types/components/scene-tree/scene-tree.d.ts +16 -4
  195. package/dist/types/components/scene-tree-table-cell/scene-tree-table-cell.d.ts +6 -2
  196. package/dist/types/components/scene-tree-table-layout/scene-tree-table-layout.d.ts +2 -0
  197. package/dist/types/components/viewer/viewer.d.ts +13 -1
  198. package/dist/types/components/viewer-dom-element/viewer-dom-element.d.ts +10 -2
  199. package/dist/types/components/viewer-dom-group/viewer-dom-group.d.ts +9 -1
  200. package/dist/types/components/viewer-icon/viewer-icon.d.ts +1 -1
  201. package/dist/types/components/viewer-pin-group/pin-renderer.d.ts +8 -0
  202. package/dist/types/components/viewer-pin-group/utils.d.ts +2 -0
  203. package/dist/types/components/viewer-pin-group/viewer-pin-group.d.ts +49 -0
  204. package/dist/types/components/viewer-pin-label/utils.d.ts +1 -0
  205. package/dist/types/components/viewer-pin-label/viewer-pin-label.d.ts +77 -0
  206. package/dist/types/components/viewer-pin-label-line/viewer-pin-label-line.d.ts +7 -0
  207. package/dist/types/components/viewer-pin-tool/viewer-pin-tool.d.ts +68 -0
  208. package/dist/types/components/viewer-transform-widget/__mocks__/widget.d.ts +11 -0
  209. package/dist/types/components/viewer-transform-widget/util.d.ts +5 -0
  210. package/dist/types/components/viewer-transform-widget/viewer-transform-widget.d.ts +81 -0
  211. package/dist/types/components/viewer-transform-widget/widget.d.ts +74 -0
  212. package/dist/types/components.d.ts +303 -12
  213. package/dist/types/interfaces.d.ts +1 -0
  214. package/dist/types/lib/cursors.d.ts +10 -0
  215. package/dist/types/lib/interactions/baseInteractionHandler.d.ts +4 -3
  216. package/dist/types/lib/interactions/interactionApi.d.ts +10 -1
  217. package/dist/types/lib/interactions/interactionApiOrthographic.d.ts +7 -0
  218. package/dist/types/lib/interactions/mouseInteractionHandler.d.ts +2 -2
  219. package/dist/types/lib/interactions/mouseInteractions.d.ts +6 -0
  220. package/dist/types/lib/pins/controller.d.ts +70 -0
  221. package/dist/types/lib/pins/interactions.d.ts +30 -0
  222. package/dist/types/lib/pins/model.d.ts +104 -0
  223. package/dist/types/lib/rendering/canvas.d.ts +1 -2
  224. package/dist/types/lib/scenes/camera.d.ts +10 -0
  225. package/dist/types/lib/scenes/colorMaterial.d.ts +1 -0
  226. package/dist/types/lib/scenes/queries.d.ts +4 -2
  227. package/dist/types/lib/transforms/axis-lines.d.ts +6 -0
  228. package/dist/types/lib/transforms/axis-rotation.d.ts +6 -0
  229. package/dist/types/lib/transforms/axis-translation.d.ts +6 -0
  230. package/dist/types/lib/transforms/controller.d.ts +17 -0
  231. package/dist/types/lib/transforms/drawable.d.ts +26 -0
  232. package/dist/types/lib/transforms/hits.d.ts +10 -0
  233. package/dist/types/lib/transforms/line.d.ts +31 -0
  234. package/dist/types/lib/transforms/mesh.d.ts +23 -0
  235. package/dist/types/lib/transforms/shape.d.ts +3 -0
  236. package/dist/types/lib/transforms/util.d.ts +2 -0
  237. package/dist/types/lib/types/frameCamera.d.ts +1 -0
  238. package/dist/types/lib/types/viewport.d.ts +8 -0
  239. package/dist/types/regl-shape.d.ts +26 -0
  240. package/dist/viewer/index.esm.js +1 -1
  241. package/dist/viewer/p-058632f4.js +4 -0
  242. package/dist/viewer/p-07aeee89.js +10 -0
  243. package/dist/viewer/{p-e75bba97.js → p-083f427e.js} +1 -1
  244. package/dist/viewer/{p-a455ae02.entry.js → p-08eda2b2.entry.js} +1 -1
  245. package/dist/viewer/{p-bcb66f97.js → p-096e60bd.js} +1 -1
  246. package/dist/viewer/p-0bc4b3f7.js +4 -0
  247. package/dist/viewer/p-148c5f1a.js +4 -0
  248. package/dist/viewer/p-1db9bd1a.entry.js +4 -0
  249. package/dist/viewer/{p-70ca1ea7.entry.js → p-1f251549.entry.js} +1 -1
  250. package/dist/viewer/p-29986489.js +4 -0
  251. package/dist/viewer/{p-cafa57a6.js → p-2e581b2a.js} +1 -1
  252. package/dist/viewer/{p-d2bcf788.entry.js → p-33daeb09.entry.js} +1 -1
  253. package/dist/viewer/p-39803f8f.js +4 -0
  254. package/dist/viewer/p-465a92d9.entry.js +4 -0
  255. package/dist/viewer/p-4a65ddb3.entry.js +4 -0
  256. package/dist/viewer/{p-099fe6ca.entry.js → p-4aaf02b4.entry.js} +1 -1
  257. package/dist/viewer/{p-31658489.entry.js → p-4c3a3738.entry.js} +1 -1
  258. package/dist/viewer/{p-e38458da.js → p-4d37d97c.js} +1 -1
  259. package/dist/viewer/p-4fdf8553.entry.js +4 -0
  260. package/dist/viewer/p-5679f46b.entry.js +4 -0
  261. package/dist/viewer/p-5809b400.js +4 -0
  262. package/dist/viewer/{p-fa9a0bed.js → p-58dacdce.js} +1 -1
  263. package/dist/viewer/p-61a042f0.entry.js +4 -0
  264. package/dist/viewer/{p-b8774c9c.js → p-6c377932.js} +1 -1
  265. package/dist/viewer/p-6d379d4a.js +4 -0
  266. package/dist/viewer/p-6d70b198.entry.js +4 -0
  267. package/dist/viewer/p-6e7e094a.entry.js +4 -0
  268. package/dist/viewer/{p-661f0612.js → p-70e5e8a8.js} +1 -1
  269. package/dist/viewer/p-74102b29.entry.js +32 -0
  270. package/dist/viewer/p-7a5a9a93.entry.js +4 -0
  271. package/dist/viewer/p-7c755e0e.entry.js +4 -0
  272. package/dist/viewer/{p-3a20a038.js → p-92fe4417.js} +1 -1
  273. package/dist/viewer/{p-7e0328aa.js → p-98e6a50e.js} +1 -1
  274. package/dist/viewer/{p-388a43f7.js → p-990f98c2.js} +1 -1
  275. package/dist/viewer/{p-487e054a.js → p-99352cf0.js} +1 -1
  276. package/dist/viewer/{p-1ca95f9a.entry.js → p-99799a71.entry.js} +1 -1
  277. package/dist/viewer/p-9acd1b44.js +4 -0
  278. package/dist/viewer/{p-69058178.js → p-9bcde9c8.js} +1 -1
  279. package/dist/viewer/{p-5b342e97.js → p-a2ef15e5.js} +1 -1
  280. package/dist/viewer/{p-61b1097b.entry.js → p-a32cc378.entry.js} +1 -1
  281. package/dist/viewer/p-a380f0c2.js +4 -0
  282. package/dist/viewer/{p-41028d3b.entry.js → p-af37b63e.entry.js} +1 -1
  283. package/dist/viewer/p-b6b727a6.entry.js +4 -0
  284. package/dist/viewer/p-c2e3312b.js +4 -0
  285. package/dist/viewer/{p-4717c98e.entry.js → p-c9f91798.entry.js} +1 -1
  286. package/dist/viewer/p-ca518dcb.entry.js +4 -0
  287. package/dist/viewer/p-d828fd18.entry.js +4 -0
  288. package/dist/viewer/p-d996b1d2.entry.js +4 -0
  289. package/dist/viewer/{p-3f0f83ad.js → p-db01460a.js} +1 -1
  290. package/dist/viewer/p-db716103.entry.js +4 -0
  291. package/dist/viewer/p-df8fbe56.js +4 -0
  292. package/dist/viewer/p-dfe5a97d.js +4 -0
  293. package/dist/viewer/p-e42cb163.js +4 -0
  294. package/dist/viewer/p-eb8e5db5.js +4 -0
  295. package/dist/viewer/{p-46459921.entry.js → p-ebb801c3.entry.js} +1 -1
  296. package/dist/viewer/p-ebd85d58.entry.js +4 -0
  297. package/dist/viewer/p-eefae62a.entry.js +4 -0
  298. package/dist/viewer/viewer.esm.js +1 -1
  299. package/package.json +12 -10
  300. package/readme.md +4 -4
  301. package/dist/viewer/p-0a189e62.entry.js +0 -4
  302. package/dist/viewer/p-112455b1.js +0 -4
  303. package/dist/viewer/p-3561d910.js +0 -4
  304. package/dist/viewer/p-49d36e94.entry.js +0 -4
  305. package/dist/viewer/p-73a5eacc.entry.js +0 -4
  306. package/dist/viewer/p-77be081a.js +0 -4
  307. package/dist/viewer/p-809d09d9.js +0 -4
  308. package/dist/viewer/p-858bd2c7.entry.js +0 -4
  309. package/dist/viewer/p-89b66838.entry.js +0 -32
  310. package/dist/viewer/p-90bb0a1f.entry.js +0 -4
  311. package/dist/viewer/p-a93a63a9.js +0 -4
  312. package/dist/viewer/p-b043b076.entry.js +0 -4
  313. package/dist/viewer/p-b0ac6b3c.entry.js +0 -4
  314. package/dist/viewer/p-bcde5521.entry.js +0 -4
  315. package/dist/viewer/p-d1584404.js +0 -4
  316. package/dist/viewer/p-d32b54cb.js +0 -4
  317. package/dist/viewer/p-d3a20af4.entry.js +0 -4
  318. package/dist/viewer/p-d9f99f4d.entry.js +0 -4
  319. package/dist/viewer/p-ebd55df7.entry.js +0 -4
  320. package/dist/viewer/p-f0411993.entry.js +0 -4
  321. package/dist/viewer/p-f482325b.js +0 -10
  322. package/dist/viewer/p-fad9693e.js +0 -4
  323. package/dist/viewer/p-ffdeb08c.js +0 -4
@@ -1,9 +1,10 @@
1
1
  /**!
2
2
  * Copyright (c) 2022 Vertex Software LLC. All rights reserved.
3
3
  */
4
- import { _ as __extends, c as __awaiter, e as __generator, f as __assign, g as __spreadArray, v as vector3, h as angle, b as boundingBox, a as boundingSphere, p as point, r as ray, i as rectangle, l as line3, j as plane, m as matrix4, d as dimensions, k as clamp } from './bundle.esm-8ceccb91.js';
5
- import { m as mapper, E as EventDispatcher, b as uuid, u as uri, o as objects, c as color } from './browser.esm-e72d80ad.js';
6
- import { c as createCommonjsModule, a as commonjsGlobal$1 } from './_commonjsHelpers-9943807e.js';
4
+ import { _ as __extends, c as __awaiter, e as __generator, f as __assign, g as __spreadArray, v as vector3, h as angle, a as boundingSphere, p as point, r as ray, i as rectangle, l as line3, j as plane, m as matrix4, d as dimensions, b as boundingBox, k as clamp } from './bundle.esm-ce2c7ad3.js';
5
+ import { m as mapper, E as EventDispatcher, b as uuid, u as uri, o as objects, c as color } from './browser.esm-1ddb69c9.js';
6
+ import { E as EntityType } from './entities-ce81dd7f.js';
7
+ import { c as createCommonjsModule, a as commonjsGlobal$1 } from './_commonjsHelpers-11ca3be1.js';
7
8
 
8
9
  const fromPbUuid = mapper.defineMapper(mapper.read(mapper.requiredProp('hex')), ([uuid]) => uuid);
9
10
 
@@ -8717,6 +8718,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8717
8718
  * @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
8718
8719
  * @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
8719
8720
  * @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
8721
+ * @property {boolean|null} [noDefaultLights] StreamAttributes noDefaultLights
8720
8722
  */
8721
8723
 
8722
8724
  /**
@@ -8774,6 +8776,14 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8774
8776
  */
8775
8777
  StreamAttributes.prototype.featureMaps = null;
8776
8778
 
8779
+ /**
8780
+ * StreamAttributes noDefaultLights.
8781
+ * @member {boolean} noDefaultLights
8782
+ * @memberof vertexvis.protobuf.stream.StreamAttributes
8783
+ * @instance
8784
+ */
8785
+ StreamAttributes.prototype.noDefaultLights = false;
8786
+
8777
8787
  /**
8778
8788
  * Creates a new StreamAttributes instance using the specified properties.
8779
8789
  * @function create
@@ -8808,6 +8818,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8808
8818
  $root$1.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
8809
8819
  if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
8810
8820
  $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
8821
+ if (message.noDefaultLights != null && Object.hasOwnProperty.call(message, "noDefaultLights"))
8822
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.noDefaultLights);
8811
8823
  return writer;
8812
8824
  };
8813
8825
 
@@ -8857,6 +8869,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8857
8869
  case 5:
8858
8870
  message.featureMaps = $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
8859
8871
  break;
8872
+ case 6:
8873
+ message.noDefaultLights = reader.bool();
8874
+ break;
8860
8875
  default:
8861
8876
  reader.skipType(tag & 7);
8862
8877
  break;
@@ -8917,6 +8932,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8917
8932
  if (error)
8918
8933
  return "featureMaps." + error;
8919
8934
  }
8935
+ if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
8936
+ if (typeof message.noDefaultLights !== "boolean")
8937
+ return "noDefaultLights: boolean expected";
8920
8938
  return null;
8921
8939
  };
8922
8940
 
@@ -8957,6 +8975,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8957
8975
  throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
8958
8976
  message.featureMaps = $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
8959
8977
  }
8978
+ if (object.noDefaultLights != null)
8979
+ message.noDefaultLights = Boolean(object.noDefaultLights);
8960
8980
  return message;
8961
8981
  };
8962
8982
 
@@ -8979,6 +8999,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8979
8999
  object.featureLines = null;
8980
9000
  object.featureHighlighting = null;
8981
9001
  object.featureMaps = null;
9002
+ object.noDefaultLights = false;
8982
9003
  }
8983
9004
  if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
8984
9005
  object.experimentalGhosting = $root$1.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
@@ -8990,6 +9011,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
8990
9011
  object.featureHighlighting = $root$1.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
8991
9012
  if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
8992
9013
  object.featureMaps = $root$1.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
9014
+ if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
9015
+ object.noDefaultLights = message.noDefaultLights;
8993
9016
  return object;
8994
9017
  };
8995
9018
 
@@ -11648,6 +11671,198 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
11648
11671
  return Token;
11649
11672
  })();
11650
11673
 
11674
+ stream.TransformInteraction = (function() {
11675
+
11676
+ /**
11677
+ * Properties of a TransformInteraction.
11678
+ * @memberof vertexvis.protobuf.stream
11679
+ * @interface ITransformInteraction
11680
+ * @property {vertexvis.protobuf.core.IAffineMatrix4f|null} [delta] TransformInteraction delta
11681
+ */
11682
+
11683
+ /**
11684
+ * Constructs a new TransformInteraction.
11685
+ * @memberof vertexvis.protobuf.stream
11686
+ * @classdesc Represents a TransformInteraction.
11687
+ * @implements ITransformInteraction
11688
+ * @constructor
11689
+ * @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
11690
+ */
11691
+ function TransformInteraction(properties) {
11692
+ if (properties)
11693
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
11694
+ if (properties[keys[i]] != null)
11695
+ this[keys[i]] = properties[keys[i]];
11696
+ }
11697
+
11698
+ /**
11699
+ * TransformInteraction delta.
11700
+ * @member {vertexvis.protobuf.core.IAffineMatrix4f|null|undefined} delta
11701
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11702
+ * @instance
11703
+ */
11704
+ TransformInteraction.prototype.delta = null;
11705
+
11706
+ /**
11707
+ * Creates a new TransformInteraction instance using the specified properties.
11708
+ * @function create
11709
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11710
+ * @static
11711
+ * @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
11712
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction instance
11713
+ */
11714
+ TransformInteraction.create = function create(properties) {
11715
+ return new TransformInteraction(properties);
11716
+ };
11717
+
11718
+ /**
11719
+ * Encodes the specified TransformInteraction message. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
11720
+ * @function encode
11721
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11722
+ * @static
11723
+ * @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
11724
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11725
+ * @returns {$protobuf.Writer} Writer
11726
+ */
11727
+ TransformInteraction.encode = function encode(message, writer) {
11728
+ if (!writer)
11729
+ writer = $Writer$1.create();
11730
+ if (message.delta != null && Object.hasOwnProperty.call(message, "delta"))
11731
+ $root$1.vertexvis.protobuf.core.AffineMatrix4f.encode(message.delta, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
11732
+ return writer;
11733
+ };
11734
+
11735
+ /**
11736
+ * Encodes the specified TransformInteraction message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
11737
+ * @function encodeDelimited
11738
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11739
+ * @static
11740
+ * @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
11741
+ * @param {$protobuf.Writer} [writer] Writer to encode to
11742
+ * @returns {$protobuf.Writer} Writer
11743
+ */
11744
+ TransformInteraction.encodeDelimited = function encodeDelimited(message, writer) {
11745
+ return this.encode(message, writer).ldelim();
11746
+ };
11747
+
11748
+ /**
11749
+ * Decodes a TransformInteraction message from the specified reader or buffer.
11750
+ * @function decode
11751
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11752
+ * @static
11753
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11754
+ * @param {number} [length] Message length if known beforehand
11755
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
11756
+ * @throws {Error} If the payload is not a reader or valid buffer
11757
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11758
+ */
11759
+ TransformInteraction.decode = function decode(reader, length) {
11760
+ if (!(reader instanceof $Reader$1))
11761
+ reader = $Reader$1.create(reader);
11762
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.TransformInteraction();
11763
+ while (reader.pos < end) {
11764
+ let tag = reader.uint32();
11765
+ switch (tag >>> 3) {
11766
+ case 1:
11767
+ message.delta = $root$1.vertexvis.protobuf.core.AffineMatrix4f.decode(reader, reader.uint32());
11768
+ break;
11769
+ default:
11770
+ reader.skipType(tag & 7);
11771
+ break;
11772
+ }
11773
+ }
11774
+ return message;
11775
+ };
11776
+
11777
+ /**
11778
+ * Decodes a TransformInteraction message from the specified reader or buffer, length delimited.
11779
+ * @function decodeDelimited
11780
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11781
+ * @static
11782
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
11783
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
11784
+ * @throws {Error} If the payload is not a reader or valid buffer
11785
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11786
+ */
11787
+ TransformInteraction.decodeDelimited = function decodeDelimited(reader) {
11788
+ if (!(reader instanceof $Reader$1))
11789
+ reader = new $Reader$1(reader);
11790
+ return this.decode(reader, reader.uint32());
11791
+ };
11792
+
11793
+ /**
11794
+ * Verifies a TransformInteraction message.
11795
+ * @function verify
11796
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11797
+ * @static
11798
+ * @param {Object.<string,*>} message Plain object to verify
11799
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
11800
+ */
11801
+ TransformInteraction.verify = function verify(message) {
11802
+ if (typeof message !== "object" || message === null)
11803
+ return "object expected";
11804
+ if (message.delta != null && message.hasOwnProperty("delta")) {
11805
+ let error = $root$1.vertexvis.protobuf.core.AffineMatrix4f.verify(message.delta);
11806
+ if (error)
11807
+ return "delta." + error;
11808
+ }
11809
+ return null;
11810
+ };
11811
+
11812
+ /**
11813
+ * Creates a TransformInteraction message from a plain object. Also converts values to their respective internal types.
11814
+ * @function fromObject
11815
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11816
+ * @static
11817
+ * @param {Object.<string,*>} object Plain object
11818
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
11819
+ */
11820
+ TransformInteraction.fromObject = function fromObject(object) {
11821
+ if (object instanceof $root$1.vertexvis.protobuf.stream.TransformInteraction)
11822
+ return object;
11823
+ let message = new $root$1.vertexvis.protobuf.stream.TransformInteraction();
11824
+ if (object.delta != null) {
11825
+ if (typeof object.delta !== "object")
11826
+ throw TypeError(".vertexvis.protobuf.stream.TransformInteraction.delta: object expected");
11827
+ message.delta = $root$1.vertexvis.protobuf.core.AffineMatrix4f.fromObject(object.delta);
11828
+ }
11829
+ return message;
11830
+ };
11831
+
11832
+ /**
11833
+ * Creates a plain object from a TransformInteraction message. Also converts values to other types if specified.
11834
+ * @function toObject
11835
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11836
+ * @static
11837
+ * @param {vertexvis.protobuf.stream.TransformInteraction} message TransformInteraction
11838
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
11839
+ * @returns {Object.<string,*>} Plain object
11840
+ */
11841
+ TransformInteraction.toObject = function toObject(message, options) {
11842
+ if (!options)
11843
+ options = {};
11844
+ let object = {};
11845
+ if (options.defaults)
11846
+ object.delta = null;
11847
+ if (message.delta != null && message.hasOwnProperty("delta"))
11848
+ object.delta = $root$1.vertexvis.protobuf.core.AffineMatrix4f.toObject(message.delta, options);
11849
+ return object;
11850
+ };
11851
+
11852
+ /**
11853
+ * Converts this TransformInteraction to JSON.
11854
+ * @function toJSON
11855
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
11856
+ * @instance
11857
+ * @returns {Object.<string,*>} JSON object
11858
+ */
11859
+ TransformInteraction.prototype.toJSON = function toJSON() {
11860
+ return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
11861
+ };
11862
+
11863
+ return TransformInteraction;
11864
+ })();
11865
+
11651
11866
  stream.Error = (function() {
11652
11867
 
11653
11868
  /**
@@ -12875,6 +13090,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
12875
13090
  * @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
12876
13091
  * @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
12877
13092
  * @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
13093
+ * @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
12878
13094
  */
12879
13095
 
12880
13096
  /**
@@ -13052,17 +13268,25 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
13052
13268
  */
13053
13269
  StreamRequest.prototype.refreshToken = null;
13054
13270
 
13271
+ /**
13272
+ * StreamRequest updateInteraction.
13273
+ * @member {vertexvis.protobuf.stream.IUpdateInteractionPayload|null|undefined} updateInteraction
13274
+ * @memberof vertexvis.protobuf.stream.StreamRequest
13275
+ * @instance
13276
+ */
13277
+ StreamRequest.prototype.updateInteraction = null;
13278
+
13055
13279
  // OneOf field names bound to virtual getters and setters
13056
13280
  let $oneOfFields;
13057
13281
 
13058
13282
  /**
13059
13283
  * StreamRequest payload.
13060
- * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|undefined} payload
13284
+ * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
13061
13285
  * @memberof vertexvis.protobuf.stream.StreamRequest
13062
13286
  * @instance
13063
13287
  */
13064
13288
  Object.defineProperty(StreamRequest.prototype, "payload", {
13065
- get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken"]),
13289
+ 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"]),
13066
13290
  set: $util$1.oneOfSetter($oneOfFields)
13067
13291
  });
13068
13292
 
@@ -13130,6 +13354,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
13130
13354
  $root$1.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
13131
13355
  if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
13132
13356
  $root$1.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
13357
+ if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
13358
+ $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
13133
13359
  return writer;
13134
13360
  };
13135
13361
 
@@ -13224,6 +13450,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
13224
13450
  case 20:
13225
13451
  message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenPayload.decode(reader, reader.uint32());
13226
13452
  break;
13453
+ case 21:
13454
+ message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
13455
+ break;
13227
13456
  default:
13228
13457
  reader.skipType(tag & 7);
13229
13458
  break;
@@ -13453,6 +13682,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
13453
13682
  return "refreshToken." + error;
13454
13683
  }
13455
13684
  }
13685
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
13686
+ if (properties.payload === 1)
13687
+ return "payload: multiple values";
13688
+ properties.payload = 1;
13689
+ {
13690
+ let error = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.verify(message.updateInteraction);
13691
+ if (error)
13692
+ return "updateInteraction." + error;
13693
+ }
13694
+ }
13456
13695
  return null;
13457
13696
  };
13458
13697
 
@@ -13568,6 +13807,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
13568
13807
  throw TypeError(".vertexvis.protobuf.stream.StreamRequest.refreshToken: object expected");
13569
13808
  message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenPayload.fromObject(object.refreshToken);
13570
13809
  }
13810
+ if (object.updateInteraction != null) {
13811
+ if (typeof object.updateInteraction !== "object")
13812
+ throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
13813
+ message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
13814
+ }
13571
13815
  return message;
13572
13816
  };
13573
13817
 
@@ -13683,6 +13927,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
13683
13927
  if (options.oneofs)
13684
13928
  object.payload = "refreshToken";
13685
13929
  }
13930
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
13931
+ object.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload.toObject(message.updateInteraction, options);
13932
+ if (options.oneofs)
13933
+ object.payload = "updateInteraction";
13934
+ }
13686
13935
  return object;
13687
13936
  };
13688
13937
 
@@ -14254,6 +14503,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14254
14503
  * Properties of a BeginInteractionPayload.
14255
14504
  * @memberof vertexvis.protobuf.stream
14256
14505
  * @interface IBeginInteractionPayload
14506
+ * @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] BeginInteractionPayload transform
14257
14507
  */
14258
14508
 
14259
14509
  /**
@@ -14271,6 +14521,28 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14271
14521
  this[keys[i]] = properties[keys[i]];
14272
14522
  }
14273
14523
 
14524
+ /**
14525
+ * BeginInteractionPayload transform.
14526
+ * @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
14527
+ * @memberof vertexvis.protobuf.stream.BeginInteractionPayload
14528
+ * @instance
14529
+ */
14530
+ BeginInteractionPayload.prototype.transform = null;
14531
+
14532
+ // OneOf field names bound to virtual getters and setters
14533
+ let $oneOfFields;
14534
+
14535
+ /**
14536
+ * BeginInteractionPayload interaction.
14537
+ * @member {"transform"|undefined} interaction
14538
+ * @memberof vertexvis.protobuf.stream.BeginInteractionPayload
14539
+ * @instance
14540
+ */
14541
+ Object.defineProperty(BeginInteractionPayload.prototype, "interaction", {
14542
+ get: $util$1.oneOfGetter($oneOfFields = ["transform"]),
14543
+ set: $util$1.oneOfSetter($oneOfFields)
14544
+ });
14545
+
14274
14546
  /**
14275
14547
  * Creates a new BeginInteractionPayload instance using the specified properties.
14276
14548
  * @function create
@@ -14295,6 +14567,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14295
14567
  BeginInteractionPayload.encode = function encode(message, writer) {
14296
14568
  if (!writer)
14297
14569
  writer = $Writer$1.create();
14570
+ if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
14571
+ $root$1.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
14298
14572
  return writer;
14299
14573
  };
14300
14574
 
@@ -14329,6 +14603,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14329
14603
  while (reader.pos < end) {
14330
14604
  let tag = reader.uint32();
14331
14605
  switch (tag >>> 3) {
14606
+ case 1:
14607
+ message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
14608
+ break;
14332
14609
  default:
14333
14610
  reader.skipType(tag & 7);
14334
14611
  break;
@@ -14364,6 +14641,13 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14364
14641
  BeginInteractionPayload.verify = function verify(message) {
14365
14642
  if (typeof message !== "object" || message === null)
14366
14643
  return "object expected";
14644
+ if (message.transform != null && message.hasOwnProperty("transform")) {
14645
+ {
14646
+ let error = $root$1.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
14647
+ if (error)
14648
+ return "transform." + error;
14649
+ }
14650
+ }
14367
14651
  return null;
14368
14652
  };
14369
14653
 
@@ -14378,7 +14662,13 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14378
14662
  BeginInteractionPayload.fromObject = function fromObject(object) {
14379
14663
  if (object instanceof $root$1.vertexvis.protobuf.stream.BeginInteractionPayload)
14380
14664
  return object;
14381
- return new $root$1.vertexvis.protobuf.stream.BeginInteractionPayload();
14665
+ let message = new $root$1.vertexvis.protobuf.stream.BeginInteractionPayload();
14666
+ if (object.transform != null) {
14667
+ if (typeof object.transform !== "object")
14668
+ throw TypeError(".vertexvis.protobuf.stream.BeginInteractionPayload.transform: object expected");
14669
+ message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
14670
+ }
14671
+ return message;
14382
14672
  };
14383
14673
 
14384
14674
  /**
@@ -14390,8 +14680,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14390
14680
  * @param {$protobuf.IConversionOptions} [options] Conversion options
14391
14681
  * @returns {Object.<string,*>} Plain object
14392
14682
  */
14393
- BeginInteractionPayload.toObject = function toObject() {
14394
- return {};
14683
+ BeginInteractionPayload.toObject = function toObject(message, options) {
14684
+ if (!options)
14685
+ options = {};
14686
+ let object = {};
14687
+ if (message.transform != null && message.hasOwnProperty("transform")) {
14688
+ object.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
14689
+ if (options.oneofs)
14690
+ object.interaction = "transform";
14691
+ }
14692
+ return object;
14395
14693
  };
14396
14694
 
14397
14695
  /**
@@ -14408,6 +14706,243 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14408
14706
  return BeginInteractionPayload;
14409
14707
  })();
14410
14708
 
14709
+ stream.UpdateInteractionPayload = (function() {
14710
+
14711
+ /**
14712
+ * Properties of an UpdateInteractionPayload.
14713
+ * @memberof vertexvis.protobuf.stream
14714
+ * @interface IUpdateInteractionPayload
14715
+ * @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateInteractionPayload frameCorrelationId
14716
+ * @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] UpdateInteractionPayload transform
14717
+ */
14718
+
14719
+ /**
14720
+ * Constructs a new UpdateInteractionPayload.
14721
+ * @memberof vertexvis.protobuf.stream
14722
+ * @classdesc Represents an UpdateInteractionPayload.
14723
+ * @implements IUpdateInteractionPayload
14724
+ * @constructor
14725
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
14726
+ */
14727
+ function UpdateInteractionPayload(properties) {
14728
+ if (properties)
14729
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
14730
+ if (properties[keys[i]] != null)
14731
+ this[keys[i]] = properties[keys[i]];
14732
+ }
14733
+
14734
+ /**
14735
+ * UpdateInteractionPayload frameCorrelationId.
14736
+ * @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
14737
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14738
+ * @instance
14739
+ */
14740
+ UpdateInteractionPayload.prototype.frameCorrelationId = null;
14741
+
14742
+ /**
14743
+ * UpdateInteractionPayload transform.
14744
+ * @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
14745
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14746
+ * @instance
14747
+ */
14748
+ UpdateInteractionPayload.prototype.transform = null;
14749
+
14750
+ // OneOf field names bound to virtual getters and setters
14751
+ let $oneOfFields;
14752
+
14753
+ /**
14754
+ * UpdateInteractionPayload interaction.
14755
+ * @member {"transform"|undefined} interaction
14756
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14757
+ * @instance
14758
+ */
14759
+ Object.defineProperty(UpdateInteractionPayload.prototype, "interaction", {
14760
+ get: $util$1.oneOfGetter($oneOfFields = ["transform"]),
14761
+ set: $util$1.oneOfSetter($oneOfFields)
14762
+ });
14763
+
14764
+ /**
14765
+ * Creates a new UpdateInteractionPayload instance using the specified properties.
14766
+ * @function create
14767
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14768
+ * @static
14769
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
14770
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload instance
14771
+ */
14772
+ UpdateInteractionPayload.create = function create(properties) {
14773
+ return new UpdateInteractionPayload(properties);
14774
+ };
14775
+
14776
+ /**
14777
+ * Encodes the specified UpdateInteractionPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
14778
+ * @function encode
14779
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14780
+ * @static
14781
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
14782
+ * @param {$protobuf.Writer} [writer] Writer to encode to
14783
+ * @returns {$protobuf.Writer} Writer
14784
+ */
14785
+ UpdateInteractionPayload.encode = function encode(message, writer) {
14786
+ if (!writer)
14787
+ writer = $Writer$1.create();
14788
+ if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
14789
+ $root$1.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
14790
+ if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
14791
+ $root$1.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
14792
+ return writer;
14793
+ };
14794
+
14795
+ /**
14796
+ * Encodes the specified UpdateInteractionPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
14797
+ * @function encodeDelimited
14798
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14799
+ * @static
14800
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
14801
+ * @param {$protobuf.Writer} [writer] Writer to encode to
14802
+ * @returns {$protobuf.Writer} Writer
14803
+ */
14804
+ UpdateInteractionPayload.encodeDelimited = function encodeDelimited(message, writer) {
14805
+ return this.encode(message, writer).ldelim();
14806
+ };
14807
+
14808
+ /**
14809
+ * Decodes an UpdateInteractionPayload message from the specified reader or buffer.
14810
+ * @function decode
14811
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14812
+ * @static
14813
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
14814
+ * @param {number} [length] Message length if known beforehand
14815
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
14816
+ * @throws {Error} If the payload is not a reader or valid buffer
14817
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14818
+ */
14819
+ UpdateInteractionPayload.decode = function decode(reader, length) {
14820
+ if (!(reader instanceof $Reader$1))
14821
+ reader = $Reader$1.create(reader);
14822
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload();
14823
+ while (reader.pos < end) {
14824
+ let tag = reader.uint32();
14825
+ switch (tag >>> 3) {
14826
+ case 1:
14827
+ message.frameCorrelationId = $root$1.google.protobuf.StringValue.decode(reader, reader.uint32());
14828
+ break;
14829
+ case 2:
14830
+ message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
14831
+ break;
14832
+ default:
14833
+ reader.skipType(tag & 7);
14834
+ break;
14835
+ }
14836
+ }
14837
+ return message;
14838
+ };
14839
+
14840
+ /**
14841
+ * Decodes an UpdateInteractionPayload message from the specified reader or buffer, length delimited.
14842
+ * @function decodeDelimited
14843
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14844
+ * @static
14845
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
14846
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
14847
+ * @throws {Error} If the payload is not a reader or valid buffer
14848
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14849
+ */
14850
+ UpdateInteractionPayload.decodeDelimited = function decodeDelimited(reader) {
14851
+ if (!(reader instanceof $Reader$1))
14852
+ reader = new $Reader$1(reader);
14853
+ return this.decode(reader, reader.uint32());
14854
+ };
14855
+
14856
+ /**
14857
+ * Verifies an UpdateInteractionPayload message.
14858
+ * @function verify
14859
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14860
+ * @static
14861
+ * @param {Object.<string,*>} message Plain object to verify
14862
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
14863
+ */
14864
+ UpdateInteractionPayload.verify = function verify(message) {
14865
+ if (typeof message !== "object" || message === null)
14866
+ return "object expected";
14867
+ if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
14868
+ let error = $root$1.google.protobuf.StringValue.verify(message.frameCorrelationId);
14869
+ if (error)
14870
+ return "frameCorrelationId." + error;
14871
+ }
14872
+ if (message.transform != null && message.hasOwnProperty("transform")) {
14873
+ {
14874
+ let error = $root$1.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
14875
+ if (error)
14876
+ return "transform." + error;
14877
+ }
14878
+ }
14879
+ return null;
14880
+ };
14881
+
14882
+ /**
14883
+ * Creates an UpdateInteractionPayload message from a plain object. Also converts values to their respective internal types.
14884
+ * @function fromObject
14885
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14886
+ * @static
14887
+ * @param {Object.<string,*>} object Plain object
14888
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
14889
+ */
14890
+ UpdateInteractionPayload.fromObject = function fromObject(object) {
14891
+ if (object instanceof $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload)
14892
+ return object;
14893
+ let message = new $root$1.vertexvis.protobuf.stream.UpdateInteractionPayload();
14894
+ if (object.frameCorrelationId != null) {
14895
+ if (typeof object.frameCorrelationId !== "object")
14896
+ throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.frameCorrelationId: object expected");
14897
+ message.frameCorrelationId = $root$1.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
14898
+ }
14899
+ if (object.transform != null) {
14900
+ if (typeof object.transform !== "object")
14901
+ throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.transform: object expected");
14902
+ message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
14903
+ }
14904
+ return message;
14905
+ };
14906
+
14907
+ /**
14908
+ * Creates a plain object from an UpdateInteractionPayload message. Also converts values to other types if specified.
14909
+ * @function toObject
14910
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14911
+ * @static
14912
+ * @param {vertexvis.protobuf.stream.UpdateInteractionPayload} message UpdateInteractionPayload
14913
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
14914
+ * @returns {Object.<string,*>} Plain object
14915
+ */
14916
+ UpdateInteractionPayload.toObject = function toObject(message, options) {
14917
+ if (!options)
14918
+ options = {};
14919
+ let object = {};
14920
+ if (options.defaults)
14921
+ object.frameCorrelationId = null;
14922
+ if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
14923
+ object.frameCorrelationId = $root$1.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
14924
+ if (message.transform != null && message.hasOwnProperty("transform")) {
14925
+ object.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
14926
+ if (options.oneofs)
14927
+ object.interaction = "transform";
14928
+ }
14929
+ return object;
14930
+ };
14931
+
14932
+ /**
14933
+ * Converts this UpdateInteractionPayload to JSON.
14934
+ * @function toJSON
14935
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
14936
+ * @instance
14937
+ * @returns {Object.<string,*>} JSON object
14938
+ */
14939
+ UpdateInteractionPayload.prototype.toJSON = function toJSON() {
14940
+ return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
14941
+ };
14942
+
14943
+ return UpdateInteractionPayload;
14944
+ })();
14945
+
14411
14946
  stream.EndInteractionPayload = (function() {
14412
14947
 
14413
14948
  /**
@@ -14415,6 +14950,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14415
14950
  * @memberof vertexvis.protobuf.stream
14416
14951
  * @interface IEndInteractionPayload
14417
14952
  * @property {google.protobuf.IStringValue|null} [frameCorrelationId] EndInteractionPayload frameCorrelationId
14953
+ * @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] EndInteractionPayload transform
14418
14954
  */
14419
14955
 
14420
14956
  /**
@@ -14440,6 +14976,28 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14440
14976
  */
14441
14977
  EndInteractionPayload.prototype.frameCorrelationId = null;
14442
14978
 
14979
+ /**
14980
+ * EndInteractionPayload transform.
14981
+ * @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
14982
+ * @memberof vertexvis.protobuf.stream.EndInteractionPayload
14983
+ * @instance
14984
+ */
14985
+ EndInteractionPayload.prototype.transform = null;
14986
+
14987
+ // OneOf field names bound to virtual getters and setters
14988
+ let $oneOfFields;
14989
+
14990
+ /**
14991
+ * EndInteractionPayload interaction.
14992
+ * @member {"transform"|undefined} interaction
14993
+ * @memberof vertexvis.protobuf.stream.EndInteractionPayload
14994
+ * @instance
14995
+ */
14996
+ Object.defineProperty(EndInteractionPayload.prototype, "interaction", {
14997
+ get: $util$1.oneOfGetter($oneOfFields = ["transform"]),
14998
+ set: $util$1.oneOfSetter($oneOfFields)
14999
+ });
15000
+
14443
15001
  /**
14444
15002
  * Creates a new EndInteractionPayload instance using the specified properties.
14445
15003
  * @function create
@@ -14466,6 +15024,8 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14466
15024
  writer = $Writer$1.create();
14467
15025
  if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
14468
15026
  $root$1.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
15027
+ if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
15028
+ $root$1.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
14469
15029
  return writer;
14470
15030
  };
14471
15031
 
@@ -14503,6 +15063,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14503
15063
  case 1:
14504
15064
  message.frameCorrelationId = $root$1.google.protobuf.StringValue.decode(reader, reader.uint32());
14505
15065
  break;
15066
+ case 2:
15067
+ message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
15068
+ break;
14506
15069
  default:
14507
15070
  reader.skipType(tag & 7);
14508
15071
  break;
@@ -14543,6 +15106,13 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14543
15106
  if (error)
14544
15107
  return "frameCorrelationId." + error;
14545
15108
  }
15109
+ if (message.transform != null && message.hasOwnProperty("transform")) {
15110
+ {
15111
+ let error = $root$1.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
15112
+ if (error)
15113
+ return "transform." + error;
15114
+ }
15115
+ }
14546
15116
  return null;
14547
15117
  };
14548
15118
 
@@ -14563,6 +15133,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14563
15133
  throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.frameCorrelationId: object expected");
14564
15134
  message.frameCorrelationId = $root$1.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
14565
15135
  }
15136
+ if (object.transform != null) {
15137
+ if (typeof object.transform !== "object")
15138
+ throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.transform: object expected");
15139
+ message.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
15140
+ }
14566
15141
  return message;
14567
15142
  };
14568
15143
 
@@ -14583,6 +15158,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
14583
15158
  object.frameCorrelationId = null;
14584
15159
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
14585
15160
  object.frameCorrelationId = $root$1.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
15161
+ if (message.transform != null && message.hasOwnProperty("transform")) {
15162
+ object.transform = $root$1.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
15163
+ if (options.oneofs)
15164
+ object.interaction = "transform";
15165
+ }
14586
15166
  return object;
14587
15167
  };
14588
15168
 
@@ -18200,6 +18780,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18200
18780
  * @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
18201
18781
  * @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
18202
18782
  * @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
18783
+ * @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
18203
18784
  * @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
18204
18785
  * @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
18205
18786
  * @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
@@ -18213,6 +18794,7 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18213
18794
  * @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
18214
18795
  * @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
18215
18796
  * @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
18797
+ * @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
18216
18798
  */
18217
18799
 
18218
18800
  /**
@@ -18278,6 +18860,14 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18278
18860
  */
18279
18861
  StreamResponse.prototype.endInteraction = null;
18280
18862
 
18863
+ /**
18864
+ * StreamResponse gracefulReconnection.
18865
+ * @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
18866
+ * @memberof vertexvis.protobuf.stream.StreamResponse
18867
+ * @instance
18868
+ */
18869
+ StreamResponse.prototype.gracefulReconnection = null;
18870
+
18281
18871
  /**
18282
18872
  * StreamResponse reconnect.
18283
18873
  * @member {vertexvis.protobuf.stream.IReconnectResult|null|undefined} reconnect
@@ -18382,17 +18972,25 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18382
18972
  */
18383
18973
  StreamResponse.prototype.refreshToken = null;
18384
18974
 
18975
+ /**
18976
+ * StreamResponse updateInteraction.
18977
+ * @member {vertexvis.protobuf.stream.IUpdateInteractionResult|null|undefined} updateInteraction
18978
+ * @memberof vertexvis.protobuf.stream.StreamResponse
18979
+ * @instance
18980
+ */
18981
+ StreamResponse.prototype.updateInteraction = null;
18982
+
18385
18983
  // OneOf field names bound to virtual getters and setters
18386
18984
  let $oneOfFields;
18387
18985
 
18388
18986
  /**
18389
18987
  * StreamResponse result.
18390
- * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|undefined} result
18988
+ * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
18391
18989
  * @memberof vertexvis.protobuf.stream.StreamResponse
18392
18990
  * @instance
18393
18991
  */
18394
18992
  Object.defineProperty(StreamResponse.prototype, "result", {
18395
- get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken"]),
18993
+ get: $util$1.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
18396
18994
  set: $util$1.oneOfSetter($oneOfFields)
18397
18995
  });
18398
18996
 
@@ -18458,6 +19056,10 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18458
19056
  $root$1.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
18459
19057
  if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
18460
19058
  $root$1.vertexvis.protobuf.stream.RefreshTokenResult.encode(message.refreshToken, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
19059
+ if (message.gracefulReconnection != null && Object.hasOwnProperty.call(message, "gracefulReconnection"))
19060
+ $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
19061
+ if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
19062
+ $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
18461
19063
  return writer;
18462
19064
  };
18463
19065
 
@@ -18510,6 +19112,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18510
19112
  case 6:
18511
19113
  message.endInteraction = $root$1.vertexvis.protobuf.stream.EndInteractionResult.decode(reader, reader.uint32());
18512
19114
  break;
19115
+ case 20:
19116
+ message.gracefulReconnection = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.decode(reader, reader.uint32());
19117
+ break;
18513
19118
  case 7:
18514
19119
  message.reconnect = $root$1.vertexvis.protobuf.stream.ReconnectResult.decode(reader, reader.uint32());
18515
19120
  break;
@@ -18549,6 +19154,9 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18549
19154
  case 19:
18550
19155
  message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenResult.decode(reader, reader.uint32());
18551
19156
  break;
19157
+ case 21:
19158
+ message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
19159
+ break;
18552
19160
  default:
18553
19161
  reader.skipType(tag & 7);
18554
19162
  break;
@@ -18633,6 +19241,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18633
19241
  return "endInteraction." + error;
18634
19242
  }
18635
19243
  }
19244
+ if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
19245
+ if (properties.result === 1)
19246
+ return "result: multiple values";
19247
+ properties.result = 1;
19248
+ {
19249
+ let error = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.verify(message.gracefulReconnection);
19250
+ if (error)
19251
+ return "gracefulReconnection." + error;
19252
+ }
19253
+ }
18636
19254
  if (message.reconnect != null && message.hasOwnProperty("reconnect")) {
18637
19255
  if (properties.result === 1)
18638
19256
  return "result: multiple values";
@@ -18763,6 +19381,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18763
19381
  return "refreshToken." + error;
18764
19382
  }
18765
19383
  }
19384
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
19385
+ if (properties.result === 1)
19386
+ return "result: multiple values";
19387
+ properties.result = 1;
19388
+ {
19389
+ let error = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.verify(message.updateInteraction);
19390
+ if (error)
19391
+ return "updateInteraction." + error;
19392
+ }
19393
+ }
18766
19394
  return null;
18767
19395
  };
18768
19396
 
@@ -18808,6 +19436,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18808
19436
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.endInteraction: object expected");
18809
19437
  message.endInteraction = $root$1.vertexvis.protobuf.stream.EndInteractionResult.fromObject(object.endInteraction);
18810
19438
  }
19439
+ if (object.gracefulReconnection != null) {
19440
+ if (typeof object.gracefulReconnection !== "object")
19441
+ throw TypeError(".vertexvis.protobuf.stream.StreamResponse.gracefulReconnection: object expected");
19442
+ message.gracefulReconnection = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.fromObject(object.gracefulReconnection);
19443
+ }
18811
19444
  if (object.reconnect != null) {
18812
19445
  if (typeof object.reconnect !== "object")
18813
19446
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.reconnect: object expected");
@@ -18873,6 +19506,11 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18873
19506
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.refreshToken: object expected");
18874
19507
  message.refreshToken = $root$1.vertexvis.protobuf.stream.RefreshTokenResult.fromObject(object.refreshToken);
18875
19508
  }
19509
+ if (object.updateInteraction != null) {
19510
+ if (typeof object.updateInteraction !== "object")
19511
+ throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
19512
+ message.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
19513
+ }
18876
19514
  return message;
18877
19515
  };
18878
19516
 
@@ -18982,6 +19620,16 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
18982
19620
  if (options.oneofs)
18983
19621
  object.result = "refreshToken";
18984
19622
  }
19623
+ if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
19624
+ object.gracefulReconnection = $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult.toObject(message.gracefulReconnection, options);
19625
+ if (options.oneofs)
19626
+ object.result = "gracefulReconnection";
19627
+ }
19628
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
19629
+ object.updateInteraction = $root$1.vertexvis.protobuf.stream.UpdateInteractionResult.toObject(message.updateInteraction, options);
19630
+ if (options.oneofs)
19631
+ object.result = "updateInteraction";
19632
+ }
18985
19633
  return object;
18986
19634
  };
18987
19635
 
@@ -19866,6 +20514,166 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
19866
20514
  return BeginInteractionResult;
19867
20515
  })();
19868
20516
 
20517
+ stream.UpdateInteractionResult = (function() {
20518
+
20519
+ /**
20520
+ * Properties of an UpdateInteractionResult.
20521
+ * @memberof vertexvis.protobuf.stream
20522
+ * @interface IUpdateInteractionResult
20523
+ */
20524
+
20525
+ /**
20526
+ * Constructs a new UpdateInteractionResult.
20527
+ * @memberof vertexvis.protobuf.stream
20528
+ * @classdesc Represents an UpdateInteractionResult.
20529
+ * @implements IUpdateInteractionResult
20530
+ * @constructor
20531
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
20532
+ */
20533
+ function UpdateInteractionResult(properties) {
20534
+ if (properties)
20535
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20536
+ if (properties[keys[i]] != null)
20537
+ this[keys[i]] = properties[keys[i]];
20538
+ }
20539
+
20540
+ /**
20541
+ * Creates a new UpdateInteractionResult instance using the specified properties.
20542
+ * @function create
20543
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20544
+ * @static
20545
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
20546
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult instance
20547
+ */
20548
+ UpdateInteractionResult.create = function create(properties) {
20549
+ return new UpdateInteractionResult(properties);
20550
+ };
20551
+
20552
+ /**
20553
+ * Encodes the specified UpdateInteractionResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
20554
+ * @function encode
20555
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20556
+ * @static
20557
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
20558
+ * @param {$protobuf.Writer} [writer] Writer to encode to
20559
+ * @returns {$protobuf.Writer} Writer
20560
+ */
20561
+ UpdateInteractionResult.encode = function encode(message, writer) {
20562
+ if (!writer)
20563
+ writer = $Writer$1.create();
20564
+ return writer;
20565
+ };
20566
+
20567
+ /**
20568
+ * Encodes the specified UpdateInteractionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
20569
+ * @function encodeDelimited
20570
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20571
+ * @static
20572
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
20573
+ * @param {$protobuf.Writer} [writer] Writer to encode to
20574
+ * @returns {$protobuf.Writer} Writer
20575
+ */
20576
+ UpdateInteractionResult.encodeDelimited = function encodeDelimited(message, writer) {
20577
+ return this.encode(message, writer).ldelim();
20578
+ };
20579
+
20580
+ /**
20581
+ * Decodes an UpdateInteractionResult message from the specified reader or buffer.
20582
+ * @function decode
20583
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20584
+ * @static
20585
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20586
+ * @param {number} [length] Message length if known beforehand
20587
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
20588
+ * @throws {Error} If the payload is not a reader or valid buffer
20589
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20590
+ */
20591
+ UpdateInteractionResult.decode = function decode(reader, length) {
20592
+ if (!(reader instanceof $Reader$1))
20593
+ reader = $Reader$1.create(reader);
20594
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.UpdateInteractionResult();
20595
+ while (reader.pos < end) {
20596
+ let tag = reader.uint32();
20597
+ switch (tag >>> 3) {
20598
+ default:
20599
+ reader.skipType(tag & 7);
20600
+ break;
20601
+ }
20602
+ }
20603
+ return message;
20604
+ };
20605
+
20606
+ /**
20607
+ * Decodes an UpdateInteractionResult message from the specified reader or buffer, length delimited.
20608
+ * @function decodeDelimited
20609
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20610
+ * @static
20611
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20612
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
20613
+ * @throws {Error} If the payload is not a reader or valid buffer
20614
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20615
+ */
20616
+ UpdateInteractionResult.decodeDelimited = function decodeDelimited(reader) {
20617
+ if (!(reader instanceof $Reader$1))
20618
+ reader = new $Reader$1(reader);
20619
+ return this.decode(reader, reader.uint32());
20620
+ };
20621
+
20622
+ /**
20623
+ * Verifies an UpdateInteractionResult message.
20624
+ * @function verify
20625
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20626
+ * @static
20627
+ * @param {Object.<string,*>} message Plain object to verify
20628
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
20629
+ */
20630
+ UpdateInteractionResult.verify = function verify(message) {
20631
+ if (typeof message !== "object" || message === null)
20632
+ return "object expected";
20633
+ return null;
20634
+ };
20635
+
20636
+ /**
20637
+ * Creates an UpdateInteractionResult message from a plain object. Also converts values to their respective internal types.
20638
+ * @function fromObject
20639
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20640
+ * @static
20641
+ * @param {Object.<string,*>} object Plain object
20642
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
20643
+ */
20644
+ UpdateInteractionResult.fromObject = function fromObject(object) {
20645
+ if (object instanceof $root$1.vertexvis.protobuf.stream.UpdateInteractionResult)
20646
+ return object;
20647
+ return new $root$1.vertexvis.protobuf.stream.UpdateInteractionResult();
20648
+ };
20649
+
20650
+ /**
20651
+ * Creates a plain object from an UpdateInteractionResult message. Also converts values to other types if specified.
20652
+ * @function toObject
20653
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20654
+ * @static
20655
+ * @param {vertexvis.protobuf.stream.UpdateInteractionResult} message UpdateInteractionResult
20656
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
20657
+ * @returns {Object.<string,*>} Plain object
20658
+ */
20659
+ UpdateInteractionResult.toObject = function toObject() {
20660
+ return {};
20661
+ };
20662
+
20663
+ /**
20664
+ * Converts this UpdateInteractionResult to JSON.
20665
+ * @function toJSON
20666
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
20667
+ * @instance
20668
+ * @returns {Object.<string,*>} JSON object
20669
+ */
20670
+ UpdateInteractionResult.prototype.toJSON = function toJSON() {
20671
+ return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
20672
+ };
20673
+
20674
+ return UpdateInteractionResult;
20675
+ })();
20676
+
19869
20677
  stream.EndInteractionResult = (function() {
19870
20678
 
19871
20679
  /**
@@ -22701,6 +23509,166 @@ const vertexvis$1 = $root$1.vertexvis = (() => {
22701
23509
  return UpdateCrossSectioningResult;
22702
23510
  })();
22703
23511
 
23512
+ stream.GracefulReconnectionResult = (function() {
23513
+
23514
+ /**
23515
+ * Properties of a GracefulReconnectionResult.
23516
+ * @memberof vertexvis.protobuf.stream
23517
+ * @interface IGracefulReconnectionResult
23518
+ */
23519
+
23520
+ /**
23521
+ * Constructs a new GracefulReconnectionResult.
23522
+ * @memberof vertexvis.protobuf.stream
23523
+ * @classdesc Represents a GracefulReconnectionResult.
23524
+ * @implements IGracefulReconnectionResult
23525
+ * @constructor
23526
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
23527
+ */
23528
+ function GracefulReconnectionResult(properties) {
23529
+ if (properties)
23530
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
23531
+ if (properties[keys[i]] != null)
23532
+ this[keys[i]] = properties[keys[i]];
23533
+ }
23534
+
23535
+ /**
23536
+ * Creates a new GracefulReconnectionResult instance using the specified properties.
23537
+ * @function create
23538
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23539
+ * @static
23540
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
23541
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult instance
23542
+ */
23543
+ GracefulReconnectionResult.create = function create(properties) {
23544
+ return new GracefulReconnectionResult(properties);
23545
+ };
23546
+
23547
+ /**
23548
+ * Encodes the specified GracefulReconnectionResult message. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
23549
+ * @function encode
23550
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23551
+ * @static
23552
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
23553
+ * @param {$protobuf.Writer} [writer] Writer to encode to
23554
+ * @returns {$protobuf.Writer} Writer
23555
+ */
23556
+ GracefulReconnectionResult.encode = function encode(message, writer) {
23557
+ if (!writer)
23558
+ writer = $Writer$1.create();
23559
+ return writer;
23560
+ };
23561
+
23562
+ /**
23563
+ * Encodes the specified GracefulReconnectionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
23564
+ * @function encodeDelimited
23565
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23566
+ * @static
23567
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
23568
+ * @param {$protobuf.Writer} [writer] Writer to encode to
23569
+ * @returns {$protobuf.Writer} Writer
23570
+ */
23571
+ GracefulReconnectionResult.encodeDelimited = function encodeDelimited(message, writer) {
23572
+ return this.encode(message, writer).ldelim();
23573
+ };
23574
+
23575
+ /**
23576
+ * Decodes a GracefulReconnectionResult message from the specified reader or buffer.
23577
+ * @function decode
23578
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23579
+ * @static
23580
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
23581
+ * @param {number} [length] Message length if known beforehand
23582
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
23583
+ * @throws {Error} If the payload is not a reader or valid buffer
23584
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23585
+ */
23586
+ GracefulReconnectionResult.decode = function decode(reader, length) {
23587
+ if (!(reader instanceof $Reader$1))
23588
+ reader = $Reader$1.create(reader);
23589
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult();
23590
+ while (reader.pos < end) {
23591
+ let tag = reader.uint32();
23592
+ switch (tag >>> 3) {
23593
+ default:
23594
+ reader.skipType(tag & 7);
23595
+ break;
23596
+ }
23597
+ }
23598
+ return message;
23599
+ };
23600
+
23601
+ /**
23602
+ * Decodes a GracefulReconnectionResult message from the specified reader or buffer, length delimited.
23603
+ * @function decodeDelimited
23604
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23605
+ * @static
23606
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
23607
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
23608
+ * @throws {Error} If the payload is not a reader or valid buffer
23609
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23610
+ */
23611
+ GracefulReconnectionResult.decodeDelimited = function decodeDelimited(reader) {
23612
+ if (!(reader instanceof $Reader$1))
23613
+ reader = new $Reader$1(reader);
23614
+ return this.decode(reader, reader.uint32());
23615
+ };
23616
+
23617
+ /**
23618
+ * Verifies a GracefulReconnectionResult message.
23619
+ * @function verify
23620
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23621
+ * @static
23622
+ * @param {Object.<string,*>} message Plain object to verify
23623
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
23624
+ */
23625
+ GracefulReconnectionResult.verify = function verify(message) {
23626
+ if (typeof message !== "object" || message === null)
23627
+ return "object expected";
23628
+ return null;
23629
+ };
23630
+
23631
+ /**
23632
+ * Creates a GracefulReconnectionResult message from a plain object. Also converts values to their respective internal types.
23633
+ * @function fromObject
23634
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23635
+ * @static
23636
+ * @param {Object.<string,*>} object Plain object
23637
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
23638
+ */
23639
+ GracefulReconnectionResult.fromObject = function fromObject(object) {
23640
+ if (object instanceof $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult)
23641
+ return object;
23642
+ return new $root$1.vertexvis.protobuf.stream.GracefulReconnectionResult();
23643
+ };
23644
+
23645
+ /**
23646
+ * Creates a plain object from a GracefulReconnectionResult message. Also converts values to other types if specified.
23647
+ * @function toObject
23648
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23649
+ * @static
23650
+ * @param {vertexvis.protobuf.stream.GracefulReconnectionResult} message GracefulReconnectionResult
23651
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
23652
+ * @returns {Object.<string,*>} Plain object
23653
+ */
23654
+ GracefulReconnectionResult.toObject = function toObject() {
23655
+ return {};
23656
+ };
23657
+
23658
+ /**
23659
+ * Converts this GracefulReconnectionResult to JSON.
23660
+ * @function toJSON
23661
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
23662
+ * @instance
23663
+ * @returns {Object.<string,*>} JSON object
23664
+ */
23665
+ GracefulReconnectionResult.prototype.toJSON = function toJSON() {
23666
+ return this.constructor.toObject(this, minimal$2.util.toJSONOptions);
23667
+ };
23668
+
23669
+ return GracefulReconnectionResult;
23670
+ })();
23671
+
22704
23672
  return stream;
22705
23673
  })();
22706
23674
 
@@ -35671,9 +36639,10 @@ var StreamApi = /** @class */ (function () {
35671
36639
  * @param withResponse Indicates if the server should reply with a response.
35672
36640
  * Defaults to `true`.
35673
36641
  */
35674
- StreamApi.prototype.beginInteraction = function (withResponse) {
36642
+ StreamApi.prototype.beginInteraction = function (payload, withResponse) {
36643
+ if (payload === void 0) { payload = {}; }
35675
36644
  if (withResponse === void 0) { withResponse = true; }
35676
- return this.sendRequest({ beginInteraction: {} }, withResponse);
36645
+ return this.sendRequest({ beginInteraction: payload }, withResponse);
35677
36646
  };
35678
36647
  /**
35679
36648
  * Sends a request to update the position of the scene's camera.
@@ -35714,6 +36683,21 @@ var StreamApi = /** @class */ (function () {
35714
36683
  if (withResponse === void 0) { withResponse = true; }
35715
36684
  return this.sendRequest({ flyTo: payload }, withResponse);
35716
36685
  };
36686
+ /**
36687
+ * Sends a request to update the specified interaction.
36688
+ *
36689
+ * Use `withResponse` to indicate if the server should reply with a response.
36690
+ * If `false`, the returned promise will complete immediately. Otherwise,
36691
+ * it'll complete when a response is received.
36692
+ *
36693
+ * @param payload The payload of the request.
36694
+ * @param withResponse Indicates if the server should reply with a response.
36695
+ * Defaults to `true`.
36696
+ */
36697
+ StreamApi.prototype.updateInteraction = function (payload, withResponse) {
36698
+ if (withResponse === void 0) { withResponse = true; }
36699
+ return this.sendRequest({ updateInteraction: payload }, withResponse);
36700
+ };
35717
36701
  /**
35718
36702
  * Sends a request to update the dimensions of the frame.
35719
36703
  *
@@ -35812,9 +36796,10 @@ var StreamApi = /** @class */ (function () {
35812
36796
  * @param withResponse Indicates if the server should reply with a response.
35813
36797
  * Defaults to `true`.
35814
36798
  */
35815
- StreamApi.prototype.endInteraction = function (withResponse) {
36799
+ StreamApi.prototype.endInteraction = function (payload, withResponse) {
36800
+ if (payload === void 0) { payload = {}; }
35816
36801
  if (withResponse === void 0) { withResponse = true; }
35817
- return this.sendRequest({ endInteraction: {} }, withResponse);
36802
+ return this.sendRequest({ endInteraction: payload }, withResponse);
35818
36803
  };
35819
36804
  /**
35820
36805
  * Sends a request to sync the clocks between the client and server.
@@ -36431,13 +37416,11 @@ function withPositionAndViewVector(camera) {
36431
37416
  return Object.assign(Object.assign({}, camera), { viewVector: vector3.subtract(camera.lookAt, camera.position) });
36432
37417
  }
36433
37418
  }
36434
- function toOrthographic(data, boundingBox$1) {
37419
+ function toOrthographic(data, boundingBox) {
36435
37420
  var _a;
36436
37421
  const viewVector = vector3.subtract(data.lookAt, data.position);
36437
- const boundingBoxCenter = boundingBox.center(boundingBox$1);
36438
- const centerToBoundingPlane = vector3.subtract(boundingBox$1.max, boundingBoxCenter);
36439
- const radius = vector3.magnitude(centerToBoundingPlane);
36440
- const scale = radius / vector3.magnitude(viewVector);
37422
+ const boundingSphere$1 = boundingSphere.create(boundingBox);
37423
+ const scale = boundingSphere$1.radius / vector3.magnitude(viewVector);
36441
37424
  return {
36442
37425
  viewVector: vector3.scale(scale, viewVector),
36443
37426
  up: data.up,
@@ -36610,7 +37593,7 @@ class DepthBuffer {
36610
37593
  getOrthographicDepthAtPoint(point, fallbackNormalizedDepth) {
36611
37594
  const { near, far } = this.camera;
36612
37595
  const depth = this.getNormalizedDepthAtPoint(point, fallbackNormalizedDepth);
36613
- return depth * (far - near) + near / 2;
37596
+ return depth * (far - near);
36614
37597
  }
36615
37598
  /**
36616
37599
  * Computes a depth from a 2D point within the coordinate space of the frame.
@@ -36712,43 +37695,6 @@ class DepthBuffer {
36712
37695
  */
36713
37696
  DepthBuffer.MAX_DEPTH_VALUE = 2 ** 16 - 1;
36714
37697
 
36715
- // The source of these values are from:
36716
- // https://github.com/Vertexvis/rendering-worker-service/blob/fc1c864d1da4b5eb12794478dc720fa046412ee2/src/embree.isph#L163
36717
- /**
36718
- * An enumeration of the possible types of entities in a frame.
36719
- */
36720
- var EntityType;
36721
- (function (EntityType) {
36722
- /**
36723
- * A value that represents the presence of a cross section.
36724
- */
36725
- EntityType[EntityType["CROSS_SECTION"] = 255] = "CROSS_SECTION";
36726
- /**
36727
- * A value that represents the presence of an edge with BREP.
36728
- */
36729
- EntityType[EntityType["PRECISE_EDGE"] = 224] = "PRECISE_EDGE";
36730
- /**
36731
- * A value that represents the presence of a surface with BREP.
36732
- */
36733
- EntityType[EntityType["PRECISE_SURFACE"] = 192] = "PRECISE_SURFACE";
36734
- /**
36735
- * A value that represents the presence of an edge without BREP.
36736
- */
36737
- EntityType[EntityType["IMPRECISE_EDGE"] = 160] = "IMPRECISE_EDGE";
36738
- /**
36739
- * A value that represents the presence of an surface without BREP.
36740
- */
36741
- EntityType[EntityType["IMPRECISE_SURFACE"] = 128] = "IMPRECISE_SURFACE";
36742
- /**
36743
- * A value that represents the presence of geometry without BREP.
36744
- */
36745
- EntityType[EntityType["GENERIC_GEOMETRY"] = 96] = "GENERIC_GEOMETRY";
36746
- /**
36747
- * A value that represents the absence of geometry.
36748
- */
36749
- EntityType[EntityType["NO_GEOMETRY"] = 0] = "NO_GEOMETRY";
36750
- })(EntityType || (EntityType = {}));
36751
-
36752
37698
  /**
36753
37699
  * A `FeatureMap` contains metadata about the location of entities and features
36754
37700
  * rendered in a scene. This metadata includes any surfaces, edges, cross
@@ -36837,7 +37783,7 @@ class FeatureMap {
36837
37783
  }
36838
37784
 
36839
37785
  async function loadWorker() {
36840
- return import('./png-decoder-07de80d1.js');
37786
+ return import('./png-decoder-d4b65417.js');
36841
37787
  }
36842
37788
 
36843
37789
  let workerLoader;
@@ -46354,6 +47300,7 @@ const vertexvis = $root.vertexvis = (() => {
46354
47300
  * @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
46355
47301
  * @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
46356
47302
  * @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
47303
+ * @property {boolean|null} [noDefaultLights] StreamAttributes noDefaultLights
46357
47304
  */
46358
47305
 
46359
47306
  /**
@@ -46411,6 +47358,14 @@ const vertexvis = $root.vertexvis = (() => {
46411
47358
  */
46412
47359
  StreamAttributes.prototype.featureMaps = null;
46413
47360
 
47361
+ /**
47362
+ * StreamAttributes noDefaultLights.
47363
+ * @member {boolean} noDefaultLights
47364
+ * @memberof vertexvis.protobuf.stream.StreamAttributes
47365
+ * @instance
47366
+ */
47367
+ StreamAttributes.prototype.noDefaultLights = false;
47368
+
46414
47369
  /**
46415
47370
  * Creates a new StreamAttributes instance using the specified properties.
46416
47371
  * @function create
@@ -46445,6 +47400,8 @@ const vertexvis = $root.vertexvis = (() => {
46445
47400
  $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
46446
47401
  if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
46447
47402
  $root.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
47403
+ if (message.noDefaultLights != null && Object.hasOwnProperty.call(message, "noDefaultLights"))
47404
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.noDefaultLights);
46448
47405
  return writer;
46449
47406
  };
46450
47407
 
@@ -46494,6 +47451,9 @@ const vertexvis = $root.vertexvis = (() => {
46494
47451
  case 5:
46495
47452
  message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
46496
47453
  break;
47454
+ case 6:
47455
+ message.noDefaultLights = reader.bool();
47456
+ break;
46497
47457
  default:
46498
47458
  reader.skipType(tag & 7);
46499
47459
  break;
@@ -46554,6 +47514,9 @@ const vertexvis = $root.vertexvis = (() => {
46554
47514
  if (error)
46555
47515
  return "featureMaps." + error;
46556
47516
  }
47517
+ if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
47518
+ if (typeof message.noDefaultLights !== "boolean")
47519
+ return "noDefaultLights: boolean expected";
46557
47520
  return null;
46558
47521
  };
46559
47522
 
@@ -46594,6 +47557,8 @@ const vertexvis = $root.vertexvis = (() => {
46594
47557
  throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
46595
47558
  message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
46596
47559
  }
47560
+ if (object.noDefaultLights != null)
47561
+ message.noDefaultLights = Boolean(object.noDefaultLights);
46597
47562
  return message;
46598
47563
  };
46599
47564
 
@@ -46616,6 +47581,7 @@ const vertexvis = $root.vertexvis = (() => {
46616
47581
  object.featureLines = null;
46617
47582
  object.featureHighlighting = null;
46618
47583
  object.featureMaps = null;
47584
+ object.noDefaultLights = false;
46619
47585
  }
46620
47586
  if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
46621
47587
  object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
@@ -46627,6 +47593,8 @@ const vertexvis = $root.vertexvis = (() => {
46627
47593
  object.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
46628
47594
  if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
46629
47595
  object.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
47596
+ if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
47597
+ object.noDefaultLights = message.noDefaultLights;
46630
47598
  return object;
46631
47599
  };
46632
47600
 
@@ -49285,6 +50253,198 @@ const vertexvis = $root.vertexvis = (() => {
49285
50253
  return Token;
49286
50254
  })();
49287
50255
 
50256
+ stream.TransformInteraction = (function() {
50257
+
50258
+ /**
50259
+ * Properties of a TransformInteraction.
50260
+ * @memberof vertexvis.protobuf.stream
50261
+ * @interface ITransformInteraction
50262
+ * @property {vertexvis.protobuf.core.IAffineMatrix4f|null} [delta] TransformInteraction delta
50263
+ */
50264
+
50265
+ /**
50266
+ * Constructs a new TransformInteraction.
50267
+ * @memberof vertexvis.protobuf.stream
50268
+ * @classdesc Represents a TransformInteraction.
50269
+ * @implements ITransformInteraction
50270
+ * @constructor
50271
+ * @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
50272
+ */
50273
+ function TransformInteraction(properties) {
50274
+ if (properties)
50275
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
50276
+ if (properties[keys[i]] != null)
50277
+ this[keys[i]] = properties[keys[i]];
50278
+ }
50279
+
50280
+ /**
50281
+ * TransformInteraction delta.
50282
+ * @member {vertexvis.protobuf.core.IAffineMatrix4f|null|undefined} delta
50283
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50284
+ * @instance
50285
+ */
50286
+ TransformInteraction.prototype.delta = null;
50287
+
50288
+ /**
50289
+ * Creates a new TransformInteraction instance using the specified properties.
50290
+ * @function create
50291
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50292
+ * @static
50293
+ * @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
50294
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction instance
50295
+ */
50296
+ TransformInteraction.create = function create(properties) {
50297
+ return new TransformInteraction(properties);
50298
+ };
50299
+
50300
+ /**
50301
+ * Encodes the specified TransformInteraction message. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
50302
+ * @function encode
50303
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50304
+ * @static
50305
+ * @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
50306
+ * @param {$protobuf.Writer} [writer] Writer to encode to
50307
+ * @returns {$protobuf.Writer} Writer
50308
+ */
50309
+ TransformInteraction.encode = function encode(message, writer) {
50310
+ if (!writer)
50311
+ writer = $Writer.create();
50312
+ if (message.delta != null && Object.hasOwnProperty.call(message, "delta"))
50313
+ $root.vertexvis.protobuf.core.AffineMatrix4f.encode(message.delta, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
50314
+ return writer;
50315
+ };
50316
+
50317
+ /**
50318
+ * Encodes the specified TransformInteraction message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
50319
+ * @function encodeDelimited
50320
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50321
+ * @static
50322
+ * @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
50323
+ * @param {$protobuf.Writer} [writer] Writer to encode to
50324
+ * @returns {$protobuf.Writer} Writer
50325
+ */
50326
+ TransformInteraction.encodeDelimited = function encodeDelimited(message, writer) {
50327
+ return this.encode(message, writer).ldelim();
50328
+ };
50329
+
50330
+ /**
50331
+ * Decodes a TransformInteraction message from the specified reader or buffer.
50332
+ * @function decode
50333
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50334
+ * @static
50335
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
50336
+ * @param {number} [length] Message length if known beforehand
50337
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
50338
+ * @throws {Error} If the payload is not a reader or valid buffer
50339
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
50340
+ */
50341
+ TransformInteraction.decode = function decode(reader, length) {
50342
+ if (!(reader instanceof $Reader))
50343
+ reader = $Reader.create(reader);
50344
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.TransformInteraction();
50345
+ while (reader.pos < end) {
50346
+ let tag = reader.uint32();
50347
+ switch (tag >>> 3) {
50348
+ case 1:
50349
+ message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.decode(reader, reader.uint32());
50350
+ break;
50351
+ default:
50352
+ reader.skipType(tag & 7);
50353
+ break;
50354
+ }
50355
+ }
50356
+ return message;
50357
+ };
50358
+
50359
+ /**
50360
+ * Decodes a TransformInteraction message from the specified reader or buffer, length delimited.
50361
+ * @function decodeDelimited
50362
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50363
+ * @static
50364
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
50365
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
50366
+ * @throws {Error} If the payload is not a reader or valid buffer
50367
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
50368
+ */
50369
+ TransformInteraction.decodeDelimited = function decodeDelimited(reader) {
50370
+ if (!(reader instanceof $Reader))
50371
+ reader = new $Reader(reader);
50372
+ return this.decode(reader, reader.uint32());
50373
+ };
50374
+
50375
+ /**
50376
+ * Verifies a TransformInteraction message.
50377
+ * @function verify
50378
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50379
+ * @static
50380
+ * @param {Object.<string,*>} message Plain object to verify
50381
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
50382
+ */
50383
+ TransformInteraction.verify = function verify(message) {
50384
+ if (typeof message !== "object" || message === null)
50385
+ return "object expected";
50386
+ if (message.delta != null && message.hasOwnProperty("delta")) {
50387
+ let error = $root.vertexvis.protobuf.core.AffineMatrix4f.verify(message.delta);
50388
+ if (error)
50389
+ return "delta." + error;
50390
+ }
50391
+ return null;
50392
+ };
50393
+
50394
+ /**
50395
+ * Creates a TransformInteraction message from a plain object. Also converts values to their respective internal types.
50396
+ * @function fromObject
50397
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50398
+ * @static
50399
+ * @param {Object.<string,*>} object Plain object
50400
+ * @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
50401
+ */
50402
+ TransformInteraction.fromObject = function fromObject(object) {
50403
+ if (object instanceof $root.vertexvis.protobuf.stream.TransformInteraction)
50404
+ return object;
50405
+ let message = new $root.vertexvis.protobuf.stream.TransformInteraction();
50406
+ if (object.delta != null) {
50407
+ if (typeof object.delta !== "object")
50408
+ throw TypeError(".vertexvis.protobuf.stream.TransformInteraction.delta: object expected");
50409
+ message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.fromObject(object.delta);
50410
+ }
50411
+ return message;
50412
+ };
50413
+
50414
+ /**
50415
+ * Creates a plain object from a TransformInteraction message. Also converts values to other types if specified.
50416
+ * @function toObject
50417
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50418
+ * @static
50419
+ * @param {vertexvis.protobuf.stream.TransformInteraction} message TransformInteraction
50420
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
50421
+ * @returns {Object.<string,*>} Plain object
50422
+ */
50423
+ TransformInteraction.toObject = function toObject(message, options) {
50424
+ if (!options)
50425
+ options = {};
50426
+ let object = {};
50427
+ if (options.defaults)
50428
+ object.delta = null;
50429
+ if (message.delta != null && message.hasOwnProperty("delta"))
50430
+ object.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.toObject(message.delta, options);
50431
+ return object;
50432
+ };
50433
+
50434
+ /**
50435
+ * Converts this TransformInteraction to JSON.
50436
+ * @function toJSON
50437
+ * @memberof vertexvis.protobuf.stream.TransformInteraction
50438
+ * @instance
50439
+ * @returns {Object.<string,*>} JSON object
50440
+ */
50441
+ TransformInteraction.prototype.toJSON = function toJSON() {
50442
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
50443
+ };
50444
+
50445
+ return TransformInteraction;
50446
+ })();
50447
+
49288
50448
  stream.Error = (function() {
49289
50449
 
49290
50450
  /**
@@ -50512,6 +51672,7 @@ const vertexvis = $root.vertexvis = (() => {
50512
51672
  * @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
50513
51673
  * @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
50514
51674
  * @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
51675
+ * @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
50515
51676
  */
50516
51677
 
50517
51678
  /**
@@ -50689,17 +51850,25 @@ const vertexvis = $root.vertexvis = (() => {
50689
51850
  */
50690
51851
  StreamRequest.prototype.refreshToken = null;
50691
51852
 
51853
+ /**
51854
+ * StreamRequest updateInteraction.
51855
+ * @member {vertexvis.protobuf.stream.IUpdateInteractionPayload|null|undefined} updateInteraction
51856
+ * @memberof vertexvis.protobuf.stream.StreamRequest
51857
+ * @instance
51858
+ */
51859
+ StreamRequest.prototype.updateInteraction = null;
51860
+
50692
51861
  // OneOf field names bound to virtual getters and setters
50693
51862
  let $oneOfFields;
50694
51863
 
50695
51864
  /**
50696
51865
  * StreamRequest payload.
50697
- * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|undefined} payload
51866
+ * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
50698
51867
  * @memberof vertexvis.protobuf.stream.StreamRequest
50699
51868
  * @instance
50700
51869
  */
50701
51870
  Object.defineProperty(StreamRequest.prototype, "payload", {
50702
- get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken"]),
51871
+ get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
50703
51872
  set: $util.oneOfSetter($oneOfFields)
50704
51873
  });
50705
51874
 
@@ -50767,6 +51936,8 @@ const vertexvis = $root.vertexvis = (() => {
50767
51936
  $root.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
50768
51937
  if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
50769
51938
  $root.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
51939
+ if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
51940
+ $root.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
50770
51941
  return writer;
50771
51942
  };
50772
51943
 
@@ -50861,6 +52032,9 @@ const vertexvis = $root.vertexvis = (() => {
50861
52032
  case 20:
50862
52033
  message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.decode(reader, reader.uint32());
50863
52034
  break;
52035
+ case 21:
52036
+ message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
52037
+ break;
50864
52038
  default:
50865
52039
  reader.skipType(tag & 7);
50866
52040
  break;
@@ -51090,6 +52264,16 @@ const vertexvis = $root.vertexvis = (() => {
51090
52264
  return "refreshToken." + error;
51091
52265
  }
51092
52266
  }
52267
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
52268
+ if (properties.payload === 1)
52269
+ return "payload: multiple values";
52270
+ properties.payload = 1;
52271
+ {
52272
+ let error = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.verify(message.updateInteraction);
52273
+ if (error)
52274
+ return "updateInteraction." + error;
52275
+ }
52276
+ }
51093
52277
  return null;
51094
52278
  };
51095
52279
 
@@ -51205,6 +52389,11 @@ const vertexvis = $root.vertexvis = (() => {
51205
52389
  throw TypeError(".vertexvis.protobuf.stream.StreamRequest.refreshToken: object expected");
51206
52390
  message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.fromObject(object.refreshToken);
51207
52391
  }
52392
+ if (object.updateInteraction != null) {
52393
+ if (typeof object.updateInteraction !== "object")
52394
+ throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
52395
+ message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
52396
+ }
51208
52397
  return message;
51209
52398
  };
51210
52399
 
@@ -51320,6 +52509,11 @@ const vertexvis = $root.vertexvis = (() => {
51320
52509
  if (options.oneofs)
51321
52510
  object.payload = "refreshToken";
51322
52511
  }
52512
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
52513
+ object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.toObject(message.updateInteraction, options);
52514
+ if (options.oneofs)
52515
+ object.payload = "updateInteraction";
52516
+ }
51323
52517
  return object;
51324
52518
  };
51325
52519
 
@@ -51891,6 +53085,7 @@ const vertexvis = $root.vertexvis = (() => {
51891
53085
  * Properties of a BeginInteractionPayload.
51892
53086
  * @memberof vertexvis.protobuf.stream
51893
53087
  * @interface IBeginInteractionPayload
53088
+ * @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] BeginInteractionPayload transform
51894
53089
  */
51895
53090
 
51896
53091
  /**
@@ -51908,6 +53103,28 @@ const vertexvis = $root.vertexvis = (() => {
51908
53103
  this[keys[i]] = properties[keys[i]];
51909
53104
  }
51910
53105
 
53106
+ /**
53107
+ * BeginInteractionPayload transform.
53108
+ * @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
53109
+ * @memberof vertexvis.protobuf.stream.BeginInteractionPayload
53110
+ * @instance
53111
+ */
53112
+ BeginInteractionPayload.prototype.transform = null;
53113
+
53114
+ // OneOf field names bound to virtual getters and setters
53115
+ let $oneOfFields;
53116
+
53117
+ /**
53118
+ * BeginInteractionPayload interaction.
53119
+ * @member {"transform"|undefined} interaction
53120
+ * @memberof vertexvis.protobuf.stream.BeginInteractionPayload
53121
+ * @instance
53122
+ */
53123
+ Object.defineProperty(BeginInteractionPayload.prototype, "interaction", {
53124
+ get: $util.oneOfGetter($oneOfFields = ["transform"]),
53125
+ set: $util.oneOfSetter($oneOfFields)
53126
+ });
53127
+
51911
53128
  /**
51912
53129
  * Creates a new BeginInteractionPayload instance using the specified properties.
51913
53130
  * @function create
@@ -51932,6 +53149,8 @@ const vertexvis = $root.vertexvis = (() => {
51932
53149
  BeginInteractionPayload.encode = function encode(message, writer) {
51933
53150
  if (!writer)
51934
53151
  writer = $Writer.create();
53152
+ if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
53153
+ $root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
51935
53154
  return writer;
51936
53155
  };
51937
53156
 
@@ -51966,6 +53185,9 @@ const vertexvis = $root.vertexvis = (() => {
51966
53185
  while (reader.pos < end) {
51967
53186
  let tag = reader.uint32();
51968
53187
  switch (tag >>> 3) {
53188
+ case 1:
53189
+ message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
53190
+ break;
51969
53191
  default:
51970
53192
  reader.skipType(tag & 7);
51971
53193
  break;
@@ -52001,6 +53223,13 @@ const vertexvis = $root.vertexvis = (() => {
52001
53223
  BeginInteractionPayload.verify = function verify(message) {
52002
53224
  if (typeof message !== "object" || message === null)
52003
53225
  return "object expected";
53226
+ if (message.transform != null && message.hasOwnProperty("transform")) {
53227
+ {
53228
+ let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
53229
+ if (error)
53230
+ return "transform." + error;
53231
+ }
53232
+ }
52004
53233
  return null;
52005
53234
  };
52006
53235
 
@@ -52015,7 +53244,13 @@ const vertexvis = $root.vertexvis = (() => {
52015
53244
  BeginInteractionPayload.fromObject = function fromObject(object) {
52016
53245
  if (object instanceof $root.vertexvis.protobuf.stream.BeginInteractionPayload)
52017
53246
  return object;
52018
- return new $root.vertexvis.protobuf.stream.BeginInteractionPayload();
53247
+ let message = new $root.vertexvis.protobuf.stream.BeginInteractionPayload();
53248
+ if (object.transform != null) {
53249
+ if (typeof object.transform !== "object")
53250
+ throw TypeError(".vertexvis.protobuf.stream.BeginInteractionPayload.transform: object expected");
53251
+ message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
53252
+ }
53253
+ return message;
52019
53254
  };
52020
53255
 
52021
53256
  /**
@@ -52027,8 +53262,16 @@ const vertexvis = $root.vertexvis = (() => {
52027
53262
  * @param {$protobuf.IConversionOptions} [options] Conversion options
52028
53263
  * @returns {Object.<string,*>} Plain object
52029
53264
  */
52030
- BeginInteractionPayload.toObject = function toObject() {
52031
- return {};
53265
+ BeginInteractionPayload.toObject = function toObject(message, options) {
53266
+ if (!options)
53267
+ options = {};
53268
+ let object = {};
53269
+ if (message.transform != null && message.hasOwnProperty("transform")) {
53270
+ object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
53271
+ if (options.oneofs)
53272
+ object.interaction = "transform";
53273
+ }
53274
+ return object;
52032
53275
  };
52033
53276
 
52034
53277
  /**
@@ -52045,6 +53288,243 @@ const vertexvis = $root.vertexvis = (() => {
52045
53288
  return BeginInteractionPayload;
52046
53289
  })();
52047
53290
 
53291
+ stream.UpdateInteractionPayload = (function() {
53292
+
53293
+ /**
53294
+ * Properties of an UpdateInteractionPayload.
53295
+ * @memberof vertexvis.protobuf.stream
53296
+ * @interface IUpdateInteractionPayload
53297
+ * @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateInteractionPayload frameCorrelationId
53298
+ * @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] UpdateInteractionPayload transform
53299
+ */
53300
+
53301
+ /**
53302
+ * Constructs a new UpdateInteractionPayload.
53303
+ * @memberof vertexvis.protobuf.stream
53304
+ * @classdesc Represents an UpdateInteractionPayload.
53305
+ * @implements IUpdateInteractionPayload
53306
+ * @constructor
53307
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
53308
+ */
53309
+ function UpdateInteractionPayload(properties) {
53310
+ if (properties)
53311
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
53312
+ if (properties[keys[i]] != null)
53313
+ this[keys[i]] = properties[keys[i]];
53314
+ }
53315
+
53316
+ /**
53317
+ * UpdateInteractionPayload frameCorrelationId.
53318
+ * @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
53319
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53320
+ * @instance
53321
+ */
53322
+ UpdateInteractionPayload.prototype.frameCorrelationId = null;
53323
+
53324
+ /**
53325
+ * UpdateInteractionPayload transform.
53326
+ * @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
53327
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53328
+ * @instance
53329
+ */
53330
+ UpdateInteractionPayload.prototype.transform = null;
53331
+
53332
+ // OneOf field names bound to virtual getters and setters
53333
+ let $oneOfFields;
53334
+
53335
+ /**
53336
+ * UpdateInteractionPayload interaction.
53337
+ * @member {"transform"|undefined} interaction
53338
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53339
+ * @instance
53340
+ */
53341
+ Object.defineProperty(UpdateInteractionPayload.prototype, "interaction", {
53342
+ get: $util.oneOfGetter($oneOfFields = ["transform"]),
53343
+ set: $util.oneOfSetter($oneOfFields)
53344
+ });
53345
+
53346
+ /**
53347
+ * Creates a new UpdateInteractionPayload instance using the specified properties.
53348
+ * @function create
53349
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53350
+ * @static
53351
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
53352
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload instance
53353
+ */
53354
+ UpdateInteractionPayload.create = function create(properties) {
53355
+ return new UpdateInteractionPayload(properties);
53356
+ };
53357
+
53358
+ /**
53359
+ * Encodes the specified UpdateInteractionPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
53360
+ * @function encode
53361
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53362
+ * @static
53363
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
53364
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53365
+ * @returns {$protobuf.Writer} Writer
53366
+ */
53367
+ UpdateInteractionPayload.encode = function encode(message, writer) {
53368
+ if (!writer)
53369
+ writer = $Writer.create();
53370
+ if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
53371
+ $root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
53372
+ if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
53373
+ $root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
53374
+ return writer;
53375
+ };
53376
+
53377
+ /**
53378
+ * Encodes the specified UpdateInteractionPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
53379
+ * @function encodeDelimited
53380
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53381
+ * @static
53382
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
53383
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53384
+ * @returns {$protobuf.Writer} Writer
53385
+ */
53386
+ UpdateInteractionPayload.encodeDelimited = function encodeDelimited(message, writer) {
53387
+ return this.encode(message, writer).ldelim();
53388
+ };
53389
+
53390
+ /**
53391
+ * Decodes an UpdateInteractionPayload message from the specified reader or buffer.
53392
+ * @function decode
53393
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53394
+ * @static
53395
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
53396
+ * @param {number} [length] Message length if known beforehand
53397
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
53398
+ * @throws {Error} If the payload is not a reader or valid buffer
53399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53400
+ */
53401
+ UpdateInteractionPayload.decode = function decode(reader, length) {
53402
+ if (!(reader instanceof $Reader))
53403
+ reader = $Reader.create(reader);
53404
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
53405
+ while (reader.pos < end) {
53406
+ let tag = reader.uint32();
53407
+ switch (tag >>> 3) {
53408
+ case 1:
53409
+ message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
53410
+ break;
53411
+ case 2:
53412
+ message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
53413
+ break;
53414
+ default:
53415
+ reader.skipType(tag & 7);
53416
+ break;
53417
+ }
53418
+ }
53419
+ return message;
53420
+ };
53421
+
53422
+ /**
53423
+ * Decodes an UpdateInteractionPayload message from the specified reader or buffer, length delimited.
53424
+ * @function decodeDelimited
53425
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53426
+ * @static
53427
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
53428
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
53429
+ * @throws {Error} If the payload is not a reader or valid buffer
53430
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53431
+ */
53432
+ UpdateInteractionPayload.decodeDelimited = function decodeDelimited(reader) {
53433
+ if (!(reader instanceof $Reader))
53434
+ reader = new $Reader(reader);
53435
+ return this.decode(reader, reader.uint32());
53436
+ };
53437
+
53438
+ /**
53439
+ * Verifies an UpdateInteractionPayload message.
53440
+ * @function verify
53441
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53442
+ * @static
53443
+ * @param {Object.<string,*>} message Plain object to verify
53444
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
53445
+ */
53446
+ UpdateInteractionPayload.verify = function verify(message) {
53447
+ if (typeof message !== "object" || message === null)
53448
+ return "object expected";
53449
+ if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
53450
+ let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
53451
+ if (error)
53452
+ return "frameCorrelationId." + error;
53453
+ }
53454
+ if (message.transform != null && message.hasOwnProperty("transform")) {
53455
+ {
53456
+ let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
53457
+ if (error)
53458
+ return "transform." + error;
53459
+ }
53460
+ }
53461
+ return null;
53462
+ };
53463
+
53464
+ /**
53465
+ * Creates an UpdateInteractionPayload message from a plain object. Also converts values to their respective internal types.
53466
+ * @function fromObject
53467
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53468
+ * @static
53469
+ * @param {Object.<string,*>} object Plain object
53470
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
53471
+ */
53472
+ UpdateInteractionPayload.fromObject = function fromObject(object) {
53473
+ if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionPayload)
53474
+ return object;
53475
+ let message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
53476
+ if (object.frameCorrelationId != null) {
53477
+ if (typeof object.frameCorrelationId !== "object")
53478
+ throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.frameCorrelationId: object expected");
53479
+ message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
53480
+ }
53481
+ if (object.transform != null) {
53482
+ if (typeof object.transform !== "object")
53483
+ throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.transform: object expected");
53484
+ message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
53485
+ }
53486
+ return message;
53487
+ };
53488
+
53489
+ /**
53490
+ * Creates a plain object from an UpdateInteractionPayload message. Also converts values to other types if specified.
53491
+ * @function toObject
53492
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53493
+ * @static
53494
+ * @param {vertexvis.protobuf.stream.UpdateInteractionPayload} message UpdateInteractionPayload
53495
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
53496
+ * @returns {Object.<string,*>} Plain object
53497
+ */
53498
+ UpdateInteractionPayload.toObject = function toObject(message, options) {
53499
+ if (!options)
53500
+ options = {};
53501
+ let object = {};
53502
+ if (options.defaults)
53503
+ object.frameCorrelationId = null;
53504
+ if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
53505
+ object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
53506
+ if (message.transform != null && message.hasOwnProperty("transform")) {
53507
+ object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
53508
+ if (options.oneofs)
53509
+ object.interaction = "transform";
53510
+ }
53511
+ return object;
53512
+ };
53513
+
53514
+ /**
53515
+ * Converts this UpdateInteractionPayload to JSON.
53516
+ * @function toJSON
53517
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
53518
+ * @instance
53519
+ * @returns {Object.<string,*>} JSON object
53520
+ */
53521
+ UpdateInteractionPayload.prototype.toJSON = function toJSON() {
53522
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
53523
+ };
53524
+
53525
+ return UpdateInteractionPayload;
53526
+ })();
53527
+
52048
53528
  stream.EndInteractionPayload = (function() {
52049
53529
 
52050
53530
  /**
@@ -52052,6 +53532,7 @@ const vertexvis = $root.vertexvis = (() => {
52052
53532
  * @memberof vertexvis.protobuf.stream
52053
53533
  * @interface IEndInteractionPayload
52054
53534
  * @property {google.protobuf.IStringValue|null} [frameCorrelationId] EndInteractionPayload frameCorrelationId
53535
+ * @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] EndInteractionPayload transform
52055
53536
  */
52056
53537
 
52057
53538
  /**
@@ -52077,6 +53558,28 @@ const vertexvis = $root.vertexvis = (() => {
52077
53558
  */
52078
53559
  EndInteractionPayload.prototype.frameCorrelationId = null;
52079
53560
 
53561
+ /**
53562
+ * EndInteractionPayload transform.
53563
+ * @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
53564
+ * @memberof vertexvis.protobuf.stream.EndInteractionPayload
53565
+ * @instance
53566
+ */
53567
+ EndInteractionPayload.prototype.transform = null;
53568
+
53569
+ // OneOf field names bound to virtual getters and setters
53570
+ let $oneOfFields;
53571
+
53572
+ /**
53573
+ * EndInteractionPayload interaction.
53574
+ * @member {"transform"|undefined} interaction
53575
+ * @memberof vertexvis.protobuf.stream.EndInteractionPayload
53576
+ * @instance
53577
+ */
53578
+ Object.defineProperty(EndInteractionPayload.prototype, "interaction", {
53579
+ get: $util.oneOfGetter($oneOfFields = ["transform"]),
53580
+ set: $util.oneOfSetter($oneOfFields)
53581
+ });
53582
+
52080
53583
  /**
52081
53584
  * Creates a new EndInteractionPayload instance using the specified properties.
52082
53585
  * @function create
@@ -52103,6 +53606,8 @@ const vertexvis = $root.vertexvis = (() => {
52103
53606
  writer = $Writer.create();
52104
53607
  if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
52105
53608
  $root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
53609
+ if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
53610
+ $root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
52106
53611
  return writer;
52107
53612
  };
52108
53613
 
@@ -52140,6 +53645,9 @@ const vertexvis = $root.vertexvis = (() => {
52140
53645
  case 1:
52141
53646
  message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
52142
53647
  break;
53648
+ case 2:
53649
+ message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
53650
+ break;
52143
53651
  default:
52144
53652
  reader.skipType(tag & 7);
52145
53653
  break;
@@ -52180,6 +53688,13 @@ const vertexvis = $root.vertexvis = (() => {
52180
53688
  if (error)
52181
53689
  return "frameCorrelationId." + error;
52182
53690
  }
53691
+ if (message.transform != null && message.hasOwnProperty("transform")) {
53692
+ {
53693
+ let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
53694
+ if (error)
53695
+ return "transform." + error;
53696
+ }
53697
+ }
52183
53698
  return null;
52184
53699
  };
52185
53700
 
@@ -52200,6 +53715,11 @@ const vertexvis = $root.vertexvis = (() => {
52200
53715
  throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.frameCorrelationId: object expected");
52201
53716
  message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
52202
53717
  }
53718
+ if (object.transform != null) {
53719
+ if (typeof object.transform !== "object")
53720
+ throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.transform: object expected");
53721
+ message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
53722
+ }
52203
53723
  return message;
52204
53724
  };
52205
53725
 
@@ -52220,6 +53740,11 @@ const vertexvis = $root.vertexvis = (() => {
52220
53740
  object.frameCorrelationId = null;
52221
53741
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
52222
53742
  object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
53743
+ if (message.transform != null && message.hasOwnProperty("transform")) {
53744
+ object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
53745
+ if (options.oneofs)
53746
+ object.interaction = "transform";
53747
+ }
52223
53748
  return object;
52224
53749
  };
52225
53750
 
@@ -55837,6 +57362,7 @@ const vertexvis = $root.vertexvis = (() => {
55837
57362
  * @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
55838
57363
  * @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
55839
57364
  * @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
57365
+ * @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
55840
57366
  * @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
55841
57367
  * @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
55842
57368
  * @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
@@ -55850,6 +57376,7 @@ const vertexvis = $root.vertexvis = (() => {
55850
57376
  * @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
55851
57377
  * @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
55852
57378
  * @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
57379
+ * @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
55853
57380
  */
55854
57381
 
55855
57382
  /**
@@ -55915,6 +57442,14 @@ const vertexvis = $root.vertexvis = (() => {
55915
57442
  */
55916
57443
  StreamResponse.prototype.endInteraction = null;
55917
57444
 
57445
+ /**
57446
+ * StreamResponse gracefulReconnection.
57447
+ * @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
57448
+ * @memberof vertexvis.protobuf.stream.StreamResponse
57449
+ * @instance
57450
+ */
57451
+ StreamResponse.prototype.gracefulReconnection = null;
57452
+
55918
57453
  /**
55919
57454
  * StreamResponse reconnect.
55920
57455
  * @member {vertexvis.protobuf.stream.IReconnectResult|null|undefined} reconnect
@@ -56019,17 +57554,25 @@ const vertexvis = $root.vertexvis = (() => {
56019
57554
  */
56020
57555
  StreamResponse.prototype.refreshToken = null;
56021
57556
 
57557
+ /**
57558
+ * StreamResponse updateInteraction.
57559
+ * @member {vertexvis.protobuf.stream.IUpdateInteractionResult|null|undefined} updateInteraction
57560
+ * @memberof vertexvis.protobuf.stream.StreamResponse
57561
+ * @instance
57562
+ */
57563
+ StreamResponse.prototype.updateInteraction = null;
57564
+
56022
57565
  // OneOf field names bound to virtual getters and setters
56023
57566
  let $oneOfFields;
56024
57567
 
56025
57568
  /**
56026
57569
  * StreamResponse result.
56027
- * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|undefined} result
57570
+ * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
56028
57571
  * @memberof vertexvis.protobuf.stream.StreamResponse
56029
57572
  * @instance
56030
57573
  */
56031
57574
  Object.defineProperty(StreamResponse.prototype, "result", {
56032
- get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken"]),
57575
+ get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
56033
57576
  set: $util.oneOfSetter($oneOfFields)
56034
57577
  });
56035
57578
 
@@ -56095,6 +57638,10 @@ const vertexvis = $root.vertexvis = (() => {
56095
57638
  $root.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
56096
57639
  if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
56097
57640
  $root.vertexvis.protobuf.stream.RefreshTokenResult.encode(message.refreshToken, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
57641
+ if (message.gracefulReconnection != null && Object.hasOwnProperty.call(message, "gracefulReconnection"))
57642
+ $root.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
57643
+ if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
57644
+ $root.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
56098
57645
  return writer;
56099
57646
  };
56100
57647
 
@@ -56147,6 +57694,9 @@ const vertexvis = $root.vertexvis = (() => {
56147
57694
  case 6:
56148
57695
  message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.decode(reader, reader.uint32());
56149
57696
  break;
57697
+ case 20:
57698
+ message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.decode(reader, reader.uint32());
57699
+ break;
56150
57700
  case 7:
56151
57701
  message.reconnect = $root.vertexvis.protobuf.stream.ReconnectResult.decode(reader, reader.uint32());
56152
57702
  break;
@@ -56186,6 +57736,9 @@ const vertexvis = $root.vertexvis = (() => {
56186
57736
  case 19:
56187
57737
  message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.decode(reader, reader.uint32());
56188
57738
  break;
57739
+ case 21:
57740
+ message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
57741
+ break;
56189
57742
  default:
56190
57743
  reader.skipType(tag & 7);
56191
57744
  break;
@@ -56270,6 +57823,16 @@ const vertexvis = $root.vertexvis = (() => {
56270
57823
  return "endInteraction." + error;
56271
57824
  }
56272
57825
  }
57826
+ if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
57827
+ if (properties.result === 1)
57828
+ return "result: multiple values";
57829
+ properties.result = 1;
57830
+ {
57831
+ let error = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.verify(message.gracefulReconnection);
57832
+ if (error)
57833
+ return "gracefulReconnection." + error;
57834
+ }
57835
+ }
56273
57836
  if (message.reconnect != null && message.hasOwnProperty("reconnect")) {
56274
57837
  if (properties.result === 1)
56275
57838
  return "result: multiple values";
@@ -56400,6 +57963,16 @@ const vertexvis = $root.vertexvis = (() => {
56400
57963
  return "refreshToken." + error;
56401
57964
  }
56402
57965
  }
57966
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
57967
+ if (properties.result === 1)
57968
+ return "result: multiple values";
57969
+ properties.result = 1;
57970
+ {
57971
+ let error = $root.vertexvis.protobuf.stream.UpdateInteractionResult.verify(message.updateInteraction);
57972
+ if (error)
57973
+ return "updateInteraction." + error;
57974
+ }
57975
+ }
56403
57976
  return null;
56404
57977
  };
56405
57978
 
@@ -56445,6 +58018,11 @@ const vertexvis = $root.vertexvis = (() => {
56445
58018
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.endInteraction: object expected");
56446
58019
  message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.fromObject(object.endInteraction);
56447
58020
  }
58021
+ if (object.gracefulReconnection != null) {
58022
+ if (typeof object.gracefulReconnection !== "object")
58023
+ throw TypeError(".vertexvis.protobuf.stream.StreamResponse.gracefulReconnection: object expected");
58024
+ message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.fromObject(object.gracefulReconnection);
58025
+ }
56448
58026
  if (object.reconnect != null) {
56449
58027
  if (typeof object.reconnect !== "object")
56450
58028
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.reconnect: object expected");
@@ -56510,6 +58088,11 @@ const vertexvis = $root.vertexvis = (() => {
56510
58088
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.refreshToken: object expected");
56511
58089
  message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.fromObject(object.refreshToken);
56512
58090
  }
58091
+ if (object.updateInteraction != null) {
58092
+ if (typeof object.updateInteraction !== "object")
58093
+ throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
58094
+ message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
58095
+ }
56513
58096
  return message;
56514
58097
  };
56515
58098
 
@@ -56619,6 +58202,16 @@ const vertexvis = $root.vertexvis = (() => {
56619
58202
  if (options.oneofs)
56620
58203
  object.result = "refreshToken";
56621
58204
  }
58205
+ if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
58206
+ object.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.toObject(message.gracefulReconnection, options);
58207
+ if (options.oneofs)
58208
+ object.result = "gracefulReconnection";
58209
+ }
58210
+ if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
58211
+ object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.toObject(message.updateInteraction, options);
58212
+ if (options.oneofs)
58213
+ object.result = "updateInteraction";
58214
+ }
56622
58215
  return object;
56623
58216
  };
56624
58217
 
@@ -57503,6 +59096,166 @@ const vertexvis = $root.vertexvis = (() => {
57503
59096
  return BeginInteractionResult;
57504
59097
  })();
57505
59098
 
59099
+ stream.UpdateInteractionResult = (function() {
59100
+
59101
+ /**
59102
+ * Properties of an UpdateInteractionResult.
59103
+ * @memberof vertexvis.protobuf.stream
59104
+ * @interface IUpdateInteractionResult
59105
+ */
59106
+
59107
+ /**
59108
+ * Constructs a new UpdateInteractionResult.
59109
+ * @memberof vertexvis.protobuf.stream
59110
+ * @classdesc Represents an UpdateInteractionResult.
59111
+ * @implements IUpdateInteractionResult
59112
+ * @constructor
59113
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
59114
+ */
59115
+ function UpdateInteractionResult(properties) {
59116
+ if (properties)
59117
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
59118
+ if (properties[keys[i]] != null)
59119
+ this[keys[i]] = properties[keys[i]];
59120
+ }
59121
+
59122
+ /**
59123
+ * Creates a new UpdateInteractionResult instance using the specified properties.
59124
+ * @function create
59125
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59126
+ * @static
59127
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
59128
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult instance
59129
+ */
59130
+ UpdateInteractionResult.create = function create(properties) {
59131
+ return new UpdateInteractionResult(properties);
59132
+ };
59133
+
59134
+ /**
59135
+ * Encodes the specified UpdateInteractionResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
59136
+ * @function encode
59137
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59138
+ * @static
59139
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
59140
+ * @param {$protobuf.Writer} [writer] Writer to encode to
59141
+ * @returns {$protobuf.Writer} Writer
59142
+ */
59143
+ UpdateInteractionResult.encode = function encode(message, writer) {
59144
+ if (!writer)
59145
+ writer = $Writer.create();
59146
+ return writer;
59147
+ };
59148
+
59149
+ /**
59150
+ * Encodes the specified UpdateInteractionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
59151
+ * @function encodeDelimited
59152
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59153
+ * @static
59154
+ * @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
59155
+ * @param {$protobuf.Writer} [writer] Writer to encode to
59156
+ * @returns {$protobuf.Writer} Writer
59157
+ */
59158
+ UpdateInteractionResult.encodeDelimited = function encodeDelimited(message, writer) {
59159
+ return this.encode(message, writer).ldelim();
59160
+ };
59161
+
59162
+ /**
59163
+ * Decodes an UpdateInteractionResult message from the specified reader or buffer.
59164
+ * @function decode
59165
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59166
+ * @static
59167
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
59168
+ * @param {number} [length] Message length if known beforehand
59169
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
59170
+ * @throws {Error} If the payload is not a reader or valid buffer
59171
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
59172
+ */
59173
+ UpdateInteractionResult.decode = function decode(reader, length) {
59174
+ if (!(reader instanceof $Reader))
59175
+ reader = $Reader.create(reader);
59176
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
59177
+ while (reader.pos < end) {
59178
+ let tag = reader.uint32();
59179
+ switch (tag >>> 3) {
59180
+ default:
59181
+ reader.skipType(tag & 7);
59182
+ break;
59183
+ }
59184
+ }
59185
+ return message;
59186
+ };
59187
+
59188
+ /**
59189
+ * Decodes an UpdateInteractionResult message from the specified reader or buffer, length delimited.
59190
+ * @function decodeDelimited
59191
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59192
+ * @static
59193
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
59194
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
59195
+ * @throws {Error} If the payload is not a reader or valid buffer
59196
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
59197
+ */
59198
+ UpdateInteractionResult.decodeDelimited = function decodeDelimited(reader) {
59199
+ if (!(reader instanceof $Reader))
59200
+ reader = new $Reader(reader);
59201
+ return this.decode(reader, reader.uint32());
59202
+ };
59203
+
59204
+ /**
59205
+ * Verifies an UpdateInteractionResult message.
59206
+ * @function verify
59207
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59208
+ * @static
59209
+ * @param {Object.<string,*>} message Plain object to verify
59210
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
59211
+ */
59212
+ UpdateInteractionResult.verify = function verify(message) {
59213
+ if (typeof message !== "object" || message === null)
59214
+ return "object expected";
59215
+ return null;
59216
+ };
59217
+
59218
+ /**
59219
+ * Creates an UpdateInteractionResult message from a plain object. Also converts values to their respective internal types.
59220
+ * @function fromObject
59221
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59222
+ * @static
59223
+ * @param {Object.<string,*>} object Plain object
59224
+ * @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
59225
+ */
59226
+ UpdateInteractionResult.fromObject = function fromObject(object) {
59227
+ if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionResult)
59228
+ return object;
59229
+ return new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
59230
+ };
59231
+
59232
+ /**
59233
+ * Creates a plain object from an UpdateInteractionResult message. Also converts values to other types if specified.
59234
+ * @function toObject
59235
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59236
+ * @static
59237
+ * @param {vertexvis.protobuf.stream.UpdateInteractionResult} message UpdateInteractionResult
59238
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
59239
+ * @returns {Object.<string,*>} Plain object
59240
+ */
59241
+ UpdateInteractionResult.toObject = function toObject() {
59242
+ return {};
59243
+ };
59244
+
59245
+ /**
59246
+ * Converts this UpdateInteractionResult to JSON.
59247
+ * @function toJSON
59248
+ * @memberof vertexvis.protobuf.stream.UpdateInteractionResult
59249
+ * @instance
59250
+ * @returns {Object.<string,*>} JSON object
59251
+ */
59252
+ UpdateInteractionResult.prototype.toJSON = function toJSON() {
59253
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
59254
+ };
59255
+
59256
+ return UpdateInteractionResult;
59257
+ })();
59258
+
57506
59259
  stream.EndInteractionResult = (function() {
57507
59260
 
57508
59261
  /**
@@ -60338,6 +62091,166 @@ const vertexvis = $root.vertexvis = (() => {
60338
62091
  return UpdateCrossSectioningResult;
60339
62092
  })();
60340
62093
 
62094
+ stream.GracefulReconnectionResult = (function() {
62095
+
62096
+ /**
62097
+ * Properties of a GracefulReconnectionResult.
62098
+ * @memberof vertexvis.protobuf.stream
62099
+ * @interface IGracefulReconnectionResult
62100
+ */
62101
+
62102
+ /**
62103
+ * Constructs a new GracefulReconnectionResult.
62104
+ * @memberof vertexvis.protobuf.stream
62105
+ * @classdesc Represents a GracefulReconnectionResult.
62106
+ * @implements IGracefulReconnectionResult
62107
+ * @constructor
62108
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
62109
+ */
62110
+ function GracefulReconnectionResult(properties) {
62111
+ if (properties)
62112
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
62113
+ if (properties[keys[i]] != null)
62114
+ this[keys[i]] = properties[keys[i]];
62115
+ }
62116
+
62117
+ /**
62118
+ * Creates a new GracefulReconnectionResult instance using the specified properties.
62119
+ * @function create
62120
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62121
+ * @static
62122
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
62123
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult instance
62124
+ */
62125
+ GracefulReconnectionResult.create = function create(properties) {
62126
+ return new GracefulReconnectionResult(properties);
62127
+ };
62128
+
62129
+ /**
62130
+ * Encodes the specified GracefulReconnectionResult message. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
62131
+ * @function encode
62132
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62133
+ * @static
62134
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
62135
+ * @param {$protobuf.Writer} [writer] Writer to encode to
62136
+ * @returns {$protobuf.Writer} Writer
62137
+ */
62138
+ GracefulReconnectionResult.encode = function encode(message, writer) {
62139
+ if (!writer)
62140
+ writer = $Writer.create();
62141
+ return writer;
62142
+ };
62143
+
62144
+ /**
62145
+ * Encodes the specified GracefulReconnectionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
62146
+ * @function encodeDelimited
62147
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62148
+ * @static
62149
+ * @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
62150
+ * @param {$protobuf.Writer} [writer] Writer to encode to
62151
+ * @returns {$protobuf.Writer} Writer
62152
+ */
62153
+ GracefulReconnectionResult.encodeDelimited = function encodeDelimited(message, writer) {
62154
+ return this.encode(message, writer).ldelim();
62155
+ };
62156
+
62157
+ /**
62158
+ * Decodes a GracefulReconnectionResult message from the specified reader or buffer.
62159
+ * @function decode
62160
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62161
+ * @static
62162
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
62163
+ * @param {number} [length] Message length if known beforehand
62164
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
62165
+ * @throws {Error} If the payload is not a reader or valid buffer
62166
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
62167
+ */
62168
+ GracefulReconnectionResult.decode = function decode(reader, length) {
62169
+ if (!(reader instanceof $Reader))
62170
+ reader = $Reader.create(reader);
62171
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
62172
+ while (reader.pos < end) {
62173
+ let tag = reader.uint32();
62174
+ switch (tag >>> 3) {
62175
+ default:
62176
+ reader.skipType(tag & 7);
62177
+ break;
62178
+ }
62179
+ }
62180
+ return message;
62181
+ };
62182
+
62183
+ /**
62184
+ * Decodes a GracefulReconnectionResult message from the specified reader or buffer, length delimited.
62185
+ * @function decodeDelimited
62186
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62187
+ * @static
62188
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
62189
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
62190
+ * @throws {Error} If the payload is not a reader or valid buffer
62191
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
62192
+ */
62193
+ GracefulReconnectionResult.decodeDelimited = function decodeDelimited(reader) {
62194
+ if (!(reader instanceof $Reader))
62195
+ reader = new $Reader(reader);
62196
+ return this.decode(reader, reader.uint32());
62197
+ };
62198
+
62199
+ /**
62200
+ * Verifies a GracefulReconnectionResult message.
62201
+ * @function verify
62202
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62203
+ * @static
62204
+ * @param {Object.<string,*>} message Plain object to verify
62205
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
62206
+ */
62207
+ GracefulReconnectionResult.verify = function verify(message) {
62208
+ if (typeof message !== "object" || message === null)
62209
+ return "object expected";
62210
+ return null;
62211
+ };
62212
+
62213
+ /**
62214
+ * Creates a GracefulReconnectionResult message from a plain object. Also converts values to their respective internal types.
62215
+ * @function fromObject
62216
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62217
+ * @static
62218
+ * @param {Object.<string,*>} object Plain object
62219
+ * @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
62220
+ */
62221
+ GracefulReconnectionResult.fromObject = function fromObject(object) {
62222
+ if (object instanceof $root.vertexvis.protobuf.stream.GracefulReconnectionResult)
62223
+ return object;
62224
+ return new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
62225
+ };
62226
+
62227
+ /**
62228
+ * Creates a plain object from a GracefulReconnectionResult message. Also converts values to other types if specified.
62229
+ * @function toObject
62230
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62231
+ * @static
62232
+ * @param {vertexvis.protobuf.stream.GracefulReconnectionResult} message GracefulReconnectionResult
62233
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
62234
+ * @returns {Object.<string,*>} Plain object
62235
+ */
62236
+ GracefulReconnectionResult.toObject = function toObject() {
62237
+ return {};
62238
+ };
62239
+
62240
+ /**
62241
+ * Converts this GracefulReconnectionResult to JSON.
62242
+ * @function toJSON
62243
+ * @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
62244
+ * @instance
62245
+ * @returns {Object.<string,*>} JSON object
62246
+ */
62247
+ GracefulReconnectionResult.prototype.toJSON = function toJSON() {
62248
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
62249
+ };
62250
+
62251
+ return GracefulReconnectionResult;
62252
+ })();
62253
+
60341
62254
  return stream;
60342
62255
  })();
60343
62256
 
@@ -71675,12 +73588,14 @@ const toPbFeatureHighlight = mapper.defineMapper(mapper.read(mapper.ifDefined(ma
71675
73588
  occludedOpacity,
71676
73589
  outline,
71677
73590
  }));
71678
- const toPbStreamAttributes = mapper.defineMapper(mapper.read(mapper.mapProp('depthBuffers', toPbFrameType), mapper.mapProp('experimentalGhosting', toPbExperimentalGhosting), mapper.mapProp('featureLines', toPbFeatureLines), mapper.mapProp('featureHighlighting', toPbFeatureHighlight), mapper.mapProp('featureMaps', toPbFrameType)), ([db, eg, fl, fh, fm]) => ({
73591
+ const toPbNoDefaultLights = mapper.defineMapper((noDefaultLights) => !!noDefaultLights, (attr) => attr);
73592
+ const toPbStreamAttributes = mapper.defineMapper(mapper.read(mapper.mapProp('depthBuffers', toPbFrameType), mapper.mapProp('experimentalGhosting', toPbExperimentalGhosting), mapper.mapProp('noDefaultLights', toPbNoDefaultLights), mapper.mapProp('featureLines', toPbFeatureLines), mapper.mapProp('featureHighlighting', toPbFeatureHighlight), mapper.mapProp('featureMaps', toPbFrameType)), ([db, eg, ndl, fl, fh, fm]) => ({
71679
73593
  depthBuffers: db,
71680
73594
  experimentalGhosting: eg,
73595
+ noDefaultLights: ndl,
71681
73596
  featureLines: fl,
71682
73597
  featureHighlighting: fh,
71683
73598
  featureMaps: fm,
71684
73599
  }));
71685
73600
 
71686
- export { AngleUnits as A, fromPbRefreshTokenResponseOrThrow as B, toOrthographic as C, DistanceUnits as D, EntityType as E, FrameCameraBase as F, toPerspective as G, StandardView as H, Orientation as O, StreamApi as S, WebSocketClientImpl as W, Frame as a, FrameImage as b, FrameScene as c, FrameOrthographicCamera as d, FramePerspectiveCamera as e, AreaUnits as f, toProtobuf as g, constrainViewVector as h, fromBoundingBoxAndLookAtCamera as i, fromPbVector3f as j, fromPbPlane as k, fromPbStencilBufferOrThrow as l, decodePng as m, DepthBuffer as n, toPbStreamAttributes as o, protoToDate as p, toPbRGBi as q, StreamRequestError as r, fromPbFrameOrThrow as s, toProtoDuration as t, fromPbStartStreamResponseOrThrow as u, vertexvis as v, withPositionAndViewVector as w, fromPbReconnectResponseOrThrow as x, fromPbSyncTimeResponseOrThrow as y, currentDateAsProtoTimestamp as z };
73601
+ export { AngleUnits as A, fromPbRefreshTokenResponseOrThrow as B, toOrthographic as C, DistanceUnits as D, toPerspective as E, FrameCameraBase as F, StandardView as G, Orientation as O, StreamApi as S, WebSocketClientImpl as W, Frame as a, FrameImage as b, FrameScene as c, FrameOrthographicCamera as d, FramePerspectiveCamera as e, AreaUnits as f, toProtobuf as g, constrainViewVector as h, fromBoundingBoxAndLookAtCamera as i, fromPbVector3f as j, fromPbPlane as k, fromPbStencilBufferOrThrow as l, decodePng as m, DepthBuffer as n, toPbStreamAttributes as o, protoToDate as p, toPbRGBi as q, StreamRequestError as r, fromPbFrameOrThrow as s, toProtoDuration as t, fromPbStartStreamResponseOrThrow as u, vertexvis as v, withPositionAndViewVector as w, fromPbReconnectResponseOrThrow as x, fromPbSyncTimeResponseOrThrow as y, currentDateAsProtoTimestamp as z };