@itwin/core-frontend 3.2.0-dev.34 → 3.2.0-dev.37

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 (760) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/lib/cjs/AccuDraw.d.ts +2 -0
  3. package/lib/cjs/AccuDraw.d.ts.map +1 -1
  4. package/lib/cjs/AccuDraw.js +2 -0
  5. package/lib/cjs/AccuDraw.js.map +1 -1
  6. package/lib/cjs/AccuSnap.d.ts +1 -0
  7. package/lib/cjs/AccuSnap.d.ts.map +1 -1
  8. package/lib/cjs/AccuSnap.js +1 -0
  9. package/lib/cjs/AccuSnap.js.map +1 -1
  10. package/lib/cjs/ApproximateTerrainHeights.d.ts.map +1 -1
  11. package/lib/cjs/ApproximateTerrainHeights.js +4 -2
  12. package/lib/cjs/ApproximateTerrainHeights.js.map +1 -1
  13. package/lib/cjs/ApproximateTerrainHeightsProps.d.ts +1 -1
  14. package/lib/cjs/ApproximateTerrainHeightsProps.d.ts.map +1 -1
  15. package/lib/cjs/ApproximateTerrainHeightsProps.js +2 -2
  16. package/lib/cjs/ApproximateTerrainHeightsProps.js.map +1 -1
  17. package/lib/cjs/AuxCoordSys.d.ts +12 -2
  18. package/lib/cjs/AuxCoordSys.d.ts.map +1 -1
  19. package/lib/cjs/AuxCoordSys.js +12 -2
  20. package/lib/cjs/AuxCoordSys.js.map +1 -1
  21. package/lib/cjs/BingLocation.d.ts +1 -0
  22. package/lib/cjs/BingLocation.d.ts.map +1 -1
  23. package/lib/cjs/BingLocation.js +1 -0
  24. package/lib/cjs/BingLocation.js.map +1 -1
  25. package/lib/cjs/CategorySelectorState.d.ts +1 -0
  26. package/lib/cjs/CategorySelectorState.d.ts.map +1 -1
  27. package/lib/cjs/CategorySelectorState.js +1 -0
  28. package/lib/cjs/CategorySelectorState.js.map +1 -1
  29. package/lib/cjs/ChangeFlags.d.ts +1 -0
  30. package/lib/cjs/ChangeFlags.d.ts.map +1 -1
  31. package/lib/cjs/ChangeFlags.js +1 -0
  32. package/lib/cjs/ChangeFlags.js.map +1 -1
  33. package/lib/cjs/ContextRealityModelState.d.ts +1 -0
  34. package/lib/cjs/ContextRealityModelState.d.ts.map +1 -1
  35. package/lib/cjs/ContextRealityModelState.js +1 -0
  36. package/lib/cjs/ContextRealityModelState.js.map +1 -1
  37. package/lib/cjs/CoordSystem.d.ts +1 -0
  38. package/lib/cjs/CoordSystem.d.ts.map +1 -1
  39. package/lib/cjs/CoordSystem.js +1 -0
  40. package/lib/cjs/CoordSystem.js.map +1 -1
  41. package/lib/cjs/DisplayStyleState.d.ts +4 -0
  42. package/lib/cjs/DisplayStyleState.d.ts.map +1 -1
  43. package/lib/cjs/DisplayStyleState.js +3 -0
  44. package/lib/cjs/DisplayStyleState.js.map +1 -1
  45. package/lib/cjs/DrawingViewState.d.ts +1 -0
  46. package/lib/cjs/DrawingViewState.d.ts.map +1 -1
  47. package/lib/cjs/DrawingViewState.js +1 -0
  48. package/lib/cjs/DrawingViewState.js.map +1 -1
  49. package/lib/cjs/ElementLocateManager.d.ts +23 -5
  50. package/lib/cjs/ElementLocateManager.d.ts.map +1 -1
  51. package/lib/cjs/ElementLocateManager.js +19 -4
  52. package/lib/cjs/ElementLocateManager.js.map +1 -1
  53. package/lib/cjs/EmphasizeElements.d.ts +1 -0
  54. package/lib/cjs/EmphasizeElements.d.ts.map +1 -1
  55. package/lib/cjs/EmphasizeElements.js +1 -0
  56. package/lib/cjs/EmphasizeElements.js.map +1 -1
  57. package/lib/cjs/EntityState.d.ts +2 -0
  58. package/lib/cjs/EntityState.d.ts.map +1 -1
  59. package/lib/cjs/EntityState.js +2 -0
  60. package/lib/cjs/EntityState.js.map +1 -1
  61. package/lib/cjs/FeatureOverrideProvider.d.ts +1 -0
  62. package/lib/cjs/FeatureOverrideProvider.d.ts.map +1 -1
  63. package/lib/cjs/FeatureOverrideProvider.js.map +1 -1
  64. package/lib/cjs/FlashSettings.d.ts +3 -0
  65. package/lib/cjs/FlashSettings.d.ts.map +1 -1
  66. package/lib/cjs/FlashSettings.js +2 -0
  67. package/lib/cjs/FlashSettings.js.map +1 -1
  68. package/lib/cjs/FrontendHubAccess.d.ts +4 -1
  69. package/lib/cjs/FrontendHubAccess.d.ts.map +1 -1
  70. package/lib/cjs/FrontendHubAccess.js.map +1 -1
  71. package/lib/cjs/FrontendLoggerCategory.d.ts +1 -0
  72. package/lib/cjs/FrontendLoggerCategory.d.ts.map +1 -1
  73. package/lib/cjs/FrontendLoggerCategory.js +1 -0
  74. package/lib/cjs/FrontendLoggerCategory.js.map +1 -1
  75. package/lib/cjs/FrustumAnimator.d.ts +1 -0
  76. package/lib/cjs/FrustumAnimator.d.ts.map +1 -1
  77. package/lib/cjs/FrustumAnimator.js +1 -0
  78. package/lib/cjs/FrustumAnimator.js.map +1 -1
  79. package/lib/cjs/FuzzySearch.d.ts +1 -0
  80. package/lib/cjs/FuzzySearch.d.ts.map +1 -1
  81. package/lib/cjs/FuzzySearch.js.map +1 -1
  82. package/lib/cjs/GlobeAnimator.d.ts +1 -0
  83. package/lib/cjs/GlobeAnimator.d.ts.map +1 -1
  84. package/lib/cjs/GlobeAnimator.js +1 -0
  85. package/lib/cjs/GlobeAnimator.js.map +1 -1
  86. package/lib/cjs/HitDetail.d.ts +26 -5
  87. package/lib/cjs/HitDetail.d.ts.map +1 -1
  88. package/lib/cjs/HitDetail.js +26 -5
  89. package/lib/cjs/HitDetail.js.map +1 -1
  90. package/lib/cjs/IModelApp.d.ts +7 -0
  91. package/lib/cjs/IModelApp.d.ts.map +1 -1
  92. package/lib/cjs/IModelApp.js +32 -20
  93. package/lib/cjs/IModelApp.js.map +1 -1
  94. package/lib/cjs/IModelConnection.d.ts +1 -0
  95. package/lib/cjs/IModelConnection.d.ts.map +1 -1
  96. package/lib/cjs/IModelConnection.js +1 -0
  97. package/lib/cjs/IModelConnection.js.map +1 -1
  98. package/lib/cjs/ImageUtil.d.ts +11 -0
  99. package/lib/cjs/ImageUtil.d.ts.map +1 -1
  100. package/lib/cjs/ImageUtil.js +11 -0
  101. package/lib/cjs/ImageUtil.js.map +1 -1
  102. package/lib/cjs/IpcApp.d.ts +1 -0
  103. package/lib/cjs/IpcApp.d.ts.map +1 -1
  104. package/lib/cjs/IpcApp.js +1 -0
  105. package/lib/cjs/IpcApp.js.map +1 -1
  106. package/lib/cjs/MarginPercent.d.ts +1 -0
  107. package/lib/cjs/MarginPercent.d.ts.map +1 -1
  108. package/lib/cjs/MarginPercent.js +1 -0
  109. package/lib/cjs/MarginPercent.js.map +1 -1
  110. package/lib/cjs/Marker.d.ts +16 -3
  111. package/lib/cjs/Marker.d.ts.map +1 -1
  112. package/lib/cjs/Marker.js +3 -0
  113. package/lib/cjs/Marker.js.map +1 -1
  114. package/lib/cjs/ModelSelectorState.d.ts +1 -0
  115. package/lib/cjs/ModelSelectorState.d.ts.map +1 -1
  116. package/lib/cjs/ModelSelectorState.js +1 -0
  117. package/lib/cjs/ModelSelectorState.js.map +1 -1
  118. package/lib/cjs/ModelState.d.ts +10 -0
  119. package/lib/cjs/ModelState.d.ts.map +1 -1
  120. package/lib/cjs/ModelState.js +10 -0
  121. package/lib/cjs/ModelState.js.map +1 -1
  122. package/lib/cjs/NotificationManager.d.ts +11 -0
  123. package/lib/cjs/NotificationManager.d.ts.map +1 -1
  124. package/lib/cjs/NotificationManager.js +10 -0
  125. package/lib/cjs/NotificationManager.js.map +1 -1
  126. package/lib/cjs/PerModelCategoryVisibility.d.ts +1 -0
  127. package/lib/cjs/PerModelCategoryVisibility.d.ts.map +1 -1
  128. package/lib/cjs/PerModelCategoryVisibility.js +1 -0
  129. package/lib/cjs/PerModelCategoryVisibility.js.map +1 -1
  130. package/lib/cjs/SelectionSet.d.ts +7 -0
  131. package/lib/cjs/SelectionSet.d.ts.map +1 -1
  132. package/lib/cjs/SelectionSet.js +3 -0
  133. package/lib/cjs/SelectionSet.js.map +1 -1
  134. package/lib/cjs/SheetViewState.d.ts +1 -0
  135. package/lib/cjs/SheetViewState.d.ts.map +1 -1
  136. package/lib/cjs/SheetViewState.js +1 -0
  137. package/lib/cjs/SheetViewState.js.map +1 -1
  138. package/lib/cjs/SpatialViewState.d.ts +2 -0
  139. package/lib/cjs/SpatialViewState.d.ts.map +1 -1
  140. package/lib/cjs/SpatialViewState.js +2 -0
  141. package/lib/cjs/SpatialViewState.js.map +1 -1
  142. package/lib/cjs/Sprites.d.ts +3 -0
  143. package/lib/cjs/Sprites.d.ts.map +1 -1
  144. package/lib/cjs/Sprites.js +3 -0
  145. package/lib/cjs/Sprites.js.map +1 -1
  146. package/lib/cjs/StandardView.d.ts +1 -0
  147. package/lib/cjs/StandardView.d.ts.map +1 -1
  148. package/lib/cjs/StandardView.js +1 -0
  149. package/lib/cjs/StandardView.js.map +1 -1
  150. package/lib/cjs/TentativePoint.d.ts +4 -1
  151. package/lib/cjs/TentativePoint.d.ts.map +1 -1
  152. package/lib/cjs/TentativePoint.js +4 -1
  153. package/lib/cjs/TentativePoint.js.map +1 -1
  154. package/lib/cjs/Tiles.d.ts +1 -0
  155. package/lib/cjs/Tiles.d.ts.map +1 -1
  156. package/lib/cjs/Tiles.js +1 -0
  157. package/lib/cjs/Tiles.js.map +1 -1
  158. package/lib/cjs/ViewAnimation.d.ts +6 -0
  159. package/lib/cjs/ViewAnimation.d.ts.map +1 -1
  160. package/lib/cjs/ViewAnimation.js.map +1 -1
  161. package/lib/cjs/ViewCreator2d.d.ts +2 -0
  162. package/lib/cjs/ViewCreator2d.d.ts.map +1 -1
  163. package/lib/cjs/ViewCreator2d.js +1 -0
  164. package/lib/cjs/ViewCreator2d.js.map +1 -1
  165. package/lib/cjs/ViewCreator3d.d.ts +2 -0
  166. package/lib/cjs/ViewCreator3d.d.ts.map +1 -1
  167. package/lib/cjs/ViewCreator3d.js +1 -0
  168. package/lib/cjs/ViewCreator3d.js.map +1 -1
  169. package/lib/cjs/ViewGlobalLocation.d.ts +3 -0
  170. package/lib/cjs/ViewGlobalLocation.d.ts.map +1 -1
  171. package/lib/cjs/ViewGlobalLocation.js +1 -0
  172. package/lib/cjs/ViewGlobalLocation.js.map +1 -1
  173. package/lib/cjs/ViewManager.d.ts +3 -0
  174. package/lib/cjs/ViewManager.d.ts.map +1 -1
  175. package/lib/cjs/ViewManager.js +1 -0
  176. package/lib/cjs/ViewManager.js.map +1 -1
  177. package/lib/cjs/ViewPose.d.ts +1 -0
  178. package/lib/cjs/ViewPose.d.ts.map +1 -1
  179. package/lib/cjs/ViewPose.js +1 -0
  180. package/lib/cjs/ViewPose.js.map +1 -1
  181. package/lib/cjs/ViewRect.d.ts +1 -0
  182. package/lib/cjs/ViewRect.d.ts.map +1 -1
  183. package/lib/cjs/ViewRect.js +1 -0
  184. package/lib/cjs/ViewRect.js.map +1 -1
  185. package/lib/cjs/ViewState.d.ts +4 -0
  186. package/lib/cjs/ViewState.d.ts.map +1 -1
  187. package/lib/cjs/ViewState.js +3 -0
  188. package/lib/cjs/ViewState.js.map +1 -1
  189. package/lib/cjs/ViewStatus.d.ts +1 -0
  190. package/lib/cjs/ViewStatus.d.ts.map +1 -1
  191. package/lib/cjs/ViewStatus.js +1 -0
  192. package/lib/cjs/ViewStatus.js.map +1 -1
  193. package/lib/cjs/ViewingSpace.d.ts +1 -0
  194. package/lib/cjs/ViewingSpace.d.ts.map +1 -1
  195. package/lib/cjs/ViewingSpace.js +1 -0
  196. package/lib/cjs/ViewingSpace.js.map +1 -1
  197. package/lib/cjs/core-frontend.d.ts +6 -5
  198. package/lib/cjs/core-frontend.d.ts.map +1 -1
  199. package/lib/cjs/core-frontend.js +7 -5
  200. package/lib/cjs/core-frontend.js.map +1 -1
  201. package/lib/cjs/extension/Extension.d.ts +22 -3
  202. package/lib/cjs/extension/Extension.d.ts.map +1 -1
  203. package/lib/cjs/extension/Extension.js +0 -8
  204. package/lib/cjs/extension/Extension.js.map +1 -1
  205. package/lib/cjs/extension/ExtensionAdmin.d.ts +1 -3
  206. package/lib/cjs/extension/ExtensionAdmin.d.ts.map +1 -1
  207. package/lib/cjs/extension/ExtensionAdmin.js +1 -4
  208. package/lib/cjs/extension/ExtensionAdmin.js.map +1 -1
  209. package/lib/cjs/extension/ExtensionRuntime.js +231 -59
  210. package/lib/cjs/extension/ExtensionRuntime.js.map +1 -1
  211. package/lib/cjs/render/CanvasDecoration.d.ts +2 -0
  212. package/lib/cjs/render/CanvasDecoration.d.ts.map +1 -1
  213. package/lib/cjs/render/CanvasDecoration.js.map +1 -1
  214. package/lib/cjs/render/Decorations.d.ts +1 -0
  215. package/lib/cjs/render/Decorations.d.ts.map +1 -1
  216. package/lib/cjs/render/Decorations.js +1 -0
  217. package/lib/cjs/render/Decorations.js.map +1 -1
  218. package/lib/cjs/render/FeatureSymbology.d.ts +1 -0
  219. package/lib/cjs/render/FeatureSymbology.d.ts.map +1 -1
  220. package/lib/cjs/render/FeatureSymbology.js +1 -0
  221. package/lib/cjs/render/FeatureSymbology.js.map +1 -1
  222. package/lib/cjs/render/GraphicBranch.d.ts +2 -0
  223. package/lib/cjs/render/GraphicBranch.d.ts.map +1 -1
  224. package/lib/cjs/render/GraphicBranch.js +1 -0
  225. package/lib/cjs/render/GraphicBranch.js.map +1 -1
  226. package/lib/cjs/render/GraphicBuilder.d.ts +8 -0
  227. package/lib/cjs/render/GraphicBuilder.d.ts.map +1 -1
  228. package/lib/cjs/render/GraphicBuilder.js +2 -0
  229. package/lib/cjs/render/GraphicBuilder.js.map +1 -1
  230. package/lib/cjs/render/GraphicPrimitive.d.ts +14 -0
  231. package/lib/cjs/render/GraphicPrimitive.d.ts.map +1 -1
  232. package/lib/cjs/render/GraphicPrimitive.js.map +1 -1
  233. package/lib/cjs/render/ParticleCollectionBuilder.d.ts +3 -0
  234. package/lib/cjs/render/ParticleCollectionBuilder.d.ts.map +1 -1
  235. package/lib/cjs/render/ParticleCollectionBuilder.js.map +1 -1
  236. package/lib/cjs/render/Pixel.d.ts +1 -0
  237. package/lib/cjs/render/Pixel.d.ts.map +1 -1
  238. package/lib/cjs/render/Pixel.js +1 -0
  239. package/lib/cjs/render/Pixel.js.map +1 -1
  240. package/lib/cjs/render/RenderClipVolume.d.ts +1 -0
  241. package/lib/cjs/render/RenderClipVolume.d.ts.map +1 -1
  242. package/lib/cjs/render/RenderClipVolume.js +1 -0
  243. package/lib/cjs/render/RenderClipVolume.js.map +1 -1
  244. package/lib/cjs/render/RenderGraphic.d.ts +3 -0
  245. package/lib/cjs/render/RenderGraphic.d.ts.map +1 -1
  246. package/lib/cjs/render/RenderGraphic.js +2 -0
  247. package/lib/cjs/render/RenderGraphic.js.map +1 -1
  248. package/lib/cjs/render/RenderSystem.d.ts +1 -0
  249. package/lib/cjs/render/RenderSystem.d.ts.map +1 -1
  250. package/lib/cjs/render/RenderSystem.js +1 -0
  251. package/lib/cjs/render/RenderSystem.js.map +1 -1
  252. package/lib/cjs/render/RenderTexture.d.ts +7 -0
  253. package/lib/cjs/render/RenderTexture.d.ts.map +1 -1
  254. package/lib/cjs/render/RenderTexture.js.map +1 -1
  255. package/lib/cjs/render/Scene.d.ts +1 -0
  256. package/lib/cjs/render/Scene.d.ts.map +1 -1
  257. package/lib/cjs/render/Scene.js +1 -0
  258. package/lib/cjs/render/Scene.js.map +1 -1
  259. package/lib/cjs/render/ScreenSpaceEffectBuilder.d.ts +10 -0
  260. package/lib/cjs/render/ScreenSpaceEffectBuilder.d.ts.map +1 -1
  261. package/lib/cjs/render/ScreenSpaceEffectBuilder.js +2 -0
  262. package/lib/cjs/render/ScreenSpaceEffectBuilder.js.map +1 -1
  263. package/lib/cjs/render/webgl/System.d.ts +1 -1
  264. package/lib/cjs/render/webgl/Target.d.ts.map +1 -1
  265. package/lib/cjs/render/webgl/Target.js +4 -1
  266. package/lib/cjs/render/webgl/Target.js.map +1 -1
  267. package/lib/cjs/tile/DisclosedTileTreeSet.d.ts +2 -0
  268. package/lib/cjs/tile/DisclosedTileTreeSet.d.ts.map +1 -1
  269. package/lib/cjs/tile/DisclosedTileTreeSet.js +1 -0
  270. package/lib/cjs/tile/DisclosedTileTreeSet.js.map +1 -1
  271. package/lib/cjs/tile/ImdlReader.d.ts +1 -0
  272. package/lib/cjs/tile/ImdlReader.d.ts.map +1 -1
  273. package/lib/cjs/tile/ImdlReader.js +1 -0
  274. package/lib/cjs/tile/ImdlReader.js.map +1 -1
  275. package/lib/cjs/tile/Tile.d.ts +5 -0
  276. package/lib/cjs/tile/Tile.d.ts.map +1 -1
  277. package/lib/cjs/tile/Tile.js +5 -0
  278. package/lib/cjs/tile/Tile.js.map +1 -1
  279. package/lib/cjs/tile/TileAdmin.d.ts +3 -0
  280. package/lib/cjs/tile/TileAdmin.d.ts.map +1 -1
  281. package/lib/cjs/tile/TileAdmin.js +1 -0
  282. package/lib/cjs/tile/TileAdmin.js.map +1 -1
  283. package/lib/cjs/tile/TileContent.d.ts +1 -0
  284. package/lib/cjs/tile/TileContent.d.ts.map +1 -1
  285. package/lib/cjs/tile/TileContent.js.map +1 -1
  286. package/lib/cjs/tile/TileDrawArgs.d.ts +2 -0
  287. package/lib/cjs/tile/TileDrawArgs.d.ts.map +1 -1
  288. package/lib/cjs/tile/TileDrawArgs.js +1 -0
  289. package/lib/cjs/tile/TileDrawArgs.js.map +1 -1
  290. package/lib/cjs/tile/TileParams.d.ts +1 -0
  291. package/lib/cjs/tile/TileParams.d.ts.map +1 -1
  292. package/lib/cjs/tile/TileParams.js.map +1 -1
  293. package/lib/cjs/tile/TileRequest.d.ts +1 -0
  294. package/lib/cjs/tile/TileRequest.d.ts.map +1 -1
  295. package/lib/cjs/tile/TileRequest.js +1 -0
  296. package/lib/cjs/tile/TileRequest.js.map +1 -1
  297. package/lib/cjs/tile/TileRequestChannel.d.ts +2 -0
  298. package/lib/cjs/tile/TileRequestChannel.d.ts.map +1 -1
  299. package/lib/cjs/tile/TileRequestChannel.js +2 -0
  300. package/lib/cjs/tile/TileRequestChannel.js.map +1 -1
  301. package/lib/cjs/tile/TileRequestChannels.d.ts +1 -0
  302. package/lib/cjs/tile/TileRequestChannels.d.ts.map +1 -1
  303. package/lib/cjs/tile/TileRequestChannels.js +1 -0
  304. package/lib/cjs/tile/TileRequestChannels.js.map +1 -1
  305. package/lib/cjs/tile/TileTree.d.ts +2 -0
  306. package/lib/cjs/tile/TileTree.d.ts.map +1 -1
  307. package/lib/cjs/tile/TileTree.js +2 -0
  308. package/lib/cjs/tile/TileTree.js.map +1 -1
  309. package/lib/cjs/tile/TileTreeOwner.d.ts +1 -0
  310. package/lib/cjs/tile/TileTreeOwner.d.ts.map +1 -1
  311. package/lib/cjs/tile/TileTreeOwner.js.map +1 -1
  312. package/lib/cjs/tile/TileTreeParams.d.ts +1 -0
  313. package/lib/cjs/tile/TileTreeParams.d.ts.map +1 -1
  314. package/lib/cjs/tile/TileTreeParams.js.map +1 -1
  315. package/lib/cjs/tile/TileTreeReference.d.ts +2 -0
  316. package/lib/cjs/tile/TileTreeReference.d.ts.map +1 -1
  317. package/lib/cjs/tile/TileTreeReference.js +2 -0
  318. package/lib/cjs/tile/TileTreeReference.js.map +1 -1
  319. package/lib/cjs/tile/TileTreeSupplier.d.ts +1 -0
  320. package/lib/cjs/tile/TileTreeSupplier.d.ts.map +1 -1
  321. package/lib/cjs/tile/TileTreeSupplier.js.map +1 -1
  322. package/lib/cjs/tile/TileUsageMarker.d.ts +1 -0
  323. package/lib/cjs/tile/TileUsageMarker.d.ts.map +1 -1
  324. package/lib/cjs/tile/TileUsageMarker.js +1 -0
  325. package/lib/cjs/tile/TileUsageMarker.js.map +1 -1
  326. package/lib/cjs/tile/TiledGraphicsProvider.d.ts +1 -0
  327. package/lib/cjs/tile/TiledGraphicsProvider.d.ts.map +1 -1
  328. package/lib/cjs/tile/TiledGraphicsProvider.js.map +1 -1
  329. package/lib/cjs/tile/map/BingElevation.d.ts +1 -0
  330. package/lib/cjs/tile/map/BingElevation.d.ts.map +1 -1
  331. package/lib/cjs/tile/map/BingElevation.js +1 -0
  332. package/lib/cjs/tile/map/BingElevation.js.map +1 -1
  333. package/lib/cjs/tools/ClipViewTool.d.ts +5 -3
  334. package/lib/cjs/tools/ClipViewTool.d.ts.map +1 -1
  335. package/lib/cjs/tools/ClipViewTool.js +4 -3
  336. package/lib/cjs/tools/ClipViewTool.js.map +1 -1
  337. package/lib/cjs/tools/EditManipulator.d.ts +1 -0
  338. package/lib/cjs/tools/EditManipulator.d.ts.map +1 -1
  339. package/lib/cjs/tools/EditManipulator.js +1 -0
  340. package/lib/cjs/tools/EditManipulator.js.map +1 -1
  341. package/lib/cjs/tools/EventController.d.ts +1 -0
  342. package/lib/cjs/tools/EventController.d.ts.map +1 -1
  343. package/lib/cjs/tools/EventController.js +1 -0
  344. package/lib/cjs/tools/EventController.js.map +1 -1
  345. package/lib/cjs/tools/PrimitiveTool.d.ts +1 -0
  346. package/lib/cjs/tools/PrimitiveTool.d.ts.map +1 -1
  347. package/lib/cjs/tools/PrimitiveTool.js +1 -0
  348. package/lib/cjs/tools/PrimitiveTool.js.map +1 -1
  349. package/lib/cjs/tools/SelectTool.d.ts +3 -0
  350. package/lib/cjs/tools/SelectTool.d.ts.map +1 -1
  351. package/lib/cjs/tools/SelectTool.js +3 -0
  352. package/lib/cjs/tools/SelectTool.js.map +1 -1
  353. package/lib/cjs/tools/Tool.d.ts +41 -6
  354. package/lib/cjs/tools/Tool.d.ts.map +1 -1
  355. package/lib/cjs/tools/Tool.js +27 -4
  356. package/lib/cjs/tools/Tool.js.map +1 -1
  357. package/lib/cjs/tools/ToolAdmin.d.ts +9 -2
  358. package/lib/cjs/tools/ToolAdmin.d.ts.map +1 -1
  359. package/lib/cjs/tools/ToolAdmin.js +9 -2
  360. package/lib/cjs/tools/ToolAdmin.js.map +1 -1
  361. package/lib/cjs/tools/ToolAssistance.d.ts +7 -0
  362. package/lib/cjs/tools/ToolAssistance.d.ts.map +1 -1
  363. package/lib/cjs/tools/ToolAssistance.js +3 -0
  364. package/lib/cjs/tools/ToolAssistance.js.map +1 -1
  365. package/lib/cjs/tools/ToolSettings.d.ts +1 -0
  366. package/lib/cjs/tools/ToolSettings.d.ts.map +1 -1
  367. package/lib/cjs/tools/ToolSettings.js +1 -0
  368. package/lib/cjs/tools/ToolSettings.js.map +1 -1
  369. package/lib/cjs/tools/ViewTool.d.ts +2 -0
  370. package/lib/cjs/tools/ViewTool.d.ts.map +1 -1
  371. package/lib/cjs/tools/ViewTool.js +2 -0
  372. package/lib/cjs/tools/ViewTool.js.map +1 -1
  373. package/lib/esm/AccuDraw.d.ts +2 -0
  374. package/lib/esm/AccuDraw.d.ts.map +1 -1
  375. package/lib/esm/AccuDraw.js +2 -0
  376. package/lib/esm/AccuDraw.js.map +1 -1
  377. package/lib/esm/AccuSnap.d.ts +1 -0
  378. package/lib/esm/AccuSnap.d.ts.map +1 -1
  379. package/lib/esm/AccuSnap.js +1 -0
  380. package/lib/esm/AccuSnap.js.map +1 -1
  381. package/lib/esm/ApproximateTerrainHeights.d.ts.map +1 -1
  382. package/lib/esm/ApproximateTerrainHeights.js +4 -2
  383. package/lib/esm/ApproximateTerrainHeights.js.map +1 -1
  384. package/lib/esm/ApproximateTerrainHeightsProps.d.ts +1 -1
  385. package/lib/esm/ApproximateTerrainHeightsProps.d.ts.map +1 -1
  386. package/lib/esm/ApproximateTerrainHeightsProps.js +1 -1
  387. package/lib/esm/ApproximateTerrainHeightsProps.js.map +1 -1
  388. package/lib/esm/AuxCoordSys.d.ts +12 -2
  389. package/lib/esm/AuxCoordSys.d.ts.map +1 -1
  390. package/lib/esm/AuxCoordSys.js +12 -2
  391. package/lib/esm/AuxCoordSys.js.map +1 -1
  392. package/lib/esm/BingLocation.d.ts +1 -0
  393. package/lib/esm/BingLocation.d.ts.map +1 -1
  394. package/lib/esm/BingLocation.js +1 -0
  395. package/lib/esm/BingLocation.js.map +1 -1
  396. package/lib/esm/CategorySelectorState.d.ts +1 -0
  397. package/lib/esm/CategorySelectorState.d.ts.map +1 -1
  398. package/lib/esm/CategorySelectorState.js +1 -0
  399. package/lib/esm/CategorySelectorState.js.map +1 -1
  400. package/lib/esm/ChangeFlags.d.ts +1 -0
  401. package/lib/esm/ChangeFlags.d.ts.map +1 -1
  402. package/lib/esm/ChangeFlags.js +1 -0
  403. package/lib/esm/ChangeFlags.js.map +1 -1
  404. package/lib/esm/ContextRealityModelState.d.ts +1 -0
  405. package/lib/esm/ContextRealityModelState.d.ts.map +1 -1
  406. package/lib/esm/ContextRealityModelState.js +1 -0
  407. package/lib/esm/ContextRealityModelState.js.map +1 -1
  408. package/lib/esm/CoordSystem.d.ts +1 -0
  409. package/lib/esm/CoordSystem.d.ts.map +1 -1
  410. package/lib/esm/CoordSystem.js +1 -0
  411. package/lib/esm/CoordSystem.js.map +1 -1
  412. package/lib/esm/DisplayStyleState.d.ts +4 -0
  413. package/lib/esm/DisplayStyleState.d.ts.map +1 -1
  414. package/lib/esm/DisplayStyleState.js +3 -0
  415. package/lib/esm/DisplayStyleState.js.map +1 -1
  416. package/lib/esm/DrawingViewState.d.ts +1 -0
  417. package/lib/esm/DrawingViewState.d.ts.map +1 -1
  418. package/lib/esm/DrawingViewState.js +1 -0
  419. package/lib/esm/DrawingViewState.js.map +1 -1
  420. package/lib/esm/ElementLocateManager.d.ts +23 -5
  421. package/lib/esm/ElementLocateManager.d.ts.map +1 -1
  422. package/lib/esm/ElementLocateManager.js +19 -4
  423. package/lib/esm/ElementLocateManager.js.map +1 -1
  424. package/lib/esm/EmphasizeElements.d.ts +1 -0
  425. package/lib/esm/EmphasizeElements.d.ts.map +1 -1
  426. package/lib/esm/EmphasizeElements.js +1 -0
  427. package/lib/esm/EmphasizeElements.js.map +1 -1
  428. package/lib/esm/EntityState.d.ts +2 -0
  429. package/lib/esm/EntityState.d.ts.map +1 -1
  430. package/lib/esm/EntityState.js +2 -0
  431. package/lib/esm/EntityState.js.map +1 -1
  432. package/lib/esm/FeatureOverrideProvider.d.ts +1 -0
  433. package/lib/esm/FeatureOverrideProvider.d.ts.map +1 -1
  434. package/lib/esm/FeatureOverrideProvider.js.map +1 -1
  435. package/lib/esm/FlashSettings.d.ts +3 -0
  436. package/lib/esm/FlashSettings.d.ts.map +1 -1
  437. package/lib/esm/FlashSettings.js +2 -0
  438. package/lib/esm/FlashSettings.js.map +1 -1
  439. package/lib/esm/FrontendHubAccess.d.ts +4 -1
  440. package/lib/esm/FrontendHubAccess.d.ts.map +1 -1
  441. package/lib/esm/FrontendHubAccess.js.map +1 -1
  442. package/lib/esm/FrontendLoggerCategory.d.ts +1 -0
  443. package/lib/esm/FrontendLoggerCategory.d.ts.map +1 -1
  444. package/lib/esm/FrontendLoggerCategory.js +1 -0
  445. package/lib/esm/FrontendLoggerCategory.js.map +1 -1
  446. package/lib/esm/FrustumAnimator.d.ts +1 -0
  447. package/lib/esm/FrustumAnimator.d.ts.map +1 -1
  448. package/lib/esm/FrustumAnimator.js +1 -0
  449. package/lib/esm/FrustumAnimator.js.map +1 -1
  450. package/lib/esm/FuzzySearch.d.ts +1 -0
  451. package/lib/esm/FuzzySearch.d.ts.map +1 -1
  452. package/lib/esm/FuzzySearch.js.map +1 -1
  453. package/lib/esm/GlobeAnimator.d.ts +1 -0
  454. package/lib/esm/GlobeAnimator.d.ts.map +1 -1
  455. package/lib/esm/GlobeAnimator.js +1 -0
  456. package/lib/esm/GlobeAnimator.js.map +1 -1
  457. package/lib/esm/HitDetail.d.ts +26 -5
  458. package/lib/esm/HitDetail.d.ts.map +1 -1
  459. package/lib/esm/HitDetail.js +26 -5
  460. package/lib/esm/HitDetail.js.map +1 -1
  461. package/lib/esm/IModelApp.d.ts +7 -0
  462. package/lib/esm/IModelApp.d.ts.map +1 -1
  463. package/lib/esm/IModelApp.js +32 -20
  464. package/lib/esm/IModelApp.js.map +1 -1
  465. package/lib/esm/IModelConnection.d.ts +1 -0
  466. package/lib/esm/IModelConnection.d.ts.map +1 -1
  467. package/lib/esm/IModelConnection.js +1 -0
  468. package/lib/esm/IModelConnection.js.map +1 -1
  469. package/lib/esm/ImageUtil.d.ts +11 -0
  470. package/lib/esm/ImageUtil.d.ts.map +1 -1
  471. package/lib/esm/ImageUtil.js +11 -0
  472. package/lib/esm/ImageUtil.js.map +1 -1
  473. package/lib/esm/IpcApp.d.ts +1 -0
  474. package/lib/esm/IpcApp.d.ts.map +1 -1
  475. package/lib/esm/IpcApp.js +1 -0
  476. package/lib/esm/IpcApp.js.map +1 -1
  477. package/lib/esm/MarginPercent.d.ts +1 -0
  478. package/lib/esm/MarginPercent.d.ts.map +1 -1
  479. package/lib/esm/MarginPercent.js +1 -0
  480. package/lib/esm/MarginPercent.js.map +1 -1
  481. package/lib/esm/Marker.d.ts +16 -3
  482. package/lib/esm/Marker.d.ts.map +1 -1
  483. package/lib/esm/Marker.js +3 -0
  484. package/lib/esm/Marker.js.map +1 -1
  485. package/lib/esm/ModelSelectorState.d.ts +1 -0
  486. package/lib/esm/ModelSelectorState.d.ts.map +1 -1
  487. package/lib/esm/ModelSelectorState.js +1 -0
  488. package/lib/esm/ModelSelectorState.js.map +1 -1
  489. package/lib/esm/ModelState.d.ts +10 -0
  490. package/lib/esm/ModelState.d.ts.map +1 -1
  491. package/lib/esm/ModelState.js +10 -0
  492. package/lib/esm/ModelState.js.map +1 -1
  493. package/lib/esm/NotificationManager.d.ts +11 -0
  494. package/lib/esm/NotificationManager.d.ts.map +1 -1
  495. package/lib/esm/NotificationManager.js +10 -0
  496. package/lib/esm/NotificationManager.js.map +1 -1
  497. package/lib/esm/PerModelCategoryVisibility.d.ts +1 -0
  498. package/lib/esm/PerModelCategoryVisibility.d.ts.map +1 -1
  499. package/lib/esm/PerModelCategoryVisibility.js +1 -0
  500. package/lib/esm/PerModelCategoryVisibility.js.map +1 -1
  501. package/lib/esm/SelectionSet.d.ts +7 -0
  502. package/lib/esm/SelectionSet.d.ts.map +1 -1
  503. package/lib/esm/SelectionSet.js +3 -0
  504. package/lib/esm/SelectionSet.js.map +1 -1
  505. package/lib/esm/SheetViewState.d.ts +1 -0
  506. package/lib/esm/SheetViewState.d.ts.map +1 -1
  507. package/lib/esm/SheetViewState.js +1 -0
  508. package/lib/esm/SheetViewState.js.map +1 -1
  509. package/lib/esm/SpatialViewState.d.ts +2 -0
  510. package/lib/esm/SpatialViewState.d.ts.map +1 -1
  511. package/lib/esm/SpatialViewState.js +2 -0
  512. package/lib/esm/SpatialViewState.js.map +1 -1
  513. package/lib/esm/Sprites.d.ts +3 -0
  514. package/lib/esm/Sprites.d.ts.map +1 -1
  515. package/lib/esm/Sprites.js +3 -0
  516. package/lib/esm/Sprites.js.map +1 -1
  517. package/lib/esm/StandardView.d.ts +1 -0
  518. package/lib/esm/StandardView.d.ts.map +1 -1
  519. package/lib/esm/StandardView.js +1 -0
  520. package/lib/esm/StandardView.js.map +1 -1
  521. package/lib/esm/TentativePoint.d.ts +4 -1
  522. package/lib/esm/TentativePoint.d.ts.map +1 -1
  523. package/lib/esm/TentativePoint.js +4 -1
  524. package/lib/esm/TentativePoint.js.map +1 -1
  525. package/lib/esm/Tiles.d.ts +1 -0
  526. package/lib/esm/Tiles.d.ts.map +1 -1
  527. package/lib/esm/Tiles.js +1 -0
  528. package/lib/esm/Tiles.js.map +1 -1
  529. package/lib/esm/ViewAnimation.d.ts +6 -0
  530. package/lib/esm/ViewAnimation.d.ts.map +1 -1
  531. package/lib/esm/ViewAnimation.js.map +1 -1
  532. package/lib/esm/ViewCreator2d.d.ts +2 -0
  533. package/lib/esm/ViewCreator2d.d.ts.map +1 -1
  534. package/lib/esm/ViewCreator2d.js +1 -0
  535. package/lib/esm/ViewCreator2d.js.map +1 -1
  536. package/lib/esm/ViewCreator3d.d.ts +2 -0
  537. package/lib/esm/ViewCreator3d.d.ts.map +1 -1
  538. package/lib/esm/ViewCreator3d.js +1 -0
  539. package/lib/esm/ViewCreator3d.js.map +1 -1
  540. package/lib/esm/ViewGlobalLocation.d.ts +3 -0
  541. package/lib/esm/ViewGlobalLocation.d.ts.map +1 -1
  542. package/lib/esm/ViewGlobalLocation.js +1 -0
  543. package/lib/esm/ViewGlobalLocation.js.map +1 -1
  544. package/lib/esm/ViewManager.d.ts +3 -0
  545. package/lib/esm/ViewManager.d.ts.map +1 -1
  546. package/lib/esm/ViewManager.js +1 -0
  547. package/lib/esm/ViewManager.js.map +1 -1
  548. package/lib/esm/ViewPose.d.ts +1 -0
  549. package/lib/esm/ViewPose.d.ts.map +1 -1
  550. package/lib/esm/ViewPose.js +1 -0
  551. package/lib/esm/ViewPose.js.map +1 -1
  552. package/lib/esm/ViewRect.d.ts +1 -0
  553. package/lib/esm/ViewRect.d.ts.map +1 -1
  554. package/lib/esm/ViewRect.js +1 -0
  555. package/lib/esm/ViewRect.js.map +1 -1
  556. package/lib/esm/ViewState.d.ts +4 -0
  557. package/lib/esm/ViewState.d.ts.map +1 -1
  558. package/lib/esm/ViewState.js +3 -0
  559. package/lib/esm/ViewState.js.map +1 -1
  560. package/lib/esm/ViewStatus.d.ts +1 -0
  561. package/lib/esm/ViewStatus.d.ts.map +1 -1
  562. package/lib/esm/ViewStatus.js +1 -0
  563. package/lib/esm/ViewStatus.js.map +1 -1
  564. package/lib/esm/ViewingSpace.d.ts +1 -0
  565. package/lib/esm/ViewingSpace.d.ts.map +1 -1
  566. package/lib/esm/ViewingSpace.js +1 -0
  567. package/lib/esm/ViewingSpace.js.map +1 -1
  568. package/lib/esm/core-frontend.d.ts +6 -5
  569. package/lib/esm/core-frontend.d.ts.map +1 -1
  570. package/lib/esm/core-frontend.js +7 -5
  571. package/lib/esm/core-frontend.js.map +1 -1
  572. package/lib/esm/extension/Extension.d.ts +22 -3
  573. package/lib/esm/extension/Extension.d.ts.map +1 -1
  574. package/lib/esm/extension/Extension.js +1 -7
  575. package/lib/esm/extension/Extension.js.map +1 -1
  576. package/lib/esm/extension/ExtensionAdmin.d.ts +1 -3
  577. package/lib/esm/extension/ExtensionAdmin.d.ts.map +1 -1
  578. package/lib/esm/extension/ExtensionAdmin.js +1 -4
  579. package/lib/esm/extension/ExtensionAdmin.js.map +1 -1
  580. package/lib/esm/extension/ExtensionRuntime.js +239 -59
  581. package/lib/esm/extension/ExtensionRuntime.js.map +1 -1
  582. package/lib/esm/render/CanvasDecoration.d.ts +2 -0
  583. package/lib/esm/render/CanvasDecoration.d.ts.map +1 -1
  584. package/lib/esm/render/CanvasDecoration.js.map +1 -1
  585. package/lib/esm/render/Decorations.d.ts +1 -0
  586. package/lib/esm/render/Decorations.d.ts.map +1 -1
  587. package/lib/esm/render/Decorations.js +1 -0
  588. package/lib/esm/render/Decorations.js.map +1 -1
  589. package/lib/esm/render/FeatureSymbology.d.ts +1 -0
  590. package/lib/esm/render/FeatureSymbology.d.ts.map +1 -1
  591. package/lib/esm/render/FeatureSymbology.js +1 -0
  592. package/lib/esm/render/FeatureSymbology.js.map +1 -1
  593. package/lib/esm/render/GraphicBranch.d.ts +2 -0
  594. package/lib/esm/render/GraphicBranch.d.ts.map +1 -1
  595. package/lib/esm/render/GraphicBranch.js +1 -0
  596. package/lib/esm/render/GraphicBranch.js.map +1 -1
  597. package/lib/esm/render/GraphicBuilder.d.ts +8 -0
  598. package/lib/esm/render/GraphicBuilder.d.ts.map +1 -1
  599. package/lib/esm/render/GraphicBuilder.js +2 -0
  600. package/lib/esm/render/GraphicBuilder.js.map +1 -1
  601. package/lib/esm/render/GraphicPrimitive.d.ts +14 -0
  602. package/lib/esm/render/GraphicPrimitive.d.ts.map +1 -1
  603. package/lib/esm/render/GraphicPrimitive.js.map +1 -1
  604. package/lib/esm/render/ParticleCollectionBuilder.d.ts +3 -0
  605. package/lib/esm/render/ParticleCollectionBuilder.d.ts.map +1 -1
  606. package/lib/esm/render/ParticleCollectionBuilder.js.map +1 -1
  607. package/lib/esm/render/Pixel.d.ts +1 -0
  608. package/lib/esm/render/Pixel.d.ts.map +1 -1
  609. package/lib/esm/render/Pixel.js +1 -0
  610. package/lib/esm/render/Pixel.js.map +1 -1
  611. package/lib/esm/render/RenderClipVolume.d.ts +1 -0
  612. package/lib/esm/render/RenderClipVolume.d.ts.map +1 -1
  613. package/lib/esm/render/RenderClipVolume.js +1 -0
  614. package/lib/esm/render/RenderClipVolume.js.map +1 -1
  615. package/lib/esm/render/RenderGraphic.d.ts +3 -0
  616. package/lib/esm/render/RenderGraphic.d.ts.map +1 -1
  617. package/lib/esm/render/RenderGraphic.js +2 -0
  618. package/lib/esm/render/RenderGraphic.js.map +1 -1
  619. package/lib/esm/render/RenderSystem.d.ts +1 -0
  620. package/lib/esm/render/RenderSystem.d.ts.map +1 -1
  621. package/lib/esm/render/RenderSystem.js +1 -0
  622. package/lib/esm/render/RenderSystem.js.map +1 -1
  623. package/lib/esm/render/RenderTexture.d.ts +7 -0
  624. package/lib/esm/render/RenderTexture.d.ts.map +1 -1
  625. package/lib/esm/render/RenderTexture.js.map +1 -1
  626. package/lib/esm/render/Scene.d.ts +1 -0
  627. package/lib/esm/render/Scene.d.ts.map +1 -1
  628. package/lib/esm/render/Scene.js +1 -0
  629. package/lib/esm/render/Scene.js.map +1 -1
  630. package/lib/esm/render/ScreenSpaceEffectBuilder.d.ts +10 -0
  631. package/lib/esm/render/ScreenSpaceEffectBuilder.d.ts.map +1 -1
  632. package/lib/esm/render/ScreenSpaceEffectBuilder.js +2 -0
  633. package/lib/esm/render/ScreenSpaceEffectBuilder.js.map +1 -1
  634. package/lib/esm/render/webgl/System.d.ts +1 -1
  635. package/lib/esm/render/webgl/Target.d.ts.map +1 -1
  636. package/lib/esm/render/webgl/Target.js +4 -1
  637. package/lib/esm/render/webgl/Target.js.map +1 -1
  638. package/lib/esm/tile/DisclosedTileTreeSet.d.ts +2 -0
  639. package/lib/esm/tile/DisclosedTileTreeSet.d.ts.map +1 -1
  640. package/lib/esm/tile/DisclosedTileTreeSet.js +1 -0
  641. package/lib/esm/tile/DisclosedTileTreeSet.js.map +1 -1
  642. package/lib/esm/tile/ImdlReader.d.ts +1 -0
  643. package/lib/esm/tile/ImdlReader.d.ts.map +1 -1
  644. package/lib/esm/tile/ImdlReader.js +1 -0
  645. package/lib/esm/tile/ImdlReader.js.map +1 -1
  646. package/lib/esm/tile/Tile.d.ts +5 -0
  647. package/lib/esm/tile/Tile.d.ts.map +1 -1
  648. package/lib/esm/tile/Tile.js +5 -0
  649. package/lib/esm/tile/Tile.js.map +1 -1
  650. package/lib/esm/tile/TileAdmin.d.ts +3 -0
  651. package/lib/esm/tile/TileAdmin.d.ts.map +1 -1
  652. package/lib/esm/tile/TileAdmin.js +1 -0
  653. package/lib/esm/tile/TileAdmin.js.map +1 -1
  654. package/lib/esm/tile/TileContent.d.ts +1 -0
  655. package/lib/esm/tile/TileContent.d.ts.map +1 -1
  656. package/lib/esm/tile/TileContent.js.map +1 -1
  657. package/lib/esm/tile/TileDrawArgs.d.ts +2 -0
  658. package/lib/esm/tile/TileDrawArgs.d.ts.map +1 -1
  659. package/lib/esm/tile/TileDrawArgs.js +1 -0
  660. package/lib/esm/tile/TileDrawArgs.js.map +1 -1
  661. package/lib/esm/tile/TileParams.d.ts +1 -0
  662. package/lib/esm/tile/TileParams.d.ts.map +1 -1
  663. package/lib/esm/tile/TileParams.js.map +1 -1
  664. package/lib/esm/tile/TileRequest.d.ts +1 -0
  665. package/lib/esm/tile/TileRequest.d.ts.map +1 -1
  666. package/lib/esm/tile/TileRequest.js +1 -0
  667. package/lib/esm/tile/TileRequest.js.map +1 -1
  668. package/lib/esm/tile/TileRequestChannel.d.ts +2 -0
  669. package/lib/esm/tile/TileRequestChannel.d.ts.map +1 -1
  670. package/lib/esm/tile/TileRequestChannel.js +2 -0
  671. package/lib/esm/tile/TileRequestChannel.js.map +1 -1
  672. package/lib/esm/tile/TileRequestChannels.d.ts +1 -0
  673. package/lib/esm/tile/TileRequestChannels.d.ts.map +1 -1
  674. package/lib/esm/tile/TileRequestChannels.js +1 -0
  675. package/lib/esm/tile/TileRequestChannels.js.map +1 -1
  676. package/lib/esm/tile/TileTree.d.ts +2 -0
  677. package/lib/esm/tile/TileTree.d.ts.map +1 -1
  678. package/lib/esm/tile/TileTree.js +2 -0
  679. package/lib/esm/tile/TileTree.js.map +1 -1
  680. package/lib/esm/tile/TileTreeOwner.d.ts +1 -0
  681. package/lib/esm/tile/TileTreeOwner.d.ts.map +1 -1
  682. package/lib/esm/tile/TileTreeOwner.js.map +1 -1
  683. package/lib/esm/tile/TileTreeParams.d.ts +1 -0
  684. package/lib/esm/tile/TileTreeParams.d.ts.map +1 -1
  685. package/lib/esm/tile/TileTreeParams.js.map +1 -1
  686. package/lib/esm/tile/TileTreeReference.d.ts +2 -0
  687. package/lib/esm/tile/TileTreeReference.d.ts.map +1 -1
  688. package/lib/esm/tile/TileTreeReference.js +2 -0
  689. package/lib/esm/tile/TileTreeReference.js.map +1 -1
  690. package/lib/esm/tile/TileTreeSupplier.d.ts +1 -0
  691. package/lib/esm/tile/TileTreeSupplier.d.ts.map +1 -1
  692. package/lib/esm/tile/TileTreeSupplier.js.map +1 -1
  693. package/lib/esm/tile/TileUsageMarker.d.ts +1 -0
  694. package/lib/esm/tile/TileUsageMarker.d.ts.map +1 -1
  695. package/lib/esm/tile/TileUsageMarker.js +1 -0
  696. package/lib/esm/tile/TileUsageMarker.js.map +1 -1
  697. package/lib/esm/tile/TiledGraphicsProvider.d.ts +1 -0
  698. package/lib/esm/tile/TiledGraphicsProvider.d.ts.map +1 -1
  699. package/lib/esm/tile/TiledGraphicsProvider.js.map +1 -1
  700. package/lib/esm/tile/map/BingElevation.d.ts +1 -0
  701. package/lib/esm/tile/map/BingElevation.d.ts.map +1 -1
  702. package/lib/esm/tile/map/BingElevation.js +1 -0
  703. package/lib/esm/tile/map/BingElevation.js.map +1 -1
  704. package/lib/esm/tools/ClipViewTool.d.ts +5 -3
  705. package/lib/esm/tools/ClipViewTool.d.ts.map +1 -1
  706. package/lib/esm/tools/ClipViewTool.js +4 -3
  707. package/lib/esm/tools/ClipViewTool.js.map +1 -1
  708. package/lib/esm/tools/EditManipulator.d.ts +1 -0
  709. package/lib/esm/tools/EditManipulator.d.ts.map +1 -1
  710. package/lib/esm/tools/EditManipulator.js +1 -0
  711. package/lib/esm/tools/EditManipulator.js.map +1 -1
  712. package/lib/esm/tools/EventController.d.ts +1 -0
  713. package/lib/esm/tools/EventController.d.ts.map +1 -1
  714. package/lib/esm/tools/EventController.js +1 -0
  715. package/lib/esm/tools/EventController.js.map +1 -1
  716. package/lib/esm/tools/PrimitiveTool.d.ts +1 -0
  717. package/lib/esm/tools/PrimitiveTool.d.ts.map +1 -1
  718. package/lib/esm/tools/PrimitiveTool.js +1 -0
  719. package/lib/esm/tools/PrimitiveTool.js.map +1 -1
  720. package/lib/esm/tools/SelectTool.d.ts +3 -0
  721. package/lib/esm/tools/SelectTool.d.ts.map +1 -1
  722. package/lib/esm/tools/SelectTool.js +3 -0
  723. package/lib/esm/tools/SelectTool.js.map +1 -1
  724. package/lib/esm/tools/Tool.d.ts +41 -6
  725. package/lib/esm/tools/Tool.d.ts.map +1 -1
  726. package/lib/esm/tools/Tool.js +27 -4
  727. package/lib/esm/tools/Tool.js.map +1 -1
  728. package/lib/esm/tools/ToolAdmin.d.ts +9 -2
  729. package/lib/esm/tools/ToolAdmin.d.ts.map +1 -1
  730. package/lib/esm/tools/ToolAdmin.js +9 -2
  731. package/lib/esm/tools/ToolAdmin.js.map +1 -1
  732. package/lib/esm/tools/ToolAssistance.d.ts +7 -0
  733. package/lib/esm/tools/ToolAssistance.d.ts.map +1 -1
  734. package/lib/esm/tools/ToolAssistance.js +3 -0
  735. package/lib/esm/tools/ToolAssistance.js.map +1 -1
  736. package/lib/esm/tools/ToolSettings.d.ts +1 -0
  737. package/lib/esm/tools/ToolSettings.d.ts.map +1 -1
  738. package/lib/esm/tools/ToolSettings.js +1 -0
  739. package/lib/esm/tools/ToolSettings.js.map +1 -1
  740. package/lib/esm/tools/ViewTool.d.ts +2 -0
  741. package/lib/esm/tools/ViewTool.d.ts.map +1 -1
  742. package/lib/esm/tools/ViewTool.js +2 -0
  743. package/lib/esm/tools/ViewTool.js.map +1 -1
  744. package/package.json +32 -21
  745. package/lib/cjs/extension/ExtensionLoader.d.ts +0 -26
  746. package/lib/cjs/extension/ExtensionLoader.d.ts.map +0 -1
  747. package/lib/cjs/extension/ExtensionLoader.js +0 -10
  748. package/lib/cjs/extension/ExtensionLoader.js.map +0 -1
  749. package/lib/cjs/extension/extensions.d.ts +0 -19
  750. package/lib/cjs/extension/extensions.d.ts.map +0 -1
  751. package/lib/cjs/extension/extensions.js +0 -36
  752. package/lib/cjs/extension/extensions.js.map +0 -1
  753. package/lib/esm/extension/ExtensionLoader.d.ts +0 -26
  754. package/lib/esm/extension/ExtensionLoader.d.ts.map +0 -1
  755. package/lib/esm/extension/ExtensionLoader.js +0 -9
  756. package/lib/esm/extension/ExtensionLoader.js.map +0 -1
  757. package/lib/esm/extension/extensions.d.ts +0 -19
  758. package/lib/esm/extension/extensions.d.ts.map +0 -1
  759. package/lib/esm/extension/extensions.js +0 -24
  760. package/lib/esm/extension/extensions.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ParticleCollectionBuilder.js","sourceRoot":"","sources":["../../../src/render/ParticleCollectionBuilder.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAY,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAiB,MAAM,sBAAsB,CAAC;AAC/G,OAAO,EACL,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAkB,EAAE,SAAS,EAAE,YAAY,GAClH,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AA0F3D,cAAc;AACd,MAAM,KAAW,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC;;OAEG;IACH,SAAgB,MAAM,CAAC,MAAuC;QAC5D,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,C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AI,CAAC,CAAC,IAAI,QAAQ,CAAC;IAC1B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,QAAQ,CAAC;IAC1B,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport { Matrix3d, Point2d, Point3d, Range3d, Transform, Vector2d, XAndY, XYAndZ } from \"@itwin/core-geometry\";\r\nimport {\r\n ColorDef, ColorIndex, Feature, FeatureIndex, FeatureTable, FillFlags, PackedFeatureTable, QParams3d, QPoint3dList, RenderTexture,\r\n} from \"@itwin/core-common\";\r\nimport { Viewport } from \"../Viewport\";\r\nimport { RenderGraphic } from \"./RenderGraphic\";\r\nimport { GraphicBranch } from \"./GraphicBranch\";\r\nimport { MeshParams } from \"./primitives/VertexTable\";\r\nimport { MeshArgs } from \"./primitives/mesh/MeshPrimitives\";\r\nimport { DisplayParams } from \"./primitives/DisplayParams\";\r\n\r\n/** Parameters used to construct a [[ParticleCollectionBuilder]].\r\n * @public\r\n */\r\nexport interface ParticleCollectionBuilderParams {\r\n /** The image mapped to each particle quad.\r\n * @note The texture should be disposed of when no longer needed to free up WebGL resources. For example, if a [[Decorator]] creates the texture, the\r\n * texture should probably be disposed of when the decorator is removed from the [[ViewManager]].\r\n */\r\n texture: RenderTexture;\r\n\r\n /** The default extents of the particle quad. Individual particles may apply a scale to these extents to produce particles of varying dimensions.\r\n * Must be positive.\r\n */\r\n size: XAndY | number;\r\n\r\n /** The initial transparency of the particles as an integer in [0,255]. Defaults to zero if omitted. */\r\n transparency?: number;\r\n\r\n /** The origin of the particle collection in world coordinates. Defaults to (0, 0, 0). */\r\n origin?: XYAndZ;\r\n\r\n /** If the particles are to be pickable, a unique identifier to associate with the resultant [[RenderGraphic]].\r\n * @see [[IModelConnection.transientIdSequence]] to obtain an Id that is unique within an iModel.\r\n */\r\n pickableId?: Id64String;\r\n\r\n /** The viewport in which the particles will be drawn. */\r\n viewport: Viewport;\r\n\r\n /** If true, the finished graphic will be defined in view coordinates, for use as a decoration of type [[GraphicType.ViewBackground]] or [[GraphicType.ViewOverlay]].\r\n * Defaults to false, indicating the graphic will be defined in world coordinates.\r\n * @see [[CoordSystem.View]] and [[CoordSystem.World]].\r\n */\r\n isViewCoords?: boolean;\r\n}\r\n\r\n/** Describes a particle to to add to a particle collection via [[ParticleCollectionBuilder.addParticle]].\r\n * The x, y, and z coordinates represent the centroid of the particle quad in the collection's coordinate space.\r\n * @public\r\n */\r\nexport interface ParticleProps extends XYAndZ {\r\n /** The size of the particle, in the collection's coordinate space. If omitted, it defaults to the size supplied to the collection by [[ParticleCollectionBuilderParams.size]].\r\n * Supplying a `number` produces a square; supplying a non-uniform `XAndY` produces a rectangle. Must be positive.\r\n */\r\n size?: XAndY | number;\r\n\r\n /** The transparency with which to draw the particle as an integer in [0,255]. If omitted, it defaults to the current value of [[ParticleCollectionBuilder.transparency]]. */\r\n transparency?: number;\r\n\r\n /** A rotation matrix to orient the particle. If supplied then the particle will not be automatically oriented towards the camera. */\r\n rotationMatrix?: Matrix3d;\r\n}\r\n\r\n/** Interface for producing a collection of particles suitable for use in particle effects.\r\n * Particle effects involve animating hundreds or thousands of small particles to simulate phenomena like smoke, fire, snow, etc.\r\n * A particle collection represents each particle as a quad (rectangle) displaying an image. The position of each particle corresponds to the\r\n * centroid of its quad. The transparency and size of each particle can be specified individually. By default, the quads will always rotate to face the camera\r\n * such that the image is fully visible.\r\n *\r\n * Creating a particle collection using a ParticleCollectionBuilder is far more efficient (in both CPU and GPU usage) than doing so using a [[GraphicBuilder]].\r\n * @see interactive demonstrations of [Snow and Rain](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=snow-rain-sample&imodel=Villa) and\r\n * [Fire and Smoke](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=fire-sample&imodel=Villa) particle effects.\r\n * @see [SnowEffect]($frontend-devtools) for an example of a particle effect.\r\n * @public\r\n */\r\nexport interface ParticleCollectionBuilder {\r\n /** The default transparency for newly-added particles as an integer in [0,255], used by [[ParticleCollectionBuilder.addParticle]] if [[ParticleProps.transparency]] is omitted.\r\n * Changing this value has no effect on the transparency of previously-added particles.\r\n */\r\n transparency: number;\r\n\r\n /** The default size of each particle, used by [[ParticleCollectionBuilder.addParticle]] if [[ParticleProps.size]] is omitted. */\r\n size: XAndY;\r\n\r\n /** Add a particle to the collection.\r\n * If `size` is omitted, `this.size` is used.\r\n * If `transparency` is omitted, `this.transparency` is used.\r\n * @throws Error if particle size is defined and not greater than zero.\r\n */\r\n addParticle: (particle: ParticleProps) => void;\r\n\r\n /** Produces a finished graphic from the accumulated particles.\r\n * It returns the finished graphic, or `undefined` if the collection contains no particles or the [[RenderSystem]] failed to produce the graphic.\r\n * @note After this method returns, the particle collection is empty.\r\n */\r\n finish: () => RenderGraphic | undefined;\r\n}\r\n\r\n/** @public */\r\nexport namespace ParticleCollectionBuilder {\r\n /** Creates a new ParticleCollectionBuilder.\r\n * @throws Error if size is not greater than zero.\r\n */\r\n export function create(params: ParticleCollectionBuilderParams): ParticleCollectionBuilder {\r\n return new Builder(params);\r\n }\r\n}\r\n\r\nclass Particle {\r\n public readonly centroid: Point3d;\r\n public readonly transparency: number;\r\n public readonly width: number;\r\n public readonly height: number;\r\n public readonly rotationMatrix?: Matrix3d;\r\n\r\n public constructor(centroid: XYAndZ, width: number, height: number, transparency: number, rotationMatrix?: Matrix3d) {\r\n this.centroid = Point3d.fromJSON(centroid);\r\n this.transparency = transparency;\r\n this.width = width;\r\n this.height = height;\r\n this.rotationMatrix = rotationMatrix;\r\n }\r\n}\r\n\r\nclass Builder implements ParticleCollectionBuilder {\r\n private readonly _viewport: Viewport;\r\n private readonly _isViewCoords: boolean;\r\n private readonly _pickableId?: Id64String;\r\n private readonly _texture: RenderTexture;\r\n private readonly _size: Vector2d;\r\n private _transparency: number;\r\n private _hasVaryingTransparency = false;\r\n private readonly _localToWorldTransform: Transform;\r\n private readonly _range = Range3d.createNull();\r\n private _particlesOpaque: Particle[] = [];\r\n private _particlesTranslucent: Particle[] = [];\r\n\r\n public constructor(params: ParticleCollectionBuilderParams) {\r\n this._viewport = params.viewport;\r\n this._isViewCoords = true === params.isViewCoords;\r\n this._pickableId = params.pickableId;\r\n this._texture = params.texture;\r\n this._transparency = undefined !== params.transparency ? clampTransparency(params.transparency) : 0;\r\n this._localToWorldTransform = params.origin ? Transform.createTranslationXYZ(params.origin.x, params.origin.y, params.origin.z) : Transform.createIdentity();\r\n\r\n if (\"number\" === typeof params.size)\r\n this._size = new Vector2d(params.size, params.size);\r\n else\r\n this._size = Vector2d.fromJSON(params.size);\r\n\r\n if (this._size.x <= 0 || this._size.y <= 0)\r\n throw new Error(\"Particle size must be greater than zero\");\r\n }\r\n\r\n public get size(): XAndY {\r\n return this._size;\r\n }\r\n\r\n public get transparency() {\r\n return this._transparency;\r\n }\r\n\r\n public set transparency(transparency: number) {\r\n transparency = clampTransparency(transparency);\r\n if (transparency !== this._transparency) {\r\n this._transparency = transparency;\r\n this._hasVaryingTransparency = this._particlesTranslucent.length > 0;\r\n }\r\n }\r\n\r\n public addParticle(props: ParticleProps): void {\r\n const size = props.size ?? this._size;\r\n let width, height;\r\n if (\"number\" === typeof size) {\r\n width = height = size;\r\n } else {\r\n width = size.x;\r\n height = size.y;\r\n }\r\n\r\n if (width <= 0 || height <= 0)\r\n throw new Error(\"A particle must have a size greater than zero\");\r\n\r\n const transparency = undefined !== props.transparency ? clampTransparency(props.transparency) : this.transparency;\r\n if (transparency !== this.transparency && this._particlesTranslucent.length > 0)\r\n this._hasVaryingTransparency = true;\r\n\r\n const particle = new Particle(props, width, height, transparency, props.rotationMatrix);\r\n if (transparency > 0)\r\n this._particlesTranslucent.push(particle);\r\n else\r\n this._particlesOpaque.push(particle);\r\n this._range.extendPoint(particle.centroid);\r\n }\r\n\r\n public finish(): RenderGraphic | undefined {\r\n if (0 === this._particlesTranslucent.length + this._particlesOpaque.length)\r\n return undefined;\r\n\r\n // Order-independent transparency doesn't work well with opaque geometry - it will look semi-transparent.\r\n // If we have a mix of opaque and transparent particles, put them in separate graphics to be rendered in separate passes.\r\n const opaque = this.createGraphic(this._particlesOpaque, 0);\r\n const transparent = this.createGraphic(this._particlesTranslucent, this._hasVaryingTransparency ? undefined : this._transparency);\r\n\r\n // Empty the collection before any return statements.\r\n const range = this._range.clone();\r\n this._range.setNull();\r\n this._particlesOpaque.length = 0;\r\n this._particlesTranslucent.length = 0;\r\n this._hasVaryingTransparency = false;\r\n\r\n if (!transparent && !opaque)\r\n return undefined;\r\n\r\n // Transform from origin to collection, then to world.\r\n const toCollection = Transform.createTranslation(range.center);\r\n const toWorld = toCollection.multiplyTransformTransform(this._localToWorldTransform);\r\n const branch = new GraphicBranch(true);\r\n if (opaque)\r\n branch.add(opaque);\r\n\r\n if (transparent)\r\n branch.add(transparent);\r\n\r\n let graphic = this._viewport.target.renderSystem.createGraphicBranch(branch, toWorld);\r\n\r\n // If we have a pickable Id, produce a batch.\r\n // NB: We pass this._pickableId as the FeatureTable's modelId so that it will be treated like a reality model or a map -\r\n // specifically, it can be located and display a tooltip, but can't be selected.\r\n const featureTable = this._pickableId ? new FeatureTable(1, this._pickableId) : undefined;\r\n if (featureTable) {\r\n this._localToWorldTransform.multiplyRange(range, range);\r\n featureTable.insert(new Feature(this._pickableId));\r\n graphic = this._viewport.target.renderSystem.createBatch(graphic, PackedFeatureTable.pack(featureTable), range);\r\n }\r\n\r\n return graphic;\r\n }\r\n\r\n private createGraphic(particles: Particle[], uniformTransparency: number | undefined): RenderGraphic | undefined {\r\n const numParticles = particles.length;\r\n if (numParticles <= 0)\r\n return undefined;\r\n\r\n // To keep scale values close to 1, compute mean size to use as size of quad.\r\n const meanSize = new Vector2d();\r\n let maxSize = 0;\r\n for (const particle of particles) {\r\n meanSize.x += particle.width;\r\n meanSize.y += particle.height;\r\n if (particle.width > maxSize)\r\n maxSize = particle.width;\r\n if (particle.height > maxSize)\r\n maxSize = particle.height;\r\n }\r\n meanSize.x /= numParticles;\r\n meanSize.y /= numParticles;\r\n\r\n // Define InstancedGraphicParams for particles.\r\n const rangeCenter = this._range.center;\r\n const floatsPerTransform = 12;\r\n const transforms = new Float32Array(floatsPerTransform * numParticles);\r\n const bytesPerOverride = 8;\r\n const symbologyOverrides = undefined === uniformTransparency ? new Uint8Array(bytesPerOverride * numParticles) : undefined;\r\n\r\n const viewToWorld = this._viewport.view.getRotation().transpose();\r\n let tfIndex = 0;\r\n let ovrIndex = 0;\r\n for (const particle of particles) {\r\n const scaleX = particle.width / meanSize.x;\r\n const scaleY = particle.height / meanSize.y;\r\n if (this._isViewCoords) {\r\n // Particles already face the camera in view coords - just apply the scale.\r\n transforms[tfIndex + 0] = scaleX;\r\n transforms[tfIndex + 5] = scaleY;\r\n transforms[tfIndex + 10] = 1;\r\n } else if (undefined !== particle.rotationMatrix) {\r\n // Scale rotation matrix relative to size of quad.\r\n transforms[tfIndex + 0] = particle.rotationMatrix.coffs[0] * scaleX;\r\n transforms[tfIndex + 1] = particle.rotationMatrix.coffs[1] * scaleY;\r\n transforms[tfIndex + 2] = particle.rotationMatrix.coffs[2];\r\n transforms[tfIndex + 4] = particle.rotationMatrix.coffs[3] * scaleX;\r\n transforms[tfIndex + 5] = particle.rotationMatrix.coffs[4] * scaleY;\r\n transforms[tfIndex + 6] = particle.rotationMatrix.coffs[5];\r\n transforms[tfIndex + 8] = particle.rotationMatrix.coffs[6] * scaleX;\r\n transforms[tfIndex + 9] = particle.rotationMatrix.coffs[7] * scaleY;\r\n transforms[tfIndex + 10] = particle.rotationMatrix.coffs[8];\r\n } else {\r\n // Rotate about origin by inverse view matrix so quads always face the camera and scale relative to size of quad.\r\n transforms[tfIndex + 0] = viewToWorld.coffs[0] * scaleX;\r\n transforms[tfIndex + 1] = viewToWorld.coffs[1] * scaleY;\r\n transforms[tfIndex + 2] = viewToWorld.coffs[2];\r\n transforms[tfIndex + 4] = viewToWorld.coffs[3] * scaleX;\r\n transforms[tfIndex + 5] = viewToWorld.coffs[4] * scaleY;\r\n transforms[tfIndex + 6] = viewToWorld.coffs[5];\r\n transforms[tfIndex + 8] = viewToWorld.coffs[6] * scaleX;\r\n transforms[tfIndex + 9] = viewToWorld.coffs[7] * scaleY;\r\n transforms[tfIndex + 10] = viewToWorld.coffs[8];\r\n }\r\n\r\n // Translate relative to center of particles range.\r\n transforms[tfIndex + 3] = particle.centroid.x - rangeCenter.x;\r\n transforms[tfIndex + 7] = particle.centroid.y - rangeCenter.y;\r\n transforms[tfIndex + 11] = particle.centroid.z - rangeCenter.z;\r\n\r\n tfIndex += floatsPerTransform;\r\n\r\n if (symbologyOverrides) {\r\n // See FeatureOverrides.buildLookupTable() for layout.\r\n symbologyOverrides[ovrIndex + 0] = 1 << 2; // OvrFlags.Alpha\r\n symbologyOverrides[ovrIndex + 7] = 0xff - particle.transparency;\r\n\r\n ovrIndex += bytesPerOverride;\r\n }\r\n }\r\n\r\n // Produce instanced quads.\r\n // Note: We do not need to allocate an array of featureIds. If we have a pickableId, all particles refer to the same Feature, with index 0.\r\n // So we leave the vertex attribute disabled causing the shader to receive the default (0, 0, 0) which happens to correspond to our feature index.\r\n const quad = createQuad(meanSize, this._texture, uniformTransparency ?? 0x7f);\r\n const transformCenter = new Point3d(0, 0, 0);\r\n const range = computeRange(this._range, rangeCenter, maxSize);\r\n const instances = { count: numParticles, transforms, transformCenter, symbologyOverrides, range };\r\n return this._viewport.target.renderSystem.createMesh(quad, instances);\r\n }\r\n}\r\n\r\nfunction createQuad(size: XAndY, texture: RenderTexture, transparency: number): MeshParams {\r\n const halfWidth = size.x / 2;\r\n const halfHeight = size.y / 2;\r\n const corners = [\r\n new Point3d(-halfWidth, -halfHeight, 0), new Point3d(halfWidth, -halfHeight, 0),\r\n new Point3d(-halfWidth, halfHeight, 0), new Point3d(halfWidth, halfHeight, 0),\r\n ];\r\n\r\n const range = new Range3d();\r\n range.low = corners[0];\r\n range.high = corners[3];\r\n\r\n const points = new QPoint3dList(QParams3d.fromRange(range));\r\n for (const corner of corners)\r\n points.add(corner);\r\n\r\n const colors = new ColorIndex();\r\n colors.initUniform(ColorDef.white.withTransparency(transparency));\r\n\r\n const quadArgs: MeshArgs = {\r\n points,\r\n vertIndices: [0, 1, 2, 2, 1, 3],\r\n fillFlags: FillFlags.None,\r\n isPlanar: true,\r\n colors,\r\n features: new FeatureIndex(),\r\n textureMapping: {\r\n texture,\r\n uvParams: [new Point2d(0, 1), new Point2d(1, 1), new Point2d(0, 0), new Point2d(1, 0)],\r\n },\r\n };\r\n\r\n return MeshParams.create(quadArgs);\r\n}\r\n\r\nfunction clampTransparency(transparency: number): number {\r\n transparency = Math.min(255, transparency, Math.max(0, transparency));\r\n transparency = Math.floor(transparency);\r\n if (transparency < DisplayParams.minTransparency)\r\n transparency = 0;\r\n\r\n return transparency;\r\n}\r\n\r\nfunction computeRange(centroidRange: Range3d, center: Point3d, maxSize: number): Range3d {\r\n const range2 = centroidRange.clone();\r\n range2.low.subtractInPlace(center);\r\n range2.high.subtractInPlace(center);\r\n const halfSize = maxSize * 0.5;\r\n range2.low.x -= halfSize;\r\n range2.low.y -= halfSize;\r\n range2.low.z -= halfSize;\r\n range2.high.x += halfSize;\r\n range2.high.y += halfSize;\r\n range2.high.z += halfSize;\r\n return range2;\r\n}\r\n"]}
