@itwin/core-frontend 4.10.0-dev.8 → 5.0.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (820) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/lib/cjs/AccuDraw.d.ts.map +1 -1
  3. package/lib/cjs/AccuDraw.js +0 -2
  4. package/lib/cjs/AccuDraw.js.map +1 -1
  5. package/lib/cjs/AccuSnap.d.ts.map +1 -1
  6. package/lib/cjs/AccuSnap.js +17 -8
  7. package/lib/cjs/AccuSnap.js.map +1 -1
  8. package/lib/cjs/BackgroundMapGeometry.js +3 -3
  9. package/lib/cjs/BackgroundMapGeometry.js.map +1 -1
  10. package/lib/cjs/BingLocation.js +1 -1
  11. package/lib/cjs/BingLocation.js.map +1 -1
  12. package/lib/cjs/BriefcaseConnection.d.ts +0 -1
  13. package/lib/cjs/BriefcaseConnection.d.ts.map +1 -1
  14. package/lib/cjs/BriefcaseConnection.js +2 -3
  15. package/lib/cjs/BriefcaseConnection.js.map +1 -1
  16. package/lib/cjs/BriefcaseTxns.d.ts.map +1 -1
  17. package/lib/cjs/ChangeFlags.d.ts +1 -1
  18. package/lib/cjs/ChangeFlags.d.ts.map +1 -1
  19. package/lib/cjs/ChangeFlags.js.map +1 -1
  20. package/lib/cjs/CheckpointConnection.js +1 -1
  21. package/lib/cjs/CheckpointConnection.js.map +1 -1
  22. package/lib/cjs/DisplayStyleState.d.ts.map +1 -1
  23. package/lib/cjs/DisplayStyleState.js +6 -6
  24. package/lib/cjs/DisplayStyleState.js.map +1 -1
  25. package/lib/cjs/DrawingViewState.d.ts +8 -6
  26. package/lib/cjs/DrawingViewState.d.ts.map +1 -1
  27. package/lib/cjs/DrawingViewState.js +20 -10
  28. package/lib/cjs/DrawingViewState.js.map +1 -1
  29. package/lib/cjs/EnvironmentDecorations.js +1 -1
  30. package/lib/cjs/EnvironmentDecorations.js.map +1 -1
  31. package/lib/cjs/GraphicalEditingScope.d.ts.map +1 -1
  32. package/lib/cjs/HitDetail.d.ts +37 -5
  33. package/lib/cjs/HitDetail.d.ts.map +1 -1
  34. package/lib/cjs/HitDetail.js +12 -2
  35. package/lib/cjs/HitDetail.js.map +1 -1
  36. package/lib/cjs/IModelApp.d.ts.map +1 -1
  37. package/lib/cjs/IModelApp.js +1 -2
  38. package/lib/cjs/IModelApp.js.map +1 -1
  39. package/lib/cjs/IModelConnection.d.ts +1 -0
  40. package/lib/cjs/IModelConnection.d.ts.map +1 -1
  41. package/lib/cjs/IModelConnection.js +9 -8
  42. package/lib/cjs/IModelConnection.js.map +1 -1
  43. package/lib/cjs/IpcApp.d.ts.map +1 -1
  44. package/lib/cjs/IpcApp.js +8 -1
  45. package/lib/cjs/IpcApp.js.map +1 -1
  46. package/lib/cjs/LinePlaneIntersect.js +1 -2
  47. package/lib/cjs/LinePlaneIntersect.js.map +1 -1
  48. package/lib/cjs/ModelState.d.ts +0 -8
  49. package/lib/cjs/ModelState.d.ts.map +1 -1
  50. package/lib/cjs/ModelState.js +0 -8
  51. package/lib/cjs/ModelState.js.map +1 -1
  52. package/lib/cjs/NativeApp.d.ts +1 -1
  53. package/lib/cjs/NativeApp.d.ts.map +1 -1
  54. package/lib/cjs/NativeApp.js.map +1 -1
  55. package/lib/cjs/NoRenderApp.d.ts.map +1 -1
  56. package/lib/cjs/NotificationManager.d.ts +2 -2
  57. package/lib/cjs/NotificationManager.d.ts.map +1 -1
  58. package/lib/cjs/RealityDataSourceCesiumIonAssetImpl.d.ts.map +1 -1
  59. package/lib/cjs/RealityDataSourceCesiumIonAssetImpl.js +1 -2
  60. package/lib/cjs/RealityDataSourceCesiumIonAssetImpl.js.map +1 -1
  61. package/lib/cjs/RealityDataSourceContextShareImpl.d.ts.map +1 -1
  62. package/lib/cjs/RealityDataSourceContextShareImpl.js +2 -3
  63. package/lib/cjs/RealityDataSourceContextShareImpl.js.map +1 -1
  64. package/lib/cjs/RealityDataSourceTilesetUrlImpl.js +1 -1
  65. package/lib/cjs/RealityDataSourceTilesetUrlImpl.js.map +1 -1
  66. package/lib/cjs/SheetViewState.d.ts +4 -11
  67. package/lib/cjs/SheetViewState.d.ts.map +1 -1
  68. package/lib/cjs/SheetViewState.js +18 -12
  69. package/lib/cjs/SheetViewState.js.map +1 -1
  70. package/lib/cjs/SpatialViewState.d.ts +0 -1
  71. package/lib/cjs/SpatialViewState.d.ts.map +1 -1
  72. package/lib/cjs/SpatialViewState.js +1 -2
  73. package/lib/cjs/SpatialViewState.js.map +1 -1
  74. package/lib/cjs/SubCategoriesCache.js +1 -1
  75. package/lib/cjs/SubCategoriesCache.js.map +1 -1
  76. package/lib/cjs/TentativePoint.js +1 -1
  77. package/lib/cjs/TentativePoint.js.map +1 -1
  78. package/lib/cjs/ViewCreator3d.js +1 -1
  79. package/lib/cjs/ViewCreator3d.js.map +1 -1
  80. package/lib/cjs/ViewGlobalLocation.js +9 -9
  81. package/lib/cjs/ViewGlobalLocation.js.map +1 -1
  82. package/lib/cjs/ViewState.d.ts +14 -1
  83. package/lib/cjs/ViewState.d.ts.map +1 -1
  84. package/lib/cjs/ViewState.js +4 -2
  85. package/lib/cjs/ViewState.js.map +1 -1
  86. package/lib/cjs/ViewingSpace.d.ts.map +1 -1
  87. package/lib/cjs/ViewingSpace.js +3 -0
  88. package/lib/cjs/ViewingSpace.js.map +1 -1
  89. package/lib/cjs/Viewport.d.ts.map +1 -1
  90. package/lib/cjs/Viewport.js +2 -4
  91. package/lib/cjs/Viewport.js.map +1 -1
  92. package/lib/cjs/ViewportSync.js +6 -6
  93. package/lib/cjs/ViewportSync.js.map +1 -1
  94. package/lib/cjs/common/ImageUtil.js +15 -16
  95. package/lib/cjs/common/ImageUtil.js.map +1 -1
  96. package/lib/cjs/common/WorkerProxy.d.ts +8 -4
  97. package/lib/cjs/common/WorkerProxy.d.ts.map +1 -1
  98. package/lib/cjs/common/WorkerProxy.js +1 -2
  99. package/lib/cjs/common/WorkerProxy.js.map +1 -1
  100. package/lib/cjs/common/gltf/GltfParser.js +7 -8
  101. package/lib/cjs/common/gltf/GltfParser.js.map +1 -1
  102. package/lib/cjs/common/gltf/GltfSchema.d.ts +1 -1
  103. package/lib/cjs/common/gltf/GltfSchema.d.ts.map +1 -1
  104. package/lib/cjs/common/gltf/GltfSchema.js +5 -5
  105. package/lib/cjs/common/gltf/GltfSchema.js.map +1 -1
  106. package/lib/cjs/common/imdl/CompactEdges.js +1 -2
  107. package/lib/cjs/common/imdl/CompactEdges.js.map +1 -1
  108. package/lib/cjs/common/imdl/ImdlModel.js +2 -3
  109. package/lib/cjs/common/imdl/ImdlModel.js.map +1 -1
  110. package/lib/cjs/common/imdl/ImdlSchema.d.ts.map +1 -1
  111. package/lib/cjs/common/imdl/ImdlSchema.js.map +1 -1
  112. package/lib/cjs/common/imdl/ParseImdlDocument.d.ts.map +1 -1
  113. package/lib/cjs/common/imdl/ParseImdlDocument.js +10 -12
  114. package/lib/cjs/common/imdl/ParseImdlDocument.js.map +1 -1
  115. package/lib/cjs/common/internal/render/DisplayParams.js.map +1 -1
  116. package/lib/cjs/common/internal/render/EdgeParams.js +2 -3
  117. package/lib/cjs/common/internal/render/EdgeParams.js.map +1 -1
  118. package/lib/cjs/common/internal/render/GeometryList.d.ts +1 -1
  119. package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.js +3 -3
  120. package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.js.map +1 -1
  121. package/lib/cjs/common/internal/render/LineCode.js +1 -2
  122. package/lib/cjs/common/internal/render/LineCode.js.map +1 -1
  123. package/lib/cjs/common/internal/render/MeshBuilder.js.map +1 -1
  124. package/lib/cjs/common/internal/render/MeshBuilderMap.js.map +1 -1
  125. package/lib/cjs/common/internal/render/MeshPrimitives.js +3 -3
  126. package/lib/cjs/common/internal/render/MeshPrimitives.js.map +1 -1
  127. package/lib/cjs/common/internal/render/OvrFlags.d.ts +4 -2
  128. package/lib/cjs/common/internal/render/OvrFlags.d.ts.map +1 -1
  129. package/lib/cjs/common/internal/render/OvrFlags.js.map +1 -1
  130. package/lib/cjs/common/internal/render/PointStringParams.js +1 -2
  131. package/lib/cjs/common/internal/render/PointStringParams.js.map +1 -1
  132. package/lib/cjs/common/internal/render/PolylineParams.js +4 -5
  133. package/lib/cjs/common/internal/render/PolylineParams.js.map +1 -1
  134. package/lib/cjs/common/internal/render/SurfaceParams.js +3 -3
  135. package/lib/cjs/common/internal/render/SurfaceParams.js.map +1 -1
  136. package/lib/cjs/common/internal/render/VertexTable.d.ts.map +1 -1
  137. package/lib/cjs/common/internal/render/VertexTable.js +4 -7
  138. package/lib/cjs/common/internal/render/VertexTable.js.map +1 -1
  139. package/lib/cjs/common/internal/render/VertexTableBuilder.js +2 -2
  140. package/lib/cjs/common/internal/render/VertexTableBuilder.js.map +1 -1
  141. package/lib/cjs/common/internal/render/VertexTableSplitter.js +4 -4
  142. package/lib/cjs/common/internal/render/VertexTableSplitter.js.map +1 -1
  143. package/lib/cjs/common/render/InstancedGraphicParams.js.map +1 -1
  144. package/lib/cjs/extension/providers/ExtensionLoadScript.js +1 -2
  145. package/lib/cjs/extension/providers/ExtensionLoadScript.js.map +1 -1
  146. package/lib/cjs/internal/render/RenderInstancesParamsImpl.js +2 -3
  147. package/lib/cjs/internal/render/RenderInstancesParamsImpl.js.map +1 -1
  148. package/lib/cjs/quantity-formatting/BaseUnitFormattingSettingsProvider.d.ts.map +1 -1
  149. package/lib/cjs/quantity-formatting/BaseUnitFormattingSettingsProvider.js +1 -1
  150. package/lib/cjs/quantity-formatting/BaseUnitFormattingSettingsProvider.js.map +1 -1
  151. package/lib/cjs/quantity-formatting/BasicUnitsProvider.js +2 -2
  152. package/lib/cjs/quantity-formatting/BasicUnitsProvider.js.map +1 -1
  153. package/lib/cjs/quantity-formatting/LocalUnitFormatProvider.js +2 -2
  154. package/lib/cjs/quantity-formatting/LocalUnitFormatProvider.js.map +1 -1
  155. package/lib/cjs/quantity-formatting/QuantityFormatter.js +3 -3
  156. package/lib/cjs/quantity-formatting/QuantityFormatter.js.map +1 -1
  157. package/lib/cjs/quantity-formatting/QuantityTypesEditorSpecs.d.ts.map +1 -1
  158. package/lib/cjs/render/GraphicBranch.d.ts +12 -1
  159. package/lib/cjs/render/GraphicBranch.d.ts.map +1 -1
  160. package/lib/cjs/render/GraphicBranch.js +2 -2
  161. package/lib/cjs/render/GraphicBranch.js.map +1 -1
  162. package/lib/cjs/render/GraphicTemplate.js +1 -2
  163. package/lib/cjs/render/GraphicTemplate.js.map +1 -1
  164. package/lib/cjs/render/MockRender.d.ts.map +1 -1
  165. package/lib/cjs/render/Pixel.d.ts +14 -4
  166. package/lib/cjs/render/Pixel.d.ts.map +1 -1
  167. package/lib/cjs/render/Pixel.js +22 -5
  168. package/lib/cjs/render/Pixel.js.map +1 -1
  169. package/lib/cjs/render/RealityMeshGraphicParams.d.ts +1 -0
  170. package/lib/cjs/render/RealityMeshGraphicParams.d.ts.map +1 -1
  171. package/lib/cjs/render/RealityMeshGraphicParams.js.map +1 -1
  172. package/lib/cjs/render/RenderMemory.d.ts +2 -0
  173. package/lib/cjs/render/RenderMemory.d.ts.map +1 -1
  174. package/lib/cjs/render/RenderMemory.js +2 -0
  175. package/lib/cjs/render/RenderMemory.js.map +1 -1
  176. package/lib/cjs/render/RenderPlan.d.ts +2 -1
  177. package/lib/cjs/render/RenderPlan.d.ts.map +1 -1
  178. package/lib/cjs/render/RenderPlan.js +5 -3
  179. package/lib/cjs/render/RenderPlan.js.map +1 -1
  180. package/lib/cjs/render/RenderSystem.d.ts +1 -1
  181. package/lib/cjs/render/RenderSystem.d.ts.map +1 -1
  182. package/lib/cjs/render/RenderSystem.js +8 -9
  183. package/lib/cjs/render/RenderSystem.js.map +1 -1
  184. package/lib/cjs/render/UpsampleRealityMeshParams.js +1 -2
  185. package/lib/cjs/render/UpsampleRealityMeshParams.js.map +1 -1
  186. package/lib/cjs/render/VisibleFeature.js +1 -2
  187. package/lib/cjs/render/VisibleFeature.js.map +1 -1
  188. package/lib/cjs/render/webgl/AttributeBuffers.js +5 -5
  189. package/lib/cjs/render/webgl/AttributeBuffers.js.map +1 -1
  190. package/lib/cjs/render/webgl/BatchUniforms.d.ts +4 -0
  191. package/lib/cjs/render/webgl/BatchUniforms.d.ts.map +1 -1
  192. package/lib/cjs/render/webgl/BatchUniforms.js +18 -0
  193. package/lib/cjs/render/webgl/BatchUniforms.js.map +1 -1
  194. package/lib/cjs/render/webgl/BranchState.d.ts +9 -0
  195. package/lib/cjs/render/webgl/BranchState.d.ts.map +1 -1
  196. package/lib/cjs/render/webgl/BranchState.js +6 -0
  197. package/lib/cjs/render/webgl/BranchState.js.map +1 -1
  198. package/lib/cjs/render/webgl/BranchUniforms.d.ts +1 -0
  199. package/lib/cjs/render/webgl/BranchUniforms.d.ts.map +1 -1
  200. package/lib/cjs/render/webgl/BranchUniforms.js +14 -1
  201. package/lib/cjs/render/webgl/BranchUniforms.js.map +1 -1
  202. package/lib/cjs/render/webgl/CachedGeometry.js.map +1 -1
  203. package/lib/cjs/render/webgl/ClippingProgram.js +2 -2
  204. package/lib/cjs/render/webgl/ClippingProgram.js.map +1 -1
  205. package/lib/cjs/render/webgl/ContourUniforms.d.ts +22 -0
  206. package/lib/cjs/render/webgl/ContourUniforms.d.ts.map +1 -0
  207. package/lib/cjs/render/webgl/ContourUniforms.js +98 -0
  208. package/lib/cjs/render/webgl/ContourUniforms.js.map +1 -0
  209. package/lib/cjs/render/webgl/Contours.d.ts +34 -0
  210. package/lib/cjs/render/webgl/Contours.d.ts.map +1 -0
  211. package/lib/cjs/render/webgl/Contours.js +127 -0
  212. package/lib/cjs/render/webgl/Contours.js.map +1 -0
  213. package/lib/cjs/render/webgl/DrawCommand.js +3 -3
  214. package/lib/cjs/render/webgl/DrawCommand.js.map +1 -1
  215. package/lib/cjs/render/webgl/EdgeSettings.js +1 -1
  216. package/lib/cjs/render/webgl/EdgeSettings.js.map +1 -1
  217. package/lib/cjs/render/webgl/FeatureOverrides.d.ts +1 -0
  218. package/lib/cjs/render/webgl/FeatureOverrides.d.ts.map +1 -1
  219. package/lib/cjs/render/webgl/FeatureOverrides.js +48 -51
  220. package/lib/cjs/render/webgl/FeatureOverrides.js.map +1 -1
  221. package/lib/cjs/render/webgl/FrustumUniforms.js +2 -2
  222. package/lib/cjs/render/webgl/FrustumUniforms.js.map +1 -1
  223. package/lib/cjs/render/webgl/GL.d.ts +2 -1
  224. package/lib/cjs/render/webgl/GL.d.ts.map +1 -1
  225. package/lib/cjs/render/webgl/GL.js +1 -0
  226. package/lib/cjs/render/webgl/GL.js.map +1 -1
  227. package/lib/cjs/render/webgl/Graphic.d.ts +12 -0
  228. package/lib/cjs/render/webgl/Graphic.d.ts.map +1 -1
  229. package/lib/cjs/render/webgl/Graphic.js +31 -0
  230. package/lib/cjs/render/webgl/Graphic.js.map +1 -1
  231. package/lib/cjs/render/webgl/InstancedGeometry.js +2 -2
  232. package/lib/cjs/render/webgl/InstancedGeometry.js.map +1 -1
  233. package/lib/cjs/render/webgl/Material.js +4 -4
  234. package/lib/cjs/render/webgl/Material.js.map +1 -1
  235. package/lib/cjs/render/webgl/Matrix.js +3 -3
  236. package/lib/cjs/render/webgl/Matrix.js.map +1 -1
  237. package/lib/cjs/render/webgl/RealityMesh.js +1 -1
  238. package/lib/cjs/render/webgl/RealityMesh.js.map +1 -1
  239. package/lib/cjs/render/webgl/RenderFlags.d.ts +2 -1
  240. package/lib/cjs/render/webgl/RenderFlags.d.ts.map +1 -1
  241. package/lib/cjs/render/webgl/RenderFlags.js +4 -2
  242. package/lib/cjs/render/webgl/RenderFlags.js.map +1 -1
  243. package/lib/cjs/render/webgl/SceneCompositor.d.ts.map +1 -1
  244. package/lib/cjs/render/webgl/SceneCompositor.js +19 -7
  245. package/lib/cjs/render/webgl/SceneCompositor.js.map +1 -1
  246. package/lib/cjs/render/webgl/ScratchDrawParams.js +2 -3
  247. package/lib/cjs/render/webgl/ScratchDrawParams.js.map +1 -1
  248. package/lib/cjs/render/webgl/ScreenSpaceEffect.js +2 -2
  249. package/lib/cjs/render/webgl/ScreenSpaceEffect.js.map +1 -1
  250. package/lib/cjs/render/webgl/ShaderBuilder.d.ts +15 -13
  251. package/lib/cjs/render/webgl/ShaderBuilder.d.ts.map +1 -1
  252. package/lib/cjs/render/webgl/ShaderBuilder.js +18 -10
  253. package/lib/cjs/render/webgl/ShaderBuilder.js.map +1 -1
  254. package/lib/cjs/render/webgl/ShaderProgram.d.ts.map +1 -1
  255. package/lib/cjs/render/webgl/ShaderProgram.js +26 -0
  256. package/lib/cjs/render/webgl/ShaderProgram.js.map +1 -1
  257. package/lib/cjs/render/webgl/SurfaceGeometry.js +2 -2
  258. package/lib/cjs/render/webgl/SurfaceGeometry.js.map +1 -1
  259. package/lib/cjs/render/webgl/Sync.js +3 -4
  260. package/lib/cjs/render/webgl/Sync.js.map +1 -1
  261. package/lib/cjs/render/webgl/System.d.ts.map +1 -1
  262. package/lib/cjs/render/webgl/System.js +7 -7
  263. package/lib/cjs/render/webgl/System.js.map +1 -1
  264. package/lib/cjs/render/webgl/Target.d.ts.map +1 -1
  265. package/lib/cjs/render/webgl/Target.js +2 -1
  266. package/lib/cjs/render/webgl/Target.js.map +1 -1
  267. package/lib/cjs/render/webgl/TargetUniforms.d.ts +2 -0
  268. package/lib/cjs/render/webgl/TargetUniforms.d.ts.map +1 -1
  269. package/lib/cjs/render/webgl/TargetUniforms.js +2 -0
  270. package/lib/cjs/render/webgl/TargetUniforms.js.map +1 -1
  271. package/lib/cjs/render/webgl/TechniqueFlags.d.ts.map +1 -1
  272. package/lib/cjs/render/webgl/TechniqueId.js +1 -2
  273. package/lib/cjs/render/webgl/TechniqueId.js.map +1 -1
  274. package/lib/cjs/render/webgl/Texture.d.ts.map +1 -1
  275. package/lib/cjs/render/webgl/Texture.js +2 -2
  276. package/lib/cjs/render/webgl/Texture.js.map +1 -1
  277. package/lib/cjs/render/webgl/UniformHandle.js.map +1 -1
  278. package/lib/cjs/render/webgl/glsl/AmbientOcclusion.js +2 -3
  279. package/lib/cjs/render/webgl/glsl/AmbientOcclusion.js.map +1 -1
  280. package/lib/cjs/render/webgl/glsl/Animation.js +1 -2
  281. package/lib/cjs/render/webgl/glsl/Animation.js.map +1 -1
  282. package/lib/cjs/render/webgl/glsl/Atmosphere.js +2 -3
  283. package/lib/cjs/render/webgl/glsl/Atmosphere.js.map +1 -1
  284. package/lib/cjs/render/webgl/glsl/Blur.js +2 -3
  285. package/lib/cjs/render/webgl/glsl/Blur.js.map +1 -1
  286. package/lib/cjs/render/webgl/glsl/ClearPickAndColor.js +2 -3
  287. package/lib/cjs/render/webgl/glsl/ClearPickAndColor.js.map +1 -1
  288. package/lib/cjs/render/webgl/glsl/ClearTranslucent.js +2 -3
  289. package/lib/cjs/render/webgl/glsl/ClearTranslucent.js.map +1 -1
  290. package/lib/cjs/render/webgl/glsl/Clipping.js +3 -3
  291. package/lib/cjs/render/webgl/glsl/Clipping.js.map +1 -1
  292. package/lib/cjs/render/webgl/glsl/Color.js +2 -3
  293. package/lib/cjs/render/webgl/glsl/Color.js.map +1 -1
  294. package/lib/cjs/render/webgl/glsl/Combine3Textures.js +2 -3
  295. package/lib/cjs/render/webgl/glsl/Combine3Textures.js.map +1 -1
  296. package/lib/cjs/render/webgl/glsl/CombineTextures.js +2 -3
  297. package/lib/cjs/render/webgl/glsl/CombineTextures.js.map +1 -1
  298. package/lib/cjs/render/webgl/glsl/Common.js +7 -7
  299. package/lib/cjs/render/webgl/glsl/Common.js.map +1 -1
  300. package/lib/cjs/render/webgl/glsl/Composite.js +2 -3
  301. package/lib/cjs/render/webgl/glsl/Composite.js.map +1 -1
  302. package/lib/cjs/render/webgl/glsl/Contours.d.ts +4 -0
  303. package/lib/cjs/render/webgl/glsl/Contours.d.ts.map +1 -0
  304. package/lib/cjs/render/webgl/glsl/Contours.js +137 -0
  305. package/lib/cjs/render/webgl/glsl/Contours.js.map +1 -0
  306. package/lib/cjs/render/webgl/glsl/CopyColor.js +2 -3
  307. package/lib/cjs/render/webgl/glsl/CopyColor.js.map +1 -1
  308. package/lib/cjs/render/webgl/glsl/CopyPickBuffers.js +2 -3
  309. package/lib/cjs/render/webgl/glsl/CopyPickBuffers.js.map +1 -1
  310. package/lib/cjs/render/webgl/glsl/CopyStencil.js +9 -10
  311. package/lib/cjs/render/webgl/glsl/CopyStencil.js.map +1 -1
  312. package/lib/cjs/render/webgl/glsl/Decode.js +2 -2
  313. package/lib/cjs/render/webgl/glsl/Decode.js.map +1 -1
  314. package/lib/cjs/render/webgl/glsl/EDL.js +8 -9
  315. package/lib/cjs/render/webgl/glsl/EDL.js.map +1 -1
  316. package/lib/cjs/render/webgl/glsl/EVSMFromDepth.js +2 -3
  317. package/lib/cjs/render/webgl/glsl/EVSMFromDepth.js.map +1 -1
  318. package/lib/cjs/render/webgl/glsl/Edge.js +3 -4
  319. package/lib/cjs/render/webgl/glsl/Edge.js.map +1 -1
  320. package/lib/cjs/render/webgl/glsl/FeatureSymbology.d.ts +2 -1
  321. package/lib/cjs/render/webgl/glsl/FeatureSymbology.d.ts.map +1 -1
  322. package/lib/cjs/render/webgl/glsl/FeatureSymbology.js +35 -28
  323. package/lib/cjs/render/webgl/glsl/FeatureSymbology.js.map +1 -1
  324. package/lib/cjs/render/webgl/glsl/Fragment.js +15 -15
  325. package/lib/cjs/render/webgl/glsl/Fragment.js.map +1 -1
  326. package/lib/cjs/render/webgl/glsl/Instancing.js +3 -4
  327. package/lib/cjs/render/webgl/glsl/Instancing.js.map +1 -1
  328. package/lib/cjs/render/webgl/glsl/Lighting.js +1 -2
  329. package/lib/cjs/render/webgl/glsl/Lighting.js.map +1 -1
  330. package/lib/cjs/render/webgl/glsl/LogarithmicDepthBuffer.js +2 -3
  331. package/lib/cjs/render/webgl/glsl/LogarithmicDepthBuffer.js.map +1 -1
  332. package/lib/cjs/render/webgl/glsl/LookupTable.js +1 -2
  333. package/lib/cjs/render/webgl/glsl/LookupTable.js.map +1 -1
  334. package/lib/cjs/render/webgl/glsl/Monochrome.js +2 -3
  335. package/lib/cjs/render/webgl/glsl/Monochrome.js.map +1 -1
  336. package/lib/cjs/render/webgl/glsl/PlanarClassification.js +9 -9
  337. package/lib/cjs/render/webgl/glsl/PlanarClassification.js.map +1 -1
  338. package/lib/cjs/render/webgl/glsl/PlanarGrid.js +1 -1
  339. package/lib/cjs/render/webgl/glsl/PlanarGrid.js.map +1 -1
  340. package/lib/cjs/render/webgl/glsl/PointCloud.js +3 -4
  341. package/lib/cjs/render/webgl/glsl/PointCloud.js.map +1 -1
  342. package/lib/cjs/render/webgl/glsl/PointString.js +2 -3
  343. package/lib/cjs/render/webgl/glsl/PointString.js.map +1 -1
  344. package/lib/cjs/render/webgl/glsl/Polyline.js +6 -6
  345. package/lib/cjs/render/webgl/glsl/Polyline.js.map +1 -1
  346. package/lib/cjs/render/webgl/glsl/RealityMesh.js +8 -8
  347. package/lib/cjs/render/webgl/glsl/RealityMesh.js.map +1 -1
  348. package/lib/cjs/render/webgl/glsl/RenderPass.js +1 -2
  349. package/lib/cjs/render/webgl/glsl/RenderPass.js.map +1 -1
  350. package/lib/cjs/render/webgl/glsl/ScreenSpaceEffect.js +2 -3
  351. package/lib/cjs/render/webgl/glsl/ScreenSpaceEffect.js.map +1 -1
  352. package/lib/cjs/render/webgl/glsl/SkyBox.js +2 -3
  353. package/lib/cjs/render/webgl/glsl/SkyBox.js.map +1 -1
  354. package/lib/cjs/render/webgl/glsl/SkySphere.js +2 -3
  355. package/lib/cjs/render/webgl/glsl/SkySphere.js.map +1 -1
  356. package/lib/cjs/render/webgl/glsl/SolarShadowMapping.js +4 -4
  357. package/lib/cjs/render/webgl/glsl/SolarShadowMapping.js.map +1 -1
  358. package/lib/cjs/render/webgl/glsl/Surface.d.ts.map +1 -1
  359. package/lib/cjs/render/webgl/glsl/Surface.js +11 -9
  360. package/lib/cjs/render/webgl/glsl/Surface.js.map +1 -1
  361. package/lib/cjs/render/webgl/glsl/Thematic.js +2 -3
  362. package/lib/cjs/render/webgl/glsl/Thematic.js.map +1 -1
  363. package/lib/cjs/render/webgl/glsl/Translucency.js +3 -3
  364. package/lib/cjs/render/webgl/glsl/Translucency.js.map +1 -1
  365. package/lib/cjs/render/webgl/glsl/Vertex.js +13 -13
  366. package/lib/cjs/render/webgl/glsl/Vertex.js.map +1 -1
  367. package/lib/cjs/render/webgl/glsl/Viewport.js +3 -4
  368. package/lib/cjs/render/webgl/glsl/Viewport.js.map +1 -1
  369. package/lib/cjs/render/webgl/glsl/ViewportQuad.js +1 -2
  370. package/lib/cjs/render/webgl/glsl/ViewportQuad.js.map +1 -1
  371. package/lib/cjs/render/webgl/glsl/Wiremesh.js +2 -3
  372. package/lib/cjs/render/webgl/glsl/Wiremesh.js.map +1 -1
  373. package/lib/cjs/request/Request.d.ts.map +1 -1
  374. package/lib/cjs/request/Request.js +2 -2
  375. package/lib/cjs/request/Request.js.map +1 -1
  376. package/lib/cjs/request/utils.js +3 -4
  377. package/lib/cjs/request/utils.js.map +1 -1
  378. package/lib/cjs/tile/ClassifierTileTree.js +3 -3
  379. package/lib/cjs/tile/ClassifierTileTree.js.map +1 -1
  380. package/lib/cjs/tile/ContextShareProvider.js +2 -2
  381. package/lib/cjs/tile/ContextShareProvider.js.map +1 -1
  382. package/lib/cjs/tile/GltfReader.d.ts +1 -1
  383. package/lib/cjs/tile/GltfReader.d.ts.map +1 -1
  384. package/lib/cjs/tile/GltfReader.js +18 -16
  385. package/lib/cjs/tile/GltfReader.js.map +1 -1
  386. package/lib/cjs/tile/IModelTile.js +2 -2
  387. package/lib/cjs/tile/IModelTile.js.map +1 -1
  388. package/lib/cjs/tile/IModelTileTree.js +2 -2
  389. package/lib/cjs/tile/IModelTileTree.js.map +1 -1
  390. package/lib/cjs/tile/ImdlDecoder.js +1 -2
  391. package/lib/cjs/tile/ImdlDecoder.js.map +1 -1
  392. package/lib/cjs/tile/ImdlGraphicsCreator.js +7 -8
  393. package/lib/cjs/tile/ImdlGraphicsCreator.js.map +1 -1
  394. package/lib/cjs/tile/ImdlParser.js +1 -2
  395. package/lib/cjs/tile/ImdlParser.js.map +1 -1
  396. package/lib/cjs/tile/ImdlReader.d.ts.map +1 -1
  397. package/lib/cjs/tile/ImdlReader.js +3 -3
  398. package/lib/cjs/tile/ImdlReader.js.map +1 -1
  399. package/lib/cjs/tile/MeshoptCompression.js +1 -2
  400. package/lib/cjs/tile/MeshoptCompression.js.map +1 -1
  401. package/lib/cjs/tile/OrbitGtTileTree.d.ts.map +1 -1
  402. package/lib/cjs/tile/OrbitGtTileTree.js +3 -4
  403. package/lib/cjs/tile/OrbitGtTileTree.js.map +1 -1
  404. package/lib/cjs/tile/PntsReader.js +2 -3
  405. package/lib/cjs/tile/PntsReader.js.map +1 -1
  406. package/lib/cjs/tile/PrimaryTileTree.d.ts.map +1 -1
  407. package/lib/cjs/tile/PrimaryTileTree.js +12 -12
  408. package/lib/cjs/tile/PrimaryTileTree.js.map +1 -1
  409. package/lib/cjs/tile/RealityModelTileTree.d.ts.map +1 -1
  410. package/lib/cjs/tile/RealityModelTileTree.js +3 -4
  411. package/lib/cjs/tile/RealityModelTileTree.js.map +1 -1
  412. package/lib/cjs/tile/RealityTileDrawArgs.d.ts.map +1 -1
  413. package/lib/cjs/tile/RealityTileLoader.d.ts.map +1 -1
  414. package/lib/cjs/tile/RealityTileLoader.js +1 -1
  415. package/lib/cjs/tile/RealityTileLoader.js.map +1 -1
  416. package/lib/cjs/tile/RealityTileTree.d.ts.map +1 -1
  417. package/lib/cjs/tile/RenderGraphicTileTree.js +1 -2
  418. package/lib/cjs/tile/RenderGraphicTileTree.js.map +1 -1
  419. package/lib/cjs/tile/ThreeDTileFormatInterpreter.js +1 -1
  420. package/lib/cjs/tile/ThreeDTileFormatInterpreter.js.map +1 -1
  421. package/lib/cjs/tile/Tile.js +2 -2
  422. package/lib/cjs/tile/Tile.js.map +1 -1
  423. package/lib/cjs/tile/TileAdmin.d.ts.map +1 -1
  424. package/lib/cjs/tile/TileAdmin.js +3 -4
  425. package/lib/cjs/tile/TileAdmin.js.map +1 -1
  426. package/lib/cjs/tile/TileDrawArgs.d.ts +4 -0
  427. package/lib/cjs/tile/TileDrawArgs.d.ts.map +1 -1
  428. package/lib/cjs/tile/TileDrawArgs.js +2 -0
  429. package/lib/cjs/tile/TileDrawArgs.js.map +1 -1
  430. package/lib/cjs/tile/TileRequest.js +1 -1
  431. package/lib/cjs/tile/TileRequest.js.map +1 -1
  432. package/lib/cjs/tile/TileRequestChannel.js +1 -1
  433. package/lib/cjs/tile/TileRequestChannel.js.map +1 -1
  434. package/lib/cjs/tile/TileStorage.js +1 -1
  435. package/lib/cjs/tile/TileStorage.js.map +1 -1
  436. package/lib/cjs/tile/TileTreeReference.d.ts +2 -0
  437. package/lib/cjs/tile/TileTreeReference.d.ts.map +1 -1
  438. package/lib/cjs/tile/TileTreeReference.js +3 -0
  439. package/lib/cjs/tile/TileTreeReference.js.map +1 -1
  440. package/lib/cjs/tile/ViewFlagOverrides.js +1 -2
  441. package/lib/cjs/tile/ViewFlagOverrides.js.map +1 -1
  442. package/lib/cjs/tile/map/ArcGISTileMap.d.ts.map +1 -1
  443. package/lib/cjs/tile/map/ArcGISTileMap.js +0 -1
  444. package/lib/cjs/tile/map/ArcGISTileMap.js.map +1 -1
  445. package/lib/cjs/tile/map/ArcGisUtilities.js +1 -1
  446. package/lib/cjs/tile/map/ArcGisUtilities.js.map +1 -1
  447. package/lib/cjs/tile/map/BingElevation.js +3 -3
  448. package/lib/cjs/tile/map/BingElevation.js.map +1 -1
  449. package/lib/cjs/tile/map/CesiumTerrainProvider.js +7 -8
  450. package/lib/cjs/tile/map/CesiumTerrainProvider.js.map +1 -1
  451. package/lib/cjs/tile/map/ImageryProviders/ArcGISImageryProvider.js +1 -1
  452. package/lib/cjs/tile/map/ImageryProviders/ArcGISImageryProvider.js.map +1 -1
  453. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
  454. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js +4 -5
  455. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
  456. package/lib/cjs/tile/map/ImageryProviders/CoordinatesUtils.js +1 -2
  457. package/lib/cjs/tile/map/ImageryProviders/CoordinatesUtils.js.map +1 -1
  458. package/lib/cjs/tile/map/ImageryProviders/FeatureGraphicsRenderer.js +1 -1
  459. package/lib/cjs/tile/map/ImageryProviders/FeatureGraphicsRenderer.js.map +1 -1
  460. package/lib/cjs/tile/map/ImageryProviders/WmsMapLayerImageryProvider.d.ts.map +1 -1
  461. package/lib/cjs/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js.map +1 -1
  462. package/lib/cjs/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js.map +1 -1
  463. package/lib/cjs/tile/map/MapLayerTileTreeReference.js +2 -2
  464. package/lib/cjs/tile/map/MapLayerTileTreeReference.js.map +1 -1
  465. package/lib/cjs/tile/map/MapTile.d.ts.map +1 -1
  466. package/lib/cjs/tile/map/MapTile.js +1 -1
  467. package/lib/cjs/tile/map/MapTile.js.map +1 -1
  468. package/lib/cjs/tile/map/MapTileLoader.js +1 -1
  469. package/lib/cjs/tile/map/MapTileLoader.js.map +1 -1
  470. package/lib/cjs/tile/map/MapTileTree.d.ts.map +1 -1
  471. package/lib/cjs/tile/map/MapTileTree.js +2 -2
  472. package/lib/cjs/tile/map/MapTileTree.js.map +1 -1
  473. package/lib/cjs/tile/map/MapTilingScheme.d.ts.map +1 -1
  474. package/lib/cjs/tile/map/MapTilingScheme.js +4 -0
  475. package/lib/cjs/tile/map/MapTilingScheme.js.map +1 -1
  476. package/lib/cjs/tile/map/UrlUtils.js +1 -2
  477. package/lib/cjs/tile/map/UrlUtils.js.map +1 -1
  478. package/lib/cjs/tile/map/WmsCapabilities.d.ts.map +1 -1
  479. package/lib/cjs/tools/ClipViewTool.d.ts.map +1 -1
  480. package/lib/cjs/tools/MeasureTool.js +2 -2
  481. package/lib/cjs/tools/MeasureTool.js.map +1 -1
  482. package/lib/cjs/tools/Tool.d.ts +1 -1
  483. package/lib/cjs/tools/Tool.d.ts.map +1 -1
  484. package/lib/cjs/tools/ViewTool.d.ts.map +1 -1
  485. package/lib/cjs/tools/ViewTool.js +2 -2
  486. package/lib/cjs/tools/ViewTool.js.map +1 -1
  487. package/lib/cjs/workers/RegisterWorker.js +1 -2
  488. package/lib/cjs/workers/RegisterWorker.js.map +1 -1
  489. package/lib/esm/AccuDraw.d.ts.map +1 -1
  490. package/lib/esm/AccuDraw.js +0 -2
  491. package/lib/esm/AccuDraw.js.map +1 -1
  492. package/lib/esm/AccuSnap.d.ts.map +1 -1
  493. package/lib/esm/AccuSnap.js +17 -8
  494. package/lib/esm/AccuSnap.js.map +1 -1
  495. package/lib/esm/BingLocation.js +1 -1
  496. package/lib/esm/BingLocation.js.map +1 -1
  497. package/lib/esm/BriefcaseConnection.d.ts +0 -1
  498. package/lib/esm/BriefcaseConnection.d.ts.map +1 -1
  499. package/lib/esm/BriefcaseConnection.js +2 -3
  500. package/lib/esm/BriefcaseConnection.js.map +1 -1
  501. package/lib/esm/BriefcaseTxns.d.ts.map +1 -1
  502. package/lib/esm/ChangeFlags.d.ts +1 -1
  503. package/lib/esm/ChangeFlags.d.ts.map +1 -1
  504. package/lib/esm/ChangeFlags.js.map +1 -1
  505. package/lib/esm/CheckpointConnection.js +1 -1
  506. package/lib/esm/CheckpointConnection.js.map +1 -1
  507. package/lib/esm/DisplayStyleState.d.ts.map +1 -1
  508. package/lib/esm/DisplayStyleState.js +6 -6
  509. package/lib/esm/DisplayStyleState.js.map +1 -1
  510. package/lib/esm/DrawingViewState.d.ts +8 -6
  511. package/lib/esm/DrawingViewState.d.ts.map +1 -1
  512. package/lib/esm/DrawingViewState.js +20 -10
  513. package/lib/esm/DrawingViewState.js.map +1 -1
  514. package/lib/esm/EnvironmentDecorations.js +1 -1
  515. package/lib/esm/EnvironmentDecorations.js.map +1 -1
  516. package/lib/esm/GraphicalEditingScope.d.ts.map +1 -1
  517. package/lib/esm/HitDetail.d.ts +37 -5
  518. package/lib/esm/HitDetail.d.ts.map +1 -1
  519. package/lib/esm/HitDetail.js +12 -2
  520. package/lib/esm/HitDetail.js.map +1 -1
  521. package/lib/esm/IModelApp.d.ts.map +1 -1
  522. package/lib/esm/IModelApp.js +1 -2
  523. package/lib/esm/IModelApp.js.map +1 -1
  524. package/lib/esm/IModelConnection.d.ts +1 -0
  525. package/lib/esm/IModelConnection.d.ts.map +1 -1
  526. package/lib/esm/IModelConnection.js +9 -8
  527. package/lib/esm/IModelConnection.js.map +1 -1
  528. package/lib/esm/IpcApp.d.ts.map +1 -1
  529. package/lib/esm/IpcApp.js +8 -1
  530. package/lib/esm/IpcApp.js.map +1 -1
  531. package/lib/esm/ModelState.d.ts +0 -8
  532. package/lib/esm/ModelState.d.ts.map +1 -1
  533. package/lib/esm/ModelState.js +0 -8
  534. package/lib/esm/ModelState.js.map +1 -1
  535. package/lib/esm/NativeApp.d.ts +1 -1
  536. package/lib/esm/NativeApp.d.ts.map +1 -1
  537. package/lib/esm/NativeApp.js.map +1 -1
  538. package/lib/esm/NoRenderApp.d.ts.map +1 -1
  539. package/lib/esm/NotificationManager.d.ts +2 -2
  540. package/lib/esm/NotificationManager.d.ts.map +1 -1
  541. package/lib/esm/RealityDataSourceCesiumIonAssetImpl.d.ts.map +1 -1
  542. package/lib/esm/RealityDataSourceCesiumIonAssetImpl.js +1 -2
  543. package/lib/esm/RealityDataSourceCesiumIonAssetImpl.js.map +1 -1
  544. package/lib/esm/RealityDataSourceContextShareImpl.d.ts.map +1 -1
  545. package/lib/esm/RealityDataSourceContextShareImpl.js +2 -3
  546. package/lib/esm/RealityDataSourceContextShareImpl.js.map +1 -1
  547. package/lib/esm/RealityDataSourceTilesetUrlImpl.js +1 -1
  548. package/lib/esm/RealityDataSourceTilesetUrlImpl.js.map +1 -1
  549. package/lib/esm/SheetViewState.d.ts +4 -11
  550. package/lib/esm/SheetViewState.d.ts.map +1 -1
  551. package/lib/esm/SheetViewState.js +18 -12
  552. package/lib/esm/SheetViewState.js.map +1 -1
  553. package/lib/esm/SpatialViewState.d.ts +0 -1
  554. package/lib/esm/SpatialViewState.d.ts.map +1 -1
  555. package/lib/esm/SpatialViewState.js +1 -2
  556. package/lib/esm/SpatialViewState.js.map +1 -1
  557. package/lib/esm/SubCategoriesCache.js +1 -1
  558. package/lib/esm/SubCategoriesCache.js.map +1 -1
  559. package/lib/esm/TentativePoint.js +1 -1
  560. package/lib/esm/TentativePoint.js.map +1 -1
  561. package/lib/esm/ViewCreator3d.js +1 -1
  562. package/lib/esm/ViewCreator3d.js.map +1 -1
  563. package/lib/esm/ViewState.d.ts +14 -1
  564. package/lib/esm/ViewState.d.ts.map +1 -1
  565. package/lib/esm/ViewState.js +4 -2
  566. package/lib/esm/ViewState.js.map +1 -1
  567. package/lib/esm/ViewingSpace.d.ts.map +1 -1
  568. package/lib/esm/ViewingSpace.js +3 -0
  569. package/lib/esm/ViewingSpace.js.map +1 -1
  570. package/lib/esm/Viewport.d.ts.map +1 -1
  571. package/lib/esm/Viewport.js +2 -4
  572. package/lib/esm/Viewport.js.map +1 -1
  573. package/lib/esm/common/WorkerProxy.d.ts +8 -4
  574. package/lib/esm/common/WorkerProxy.d.ts.map +1 -1
  575. package/lib/esm/common/WorkerProxy.js.map +1 -1
  576. package/lib/esm/common/gltf/GltfParser.js +6 -6
  577. package/lib/esm/common/gltf/GltfParser.js.map +1 -1
  578. package/lib/esm/common/gltf/GltfSchema.d.ts +1 -1
  579. package/lib/esm/common/gltf/GltfSchema.d.ts.map +1 -1
  580. package/lib/esm/common/gltf/GltfSchema.js.map +1 -1
  581. package/lib/esm/common/imdl/ImdlSchema.d.ts.map +1 -1
  582. package/lib/esm/common/imdl/ImdlSchema.js.map +1 -1
  583. package/lib/esm/common/imdl/ParseImdlDocument.d.ts.map +1 -1
  584. package/lib/esm/common/imdl/ParseImdlDocument.js +4 -5
  585. package/lib/esm/common/imdl/ParseImdlDocument.js.map +1 -1
  586. package/lib/esm/common/internal/render/DisplayParams.js.map +1 -1
  587. package/lib/esm/common/internal/render/GeometryList.d.ts +1 -1
  588. package/lib/esm/common/internal/render/MeshBuilder.js.map +1 -1
  589. package/lib/esm/common/internal/render/MeshBuilderMap.js.map +1 -1
  590. package/lib/esm/common/internal/render/MeshPrimitives.js.map +1 -1
  591. package/lib/esm/common/internal/render/OvrFlags.d.ts +4 -2
  592. package/lib/esm/common/internal/render/OvrFlags.d.ts.map +1 -1
  593. package/lib/esm/common/internal/render/OvrFlags.js.map +1 -1
  594. package/lib/esm/common/internal/render/VertexTable.d.ts.map +1 -1
  595. package/lib/esm/common/internal/render/VertexTable.js +3 -5
  596. package/lib/esm/common/internal/render/VertexTable.js.map +1 -1
  597. package/lib/esm/common/render/InstancedGraphicParams.js.map +1 -1
  598. package/lib/esm/quantity-formatting/BaseUnitFormattingSettingsProvider.d.ts.map +1 -1
  599. package/lib/esm/quantity-formatting/BaseUnitFormattingSettingsProvider.js +1 -1
  600. package/lib/esm/quantity-formatting/BaseUnitFormattingSettingsProvider.js.map +1 -1
  601. package/lib/esm/quantity-formatting/LocalUnitFormatProvider.js +2 -2
  602. package/lib/esm/quantity-formatting/LocalUnitFormatProvider.js.map +1 -1
  603. package/lib/esm/quantity-formatting/QuantityTypesEditorSpecs.d.ts.map +1 -1
  604. package/lib/esm/render/GraphicBranch.d.ts +12 -1
  605. package/lib/esm/render/GraphicBranch.d.ts.map +1 -1
  606. package/lib/esm/render/GraphicBranch.js.map +1 -1
  607. package/lib/esm/render/MockRender.d.ts.map +1 -1
  608. package/lib/esm/render/Pixel.d.ts +14 -4
  609. package/lib/esm/render/Pixel.d.ts.map +1 -1
  610. package/lib/esm/render/Pixel.js +22 -5
  611. package/lib/esm/render/Pixel.js.map +1 -1
  612. package/lib/esm/render/RealityMeshGraphicParams.d.ts +1 -0
  613. package/lib/esm/render/RealityMeshGraphicParams.d.ts.map +1 -1
  614. package/lib/esm/render/RealityMeshGraphicParams.js.map +1 -1
  615. package/lib/esm/render/RenderMemory.d.ts +2 -0
  616. package/lib/esm/render/RenderMemory.d.ts.map +1 -1
  617. package/lib/esm/render/RenderMemory.js +2 -0
  618. package/lib/esm/render/RenderMemory.js.map +1 -1
  619. package/lib/esm/render/RenderPlan.d.ts +2 -1
  620. package/lib/esm/render/RenderPlan.d.ts.map +1 -1
  621. package/lib/esm/render/RenderPlan.js +2 -0
  622. package/lib/esm/render/RenderPlan.js.map +1 -1
  623. package/lib/esm/render/RenderSystem.d.ts +1 -1
  624. package/lib/esm/render/RenderSystem.d.ts.map +1 -1
  625. package/lib/esm/render/RenderSystem.js +8 -9
  626. package/lib/esm/render/RenderSystem.js.map +1 -1
  627. package/lib/esm/render/webgl/BatchUniforms.d.ts +4 -0
  628. package/lib/esm/render/webgl/BatchUniforms.d.ts.map +1 -1
  629. package/lib/esm/render/webgl/BatchUniforms.js +18 -0
  630. package/lib/esm/render/webgl/BatchUniforms.js.map +1 -1
  631. package/lib/esm/render/webgl/BranchState.d.ts +9 -0
  632. package/lib/esm/render/webgl/BranchState.d.ts.map +1 -1
  633. package/lib/esm/render/webgl/BranchState.js +6 -0
  634. package/lib/esm/render/webgl/BranchState.js.map +1 -1
  635. package/lib/esm/render/webgl/BranchUniforms.d.ts +1 -0
  636. package/lib/esm/render/webgl/BranchUniforms.d.ts.map +1 -1
  637. package/lib/esm/render/webgl/BranchUniforms.js +14 -1
  638. package/lib/esm/render/webgl/BranchUniforms.js.map +1 -1
  639. package/lib/esm/render/webgl/CachedGeometry.js.map +1 -1
  640. package/lib/esm/render/webgl/ContourUniforms.d.ts +22 -0
  641. package/lib/esm/render/webgl/ContourUniforms.d.ts.map +1 -0
  642. package/lib/esm/render/webgl/ContourUniforms.js +94 -0
  643. package/lib/esm/render/webgl/ContourUniforms.js.map +1 -0
  644. package/lib/esm/render/webgl/Contours.d.ts +34 -0
  645. package/lib/esm/render/webgl/Contours.d.ts.map +1 -0
  646. package/lib/esm/render/webgl/Contours.js +123 -0
  647. package/lib/esm/render/webgl/Contours.js.map +1 -0
  648. package/lib/esm/render/webgl/EdgeSettings.js +1 -1
  649. package/lib/esm/render/webgl/EdgeSettings.js.map +1 -1
  650. package/lib/esm/render/webgl/FeatureOverrides.d.ts +1 -0
  651. package/lib/esm/render/webgl/FeatureOverrides.d.ts.map +1 -1
  652. package/lib/esm/render/webgl/FeatureOverrides.js +46 -49
  653. package/lib/esm/render/webgl/FeatureOverrides.js.map +1 -1
  654. package/lib/esm/render/webgl/GL.d.ts +2 -1
  655. package/lib/esm/render/webgl/GL.d.ts.map +1 -1
  656. package/lib/esm/render/webgl/GL.js +1 -0
  657. package/lib/esm/render/webgl/GL.js.map +1 -1
  658. package/lib/esm/render/webgl/Graphic.d.ts +12 -0
  659. package/lib/esm/render/webgl/Graphic.d.ts.map +1 -1
  660. package/lib/esm/render/webgl/Graphic.js +31 -0
  661. package/lib/esm/render/webgl/Graphic.js.map +1 -1
  662. package/lib/esm/render/webgl/Material.js +2 -2
  663. package/lib/esm/render/webgl/Material.js.map +1 -1
  664. package/lib/esm/render/webgl/RealityMesh.js +1 -1
  665. package/lib/esm/render/webgl/RealityMesh.js.map +1 -1
  666. package/lib/esm/render/webgl/RenderFlags.d.ts +2 -1
  667. package/lib/esm/render/webgl/RenderFlags.d.ts.map +1 -1
  668. package/lib/esm/render/webgl/RenderFlags.js +2 -0
  669. package/lib/esm/render/webgl/RenderFlags.js.map +1 -1
  670. package/lib/esm/render/webgl/SceneCompositor.d.ts.map +1 -1
  671. package/lib/esm/render/webgl/SceneCompositor.js +16 -4
  672. package/lib/esm/render/webgl/SceneCompositor.js.map +1 -1
  673. package/lib/esm/render/webgl/ShaderBuilder.d.ts +15 -13
  674. package/lib/esm/render/webgl/ShaderBuilder.d.ts.map +1 -1
  675. package/lib/esm/render/webgl/ShaderBuilder.js +18 -10
  676. package/lib/esm/render/webgl/ShaderBuilder.js.map +1 -1
  677. package/lib/esm/render/webgl/ShaderProgram.d.ts.map +1 -1
  678. package/lib/esm/render/webgl/ShaderProgram.js +26 -0
  679. package/lib/esm/render/webgl/ShaderProgram.js.map +1 -1
  680. package/lib/esm/render/webgl/System.d.ts.map +1 -1
  681. package/lib/esm/render/webgl/System.js +7 -7
  682. package/lib/esm/render/webgl/System.js.map +1 -1
  683. package/lib/esm/render/webgl/Target.d.ts.map +1 -1
  684. package/lib/esm/render/webgl/Target.js +2 -1
  685. package/lib/esm/render/webgl/Target.js.map +1 -1
  686. package/lib/esm/render/webgl/TargetUniforms.d.ts +2 -0
  687. package/lib/esm/render/webgl/TargetUniforms.d.ts.map +1 -1
  688. package/lib/esm/render/webgl/TargetUniforms.js +2 -0
  689. package/lib/esm/render/webgl/TargetUniforms.js.map +1 -1
  690. package/lib/esm/render/webgl/TechniqueFlags.d.ts.map +1 -1
  691. package/lib/esm/render/webgl/Texture.d.ts.map +1 -1
  692. package/lib/esm/render/webgl/Texture.js +2 -2
  693. package/lib/esm/render/webgl/Texture.js.map +1 -1
  694. package/lib/esm/render/webgl/UniformHandle.js.map +1 -1
  695. package/lib/esm/render/webgl/glsl/AmbientOcclusion.js +1 -1
  696. package/lib/esm/render/webgl/glsl/Atmosphere.js +1 -1
  697. package/lib/esm/render/webgl/glsl/Blur.js +1 -1
  698. package/lib/esm/render/webgl/glsl/ClearPickAndColor.js +1 -1
  699. package/lib/esm/render/webgl/glsl/ClearTranslucent.js +1 -1
  700. package/lib/esm/render/webgl/glsl/Clipping.js +1 -1
  701. package/lib/esm/render/webgl/glsl/Combine3Textures.js +1 -1
  702. package/lib/esm/render/webgl/glsl/CombineTextures.js +1 -1
  703. package/lib/esm/render/webgl/glsl/Composite.js +1 -1
  704. package/lib/esm/render/webgl/glsl/Contours.d.ts +4 -0
  705. package/lib/esm/render/webgl/glsl/Contours.d.ts.map +1 -0
  706. package/lib/esm/render/webgl/glsl/Contours.js +134 -0
  707. package/lib/esm/render/webgl/glsl/Contours.js.map +1 -0
  708. package/lib/esm/render/webgl/glsl/CopyColor.js +1 -1
  709. package/lib/esm/render/webgl/glsl/CopyPickBuffers.js +1 -1
  710. package/lib/esm/render/webgl/glsl/CopyStencil.js +5 -5
  711. package/lib/esm/render/webgl/glsl/EDL.js +4 -4
  712. package/lib/esm/render/webgl/glsl/EVSMFromDepth.js +1 -1
  713. package/lib/esm/render/webgl/glsl/Edge.js +1 -1
  714. package/lib/esm/render/webgl/glsl/FeatureSymbology.d.ts +2 -1
  715. package/lib/esm/render/webgl/glsl/FeatureSymbology.d.ts.map +1 -1
  716. package/lib/esm/render/webgl/glsl/FeatureSymbology.js +21 -15
  717. package/lib/esm/render/webgl/glsl/FeatureSymbology.js.map +1 -1
  718. package/lib/esm/render/webgl/glsl/Fragment.js +9 -9
  719. package/lib/esm/render/webgl/glsl/LogarithmicDepthBuffer.js +1 -1
  720. package/lib/esm/render/webgl/glsl/PlanarClassification.js +4 -4
  721. package/lib/esm/render/webgl/glsl/PointCloud.js +1 -1
  722. package/lib/esm/render/webgl/glsl/RealityMesh.js +3 -3
  723. package/lib/esm/render/webgl/glsl/ScreenSpaceEffect.js +1 -1
  724. package/lib/esm/render/webgl/glsl/SkyBox.js +1 -1
  725. package/lib/esm/render/webgl/glsl/SkySphere.js +1 -1
  726. package/lib/esm/render/webgl/glsl/SolarShadowMapping.js +1 -1
  727. package/lib/esm/render/webgl/glsl/Surface.d.ts.map +1 -1
  728. package/lib/esm/render/webgl/glsl/Surface.js +5 -3
  729. package/lib/esm/render/webgl/glsl/Surface.js.map +1 -1
  730. package/lib/esm/render/webgl/glsl/Translucency.js +1 -1
  731. package/lib/esm/render/webgl/glsl/Wiremesh.js +1 -1
  732. package/lib/esm/request/Request.d.ts.map +1 -1
  733. package/lib/esm/request/Request.js.map +1 -1
  734. package/lib/esm/tile/ClassifierTileTree.js +1 -1
  735. package/lib/esm/tile/ClassifierTileTree.js.map +1 -1
  736. package/lib/esm/tile/ContextShareProvider.js +2 -2
  737. package/lib/esm/tile/ContextShareProvider.js.map +1 -1
  738. package/lib/esm/tile/GltfReader.d.ts +1 -1
  739. package/lib/esm/tile/GltfReader.d.ts.map +1 -1
  740. package/lib/esm/tile/GltfReader.js +14 -12
  741. package/lib/esm/tile/GltfReader.js.map +1 -1
  742. package/lib/esm/tile/ImdlGraphicsCreator.js +4 -4
  743. package/lib/esm/tile/ImdlGraphicsCreator.js.map +1 -1
  744. package/lib/esm/tile/ImdlReader.d.ts.map +1 -1
  745. package/lib/esm/tile/ImdlReader.js.map +1 -1
  746. package/lib/esm/tile/OrbitGtTileTree.d.ts.map +1 -1
  747. package/lib/esm/tile/OrbitGtTileTree.js +1 -2
  748. package/lib/esm/tile/OrbitGtTileTree.js.map +1 -1
  749. package/lib/esm/tile/PntsReader.js +1 -1
  750. package/lib/esm/tile/PntsReader.js.map +1 -1
  751. package/lib/esm/tile/PrimaryTileTree.d.ts.map +1 -1
  752. package/lib/esm/tile/PrimaryTileTree.js +6 -6
  753. package/lib/esm/tile/PrimaryTileTree.js.map +1 -1
  754. package/lib/esm/tile/RealityModelTileTree.d.ts.map +1 -1
  755. package/lib/esm/tile/RealityModelTileTree.js +1 -2
  756. package/lib/esm/tile/RealityModelTileTree.js.map +1 -1
  757. package/lib/esm/tile/RealityTileDrawArgs.d.ts.map +1 -1
  758. package/lib/esm/tile/RealityTileLoader.d.ts.map +1 -1
  759. package/lib/esm/tile/RealityTileLoader.js +1 -1
  760. package/lib/esm/tile/RealityTileLoader.js.map +1 -1
  761. package/lib/esm/tile/RealityTileTree.d.ts.map +1 -1
  762. package/lib/esm/tile/ThreeDTileFormatInterpreter.js +1 -1
  763. package/lib/esm/tile/ThreeDTileFormatInterpreter.js.map +1 -1
  764. package/lib/esm/tile/TileAdmin.d.ts.map +1 -1
  765. package/lib/esm/tile/TileAdmin.js +1 -2
  766. package/lib/esm/tile/TileAdmin.js.map +1 -1
  767. package/lib/esm/tile/TileDrawArgs.d.ts +4 -0
  768. package/lib/esm/tile/TileDrawArgs.d.ts.map +1 -1
  769. package/lib/esm/tile/TileDrawArgs.js +2 -0
  770. package/lib/esm/tile/TileDrawArgs.js.map +1 -1
  771. package/lib/esm/tile/TileRequest.js +1 -1
  772. package/lib/esm/tile/TileRequest.js.map +1 -1
  773. package/lib/esm/tile/TileRequestChannel.js +1 -1
  774. package/lib/esm/tile/TileRequestChannel.js.map +1 -1
  775. package/lib/esm/tile/TileStorage.js +1 -1
  776. package/lib/esm/tile/TileStorage.js.map +1 -1
  777. package/lib/esm/tile/TileTreeReference.d.ts +2 -0
  778. package/lib/esm/tile/TileTreeReference.d.ts.map +1 -1
  779. package/lib/esm/tile/TileTreeReference.js +3 -0
  780. package/lib/esm/tile/TileTreeReference.js.map +1 -1
  781. package/lib/esm/tile/map/ArcGISTileMap.d.ts.map +1 -1
  782. package/lib/esm/tile/map/ArcGISTileMap.js +0 -1
  783. package/lib/esm/tile/map/ArcGISTileMap.js.map +1 -1
  784. package/lib/esm/tile/map/ArcGisUtilities.js +1 -1
  785. package/lib/esm/tile/map/ArcGisUtilities.js.map +1 -1
  786. package/lib/esm/tile/map/BingElevation.js +3 -3
  787. package/lib/esm/tile/map/BingElevation.js.map +1 -1
  788. package/lib/esm/tile/map/CesiumTerrainProvider.js +3 -3
  789. package/lib/esm/tile/map/CesiumTerrainProvider.js.map +1 -1
  790. package/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js +1 -1
  791. package/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js.map +1 -1
  792. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
  793. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js +4 -5
  794. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
  795. package/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js +1 -1
  796. package/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js.map +1 -1
  797. package/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.d.ts.map +1 -1
  798. package/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js.map +1 -1
  799. package/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js.map +1 -1
  800. package/lib/esm/tile/map/MapTile.d.ts.map +1 -1
  801. package/lib/esm/tile/map/MapTile.js +1 -1
  802. package/lib/esm/tile/map/MapTile.js.map +1 -1
  803. package/lib/esm/tile/map/MapTileLoader.js +1 -1
  804. package/lib/esm/tile/map/MapTileLoader.js.map +1 -1
  805. package/lib/esm/tile/map/MapTileTree.d.ts.map +1 -1
  806. package/lib/esm/tile/map/MapTilingScheme.d.ts.map +1 -1
  807. package/lib/esm/tile/map/MapTilingScheme.js +4 -0
  808. package/lib/esm/tile/map/MapTilingScheme.js.map +1 -1
  809. package/lib/esm/tile/map/WmsCapabilities.d.ts.map +1 -1
  810. package/lib/esm/tools/ClipViewTool.d.ts.map +1 -1
  811. package/lib/esm/tools/MeasureTool.js +2 -2
  812. package/lib/esm/tools/MeasureTool.js.map +1 -1
  813. package/lib/esm/tools/Tool.d.ts +1 -1
  814. package/lib/esm/tools/Tool.d.ts.map +1 -1
  815. package/lib/esm/tools/ViewTool.d.ts.map +1 -1
  816. package/lib/esm/tools/ViewTool.js +2 -2
  817. package/lib/esm/tools/ViewTool.js.map +1 -1
  818. package/lib/public/scripts/parse-imdl-worker.js +1 -1
  819. package/lib/workers/webpack/parse-imdl-worker.js +1 -1
  820. package/package.json +30 -36