1
+ {"version":3,"file":"ParticleCollectionBuilder.js","sourceRoot":"","sources":["../../../src/render/ParticleCollectionBuilder.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAY,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAiB,MAAM,sBAAsB,CAAC;AAC/G,OAAO,EACL,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAA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,GAAG,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IACnC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,OAAO,GAAG,GAAG,CAAC;IAC/B,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC;IACzB,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC;IACzB,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC;IACzB,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,QAAQ,CAAC;IAC1B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,QAAQ,CAAC;IAC1B,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,QAAQ,CAAC;IAC1B,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport { Matrix3d, Point2d, Point3d, Range3d, Transform, Vector2d, XAndY, XYAndZ } from \"@itwin/core-geometry\";\r\nimport {\r\n ColorDef, ColorIndex, Feature, FeatureIndex, FeatureTable, FillFlags, PackedFeatureTable, QParams3d, QPoint3dList, RenderTexture,\r\n} from \"@itwin/core-common\";\r\nimport { Viewport } from \"../Viewport\";\r\nimport { RenderGraphic } from \"./RenderGraphic\";\r\nimport { GraphicBranch } from \"./GraphicBranch\";\r\nimport { MeshParams } from \"./primitives/VertexTable\";\r\nimport { MeshArgs } from \"./primitives/mesh/MeshPrimitives\";\r\nimport { DisplayParams } from \"./primitives/DisplayParams\";\r\n\r\n/** Parameters used to construct a [[ParticleCollectionBuilder]].\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ParticleCollectionBuilderParams {\r\n /** The image mapped to each particle quad.\r\n * @note The texture should be disposed of when no longer needed to free up WebGL resources. For example, if a [[Decorator]] creates the texture, the\r\n * texture should probably be disposed of when the decorator is removed from the [[ViewManager]].\r\n */\r\n texture: RenderTexture;\r\n\r\n /** The default extents of the particle quad. Individual particles may apply a scale to these extents to produce particles of varying dimensions.\r\n * Must be positive.\r\n */\r\n size: XAndY | number;\r\n\r\n /** The initial transparency of the particles as an integer in [0,255]. Defaults to zero if omitted. */\r\n transparency?: number;\r\n\r\n /** The origin of the particle collection in world coordinates. Defaults to (0, 0, 0). */\r\n origin?: XYAndZ;\r\n\r\n /** If the particles are to be pickable, a unique identifier to associate with the resultant [[RenderGraphic]].\r\n * @see [[IModelConnection.transientIdSequence]] to obtain an Id that is unique within an iModel.\r\n */\r\n pickableId?: Id64String;\r\n\r\n /** The viewport in which the particles will be drawn. */\r\n viewport: Viewport;\r\n\r\n /** If true, the finished graphic will be defined in view coordinates, for use as a decoration of type [[GraphicType.ViewBackground]] or [[GraphicType.ViewOverlay]].\r\n * Defaults to false, indicating the graphic will be defined in world coordinates.\r\n * @see [[CoordSystem.View]] and [[CoordSystem.World]].\r\n */\r\n isViewCoords?: boolean;\r\n}\r\n\r\n/** Describes a particle to to add to a particle collection via [[ParticleCollectionBuilder.addParticle]].\r\n * The x, y, and z coordinates represent the centroid of the particle quad in the collection's coordinate space.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ParticleProps extends XYAndZ {\r\n /** The size of the particle, in the collection's coordinate space. If omitted, it defaults to the size supplied to the collection by [[ParticleCollectionBuilderParams.size]].\r\n * Supplying a `number` produces a square; supplying a non-uniform `XAndY` produces a rectangle. Must be positive.\r\n */\r\n size?: XAndY | number;\r\n\r\n /** The transparency with which to draw the particle as an integer in [0,255]. If omitted, it defaults to the current value of [[ParticleCollectionBuilder.transparency]]. */\r\n transparency?: number;\r\n\r\n /** A rotation matrix to orient the particle. If supplied then the particle will not be automatically oriented towards the camera. */\r\n rotationMatrix?: Matrix3d;\r\n}\r\n\r\n/** Interface for producing a collection of particles suitable for use in particle effects.\r\n * Particle effects involve animating hundreds or thousands of small particles to simulate phenomena like smoke, fire, snow, etc.\r\n * A particle collection represents each particle as a quad (rectangle) displaying an image. The position of each particle corresponds to the\r\n * centroid of its quad. The transparency and size of each particle can be specified individually. By default, the quads will always rotate to face the camera\r\n * such that the image is fully visible.\r\n *\r\n * Creating a particle collection using a ParticleCollectionBuilder is far more efficient (in both CPU and GPU usage) than doing so using a [[GraphicBuilder]].\r\n * @see interactive demonstrations of [Snow and Rain](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=snow-rain-sample&imodel=Villa) and\r\n * [Fire and Smoke](https://www.itwinjs.org/sample-showcase/?group=Viewer+Features&sample=fire-sample&imodel=Villa) particle effects.\r\n * @see [SnowEffect]($frontend-devtools) for an example of a particle effect.\r\n * @public\r\n * @extensions\r\n */\r\nexport interface ParticleCollectionBuilder {\r\n /** The default transparency for newly-added particles as an integer in [0,255], used by [[ParticleCollectionBuilder.addParticle]] if [[ParticleProps.transparency]] is omitted.\r\n * Changing this value has no effect on the transparency of previously-added particles.\r\n */\r\n transparency: number;\r\n\r\n /** The default size of each particle, used by [[ParticleCollectionBuilder.addParticle]] if [[ParticleProps.size]] is omitted. */\r\n size: XAndY;\r\n\r\n /** Add a particle to the collection.\r\n * If `size` is omitted, `this.size` is used.\r\n * If `transparency` is omitted, `this.transparency` is used.\r\n * @throws Error if particle size is defined and not greater than zero.\r\n */\r\n addParticle: (particle: ParticleProps) => void;\r\n\r\n /** Produces a finished graphic from the accumulated particles.\r\n * It returns the finished graphic, or `undefined` if the collection contains no particles or the [[RenderSystem]] failed to produce the graphic.\r\n * @note After this method returns, the particle collection is empty.\r\n */\r\n finish: () => RenderGraphic | undefined;\r\n}\r\n\r\n/** @public */\r\nexport namespace ParticleCollectionBuilder {\r\n /** Creates a new ParticleCollectionBuilder.\r\n * @throws Error if size is not greater than zero.\r\n */\r\n export function create(params: ParticleCollectionBuilderParams): ParticleCollectionBuilder {\r\n return new Builder(params);\r\n }\r\n}\r\n\r\nclass Particle {\r\n public readonly centroid: Point3d;\r\n public readonly transparency: number;\r\n public readonly width: number;\r\n public readonly height: number;\r\n public readonly rotationMatrix?: Matrix3d;\r\n\r\n public constructor(centroid: XYAndZ, width: number, height: number, transparency: number, rotationMatrix?: Matrix3d) {\r\n this.centroid = Point3d.fromJSON(centroid);\r\n this.transparency = transparency;\r\n this.width = width;\r\n this.height = height;\r\n this.rotationMatrix = rotationMatrix;\r\n }\r\n}\r\n\r\nclass Builder implements ParticleCollectionBuilder {\r\n private readonly _viewport: Viewport;\r\n private readonly _isViewCoords: boolean;\r\n private readonly _pickableId?: Id64String;\r\n private readonly _texture: RenderTexture;\r\n private readonly _size: Vector2d;\r\n private _transparency: number;\r\n private _hasVaryingTransparency = false;\r\n private readonly _localToWorldTransform: Transform;\r\n private readonly _range = Range3d.createNull();\r\n private _particlesOpaque: Particle[] = [];\r\n private _particlesTranslucent: Particle[] = [];\r\n\r\n public constructor(params: ParticleCollectionBuilderParams) {\r\n this._viewport = params.viewport;\r\n this._isViewCoords = true === params.isViewCoords;\r\n this._pickableId = params.pickableId;\r\n this._texture = params.texture;\r\n this._transparency = undefined !== params.transparency ? clampTransparency(params.transparency) : 0;\r\n this._localToWorldTransform = params.origin ? Transform.createTranslationXYZ(params.origin.x, params.origin.y, params.origin.z) : Transform.createIdentity();\r\n\r\n if (\"number\" === typeof params.size)\r\n this._size = new Vector2d(params.size, params.size);\r\n else\r\n this._size = Vector2d.fromJSON(params.size);\r\n\r\n if (this._size.x <= 0 || this._size.y <= 0)\r\n throw new Error(\"Particle size must be greater than zero\");\r\n }\r\n\r\n public get size(): XAndY {\r\n return this._size;\r\n }\r\n\r\n public get transparency() {\r\n return this._transparency;\r\n }\r\n\r\n public set transparency(transparency: number) {\r\n transparency = clampTransparency(transparency);\r\n if (transparency !== this._transparency) {\r\n this._transparency = transparency;\r\n this._hasVaryingTransparency = this._particlesTranslucent.length > 0;\r\n }\r\n }\r\n\r\n public addParticle(props: ParticleProps): void {\r\n const size = props.size ?? this._size;\r\n let width, height;\r\n if (\"number\" === typeof size) {\r\n width = height = size;\r\n } else {\r\n width = size.x;\r\n height = size.y;\r\n }\r\n\r\n if (width <= 0 || height <= 0)\r\n throw new Error(\"A particle must have a size greater than zero\");\r\n\r\n const transparency = undefined !== props.transparency ? clampTransparency(props.transparency) : this.transparency;\r\n if (transparency !== this.transparency && this._particlesTranslucent.length > 0)\r\n this._hasVaryingTransparency = true;\r\n\r\n const particle = new Particle(props, width, height, transparency, props.rotationMatrix);\r\n if (transparency > 0)\r\n this._particlesTranslucent.push(particle);\r\n else\r\n this._particlesOpaque.push(particle);\r\n this._range.extendPoint(particle.centroid);\r\n }\r\n\r\n public finish(): RenderGraphic | undefined {\r\n if (0 === this._particlesTranslucent.length + this._particlesOpaque.length)\r\n return undefined;\r\n\r\n // Order-independent transparency doesn't work well with opaque geometry - it will look semi-transparent.\r\n // If we have a mix of opaque and transparent particles, put them in separate graphics to be rendered in separate passes.\r\n const opaque = this.createGraphic(this._particlesOpaque, 0);\r\n const transparent = this.createGraphic(this._particlesTranslucent, this._hasVaryingTransparency ? undefined : this._transparency);\r\n\r\n // Empty the collection before any return statements.\r\n const range = this._range.clone();\r\n this._range.setNull();\r\n this._particlesOpaque.length = 0;\r\n this._particlesTranslucent.length = 0;\r\n this._hasVaryingTransparency = false;\r\n\r\n if (!transparent && !opaque)\r\n return undefined;\r\n\r\n // Transform from origin to collection, then to world.\r\n const toCollection = Transform.createTranslation(range.center);\r\n const toWorld = toCollection.multiplyTransformTransform(this._localToWorldTransform);\r\n const branch = new GraphicBranch(true);\r\n if (opaque)\r\n branch.add(opaque);\r\n\r\n if (transparent)\r\n branch.add(transparent);\r\n\r\n let graphic = this._viewport.target.renderSystem.createGraphicBranch(branch, toWorld);\r\n\r\n // If we have a pickable Id, produce a batch.\r\n // NB: We pass this._pickableId as the FeatureTable's modelId so that it will be treated like a reality model or a map -\r\n // specifically, it can be located and display a tooltip, but can't be selected.\r\n const featureTable = this._pickableId ? new FeatureTable(1, this._pickableId) : undefined;\r\n if (featureTable) {\r\n this._localToWorldTransform.multiplyRange(range, range);\r\n featureTable.insert(new Feature(this._pickableId));\r\n graphic = this._viewport.target.renderSystem.createBatch(graphic, PackedFeatureTable.pack(featureTable), range);\r\n }\r\n\r\n return graphic;\r\n }\r\n\r\n private createGraphic(particles: Particle[], uniformTransparency: number | undefined): RenderGraphic | undefined {\r\n const numParticles = particles.length;\r\n if (numParticles <= 0)\r\n return undefined;\r\n\r\n // To keep scale values close to 1, compute mean size to use as size of quad.\r\n const meanSize = new Vector2d();\r\n let maxSize = 0;\r\n for (const particle of particles) {\r\n meanSize.x += particle.width;\r\n meanSize.y += particle.height;\r\n if (particle.width > maxSize)\r\n maxSize = particle.width;\r\n if (particle.height > maxSize)\r\n maxSize = particle.height;\r\n }\r\n meanSize.x /= numParticles;\r\n meanSize.y /= numParticles;\r\n\r\n // Define InstancedGraphicParams for particles.\r\n const rangeCenter = this._range.center;\r\n const floatsPerTransform = 12;\r\n const transforms = new Float32Array(floatsPerTransform * numParticles);\r\n const bytesPerOverride = 8;\r\n const symbologyOverrides = undefined === uniformTransparency ? new Uint8Array(bytesPerOverride * numParticles) : undefined;\r\n\r\n const viewToWorld = this._viewport.view.getRotation().transpose();\r\n let tfIndex = 0;\r\n let ovrIndex = 0;\r\n for (const particle of particles) {\r\n const scaleX = particle.width / meanSize.x;\r\n const scaleY = particle.height / meanSize.y;\r\n if (this._isViewCoords) {\r\n // Particles already face the camera in view coords - just apply the scale.\r\n transforms[tfIndex + 0] = scaleX;\r\n transforms[tfIndex + 5] = scaleY;\r\n transforms[tfIndex + 10] = 1;\r\n } else if (undefined !== particle.rotationMatrix) {\r\n // Scale rotation matrix relative to size of quad.\r\n transforms[tfIndex + 0] = particle.rotationMatrix.coffs[0] * scaleX;\r\n transforms[tfIndex + 1] = particle.rotationMatrix.coffs[1] * scaleY;\r\n transforms[tfIndex + 2] = particle.rotationMatrix.coffs[2];\r\n transforms[tfIndex + 4] = particle.rotationMatrix.coffs[3] * scaleX;\r\n transforms[tfIndex + 5] = particle.rotationMatrix.coffs[4] * scaleY;\r\n transforms[tfIndex + 6] = particle.rotationMatrix.coffs[5];\r\n transforms[tfIndex + 8] = particle.rotationMatrix.coffs[6] * scaleX;\r\n transforms[tfIndex + 9] = particle.rotationMatrix.coffs[7] * scaleY;\r\n transforms[tfIndex + 10] = particle.rotationMatrix.coffs[8];\r\n } else {\r\n // Rotate about origin by inverse view matrix so quads always face the camera and scale relative to size of quad.\r\n transforms[tfIndex + 0] = viewToWorld.coffs[0] * scaleX;\r\n transforms[tfIndex + 1] = viewToWorld.coffs[1] * scaleY;\r\n transforms[tfIndex + 2] = viewToWorld.coffs[2];\r\n transforms[tfIndex + 4] = viewToWorld.coffs[3] * scaleX;\r\n transforms[tfIndex + 5] = viewToWorld.coffs[4] * scaleY;\r\n transforms[tfIndex + 6] = viewToWorld.coffs[5];\r\n transforms[tfIndex + 8] = viewToWorld.coffs[6] * scaleX;\r\n transforms[tfIndex + 9] = viewToWorld.coffs[7] * scaleY;\r\n transforms[tfIndex + 10] = viewToWorld.coffs[8];\r\n }\r\n\r\n // Translate relative to center of particles range.\r\n transforms[tfIndex + 3] = particle.centroid.x - rangeCenter.x;\r\n transforms[tfIndex + 7] = particle.centroid.y - rangeCenter.y;\r\n transforms[tfIndex + 11] = particle.centroid.z - rangeCenter.z;\r\n\r\n tfIndex += floatsPerTransform;\r\n\r\n if (symbologyOverrides) {\r\n // See FeatureOverrides.buildLookupTable() for layout.\r\n symbologyOverrides[ovrIndex + 0] = 1 << 2; // OvrFlags.Alpha\r\n symbologyOverrides[ovrIndex + 7] = 0xff - particle.transparency;\r\n\r\n ovrIndex += bytesPerOverride;\r\n }\r\n }\r\n\r\n // Produce instanced quads.\r\n // Note: We do not need to allocate an array of featureIds. If we have a pickableId, all particles refer to the same Feature, with index 0.\r\n // So we leave the vertex attribute disabled causing the shader to receive the default (0, 0, 0) which happens to correspond to our feature index.\r\n const quad = createQuad(meanSize, this._texture, uniformTransparency ?? 0x7f);\r\n const transformCenter = new Point3d(0, 0, 0);\r\n const range = computeRange(this._range, rangeCenter, maxSize);\r\n const instances = { count: numParticles, transforms, transformCenter, symbologyOverrides, range };\r\n return this._viewport.target.renderSystem.createMesh(quad, instances);\r\n }\r\n}\r\n\r\nfunction createQuad(size: XAndY, texture: RenderTexture, transparency: number): MeshParams {\r\n const halfWidth = size.x / 2;\r\n const halfHeight = size.y / 2;\r\n const corners = [\r\n new Point3d(-halfWidth, -halfHeight, 0), new Point3d(halfWidth, -halfHeight, 0),\r\n new Point3d(-halfWidth, halfHeight, 0), new Point3d(halfWidth, halfHeight, 0),\r\n ];\r\n\r\n const range = new Range3d();\r\n range.low = corners[0];\r\n range.high = corners[3];\r\n\r\n const points = new QPoint3dList(QParams3d.fromRange(range));\r\n for (const corner of corners)\r\n points.add(corner);\r\n\r\n const colors = new ColorIndex();\r\n colors.initUniform(ColorDef.white.withTransparency(transparency));\r\n\r\n const quadArgs: MeshArgs = {\r\n points,\r\n vertIndices: [0, 1, 2, 2, 1, 3],\r\n fillFlags: FillFlags.None,\r\n isPlanar: true,\r\n colors,\r\n features: new FeatureIndex(),\r\n textureMapping: {\r\n texture,\r\n uvParams: [new Point2d(0, 1), new Point2d(1, 1), new Point2d(0, 0), new Point2d(1, 0)],\r\n },\r\n };\r\n\r\n return MeshParams.create(quadArgs);\r\n}\r\n\r\nfunction clampTransparency(transparency: number): number {\r\n transparency = Math.min(255, transparency, Math.max(0, transparency));\r\n transparency = Math.floor(transparency);\r\n if (transparency < DisplayParams.minTransparency)\r\n transparency = 0;\r\n\r\n return transparency;\r\n}\r\n\r\nfunction computeRange(centroidRange: Range3d, center: Point3d, maxSize: number): Range3d {\r\n const range2 = centroidRange.clone();\r\n range2.low.subtractInPlace(center);\r\n range2.high.subtractInPlace(center);\r\n const halfSize = maxSize * 0.5;\r\n range2.low.x -= halfSize;\r\n range2.low.y -= halfSize;\r\n range2.low.z -= halfSize;\r\n range2.high.x += halfSize;\r\n range2.high.y += halfSize;\r\n range2.high.z += halfSize;\r\n return range2;\r\n}\r\n"]}
@@ -7,6 +7,7 @@ import { IModelConnection } from "../IModelConnection";
7
7
  /** Describes aspects of a pixel as read from a [[Viewport]].
8
8
  * @see [[Viewport.readPixels]].
9
9
  * @public
10
+ * @extensions
10
11
  */
11
12
  export declare namespace Pixel {
12
13
  /** Describes a single pixel within a [[Pixel.Buffer]]. */
@@ -1 +1 @@
1
- {"version":3,"file":"Pixel.d.ts","sourceRoot":"","sources":["../../../src/render/Pixel.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAa,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACrB,0DAA0D;IAC1D,MAAa,IAAI;QACf,2CAA2C;QAC3C,SAAgB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClC,sHAAsH;QACtH,SAAgB,gBAAgB,EAAE,MAAM,CAAC;QACzC,oDAAoD;QACpD,SAAgB,IAAI,EAAE,YAAY,CAAC;QACnC,6DAA6D;QAC7D,SAAgB,SAAS,EAAE,SAAS,CAAC;QACrC,gBAAgB;QAChB,SAAgB,YAAY,CAAC,EAAE,kBAAkB,CAAC;QAClD,yEAAyE;QACzE,SAAgB,MAAM,CAAC,EAAE,gBAAgB,CAAC;QAC1C,gBAAgB;QAChB,SAAgB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChC,gBAAgB;QAChB,IAAW,YAAY,IAAI,OAAO,CAA4F;QAE9H,gBAAgB;oBACG,OAAO,CAAC,EAAE,OAAO,EAAE,gBAAgB,SAAO,EAAE,IAAI,eAAuB,E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IAAI,IAAA;QACJ,wEAAwE;QACxE,UAAU,IAAA;KACX;IAED,iFAAiF;IACjF,KAAY,SAAS;QACnB,0GAA0G;QAC1G,OAAO,IAAA;QACP,8CAA8C;QAC9C,IAAI,IAAA;QACJ,2CAA2C;QAC3C,MAAM,IAAA;QACN,+CAA+C;QAC/C,SAAS,IAAA;KACV;IAED;;;OAGG;IACH,KAAY,QAAQ;QAClB,IAAI,IAAI;QACR,iIAAiI;QACjI,OAAO,IAAS;QAChB,mJAAmJ;QACnJ,mBAAmB,IAAS;QAC5B,wCAAwC;QACxC,GAAG,IAAgC;KACpC;IAED;;;OAGG;IACH,UAAiB,MAAM;QACrB,gFAAgF;QAChF,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACtC;IAED;;OAEG;IACH,KAAY,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAC7D"}
@@ -9,6 +9,7 @@ import { BatchType } from "@itwin/core-common";
9
9
  /** Describes aspects of a pixel as read from a [[Viewport]].
10
10
  * @see [[Viewport.readPixels]].
11
11
  * @public
12
+ * @extensions
12
13
  */
13
14
  export var Pixel;
14
15
  (function (Pixel) {
@@ -1 +1 @@
1
- {"version":3,"file":"Pixel.js","sourceRoot":"","sources":["../../../src/render/Pixel.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAE,SAAS,EAA8C,MAAM,oBAAoB,CAAC;AAG3F;;;GAGG;AACH,MAAM,KAAW,KAAK,CAsGrB;AAtGD,WAAiB,KAAK;IACpB,0DAA0D;IAC1D,MAAa,IAAI;QAkBf,gBAAgB;QAChB,YAAmB,OAAiB,EAAE,gBAAgB,GAAG,CAAC,GAAG,EAAE,IAAI,GAAG,YAAY,CAAC,OAAO,EAAE,SAAS,GAAG,SAAS,CAAC,OAAO,EAAE,YAAiC,EAAE,MAAyB,EAAE,MAAe;YACt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,CAAA;IACZ,CAAC,EAbW,YAAY,GAAZ,kBAAY,KAAZ,kBAAY,QAavB;IAED,iFAAiF;IACjF,IAAY,SASX;IATD,WAAY,SAAS;QACnB,0GAA0G;QAC1G,+CAAO,CAAA;QACP,8CAA8C;QAC9C,yCAAI,CAAA;QACJ,2CAA2C;QAC3C,6CAAM,CAAA;QACN,+CAA+C;QAC/C,mDAAS,CAAA;IACX,CAAC,EATW,SAAS,GAAT,eAAS,KAAT,eAAS,QASpB;IAED;;;OAGG;IACH,IAAY,QAQX;IARD,WAAY,QAAQ;QAClB,uCAAQ,CAAA;QACR,iIAAiI;QACjI,6CAAgB,CAAA;QAChB,mJAAmJ;QACnJ,qEAA4B,CAAA;QAC5B,wCAAwC;QACxC,qCAAmC,CAAA;IACrC,CAAC,EARW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAQnB;AAeH,CAAC,EAtGgB,KAAK,KAAL,KAAK,QAsGrB","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport { BatchType, Feature, GeometryClass, PackedFeatureTable } from \"@itwin/core-common\";\r\nimport { IModelConnection } from \"../IModelConnection\";\r\n\r\n/** Describes aspects of a pixel as read from a [[Viewport]].\r\n * @see [[Viewport.readPixels]].\r\n * @public\r\n */\r\nexport namespace Pixel {\r\n /** Describes a single pixel within a [[Pixel.Buffer]]. */\r\n export class Data {\r\n /** The feature that produced the pixel. */\r\n public readonly feature?: Feature;\r\n /** The pixel's depth in [[CoordSystem.Npc]] coordinates (0 to 1), or -1 if depth was not written or not requested. */\r\n public readonly distanceFraction: number;\r\n /** The type of geometry that produced the pixel. */\r\n public readonly type: GeometryType;\r\n /** The planarity of the geometry that produced the pixel. */\r\n public readonly planarity: Planarity;\r\n /** @internal */\r\n public readonly featureTable?: PackedFeatureTable;\r\n /** The iModel from which the geometry producing the pixel originated. */\r\n public readonly iModel?: IModelConnection;\r\n /** @internal */\r\n public readonly tileId?: string;\r\n /** @internal */\r\n public get isClassifier(): boolean { return undefined !== this.featureTable && BatchType.Primary !== this.featureTable.type; }\r\n\r\n /** @internal */\r\n public constructor(feature?: Feature, distanceFraction = -1.0, type = GeometryType.Unknown, planarity = Planarity.Unknown, featureTable?: PackedFeatureTable, iModel?: IModelConnection, tileId?: string) {\r\n this.feature = feature;\r\n this.distanceFraction = distanceFraction;\r\n this.type = type;\r\n this.planarity = planarity;\r\n this.featureTable = featureTable;\r\n this.iModel = iModel;\r\n this.tileId = tileId;\r\n }\r\n\r\n /** The Id of the element that produced the pixel. */\r\n public get elementId(): Id64String | undefined {\r\n return undefined !== this.feature ? this.feature.elementId : undefined;\r\n }\r\n\r\n /** The Id of the [SubCategory]($backend) that produced the pixel. */\r\n public get subCategoryId(): Id64String | undefined {\r\n return undefined !== this.feature ? this.feature.subCategoryId : undefined;\r\n }\r\n\r\n /** The class of geometry that produced the pixel. */\r\n public get geometryClass(): GeometryClass | undefined {\r\n return undefined !== this.feature ? this.feature.geometryClass : undefined;\r\n }\r\n }\r\n\r\n /** Describes the type of geometry that produced the [[Pixel.Data]]. */\r\n export enum GeometryType {\r\n /** [[Pixel.Selector.GeometryAndDistance]] was not specified, or the type could not be determined. */\r\n Unknown, // Geometry was not selected, or type could not be determined\r\n /** No geometry was rendered to this pixel. */\r\n None,\r\n /** A surface produced this pixel. */\r\n Surface,\r\n /** A point primitive or polyline produced this pixel. */\r\n Linear,\r\n /** This pixel was produced by an edge of a surface. */\r\n Edge,\r\n /** This pixel was produced by a silhouette edge of a curved surface. */\r\n Silhouette,\r\n }\r\n\r\n /** Describes the planarity of the foremost geometry which produced the pixel. */\r\n export enum Planarity {\r\n /** [[Pixel.Selector.GeometryAndDistance]] was not specified, or the planarity could not be determined. */\r\n Unknown,\r\n /** No geometry was rendered to this pixel. */\r\n None,\r\n /** Planar geometry produced this pixel. */\r\n Planar,\r\n /** Non-planar geometry produced this pixel. */\r\n NonPlanar,\r\n }\r\n\r\n /**\r\n * Bit-mask by which callers of [[Viewport.readPixels]] specify which aspects are of interest.\r\n * Aspects not specified will be omitted from the returned data.\r\n */\r\n export enum Selector {\r\n None = 0,\r\n /** Select the [[Feature]] which produced each pixel, as well as the [[PackedFeatureTable]] from which the feature originated. */\r\n Feature = 1 << 0, // eslint-disable-line @typescript-eslint/no-shadow\r\n /** Select the type and planarity of geometry which produced each pixel as well as the fraction of its distance between the near and far planes. */\r\n GeometryAndDistance = 1 << 2,\r\n /** Select all aspects of each pixel. */\r\n All = GeometryAndDistance | Feature,\r\n }\r\n\r\n /** A rectangular array of pixels as read from a [[Viewport]]'s frame buffer. Each pixel is represented as a [[Pixel.Data]] object.\r\n * The contents of the pixel buffer will be specified using device pixels, not CSS pixels. See [[Viewport.devicePixelRatio]] and [[Viewport.cssPixelsToDevicePixels]].\r\n * @see [[Viewport.readPixels]].\r\n */\r\n export interface Buffer {\r\n /** Retrieve the data associated with the pixel at (x,y) in view coordinates. */\r\n getPixel(x: number, y: number): Data;\r\n }\r\n\r\n /** A function which receives the results of a call to [[Viewport.readPixels]].\r\n * @note The contents of the buffer become invalid once the Receiver function returns. Do not store a reference to it.\r\n */\r\n export type Receiver = (pixels: Buffer | undefined) => void;\r\n}\r\n"]}
1
+ {"version":3,"file":"Pixel.js","sourceRoot":"","sources":["../../../src/render/Pixel.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAAE,SAAS,EAA8C,MAAM,oBAAoB,CAAC;AAG3F;;;;GAIG;AACH,MAAM,KAAW,KAAK,CAsGrB;AAtGD,WAAiB,KAAK;IACpB,0DAA0D;IAC1D,MAAa,IAAI;QAkBf,gBAAgB;QAChB,YAAmB,OAAiB,EAAE,gBAAgB,GAAG,CAAC,GAAG,EAAE,IAAI,G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AO,CAAA;QACP,yDAAyD;QACzD,mDAAM,CAAA;QACN,uDAAuD;QACvD,+CAAI,CAAA;QACJ,wEAAwE;QACxE,2DAAU,CAAA;IACZ,CAAC,EAbW,YAAY,GAAZ,kBAAY,KAAZ,kBAAY,QAavB;IAED,iFAAiF;IACjF,IAAY,SASX;IATD,WAAY,SAAS;QACnB,0GAA0G;QAC1G,+CAAO,CAAA;QACP,8CAA8C;QAC9C,yCAAI,CAAA;QACJ,2CAA2C;QAC3C,6CAAM,CAAA;QACN,+CAA+C;QAC/C,mDAAS,CAAA;IACX,CAAC,EATW,SAAS,GAAT,eAAS,KAAT,eAAS,QASpB;IAED;;;OAGG;IACH,IAAY,QAQX;IARD,WAAY,QAAQ;QAClB,uCAAQ,CAAA;QACR,iIAAiI;QACjI,6CAAgB,CAAA;QAChB,mJAAmJ;QACnJ,qEAA4B,CAAA;QAC5B,wCAAwC;QACxC,qCAAmC,CAAA;IACrC,CAAC,EARW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAQnB;AAeH,CAAC,EAtGgB,KAAK,KAAL,KAAK,QAsGrB","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport { BatchType, Feature, GeometryClass, PackedFeatureTable } from \"@itwin/core-common\";\r\nimport { IModelConnection } from \"../IModelConnection\";\r\n\r\n/** Describes aspects of a pixel as read from a [[Viewport]].\r\n * @see [[Viewport.readPixels]].\r\n * @public\r\n * @extensions\r\n */\r\nexport namespace Pixel {\r\n /** Describes a single pixel within a [[Pixel.Buffer]]. */\r\n export class Data {\r\n /** The feature that produced the pixel. */\r\n public readonly feature?: Feature;\r\n /** The pixel's depth in [[CoordSystem.Npc]] coordinates (0 to 1), or -1 if depth was not written or not requested. */\r\n public readonly distanceFraction: number;\r\n /** The type of geometry that produced the pixel. */\r\n public readonly type: GeometryType;\r\n /** The planarity of the geometry that produced the pixel. */\r\n public readonly planarity: Planarity;\r\n /** @internal */\r\n public readonly featureTable?: PackedFeatureTable;\r\n /** The iModel from which the geometry producing the pixel originated. */\r\n public readonly iModel?: IModelConnection;\r\n /** @internal */\r\n public readonly tileId?: string;\r\n /** @internal */\r\n public get isClassifier(): boolean { return undefined !== this.featureTable && BatchType.Primary !== this.featureTable.type; }\r\n\r\n /** @internal */\r\n public constructor(feature?: Feature, distanceFraction = -1.0, type = GeometryType.Unknown, planarity = Planarity.Unknown, featureTable?: PackedFeatureTable, iModel?: IModelConnection, tileId?: string) {\r\n this.feature = feature;\r\n this.distanceFraction = distanceFraction;\r\n this.type = type;\r\n this.planarity = planarity;\r\n this.featureTable = featureTable;\r\n this.iModel = iModel;\r\n this.tileId = tileId;\r\n }\r\n\r\n /** The Id of the element that produced the pixel. */\r\n public get elementId(): Id64String | undefined {\r\n return undefined !== this.feature ? this.feature.elementId : undefined;\r\n }\r\n\r\n /** The Id of the [SubCategory]($backend) that produced the pixel. */\r\n public get subCategoryId(): Id64String | undefined {\r\n return undefined !== this.feature ? this.feature.subCategoryId : undefined;\r\n }\r\n\r\n /** The class of geometry that produced the pixel. */\r\n public get geometryClass(): GeometryClass | undefined {\r\n return undefined !== this.feature ? this.feature.geometryClass : undefined;\r\n }\r\n }\r\n\r\n /** Describes the type of geometry that produced the [[Pixel.Data]]. */\r\n export enum GeometryType {\r\n /** [[Pixel.Selector.GeometryAndDistance]] was not specified, or the type could not be determined. */\r\n Unknown, // Geometry was not selected, or type could not be determined\r\n /** No geometry was rendered to this pixel. */\r\n None,\r\n /** A surface produced this pixel. */\r\n Surface,\r\n /** A point primitive or polyline produced this pixel. */\r\n Linear,\r\n /** This pixel was produced by an edge of a surface. */\r\n Edge,\r\n /** This pixel was produced by a silhouette edge of a curved surface. */\r\n Silhouette,\r\n }\r\n\r\n /** Describes the planarity of the foremost geometry which produced the pixel. */\r\n export enum Planarity {\r\n /** [[Pixel.Selector.GeometryAndDistance]] was not specified, or the planarity could not be determined. */\r\n Unknown,\r\n /** No geometry was rendered to this pixel. */\r\n None,\r\n /** Planar geometry produced this pixel. */\r\n Planar,\r\n /** Non-planar geometry produced this pixel. */\r\n NonPlanar,\r\n }\r\n\r\n /**\r\n * Bit-mask by which callers of [[Viewport.readPixels]] specify which aspects are of interest.\r\n * Aspects not specified will be omitted from the returned data.\r\n */\r\n export enum Selector {\r\n None = 0,\r\n /** Select the [[Feature]] which produced each pixel, as well as the [[PackedFeatureTable]] from which the feature originated. */\r\n Feature = 1 << 0, // eslint-disable-line @typescript-eslint/no-shadow\r\n /** Select the type and planarity of geometry which produced each pixel as well as the fraction of its distance between the near and far planes. */\r\n GeometryAndDistance = 1 << 2,\r\n /** Select all aspects of each pixel. */\r\n All = GeometryAndDistance | Feature,\r\n }\r\n\r\n /** A rectangular array of pixels as read from a [[Viewport]]'s frame buffer. Each pixel is represented as a [[Pixel.Data]] object.\r\n * The contents of the pixel buffer will be specified using device pixels, not CSS pixels. See [[Viewport.devicePixelRatio]] and [[Viewport.cssPixelsToDevicePixels]].\r\n * @see [[Viewport.readPixels]].\r\n */\r\n export interface Buffer {\r\n /** Retrieve the data associated with the pixel at (x,y) in view coordinates. */\r\n getPixel(x: number, y: number): Data;\r\n }\r\n\r\n /** A function which receives the results of a call to [[Viewport.readPixels]].\r\n * @note The contents of the buffer become invalid once the Receiver function returns. Do not store a reference to it.\r\n */\r\n export type Receiver = (pixels: Buffer | undefined) => void;\r\n}\r\n"]}
@@ -6,6 +6,7 @@ import { ClipVector } from "@itwin/core-geometry";
6
6
  * A RenderClipVolume is created from a [[ClipVector]] and takes ownership of that ClipVector, expecting that it will not be modified while the RenderClipVolume still references it.
7
7
  * @see [[RenderSystem.createClipVolume]] to create a clip volume.
8
8
  * @public
9
+ * @extensions
9
10
  */
10
11
  export declare abstract class RenderClipVolume {
11
12
  /** The ClipVector from which this volume was created. It must not be modified. */
@@ -1 +1 @@
1
- {"version":3,"file":"RenderClipVolume.d.ts","sourceRoot":"","sources":["../../../src/render/RenderClipVolume.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;GAIG;AACH,8BAAsB,gBAAgB;IACpC,kFAAkF;IAClF,SAAgB,UAAU,EAAE,UAAU,CAAC;IAEvC,SAAS,aAAa,UAAU,EAAE,UAAU;CAG7C"}
1
+ {"version":3,"file":"RenderClipVolume.d.ts","sourceRoot":"","sources":["../../../src/render/RenderClipVolume.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;GAKG;AACH,8BAAsB,gBAAgB;IACpC,kFAAkF;IAClF,SAAgB,UAAU,EAAE,UAAU,CAAC;IAEvC,SAAS,aAAa,UAAU,EAAE,UAAU;CAG7C"}
@@ -9,6 +9,7 @@
9
9
  * A RenderClipVolume is created from a [[ClipVector]] and takes ownership of that ClipVector, expecting that it will not be modified while the RenderClipVolume still references it.
10
10
  * @see [[RenderSystem.createClipVolume]] to create a clip volume.
11
11
  * @public
12
+ * @extensions
12
13
  */
13
14
  export class RenderClipVolume {
14
15
  constructor(clipVector) {
@@ -1 +1 @@
1
- {"version":3,"file":"RenderClipVolume.js","sourceRoot":"","sources":["../../../src/render/RenderClipVolume.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH;;;;GAIG;AACH,MAAM,OAAgB,gBAAgB;IAIpC,YAAsB,UAAsB;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { ClipVector } from \"@itwin/core-geometry\";\r\n\r\n/** An opaque representation of a clip volume applied to geometry within a [[Viewport]].\r\n * A RenderClipVolume is created from a [[ClipVector]] and takes ownership of that ClipVector, expecting that it will not be modified while the RenderClipVolume still references it.\r\n * @see [[RenderSystem.createClipVolume]] to create a clip volume.\r\n * @public\r\n */\r\nexport abstract class RenderClipVolume {\r\n /** The ClipVector from which this volume was created. It must not be modified. */\r\n public readonly clipVector: ClipVector;\r\n\r\n protected constructor(clipVector: ClipVector) {\r\n this.clipVector = clipVector;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"RenderClipVolume.js","sourceRoot":"","sources":["../../../src/render/RenderClipVolume.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH;;;;;GAKG;AACH,MAAM,OAAgB,gBAAgB;IAIpC,YAAsB,UAAsB;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { ClipVector } from \"@itwin/core-geometry\";\r\n\r\n/** An opaque representation of a clip volume applied to geometry within a [[Viewport]].\r\n * A RenderClipVolume is created from a [[ClipVector]] and takes ownership of that ClipVector, expecting that it will not be modified while the RenderClipVolume still references it.\r\n * @see [[RenderSystem.createClipVolume]] to create a clip volume.\r\n * @public\r\n * @extensions\r\n */\r\nexport abstract class RenderClipVolume {\r\n /** The ClipVector from which this volume was created. It must not be modified. */\r\n public readonly clipVector: ClipVector;\r\n\r\n protected constructor(clipVector: ClipVector) {\r\n this.clipVector = clipVector;\r\n }\r\n}\r\n"]}
@@ -9,6 +9,7 @@ import { RenderMemory } from "./RenderMemory";
9
9
  * - [[Decorations]] created on the front-end to be rendered along with the scene.
10
10
  * The latter are produced using a [[GraphicBuilder]].
11
11
  * @public
12
+ * @extensions
12
13
  */
13
14
  export declare abstract class RenderGraphic implements IDisposable {
14
15
  abstract dispose(): void;
@@ -20,6 +21,7 @@ export declare abstract class RenderGraphic implements IDisposable {
20
21
  * will never be automatically disposed of. Instead, you assume responsibility for disposing of the owned graphic by calling [[disposeGraphic]] when the owned graphic is no longer in use. Failure
21
22
  * to do so will result in leaks of graphics memory or other webgl resources.
22
23
  * @public
24
+ * @extensions
23
25
  */
24
26
  export declare abstract class RenderGraphicOwner extends RenderGraphic {
25
27
  /** The owned graphic. */
@@ -33,6 +35,7 @@ export declare abstract class RenderGraphicOwner extends RenderGraphic {
33
35
  }
34
36
  /** An array of [[RenderGraphic]]s.
35
37
  * @public
38
+ * @extensions
36
39
  */
37
40
  export declare type GraphicList = RenderGraphic[];
38
41
  //# sourceMappingURL=RenderGraphic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RenderGraphic.d.ts","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;;GAMG;AACH,8BAAsB,aAAc,YAAW,WAAW;aACxC,OAAO,IAAI,IAAI;IAE/B,gBAAgB;aACA,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,GAAG,IAAI;CACxE;AAED;;;;;GAKG;AACH,8BAAsB,kBAAmB,SAAQ,aAAa;IAC5D,yBAAyB;IACzB,aAAoB,OAAO,IAAI,aAAa,CAAC;IAC7C,6EAA6E;IACtE,OAAO,IAAI,IAAI;IACtB,qCAAqC;IAC9B,cAAc,IAAI,IAAI;IAC7B,gBAAgB;IACT,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,GAAG,IAAI;CAC/D;AAED;;GAEG;AACH,oBAAY,WAAW,GAAG,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"RenderGraphic.d.ts","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;;;GAOG;AACH,8BAAsB,aAAc,YAAW,WAAW;aACxC,OAAO,IAAI,IAAI;IAE/B,gBAAgB;aACA,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,GAAG,IAAI;CACxE;AAED;;;;;;GAMG;AACH,8BAAsB,kBAAmB,SAAQ,aAAa;IAC5D,yBAAyB;IACzB,aAAoB,OAAO,IAAI,aAAa,CAAC;IAC7C,6EAA6E;IACtE,OAAO,IAAI,IAAI;IACtB,qCAAqC;IAC9B,cAAc,IAAI,IAAI;IAC7B,gBAAgB;IACT,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,GAAG,IAAI;CAC/D;AAED;;;GAGG;AACH,oBAAY,WAAW,GAAG,aAAa,EAAE,CAAC"}
@@ -11,6 +11,7 @@
11
11
  * - [[Decorations]] created on the front-end to be rendered along with the scene.
12
12
  * The latter are produced using a [[GraphicBuilder]].
13
13
  * @public
14
+ * @extensions
14
15
  */
15
16
  export class RenderGraphic {
16
17
  }
@@ -19,6 +20,7 @@ export class RenderGraphic {
19
20
  * will never be automatically disposed of. Instead, you assume responsibility for disposing of the owned graphic by calling [[disposeGraphic]] when the owned graphic is no longer in use. Failure
20
21
  * to do so will result in leaks of graphics memory or other webgl resources.
21
22
  * @public
23
+ * @extensions
22
24
  */
23
25
  export class RenderGraphicOwner extends RenderGraphic {
24
26
  /** Does nothing. To dispose of the owned graphic, use [[disposeGraphic]]. */
@@ -1 +1 @@
1
- {"version":3,"file":"RenderGraphic.js","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAKH;;;;;;GAMG;AACH,MAAM,OAAgB,aAAa;CAKlC;AAED;;;;;GAKG;AACH,MAAM,OAAgB,kBAAmB,SAAQ,aAAa;IAG5D,6EAA6E;IACtE,OAAO,KAAW,CAAC;IAC1B,qCAAqC;IAC9B,cAAc,KAAW,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACzD,gBAAgB;IACT,iBAAiB,CAAC,KAA8B,IAAU,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;CAC1G","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { IDisposable } from \"@itwin/core-bentley\";\r\nimport { RenderMemory } from \"./RenderMemory\";\r\n\r\n/** Abstract representation of an object which can be rendered by a [[RenderSystem]].\r\n * Two broad classes of graphics exist:\r\n * - \"Scene\" graphics generated on the back-end to represent the contents of the models displayed in a [[Viewport]]; and\r\n * - [[Decorations]] created on the front-end to be rendered along with the scene.\r\n * The latter are produced using a [[GraphicBuilder]].\r\n * @public\r\n */\r\nexport abstract class RenderGraphic implements IDisposable /* , RenderMemory.Consumer */ {\r\n public abstract dispose(): void;\r\n\r\n /** @internal */\r\n public abstract collectStatistics(stats: RenderMemory.Statistics): void;\r\n}\r\n\r\n/** A graphic that owns another graphic. By default, every time a [[Viewport]]'s decorations or dynamics graphics change, the previous graphics are disposed of.\r\n * Use a GraphicOwner to prevent disposal of a graphic that you want to reuse. The graphic owner can be added to decorations and list of dynamics just like any other graphic, but the graphic it owns\r\n * will never be automatically disposed of. Instead, you assume responsibility for disposing of the owned graphic by calling [[disposeGraphic]] when the owned graphic is no longer in use. Failure\r\n * to do so will result in leaks of graphics memory or other webgl resources.\r\n * @public\r\n */\r\nexport abstract class RenderGraphicOwner extends RenderGraphic {\r\n /** The owned graphic. */\r\n public abstract get graphic(): RenderGraphic;\r\n /** Does nothing. To dispose of the owned graphic, use [[disposeGraphic]]. */\r\n public dispose(): void { }\r\n /** Disposes of the owned graphic. */\r\n public disposeGraphic(): void { this.graphic.dispose(); }\r\n /** @internal */\r\n public collectStatistics(stats: RenderMemory.Statistics): void { this.graphic.collectStatistics(stats); }\r\n}\r\n\r\n/** An array of [[RenderGraphic]]s.\r\n * @public\r\n */\r\nexport type GraphicList = RenderGraphic[];\r\n"]}
1
+ {"version":3,"file":"RenderGraphic.js","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAKH;;;;;;;GAOG;AACH,MAAM,OAAgB,aAAa;CAKlC;AAED;;;;;;GAMG;AACH,MAAM,OAAgB,kBAAmB,SAAQ,aAAa;IAG5D,6EAA6E;IACtE,OAAO,KAAW,CAAC;IAC1B,qCAAqC;IAC9B,cAAc,KAAW,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACzD,gBAAgB;IACT,iBAAiB,CAAC,KAA8B,IAAU,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;CAC1G","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { IDisposable } from \"@itwin/core-bentley\";\r\nimport { RenderMemory } from \"./RenderMemory\";\r\n\r\n/** Abstract representation of an object which can be rendered by a [[RenderSystem]].\r\n * Two broad classes of graphics exist:\r\n * - \"Scene\" graphics generated on the back-end to represent the contents of the models displayed in a [[Viewport]]; and\r\n * - [[Decorations]] created on the front-end to be rendered along with the scene.\r\n * The latter are produced using a [[GraphicBuilder]].\r\n * @public\r\n * @extensions\r\n */\r\nexport abstract class RenderGraphic implements IDisposable /* , RenderMemory.Consumer */ {\r\n public abstract dispose(): void;\r\n\r\n /** @internal */\r\n public abstract collectStatistics(stats: RenderMemory.Statistics): void;\r\n}\r\n\r\n/** A graphic that owns another graphic. By default, every time a [[Viewport]]'s decorations or dynamics graphics change, the previous graphics are disposed of.\r\n * Use a GraphicOwner to prevent disposal of a graphic that you want to reuse. The graphic owner can be added to decorations and list of dynamics just like any other graphic, but the graphic it owns\r\n * will never be automatically disposed of. Instead, you assume responsibility for disposing of the owned graphic by calling [[disposeGraphic]] when the owned graphic is no longer in use. Failure\r\n * to do so will result in leaks of graphics memory or other webgl resources.\r\n * @public\r\n * @extensions\r\n */\r\nexport abstract class RenderGraphicOwner extends RenderGraphic {\r\n /** The owned graphic. */\r\n public abstract get graphic(): RenderGraphic;\r\n /** Does nothing. To dispose of the owned graphic, use [[disposeGraphic]]. */\r\n public dispose(): void { }\r\n /** Disposes of the owned graphic. */\r\n public disposeGraphic(): void { this.graphic.dispose(); }\r\n /** @internal */\r\n public collectStatistics(stats: RenderMemory.Statistics): void { this.graphic.collectStatistics(stats); }\r\n}\r\n\r\n/** An array of [[RenderGraphic]]s.\r\n * @public\r\n * @extensions\r\n */\r\nexport type GraphicList = RenderGraphic[];\r\n"]}
@@ -195,6 +195,7 @@ export declare type RenderSkyBoxParams = RenderSkyGradientParams | RenderSkySphe
195
195
  * @see [Display system overview]($docs/learning/display/index.md)
196
196
  * @see [[IModelApp.renderSystem]].
197
197
  * @public
198
+ * @extensions
198
199
  */
199
200
  export declare abstract class RenderSystem implements IDisposable {
200
201
  /** Options used to initialize the RenderSystem. These are primarily used for feature-gating.
@@ -1 +1 @@
1
- {"version":3,"file":"RenderSystem.d.ts","sourceRoot":"","sources":["../../../src/render/RenderSystem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,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QACpD,sBAAsB,CAAC,EAAE,OAAO,CAAC;QAEjC;;;;;;;;WAQG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAE5B;;;;;;;;;WASG;QACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;QAElC;;;;;;;;WAQG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QAEtB;;;;;WAKG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QAEpB;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAE1B;;;;;;;;;WASG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QAErB;;;WAGG;QACH,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;QAE3C;;;;WAIG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB;;;;WAIG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;CACF"}
@@ -91,6 +91,7 @@ export class PlanarGridTransparency {
91
91
  * @see [Display system overview]($docs/learning/display/index.md)
92
92
  * @see [[IModelApp.renderSystem]].
93
93
  * @public
94
+ * @extensions
94
95
  */
95
96
  export class RenderSystem {
96
97
  /** Initialize the RenderSystem with the specified options.