@@ -1 +1 @@
1
- {"version":3,"file":"ImdlSchema.d.ts","sourceRoot":"","sources":["../../../../src/common/imdl/ImdlSchema.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACxG,OAAO,EACL,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EACzH,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MA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3,"file":"ImdlSchema.js","sourceRoot":"","sources":["../../../../src/common/imdl/ImdlSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAmOH;;GAEG;AACH,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,iCAAiC;IACjC,+DAAM,CAAA;IACN,sKAAsK;IACtK,uEAAU,CAAA;IACV,kCAAkC;IAClC,iEAAO,CAAA;AACT,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B","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 Tiles\r\n */\r\n\r\nimport { ClipVectorProps, Range3dProps, TransformProps, XYProps, XYZProps } from \"@itwin/core-geometry\";\r\nimport {\r\n ColorDefProps, FeatureIndexType, FillFlags, Gradient, ImageSourceFormat, LinePixels, TextureMapping, TextureTransparency,\r\n} from \"@itwin/core-common\";\r\nimport { AuxChannelTableProps } from \"../internal/render/AuxChannelTable\";\r\nimport { DisplayParams } from \"../internal/render/DisplayParams\";\r\nimport { MeshPrimitiveType } from \"../internal/render/MeshPrimitive\";\r\nimport { SurfaceType } from \"../internal/render/SurfaceParams\";\r\n\r\n/* eslint-disable no-restricted-syntax */\r\n\r\n/** Describes a [ColorDef]($common) as [r, g, b] with each component in [0..1].\r\n * @internal\r\n */\r\nexport type ImdlColorDef = number[];\r\n\r\n/** Describes a [TextureMapping]($common).\r\n * @internal\r\n */\r\nexport interface ImdlTextureMapping {\r\n /** Optional name, which may be the Id of a persistent [RenderTexture]($common) or some other name unique among all texture mappings within the tile. */\r\n name?: string;\r\n /** Describes the [TextureMapping.Params]($common). */\r\n params: {\r\n /** Describes a [TextureMapping.Trans2x3]($common) as a 2x3 matrix. */\r\n transform: number[][];\r\n /** @see [TextureMapping.Params.weight]($common). Default: 1.0. */\r\n weight?: number;\r\n /** Default: [TextureMapping.Mode.Parametric]($common). */\r\n mode?: TextureMapping.Mode;\r\n /** @see [TextureMapping.Params.worldMapping]($common). Default: false. */\r\n worldMapping?: boolean;\r\n /** @see [TextureMapping.Params.useConstantLod]($common). Default: false. */\r\n useConstantLod?: boolean;\r\n /** Describes the [TextureMapping.ConstantLodParamProps]($common). */\r\n constantLodParams?: {\r\n repetitions?: number;\r\n offset?: number[];\r\n minDistClamp?: number;\r\n maxDistClamp?: number;\r\n };\r\n };\r\n /** @see [NormalMapParams]($common). */\r\n normalMapParams?: {\r\n textureName?: string;\r\n greenUp?: boolean;\r\n scale?: number;\r\n useConstantLod?: boolean;\r\n };\r\n}\r\n\r\n/** Describes a [RenderTexture]($common) with its image embedded into the tile data.\r\n * @internal\r\n */\r\nexport interface ImdlNamedTexture {\r\n /** If true, the image is a texture atlas containing any number of glyphs used for text. */\r\n isGlyph?: boolean;\r\n /** If true, the texture should not repeat and should not be mip-mapped. */\r\n isTileSection?: boolean;\r\n /** The Id of the [[ImdlBufferView]] containing the image data. */\r\n bufferView: string;\r\n /** The format of the image data referenced by [[bufferView]]. */\r\n format: ImageSourceFormat;\r\n /** The kind of transparency present in the texture image. Default: Mixed. */\r\n transparency?: TextureTransparency;\r\n}\r\n\r\n/** Describes a [[DisplayParams]].\r\n * @internal\r\n */\r\nexport interface ImdlDisplayParams {\r\n type: DisplayParams.Type;\r\n lineColor?: ColorDefProps;\r\n fillColor?: ColorDefProps;\r\n lineWidth?: number;\r\n linePixels?: LinePixels;\r\n fillFlags?: FillFlags;\r\n ignoreLighting?: boolean;\r\n materialId?: string;\r\n texture?: ImdlTextureMapping;\r\n gradient?: Gradient.SymbProps;\r\n}\r\n\r\n/** Describes a [RenderMaterial]($common).\r\n * @internal\r\n */\r\nexport interface ImdlRenderMaterial {\r\n diffuseColor?: ImdlColorDef;\r\n diffuse?: number;\r\n specularColor?: ImdlColorDef;\r\n specular?: number;\r\n reflectColor?: ImdlColorDef;\r\n reflect?: number;\r\n specularExponent?: number;\r\n /** In [0..1] where 0 is fully opaque. */\r\n transparency?: number;\r\n refract?: number;\r\n shadows?: boolean;\r\n ambient?: number;\r\n textureMapping?: {\r\n texture: ImdlTextureMapping;\r\n };\r\n}\r\n\r\n/** Describes a [[SurfaceMaterialAtlas]] embedded into an [[ImdlVertexTable]].\r\n * @internal\r\n */\r\nexport interface ImdlMaterialAtlas {\r\n readonly numMaterials: number;\r\n readonly hasTranslucency?: boolean;\r\n readonly overridesAlpha?: boolean;\r\n}\r\n\r\n/** Describes a [[VertexTable]].\r\n * @internal\r\n */\r\nexport interface ImdlVertexTable {\r\n /** Id of the [[ImdlBufferView]] containing the binary vertex table data. */\r\n readonly bufferView: string;\r\n /** The number of vertices in the table. */\r\n readonly count: number;\r\n /** The number of RGBA values in the lookup texture allocated per vertex. */\r\n readonly numRgbaPerVertex: number;\r\n /** The number of colors in the color table embedded into the vertex table, or undefined if [[uniformColor]] is defined. */\r\n readonly numColors?: number;\r\n /** The width of the lookup texture. */\r\n readonly width: number;\r\n /** The height of the lookup texture. */\r\n readonly height: number;\r\n /** True if [[uniformColor]] has transparency or the embedded color table contains transparent colors. */\r\n readonly hasTranslucency: boolean;\r\n /** Describes the number (0, 1, or more than 1) of features contained in the vertex table. */\r\n readonly featureIndexType: FeatureIndexType;\r\n /** If [[featureIndexType]] is [FeatureIndexType.Uniform]($common), the ID of the feature associated with all vertices in the table. */\r\n readonly featureID?: number;\r\n /** If defined, the color associated with all vertices in the table. */\r\n readonly uniformColor?: ColorDefProps;\r\n /** The quantization range of the vertex positions. @see [QParams3d]($common). */\r\n readonly params: {\r\n readonly decodedMin: number[];\r\n readonly decodedMax: number[];\r\n };\r\n /** If the vertex table contains multiple surface materials, describes the embedded material atlas. */\r\n readonly materialAtlas?: ImdlMaterialAtlas;\r\n readonly usesUnquantizedPositions?: boolean;\r\n}\r\n\r\n/** Describes how to draw a single [[ImdlPrimitive]] repeatedly.\r\n * @see [[InstancedGraphicParams]].\r\n * @internal\r\n */\r\nexport interface ImdlInstances {\r\n readonly count: number;\r\n readonly transformCenter: number[];\r\n readonly featureIds: string;\r\n readonly transforms: string;\r\n readonly symbologyOverrides?: string;\r\n}\r\n\r\n/** Describes a unit of geometry within an [[ImdlMesh]].\r\n * @internal\r\n */\r\nexport interface ImdlPrimitive {\r\n /** The Id of the associated [[ImdlDisplayParams]]. */\r\n readonly material?: string;\r\n /** A lookup table containing the primitive's vertices. */\r\n readonly vertices: ImdlVertexTable;\r\n /** If true, all the vertices lie in a single plane. */\r\n readonly isPlanar?: boolean;\r\n /** If defined, a point about which the primitive should rotate when displayed to always face the camera. */\r\n readonly viewIndependentOrigin?: XYZProps;\r\n /** If defined, describes repeated instances of the same primitive. */\r\n readonly instances?: ImdlInstances;\r\n}\r\n\r\n/** Per-vertex data used to animate and/or resymbolize a mesh.\r\n * @see [[AuxChannelTable]].\r\n * @internal\r\n */\r\nexport type ImdlAuxChannelTable = Omit<AuxChannelTableProps, \"data\"> & { bufferView: string };\r\n\r\n/** Describes the \"hard\" edges of an [[ImdlMeshPrimitive]]. These edges represent simple line segments connecting two vertices of the mesh.\r\n * They are always visible regardless of view orientation.\r\n * Each segment is represented as a quad such that it can be expanded to a desired width in pixels.\r\n * @internal\r\n */\r\nexport interface ImdlSegmentEdges {\r\n /** Id of the [[ImdlBufferView]] containing - for each vertex of each quad - the 24-bit index of the vertex in the mesh's [[ImdlVertexTable]]. */\r\n readonly indices: string;\r\n /** Id of the [[ImdlBufferView]] containing - for each vertex of each quad - the 24-bit index of the segmnent's other endpoint in the mesh's [[ImdlVertexTable]],\r\n * along with a \"quad index\" in [0..3] identifying which corner of the quad the vertex represents.\r\n */\r\n readonly endPointAndQuadIndices: string;\r\n}\r\n\r\n/** Describes \"hidden\" edges of an [[ImdlMeshPrimitive]]. These edges represent simple line segments connecting two vertices of the mesh.\r\n * A given silhouette is visible when only one of the faces associated with the edge is facing the camera, producing view-dependent outlines for curved\r\n * geometry like spheres and cones.\r\n * @internal\r\n */\r\nexport interface ImdlSilhouetteEdges extends ImdlSegmentEdges {\r\n /** The Id of the [[ImdlBufferView]] containing - for each vertex - a pair of [OctEncodedNormal]($common)s for the two faces associated with the edge. */\r\n readonly normalPairs: string;\r\n}\r\n\r\n/** A compact alternative representation of [[ImdlSegmentEdges]] and [[ImdlSilhouetteEdges]] consisting of a lookup table containing information about each unique\r\n * edge, along with indices into that table.\r\n * @see [[IndexedEdgeParams]].\r\n * @internal\r\n */\r\nexport interface ImdlIndexedEdges {\r\n /** Id of the [[ImdlBufferView]] containing the indices - 6 per segment, forming a quad. */\r\n readonly indices: string;\r\n /** Id of the [[ImdlBufferView]] containing the lookup table binary data. */\r\n readonly edges: string;\r\n /** Width of the lookup texture. */\r\n readonly width: number;\r\n /** Height of the lookup texture. */\r\n readonly height: number;\r\n /** The number of simple segments in the lower partition of the lookup table. @see [[IndexedEdgeParams.numSegments]]. */\r\n readonly numSegments: number;\r\n /** The number of bytes inserted for alignment between the lower and upper partitions of the lookup table. @see [[IndexedEdgeParams.silhouettePadding]]. */\r\n readonly silhouettePadding: number;\r\n}\r\n\r\n/** As part of [[ImdlCompactEdges]], describes the visibility of an edge of a triangle.\r\n * @internal\r\n */\r\nexport enum ImdlEdgeVisibility {\r\n /** The edge is never visible. */\r\n Hidden,\r\n /** The edge is shared between two adjacent triangles. It is visible only if one triangle is facing away from the viewer and the other is facing toward the viewer. */\r\n Silhouette,\r\n /** The edge is always visible. */\r\n Visible,\r\n}\r\n\r\n/** A more compact representation of [[ImdlIndexedEdges]]. For each vertex index in the mesh, it encodes 2 bits indicating the visibility of the edge between\r\n * that vertex and the next vertex in the triangle. A second buffer holds oct-encoded normal pairs such that the pair at index N corresponds to the Nth edge\r\n * with [[ImdlEdgeVisibility.Silhouette]] in the visibility buffer.\r\n * This information is used to construct the edge table that would otherwise be described more verbosely by [[ImdlIndexedEdges]].\r\n * @see [[CompactEdgeParams]].\r\n * @internal\r\n */\r\nexport interface ImdlCompactEdges {\r\n /** Id of the [[ImdlBufferView]] containing the [[ImdlEdgeVisibility]] of each edge of each triangle in the mesh.\r\n * The order of the edges in the buffer is the same as the order of the corresponding [[ImdlSurface.indices]].\r\n * 2 bits are allocated per edge.\r\n */\r\n readonly visibility: string;\r\n /** Id of the [[ImdlBufferView]] containing the [OctEncodedNormalPair]($common)s of each silhouette edge in [[visibility]].\r\n * Each pair is represented as a 32-bit unsigned integer - `normal1 | (normal2 << 16)`.\r\n * If no silhouettes are present, this property will be `undefined`.\r\n */\r\n readonly normalPairs?: string;\r\n /** The number of edges with [[ImdlVisibility.Visible]].\r\n * @note The number of edges with [[ImdlVisibility.Silhouette]] is implicit in the number of [[normalPairs]].\r\n */\r\n readonly numVisible: number;\r\n}\r\n\r\n/** Describes the edges of an [[ImdlMeshPrimitive]].\r\n * @internal\r\n */\r\nexport interface ImdlMeshEdges {\r\n readonly segments?: ImdlSegmentEdges;\r\n readonly silhouettes?: ImdlSilhouetteEdges;\r\n /** Line strings with additional joint triangles inserted to produce wide edges with rounded corners.\r\n * Typically only produced for 2d views.\r\n */\r\n readonly indexed?: ImdlIndexedEdges;\r\n readonly compact?: ImdlCompactEdges;\r\n readonly polylines?: ImdlPolyline;\r\n}\r\n\r\n/** Describes a collection of line strings with additional joint triangles inserted to produce wide line strings with rounded corners.\r\n * @see [[TesselatedPolyline]] and [[PolylineParams]].\r\n * @internal\r\n */\r\nexport interface ImdlPolyline {\r\n /** Id of the [[ImdlBufferView]] containing the [[TesselatedPolyline.indices]]. */\r\n readonly indices: string;\r\n /** Id of the [[ImdlBufferView]] containing the [[TesselatedPolyline.prevIndices]]. */\r\n readonly prevIndices: string;\r\n /** Id of the [[ImdlBufferView]] containing the [[TesselatedPolyline.nextIndicesAndParams]]. */\r\n readonly nextIndicesAndParams: string;\r\n}\r\n\r\n/** Describes a planar region in which a pattern symbol is repeated in a regular grid.\r\n * @see [[PatternGraphicParams]].\r\n * @internal\r\n */\r\nexport interface ImdlAreaPattern {\r\n readonly type: \"areaPattern\";\r\n /** The Id of the [[ImdlAreaPatternSymbol]] containing the pattern geometry. */\r\n readonly symbolName: string;\r\n /** A [ClipVector]($core-geometry) used to clip symbols to the pattern region's boundary. */\r\n readonly clip: ClipVectorProps;\r\n /** Uniform scale applied to the pattern geometry. */\r\n readonly scale: number;\r\n /** Spacing between each instance of the pattern in meters. */\r\n readonly spacing: XYProps;\r\n readonly orgTransform: TransformProps;\r\n readonly origin: XYProps;\r\n /** Id of the [[ImdlBufferView]] containing the offset of each occurrence of the symbol in pattern-space. */\r\n readonly xyOffsets: string;\r\n readonly featureId: number;\r\n readonly modelTransform: TransformProps;\r\n readonly range: Range3dProps;\r\n readonly symbolTranslation: XYZProps;\r\n readonly viewIndependentOrigin?: XYZProps;\r\n}\r\n\r\n/** Describes the surface of an [[ImdlMeshPrimitive]] as a collection of triangles.\r\n * @internal\r\n */\r\nexport interface ImdlSurface {\r\n /** The type of surface. */\r\n readonly type: SurfaceType;\r\n /** The 24-bit indices into the [[ImdlVertexTable]] of each triangle's vertex. */\r\n readonly indices: string;\r\n /** If true, the [[ImdlTextureMapping]] is applied regardless of [ViewFlags.textures]($common). */\r\n readonly alwaysDisplayTexture?: boolean;\r\n /** The quantization range for the UV coordinates. @see [QParams2d]($common). */\r\n readonly uvParams?: {\r\n readonly decodedMin: number[];\r\n readonly decodedMax: number[];\r\n };\r\n}\r\n\r\n/** Describes a triangle mesh, optionally including its edges. @see [[MeshParams]].\r\n * @internal\r\n */\r\nexport interface ImdlMeshPrimitive extends ImdlPrimitive {\r\n /** Type discriminator for [[AnyImdlPrimitive]]. */\r\n readonly type: MeshPrimitiveType.Mesh;\r\n readonly surface: ImdlSurface;\r\n readonly edges?: ImdlMeshEdges;\r\n readonly auxChannels?: ImdlAuxChannelTable;\r\n readonly areaPattern?: ImdlAreaPattern;\r\n}\r\n\r\n/** Describes a collection of line strings. @see [[PolylineParams]].\r\n * @internal\r\n */\r\nexport interface ImdlPolylinePrimitive extends ImdlPrimitive, ImdlPolyline {\r\n /** Type discriminator for [[AnyImdlPrimitive]]. */\r\n readonly type: MeshPrimitiveType.Polyline;\r\n}\r\n\r\n/** Describes a collection of individual points. @see [[PointStringParams.\r\n * @internal\r\n */\r\nexport interface ImdlPointStringPrimitive extends ImdlPrimitive {\r\n /** Type discriminator for [[AnyImdlPrimitive]]. */\r\n readonly type: MeshPrimitiveType.Point;\r\n /** The Id of the [[ImdlBufferView]] containing - for each point - the 24-bit index of the corresponding vertex in the [[ImdlVertexTable]]. */\r\n readonly indices: string;\r\n}\r\n\r\n/** @internal */\r\nexport type AnyImdlPrimitive = ImdlMeshPrimitive | ImdlPolylinePrimitive | ImdlPointStringPrimitive;\r\n\r\n/** A collection of primitive geometry to be rendered.\r\n * @internal\r\n */\r\nexport interface ImdlMesh {\r\n /** The geometry to be rendered. */\r\n readonly primitives?: Array<AnyImdlPrimitive | ImdlAreaPattern>;\r\n /** If this mesh defines a layer, the unique Id of that layer.\r\n * @see [[RenderSystem.createGraphicLayer]] for a description of layers.\r\n */\r\n readonly layer?: string;\r\n}\r\n\r\n/** A collection of primitive geometry to be rendered as the pattern symbol for an [[ImdlAreaPattern]].\r\n * @internal\r\n */\r\nexport interface ImdlAreaPatternSymbol {\r\n readonly primitives: AnyImdlPrimitive[];\r\n}\r\n\r\n/** If the tile has an associated [RenderSchedule.Script]($common), an array of Ids of nodes in the script used to group elements.\r\n * @internal\r\n */\r\nexport interface ImdlAnimationNodes {\r\n /** The number of bytes in each integer Id provided by [[bufferView]] - either 1, 2, or 4. */\r\n bytesPerId: number;\r\n /** The Id of the [[ImdlBufferView]] containing the tightly-packed array of 1-, 2- or 4-byte unsigned integer node Ids; the number of bytes is specified by [[bytesPerId]]. */\r\n bufferView: string;\r\n}\r\n\r\n/** Describes a contiguous array of bytes within the binary portion of the tile.\r\n * @internal\r\n */\r\nexport interface ImdlBufferView {\r\n /** The number of bytes in the array. */\r\n byteLength: number;\r\n /** The offset from the beginning of the binary portion of the tile data to the first byte in the array. */\r\n byteOffset: number;\r\n}\r\n\r\n/** A top-level dictionary of resources of a particular type contained in an [[Imdl]] tile.\r\n * Each resource has a unique name by which it can be referred to by other contents of the tile.\r\n * @internal\r\n */\r\nexport interface ImdlDictionary<T> {\r\n [key: string]: T | undefined;\r\n}\r\n\r\n/** Describes all of the geometry contained in the tile.\r\n * @internal\r\n */\r\nexport interface ImdlScene {\r\n /** The Ids of the elements of [[Imdl.nodes]] to be included in the scene. */\r\n nodes: string[];\r\n}\r\n\r\n/** Describes the top-level contents of a tile.\r\n * @internal\r\n */\r\nexport interface ImdlDocument {\r\n /** The Id of the ImdlScene in [[scenes]] that describes the tile's geometry. */\r\n scene: string;\r\n /** The collection of ImdlScenes included in the tile. */\r\n scenes: ImdlDictionary<ImdlScene>;\r\n /** Specifies point to which all vertex positions in the tile are relative, as an array of 3 numbers.\r\n * Currently only used for requestElementGraphics - see GraphicsRequestProps.useAbsolutePositions.\r\n */\r\n rtcCenter?: number[];\r\n /** Maps each node Id to the Id of the corresponding mesh in [[meshes]]. */\r\n nodes: ImdlDictionary<string>;\r\n meshes: ImdlDictionary<ImdlMesh>;\r\n bufferViews: ImdlDictionary<ImdlBufferView>;\r\n materials?: ImdlDictionary<ImdlDisplayParams>;\r\n patternSymbols?: ImdlDictionary<ImdlAreaPatternSymbol>;\r\n animationNodes?: ImdlAnimationNodes;\r\n renderMaterials?: ImdlDictionary<ImdlRenderMaterial>;\r\n namedTextures?: ImdlDictionary<ImdlNamedTexture>;\r\n}\r\n"]}
1
+ {"version":3,"file":"ImdlSchema.js","sourceRoot":"","sources":["../../../../src/common/imdl/ImdlSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAiOH;;GAEG;AACH,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,iCAAiC;IACjC,+DAAM,CAAA;IACN,sKAAsK;IACtK,uEAAU,CAAA;IACV,kCAAkC;IAClC,iEAAO,CAAA;AACT,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B","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 Tiles\r\n */\r\n\r\nimport { ClipVectorProps, Range3dProps, TransformProps, XYProps, XYZProps } from \"@itwin/core-geometry\";\r\nimport {\r\n ColorDefProps, FeatureIndexType, FillFlags, Gradient, ImageSourceFormat, LinePixels, TextureMapping, TextureTransparency,\r\n} from \"@itwin/core-common\";\r\nimport { AuxChannelTableProps } from \"../internal/render/AuxChannelTable\";\r\nimport { DisplayParams } from \"../internal/render/DisplayParams\";\r\nimport { MeshPrimitiveType } from \"../internal/render/MeshPrimitive\";\r\nimport { SurfaceType } from \"../internal/render/SurfaceParams\";\r\n\r\n/** Describes a [ColorDef]($common) as [r, g, b] with each component in [0..1].\r\n * @internal\r\n */\r\nexport type ImdlColorDef = number[];\r\n\r\n/** Describes a [TextureMapping]($common).\r\n * @internal\r\n */\r\nexport interface ImdlTextureMapping {\r\n /** Optional name, which may be the Id of a persistent [RenderTexture]($common) or some other name unique among all texture mappings within the tile. */\r\n name?: string;\r\n /** Describes the [TextureMapping.Params]($common). */\r\n params: {\r\n /** Describes a [TextureMapping.Trans2x3]($common) as a 2x3 matrix. */\r\n transform: number[][];\r\n /** @see [TextureMapping.Params.weight]($common). Default: 1.0. */\r\n weight?: number;\r\n /** Default: [TextureMapping.Mode.Parametric]($common). */\r\n mode?: TextureMapping.Mode;\r\n /** @see [TextureMapping.Params.worldMapping]($common). Default: false. */\r\n worldMapping?: boolean;\r\n /** @see [TextureMapping.Params.useConstantLod]($common). Default: false. */\r\n useConstantLod?: boolean;\r\n /** Describes the [TextureMapping.ConstantLodParamProps]($common). */\r\n constantLodParams?: {\r\n repetitions?: number;\r\n offset?: number[];\r\n minDistClamp?: number;\r\n maxDistClamp?: number;\r\n };\r\n };\r\n /** @see [NormalMapParams]($common). */\r\n normalMapParams?: {\r\n textureName?: string;\r\n greenUp?: boolean;\r\n scale?: number;\r\n useConstantLod?: boolean;\r\n };\r\n}\r\n\r\n/** Describes a [RenderTexture]($common) with its image embedded into the tile data.\r\n * @internal\r\n */\r\nexport interface ImdlNamedTexture {\r\n /** If true, the image is a texture atlas containing any number of glyphs used for text. */\r\n isGlyph?: boolean;\r\n /** If true, the texture should not repeat and should not be mip-mapped. */\r\n isTileSection?: boolean;\r\n /** The Id of the [[ImdlBufferView]] containing the image data. */\r\n bufferView: string;\r\n /** The format of the image data referenced by [[bufferView]]. */\r\n format: ImageSourceFormat;\r\n /** The kind of transparency present in the texture image. Default: Mixed. */\r\n transparency?: TextureTransparency;\r\n}\r\n\r\n/** Describes a [[DisplayParams]].\r\n * @internal\r\n */\r\nexport interface ImdlDisplayParams {\r\n type: DisplayParams.Type;\r\n lineColor?: ColorDefProps;\r\n fillColor?: ColorDefProps;\r\n lineWidth?: number;\r\n linePixels?: LinePixels;\r\n fillFlags?: FillFlags;\r\n ignoreLighting?: boolean;\r\n materialId?: string;\r\n texture?: ImdlTextureMapping;\r\n gradient?: Gradient.SymbProps;\r\n}\r\n\r\n/** Describes a [RenderMaterial]($common).\r\n * @internal\r\n */\r\nexport interface ImdlRenderMaterial {\r\n diffuseColor?: ImdlColorDef;\r\n diffuse?: number;\r\n specularColor?: ImdlColorDef;\r\n specular?: number;\r\n reflectColor?: ImdlColorDef;\r\n reflect?: number;\r\n specularExponent?: number;\r\n /** In [0..1] where 0 is fully opaque. */\r\n transparency?: number;\r\n refract?: number;\r\n shadows?: boolean;\r\n ambient?: number;\r\n textureMapping?: {\r\n texture: ImdlTextureMapping;\r\n };\r\n}\r\n\r\n/** Describes a [[SurfaceMaterialAtlas]] embedded into an [[ImdlVertexTable]].\r\n * @internal\r\n */\r\nexport interface ImdlMaterialAtlas {\r\n readonly numMaterials: number;\r\n readonly hasTranslucency?: boolean;\r\n readonly overridesAlpha?: boolean;\r\n}\r\n\r\n/** Describes a [[VertexTable]].\r\n * @internal\r\n */\r\nexport interface ImdlVertexTable {\r\n /** Id of the [[ImdlBufferView]] containing the binary vertex table data. */\r\n readonly bufferView: string;\r\n /** The number of vertices in the table. */\r\n readonly count: number;\r\n /** The number of RGBA values in the lookup texture allocated per vertex. */\r\n readonly numRgbaPerVertex: number;\r\n /** The number of colors in the color table embedded into the vertex table, or undefined if [[uniformColor]] is defined. */\r\n readonly numColors?: number;\r\n /** The width of the lookup texture. */\r\n readonly width: number;\r\n /** The height of the lookup texture. */\r\n readonly height: number;\r\n /** True if [[uniformColor]] has transparency or the embedded color table contains transparent colors. */\r\n readonly hasTranslucency: boolean;\r\n /** Describes the number (0, 1, or more than 1) of features contained in the vertex table. */\r\n readonly featureIndexType: FeatureIndexType;\r\n /** If [[featureIndexType]] is [FeatureIndexType.Uniform]($common), the ID of the feature associated with all vertices in the table. */\r\n readonly featureID?: number;\r\n /** If defined, the color associated with all vertices in the table. */\r\n readonly uniformColor?: ColorDefProps;\r\n /** The quantization range of the vertex positions. @see [QParams3d]($common). */\r\n readonly params: {\r\n readonly decodedMin: number[];\r\n readonly decodedMax: number[];\r\n };\r\n /** If the vertex table contains multiple surface materials, describes the embedded material atlas. */\r\n readonly materialAtlas?: ImdlMaterialAtlas;\r\n readonly usesUnquantizedPositions?: boolean;\r\n}\r\n\r\n/** Describes how to draw a single [[ImdlPrimitive]] repeatedly.\r\n * @see [[InstancedGraphicParams]].\r\n * @internal\r\n */\r\nexport interface ImdlInstances {\r\n readonly count: number;\r\n readonly transformCenter: number[];\r\n readonly featureIds: string;\r\n readonly transforms: string;\r\n readonly symbologyOverrides?: string;\r\n}\r\n\r\n/** Describes a unit of geometry within an [[ImdlMesh]].\r\n * @internal\r\n */\r\nexport interface ImdlPrimitive {\r\n /** The Id of the associated [[ImdlDisplayParams]]. */\r\n readonly material?: string;\r\n /** A lookup table containing the primitive's vertices. */\r\n readonly vertices: ImdlVertexTable;\r\n /** If true, all the vertices lie in a single plane. */\r\n readonly isPlanar?: boolean;\r\n /** If defined, a point about which the primitive should rotate when displayed to always face the camera. */\r\n readonly viewIndependentOrigin?: XYZProps;\r\n /** If defined, describes repeated instances of the same primitive. */\r\n readonly instances?: ImdlInstances;\r\n}\r\n\r\n/** Per-vertex data used to animate and/or resymbolize a mesh.\r\n * @see [[AuxChannelTable]].\r\n * @internal\r\n */\r\nexport type ImdlAuxChannelTable = Omit<AuxChannelTableProps, \"data\"> & { bufferView: string };\r\n\r\n/** Describes the \"hard\" edges of an [[ImdlMeshPrimitive]]. These edges represent simple line segments connecting two vertices of the mesh.\r\n * They are always visible regardless of view orientation.\r\n * Each segment is represented as a quad such that it can be expanded to a desired width in pixels.\r\n * @internal\r\n */\r\nexport interface ImdlSegmentEdges {\r\n /** Id of the [[ImdlBufferView]] containing - for each vertex of each quad - the 24-bit index of the vertex in the mesh's [[ImdlVertexTable]]. */\r\n readonly indices: string;\r\n /** Id of the [[ImdlBufferView]] containing - for each vertex of each quad - the 24-bit index of the segmnent's other endpoint in the mesh's [[ImdlVertexTable]],\r\n * along with a \"quad index\" in [0..3] identifying which corner of the quad the vertex represents.\r\n */\r\n readonly endPointAndQuadIndices: string;\r\n}\r\n\r\n/** Describes \"hidden\" edges of an [[ImdlMeshPrimitive]]. These edges represent simple line segments connecting two vertices of the mesh.\r\n * A given silhouette is visible when only one of the faces associated with the edge is facing the camera, producing view-dependent outlines for curved\r\n * geometry like spheres and cones.\r\n * @internal\r\n */\r\nexport interface ImdlSilhouetteEdges extends ImdlSegmentEdges {\r\n /** The Id of the [[ImdlBufferView]] containing - for each vertex - a pair of [OctEncodedNormal]($common)s for the two faces associated with the edge. */\r\n readonly normalPairs: string;\r\n}\r\n\r\n/** A compact alternative representation of [[ImdlSegmentEdges]] and [[ImdlSilhouetteEdges]] consisting of a lookup table containing information about each unique\r\n * edge, along with indices into that table.\r\n * @see [[IndexedEdgeParams]].\r\n * @internal\r\n */\r\nexport interface ImdlIndexedEdges {\r\n /** Id of the [[ImdlBufferView]] containing the indices - 6 per segment, forming a quad. */\r\n readonly indices: string;\r\n /** Id of the [[ImdlBufferView]] containing the lookup table binary data. */\r\n readonly edges: string;\r\n /** Width of the lookup texture. */\r\n readonly width: number;\r\n /** Height of the lookup texture. */\r\n readonly height: number;\r\n /** The number of simple segments in the lower partition of the lookup table. @see [[IndexedEdgeParams.numSegments]]. */\r\n readonly numSegments: number;\r\n /** The number of bytes inserted for alignment between the lower and upper partitions of the lookup table. @see [[IndexedEdgeParams.silhouettePadding]]. */\r\n readonly silhouettePadding: number;\r\n}\r\n\r\n/** As part of [[ImdlCompactEdges]], describes the visibility of an edge of a triangle.\r\n * @internal\r\n */\r\nexport enum ImdlEdgeVisibility {\r\n /** The edge is never visible. */\r\n Hidden,\r\n /** The edge is shared between two adjacent triangles. It is visible only if one triangle is facing away from the viewer and the other is facing toward the viewer. */\r\n Silhouette,\r\n /** The edge is always visible. */\r\n Visible,\r\n}\r\n\r\n/** A more compact representation of [[ImdlIndexedEdges]]. For each vertex index in the mesh, it encodes 2 bits indicating the visibility of the edge between\r\n * that vertex and the next vertex in the triangle. A second buffer holds oct-encoded normal pairs such that the pair at index N corresponds to the Nth edge\r\n * with [[ImdlEdgeVisibility.Silhouette]] in the visibility buffer.\r\n * This information is used to construct the edge table that would otherwise be described more verbosely by [[ImdlIndexedEdges]].\r\n * @see [[CompactEdgeParams]].\r\n * @internal\r\n */\r\nexport interface ImdlCompactEdges {\r\n /** Id of the [[ImdlBufferView]] containing the [[ImdlEdgeVisibility]] of each edge of each triangle in the mesh.\r\n * The order of the edges in the buffer is the same as the order of the corresponding [[ImdlSurface.indices]].\r\n * 2 bits are allocated per edge.\r\n */\r\n readonly visibility: string;\r\n /** Id of the [[ImdlBufferView]] containing the [OctEncodedNormalPair]($common)s of each silhouette edge in [[visibility]].\r\n * Each pair is represented as a 32-bit unsigned integer - `normal1 | (normal2 << 16)`.\r\n * If no silhouettes are present, this property will be `undefined`.\r\n */\r\n readonly normalPairs?: string;\r\n /** The number of edges with [[ImdlVisibility.Visible]].\r\n * @note The number of edges with [[ImdlVisibility.Silhouette]] is implicit in the number of [[normalPairs]].\r\n */\r\n readonly numVisible: number;\r\n}\r\n\r\n/** Describes the edges of an [[ImdlMeshPrimitive]].\r\n * @internal\r\n */\r\nexport interface ImdlMeshEdges {\r\n readonly segments?: ImdlSegmentEdges;\r\n readonly silhouettes?: ImdlSilhouetteEdges;\r\n /** Line strings with additional joint triangles inserted to produce wide edges with rounded corners.\r\n * Typically only produced for 2d views.\r\n */\r\n readonly indexed?: ImdlIndexedEdges;\r\n readonly compact?: ImdlCompactEdges;\r\n readonly polylines?: ImdlPolyline;\r\n}\r\n\r\n/** Describes a collection of line strings with additional joint triangles inserted to produce wide line strings with rounded corners.\r\n * @see [[TesselatedPolyline]] and [[PolylineParams]].\r\n * @internal\r\n */\r\nexport interface ImdlPolyline {\r\n /** Id of the [[ImdlBufferView]] containing the [[TesselatedPolyline.indices]]. */\r\n readonly indices: string;\r\n /** Id of the [[ImdlBufferView]] containing the [[TesselatedPolyline.prevIndices]]. */\r\n readonly prevIndices: string;\r\n /** Id of the [[ImdlBufferView]] containing the [[TesselatedPolyline.nextIndicesAndParams]]. */\r\n readonly nextIndicesAndParams: string;\r\n}\r\n\r\n/** Describes a planar region in which a pattern symbol is repeated in a regular grid.\r\n * @see [[PatternGraphicParams]].\r\n * @internal\r\n */\r\nexport interface ImdlAreaPattern {\r\n readonly type: \"areaPattern\";\r\n /** The Id of the [[ImdlAreaPatternSymbol]] containing the pattern geometry. */\r\n readonly symbolName: string;\r\n /** A [ClipVector]($core-geometry) used to clip symbols to the pattern region's boundary. */\r\n readonly clip: ClipVectorProps;\r\n /** Uniform scale applied to the pattern geometry. */\r\n readonly scale: number;\r\n /** Spacing between each instance of the pattern in meters. */\r\n readonly spacing: XYProps;\r\n readonly orgTransform: TransformProps;\r\n readonly origin: XYProps;\r\n /** Id of the [[ImdlBufferView]] containing the offset of each occurrence of the symbol in pattern-space. */\r\n readonly xyOffsets: string;\r\n readonly featureId: number;\r\n readonly modelTransform: TransformProps;\r\n readonly range: Range3dProps;\r\n readonly symbolTranslation: XYZProps;\r\n readonly viewIndependentOrigin?: XYZProps;\r\n}\r\n\r\n/** Describes the surface of an [[ImdlMeshPrimitive]] as a collection of triangles.\r\n * @internal\r\n */\r\nexport interface ImdlSurface {\r\n /** The type of surface. */\r\n readonly type: SurfaceType;\r\n /** The 24-bit indices into the [[ImdlVertexTable]] of each triangle's vertex. */\r\n readonly indices: string;\r\n /** If true, the [[ImdlTextureMapping]] is applied regardless of [ViewFlags.textures]($common). */\r\n readonly alwaysDisplayTexture?: boolean;\r\n /** The quantization range for the UV coordinates. @see [QParams2d]($common). */\r\n readonly uvParams?: {\r\n readonly decodedMin: number[];\r\n readonly decodedMax: number[];\r\n };\r\n}\r\n\r\n/** Describes a triangle mesh, optionally including its edges. @see [[MeshParams]].\r\n * @internal\r\n */\r\nexport interface ImdlMeshPrimitive extends ImdlPrimitive {\r\n /** Type discriminator for [[AnyImdlPrimitive]]. */\r\n readonly type: MeshPrimitiveType.Mesh;\r\n readonly surface: ImdlSurface;\r\n readonly edges?: ImdlMeshEdges;\r\n readonly auxChannels?: ImdlAuxChannelTable;\r\n readonly areaPattern?: ImdlAreaPattern;\r\n}\r\n\r\n/** Describes a collection of line strings. @see [[PolylineParams]].\r\n * @internal\r\n */\r\nexport interface ImdlPolylinePrimitive extends ImdlPrimitive, ImdlPolyline {\r\n /** Type discriminator for [[AnyImdlPrimitive]]. */\r\n readonly type: MeshPrimitiveType.Polyline;\r\n}\r\n\r\n/** Describes a collection of individual points. @see [[PointStringParams.\r\n * @internal\r\n */\r\nexport interface ImdlPointStringPrimitive extends ImdlPrimitive {\r\n /** Type discriminator for [[AnyImdlPrimitive]]. */\r\n readonly type: MeshPrimitiveType.Point;\r\n /** The Id of the [[ImdlBufferView]] containing - for each point - the 24-bit index of the corresponding vertex in the [[ImdlVertexTable]]. */\r\n readonly indices: string;\r\n}\r\n\r\n/** @internal */\r\nexport type AnyImdlPrimitive = ImdlMeshPrimitive | ImdlPolylinePrimitive | ImdlPointStringPrimitive;\r\n\r\n/** A collection of primitive geometry to be rendered.\r\n * @internal\r\n */\r\nexport interface ImdlMesh {\r\n /** The geometry to be rendered. */\r\n readonly primitives?: Array<AnyImdlPrimitive | ImdlAreaPattern>;\r\n /** If this mesh defines a layer, the unique Id of that layer.\r\n * @see [[RenderSystem.createGraphicLayer]] for a description of layers.\r\n */\r\n readonly layer?: string;\r\n}\r\n\r\n/** A collection of primitive geometry to be rendered as the pattern symbol for an [[ImdlAreaPattern]].\r\n * @internal\r\n */\r\nexport interface ImdlAreaPatternSymbol {\r\n readonly primitives: AnyImdlPrimitive[];\r\n}\r\n\r\n/** If the tile has an associated [RenderSchedule.Script]($common), an array of Ids of nodes in the script used to group elements.\r\n * @internal\r\n */\r\nexport interface ImdlAnimationNodes {\r\n /** The number of bytes in each integer Id provided by [[bufferView]] - either 1, 2, or 4. */\r\n bytesPerId: number;\r\n /** The Id of the [[ImdlBufferView]] containing the tightly-packed array of 1-, 2- or 4-byte unsigned integer node Ids; the number of bytes is specified by [[bytesPerId]]. */\r\n bufferView: string;\r\n}\r\n\r\n/** Describes a contiguous array of bytes within the binary portion of the tile.\r\n * @internal\r\n */\r\nexport interface ImdlBufferView {\r\n /** The number of bytes in the array. */\r\n byteLength: number;\r\n /** The offset from the beginning of the binary portion of the tile data to the first byte in the array. */\r\n byteOffset: number;\r\n}\r\n\r\n/** A top-level dictionary of resources of a particular type contained in an [[Imdl]] tile.\r\n * Each resource has a unique name by which it can be referred to by other contents of the tile.\r\n * @internal\r\n */\r\nexport interface ImdlDictionary<T> {\r\n [key: string]: T | undefined;\r\n}\r\n\r\n/** Describes all of the geometry contained in the tile.\r\n * @internal\r\n */\r\nexport interface ImdlScene {\r\n /** The Ids of the elements of [[Imdl.nodes]] to be included in the scene. */\r\n nodes: string[];\r\n}\r\n\r\n/** Describes the top-level contents of a tile.\r\n * @internal\r\n */\r\nexport interface ImdlDocument {\r\n /** The Id of the ImdlScene in [[scenes]] that describes the tile's geometry. */\r\n scene: string;\r\n /** The collection of ImdlScenes included in the tile. */\r\n scenes: ImdlDictionary<ImdlScene>;\r\n /** Specifies point to which all vertex positions in the tile are relative, as an array of 3 numbers.\r\n * Currently only used for requestElementGraphics - see GraphicsRequestProps.useAbsolutePositions.\r\n */\r\n rtcCenter?: number[];\r\n /** Maps each node Id to the Id of the corresponding mesh in [[meshes]]. */\r\n nodes: ImdlDictionary<string>;\r\n meshes: ImdlDictionary<ImdlMesh>;\r\n bufferViews: ImdlDictionary<ImdlBufferView>;\r\n materials?: ImdlDictionary<ImdlDisplayParams>;\r\n patternSymbols?: ImdlDictionary<ImdlAreaPatternSymbol>;\r\n animationNodes?: ImdlAnimationNodes;\r\n renderMaterials?: ImdlDictionary<ImdlRenderMaterial>;\r\n namedTextures?: ImdlDictionary<ImdlNamedTexture>;\r\n}\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ParseImdlDocument.d.ts","sourceRoot":"","sources":["../../../../src/common/imdl/ParseImdlDocument.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAA4B,OAAO,EAAE,UAAU,EAA2B,MAAM,qBAAqB,CAAC;AAE7G,OAAO,EAEwD,kBAAkB,EAAkB,cAAc,EACnG,cAAc,EAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,SAAS,IAAI,IAAI,EAAE,MAAM,aAAa,CAAC;AAWhD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI1D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,aAAa,GAAG,cAAc,CAAC,MAAM,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,U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AC,qBAAqB,GAAG,cAAc,CAkBhF;AAED,gBAAgB;AAChB,wBAAgB,mBAAmB,CAAC,gBAAgB,EAAE,IAAI,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,GAAG,kBAAkB,CAOrH;AAED,gBAAgB;AAChB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAAC,QAAQ,GAAG,cAAc,CAyDhG"}
@@ -7,7 +7,12 @@
7
7
  * @module Tiles
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.parseImdlDocument = exports.convertFeatureTable = exports.toMaterialParams = exports.edgeParamsToImdl = exports.edgeParamsFromImdl = exports.toVertexTable = void 0;
10
+ exports.toVertexTable = toVertexTable;
11
+ exports.edgeParamsFromImdl = edgeParamsFromImdl;
12
+ exports.edgeParamsToImdl = edgeParamsToImdl;
13
+ exports.toMaterialParams = toMaterialParams;
14
+ exports.convertFeatureTable = convertFeatureTable;
15
+ exports.parseImdlDocument = parseImdlDocument;
11
16
  const core_bentley_1 = require("@itwin/core-bentley");
12
17
  const core_geometry_1 = require("@itwin/core-geometry");
13
18
  const core_common_1 = require("@itwin/core-common");
@@ -100,7 +105,7 @@ class Material extends core_common_1.RenderMaterial {
100
105
  const material = this.key ?? this.materialParams;
101
106
  return { isAtlas: false, material };
102
107
  }
103
- // eslint-disable-next-line deprecation/deprecation
108
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
104
109
  constructor(params, imdl) {
105
110
  super(params);
106
111
  this.materialParams = imdl ?? {
@@ -117,7 +122,7 @@ class Material extends core_common_1.RenderMaterial {
117
122
  };
118
123
  }
119
124
  static create(args) {
120
- // eslint-disable-next-line deprecation/deprecation
125
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
121
126
  const params = new core_common_1.RenderMaterial.Params();
122
127
  params.alpha = args.alpha;
123
128
  if (args.diffuse) {
@@ -146,7 +151,6 @@ function toVertexTable(imdl) {
146
151
  uvParams: imdl.uvParams ? core_common_1.QParams2d.fromJSON(imdl.uvParams) : undefined,
147
152
  };
148
153
  }
149
- exports.toVertexTable = toVertexTable;
150
154
  function fromVertexTable(table) {
151
155
  return {
152
156
  ...table,
@@ -178,7 +182,6 @@ function edgeParamsFromImdl(imdl) {
178
182
  } : undefined,
179
183
  };
180
184
  }
181
- exports.edgeParamsFromImdl = edgeParamsFromImdl;
182
185
  /** @internal */
183
186
  function edgeParamsToImdl(params) {
184
187
  return {
@@ -202,7 +205,6 @@ function edgeParamsToImdl(params) {
202
205
  } : undefined,
203
206
  };
204
207
  }
205
- exports.edgeParamsToImdl = edgeParamsToImdl;
206
208
  class Parser {
207
209
  constructor(doc, binaryData, options, featureTableInfo, stream) {
208
210
  this._patterns = new Map();
@@ -881,7 +883,7 @@ class Parser {
881
883
  const materialJson = this._document.renderMaterials[key];
882
884
  if (!materialJson)
883
885
  return undefined;
884
- // eslint-disable-next-line deprecation/deprecation
886
+ // eslint-disable-next-line @typescript-eslint/no-deprecated
885
887
  const materialParams = new core_common_1.RenderMaterial.Params(key);
886
888
  materialParams.diffuseColor = this.colorDefFromMaterialJson(materialJson.diffuseColor);
887
889
  if (materialJson.diffuse !== undefined)
@@ -901,7 +903,6 @@ class Parser {
901
903
  materialParams.ambient = core_bentley_1.JsonUtils.asDouble(materialJson.ambient);
902
904
  if (undefined !== materialJson.textureMapping)
903
905
  materialParams.textureMapping = this.textureMappingFromJson(materialJson.textureMapping.texture);
904
- // eslint-disable-next-line deprecation/deprecation
905
906
  return new Material(materialParams);
906
907
  }
907
908
  parseNamedTexture(namedTex, name) {
@@ -1002,7 +1003,6 @@ function toMaterialParams(mat) {
1002
1003
  }
1003
1004
  return args;
1004
1005
  }
1005
- exports.toMaterialParams = toMaterialParams;
1006
1006
  /** @internal */
1007
1007
  function convertFeatureTable(imdlFeatureTable, batchModelId) {
1008
1008
  const table = imdlFeatureTable.multiModel
@@ -1011,7 +1011,6 @@ function convertFeatureTable(imdlFeatureTable, batchModelId) {
1011
1011
  table.animationNodeIds = imdlFeatureTable.animationNodeIds;
1012
1012
  return table;
1013
1013
  }
1014
- exports.convertFeatureTable = convertFeatureTable;
1015
1014
  /** @internal */
1016
1015
  function parseImdlDocument(options) {
1017
1016
  const stream = core_bentley_1.ByteStream.fromUint8Array(options.data);
@@ -1060,9 +1059,8 @@ function parseImdlDocument(options) {
1060
1059
  const parser = new Parser(imdlDoc, binaryData, options, featureTable, stream);
1061
1060
  return parser.parse();
1062
1061
  }
1063
- catch (_) {
1062
+ catch {
1064
1063
  return core_common_1.TileReadStatus.InvalidTileData;
1065
1064
  }
1066
1065
  }
1067
- exports.parseImdlDocument = parseImdlDocument;
1068
1066
  //# sourceMappingURL=ParseImdlDocument.js.map