@itwin/frontend-devtools 3.0.0-dev.72

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 (244) hide show
  1. package/CHANGELOG.md +723 -0
  2. package/LICENSE.md +9 -0
  3. package/README.md +321 -0
  4. package/lib/ClipboardUtilities.d.ts +9 -0
  5. package/lib/ClipboardUtilities.d.ts.map +1 -0
  6. package/lib/ClipboardUtilities.js +27 -0
  7. package/lib/ClipboardUtilities.js.map +1 -0
  8. package/lib/FrontEndDevTools.d.ts +19 -0
  9. package/lib/FrontEndDevTools.d.ts.map +1 -0
  10. package/lib/FrontEndDevTools.js +203 -0
  11. package/lib/FrontEndDevTools.js.map +1 -0
  12. package/lib/effects/Convolution.d.ts +69 -0
  13. package/lib/effects/Convolution.d.ts.map +1 -0
  14. package/lib/effects/Convolution.js +166 -0
  15. package/lib/effects/Convolution.js.map +1 -0
  16. package/lib/effects/EffectTools.d.ts +34 -0
  17. package/lib/effects/EffectTools.d.ts.map +1 -0
  18. package/lib/effects/EffectTools.js +69 -0
  19. package/lib/effects/EffectTools.js.map +1 -0
  20. package/lib/effects/Explosion.d.ts +13 -0
  21. package/lib/effects/Explosion.d.ts.map +1 -0
  22. package/lib/effects/Explosion.js +168 -0
  23. package/lib/effects/Explosion.js.map +1 -0
  24. package/lib/effects/FlipImage.d.ts +31 -0
  25. package/lib/effects/FlipImage.d.ts.map +1 -0
  26. package/lib/effects/FlipImage.js +100 -0
  27. package/lib/effects/FlipImage.js.map +1 -0
  28. package/lib/effects/LensDistortion.d.ts +35 -0
  29. package/lib/effects/LensDistortion.d.ts.map +1 -0
  30. package/lib/effects/LensDistortion.js +110 -0
  31. package/lib/effects/LensDistortion.js.map +1 -0
  32. package/lib/effects/Random.d.ts +25 -0
  33. package/lib/effects/Random.d.ts.map +1 -0
  34. package/lib/effects/Random.js +50 -0
  35. package/lib/effects/Random.js.map +1 -0
  36. package/lib/effects/Saturation.d.ts +31 -0
  37. package/lib/effects/Saturation.d.ts.map +1 -0
  38. package/lib/effects/Saturation.js +86 -0
  39. package/lib/effects/Saturation.js.map +1 -0
  40. package/lib/effects/Snow.d.ts +77 -0
  41. package/lib/effects/Snow.d.ts.map +1 -0
  42. package/lib/effects/Snow.js +187 -0
  43. package/lib/effects/Snow.js.map +1 -0
  44. package/lib/effects/Vignette.d.ts +40 -0
  45. package/lib/effects/Vignette.d.ts.map +1 -0
  46. package/lib/effects/Vignette.js +109 -0
  47. package/lib/effects/Vignette.js.map +1 -0
  48. package/lib/frontend-devtools.d.ts +82 -0
  49. package/lib/frontend-devtools.d.ts.map +1 -0
  50. package/lib/frontend-devtools.js +98 -0
  51. package/lib/frontend-devtools.js.map +1 -0
  52. package/lib/public/locales/en/FrontendDevTools.json +449 -0
  53. package/lib/public/sprites/particle_explosion.png +0 -0
  54. package/lib/public/sprites/particle_flame.png +0 -0
  55. package/lib/public/sprites/particle_snow.png +0 -0
  56. package/lib/tools/AnimationIntervalTool.d.ts +16 -0
  57. package/lib/tools/AnimationIntervalTool.d.ts.map +1 -0
  58. package/lib/tools/AnimationIntervalTool.js +31 -0
  59. package/lib/tools/AnimationIntervalTool.js.map +1 -0
  60. package/lib/tools/ChangeUnitsTool.d.ts +16 -0
  61. package/lib/tools/ChangeUnitsTool.d.ts.map +1 -0
  62. package/lib/tools/ChangeUnitsTool.js +42 -0
  63. package/lib/tools/ChangeUnitsTool.js.map +1 -0
  64. package/lib/tools/ClipTools.d.ts +68 -0
  65. package/lib/tools/ClipTools.d.ts.map +1 -0
  66. package/lib/tools/ClipTools.js +162 -0
  67. package/lib/tools/ClipTools.js.map +1 -0
  68. package/lib/tools/DisplayStyleTools.d.ts +99 -0
  69. package/lib/tools/DisplayStyleTools.d.ts.map +1 -0
  70. package/lib/tools/DisplayStyleTools.js +242 -0
  71. package/lib/tools/DisplayStyleTools.js.map +1 -0
  72. package/lib/tools/EmphasizeElementsTool.d.ts +61 -0
  73. package/lib/tools/EmphasizeElementsTool.d.ts.map +1 -0
  74. package/lib/tools/EmphasizeElementsTool.js +155 -0
  75. package/lib/tools/EmphasizeElementsTool.js.map +1 -0
  76. package/lib/tools/FrustumDecoration.d.ts +58 -0
  77. package/lib/tools/FrustumDecoration.d.ts.map +1 -0
  78. package/lib/tools/FrustumDecoration.js +372 -0
  79. package/lib/tools/FrustumDecoration.js.map +1 -0
  80. package/lib/tools/InspectElementTool.d.ts +42 -0
  81. package/lib/tools/InspectElementTool.d.ts.map +1 -0
  82. package/lib/tools/InspectElementTool.js +185 -0
  83. package/lib/tools/InspectElementTool.js.map +1 -0
  84. package/lib/tools/MapLayerTool.d.ts +248 -0
  85. package/lib/tools/MapLayerTool.d.ts.map +1 -0
  86. package/lib/tools/MapLayerTool.js +462 -0
  87. package/lib/tools/MapLayerTool.js.map +1 -0
  88. package/lib/tools/MeasureTileLoadTime.d.ts +13 -0
  89. package/lib/tools/MeasureTileLoadTime.d.ts.map +1 -0
  90. package/lib/tools/MeasureTileLoadTime.js +61 -0
  91. package/lib/tools/MeasureTileLoadTime.js.map +1 -0
  92. package/lib/tools/ModelAppearanceTools.d.ts +87 -0
  93. package/lib/tools/ModelAppearanceTools.d.ts.map +1 -0
  94. package/lib/tools/ModelAppearanceTools.js +184 -0
  95. package/lib/tools/ModelAppearanceTools.js.map +1 -0
  96. package/lib/tools/PlanProjectionTools.d.ts +41 -0
  97. package/lib/tools/PlanProjectionTools.d.ts.map +1 -0
  98. package/lib/tools/PlanProjectionTools.js +150 -0
  99. package/lib/tools/PlanProjectionTools.js.map +1 -0
  100. package/lib/tools/PlanarMaskTools.d.ts +182 -0
  101. package/lib/tools/PlanarMaskTools.d.ts.map +1 -0
  102. package/lib/tools/PlanarMaskTools.js +366 -0
  103. package/lib/tools/PlanarMaskTools.js.map +1 -0
  104. package/lib/tools/ProjectExtents.d.ts +41 -0
  105. package/lib/tools/ProjectExtents.d.ts.map +1 -0
  106. package/lib/tools/ProjectExtents.js +108 -0
  107. package/lib/tools/ProjectExtents.js.map +1 -0
  108. package/lib/tools/RealityModelTools.d.ts +117 -0
  109. package/lib/tools/RealityModelTools.d.ts.map +1 -0
  110. package/lib/tools/RealityModelTools.js +269 -0
  111. package/lib/tools/RealityModelTools.js.map +1 -0
  112. package/lib/tools/RealityTransitionTool.d.ts +26 -0
  113. package/lib/tools/RealityTransitionTool.d.ts.map +1 -0
  114. package/lib/tools/RealityTransitionTool.js +110 -0
  115. package/lib/tools/RealityTransitionTool.js.map +1 -0
  116. package/lib/tools/RenderSystemTools.d.ts +46 -0
  117. package/lib/tools/RenderSystemTools.d.ts.map +1 -0
  118. package/lib/tools/RenderSystemTools.js +81 -0
  119. package/lib/tools/RenderSystemTools.js.map +1 -0
  120. package/lib/tools/RenderTargetTools.d.ts +101 -0
  121. package/lib/tools/RenderTargetTools.d.ts.map +1 -0
  122. package/lib/tools/RenderTargetTools.js +167 -0
  123. package/lib/tools/RenderTargetTools.js.map +1 -0
  124. package/lib/tools/ReportWebGLCompatibilityTool.d.ts +12 -0
  125. package/lib/tools/ReportWebGLCompatibilityTool.d.ts.map +1 -0
  126. package/lib/tools/ReportWebGLCompatibilityTool.js +31 -0
  127. package/lib/tools/ReportWebGLCompatibilityTool.js.map +1 -0
  128. package/lib/tools/SavedViews.d.ts +47 -0
  129. package/lib/tools/SavedViews.d.ts.map +1 -0
  130. package/lib/tools/SavedViews.js +137 -0
  131. package/lib/tools/SavedViews.js.map +1 -0
  132. package/lib/tools/SelectionTools.d.ts +17 -0
  133. package/lib/tools/SelectionTools.d.ts.map +1 -0
  134. package/lib/tools/SelectionTools.js +28 -0
  135. package/lib/tools/SelectionTools.js.map +1 -0
  136. package/lib/tools/SetGpuMemoryLimitTool.d.ts +16 -0
  137. package/lib/tools/SetGpuMemoryLimitTool.d.ts.map +1 -0
  138. package/lib/tools/SetGpuMemoryLimitTool.js +34 -0
  139. package/lib/tools/SetGpuMemoryLimitTool.js.map +1 -0
  140. package/lib/tools/SourceAspectIdTools.d.ts +41 -0
  141. package/lib/tools/SourceAspectIdTools.d.ts.map +1 -0
  142. package/lib/tools/SourceAspectIdTools.js +105 -0
  143. package/lib/tools/SourceAspectIdTools.js.map +1 -0
  144. package/lib/tools/TileRequestDecoration.d.ts +13 -0
  145. package/lib/tools/TileRequestDecoration.d.ts.map +1 -0
  146. package/lib/tools/TileRequestDecoration.js +84 -0
  147. package/lib/tools/TileRequestDecoration.js.map +1 -0
  148. package/lib/tools/TileTreeBoundsDecoration.d.ts +12 -0
  149. package/lib/tools/TileTreeBoundsDecoration.d.ts.map +1 -0
  150. package/lib/tools/TileTreeBoundsDecoration.js +75 -0
  151. package/lib/tools/TileTreeBoundsDecoration.js.map +1 -0
  152. package/lib/tools/ToolTipProvider.d.ts +16 -0
  153. package/lib/tools/ToolTipProvider.d.ts.map +1 -0
  154. package/lib/tools/ToolTipProvider.js +67 -0
  155. package/lib/tools/ToolTipProvider.js.map +1 -0
  156. package/lib/tools/ViewportTools.d.ts +194 -0
  157. package/lib/tools/ViewportTools.d.ts.map +1 -0
  158. package/lib/tools/ViewportTools.js +451 -0
  159. package/lib/tools/ViewportTools.js.map +1 -0
  160. package/lib/tools/parseArgs.d.ts +24 -0
  161. package/lib/tools/parseArgs.d.ts.map +1 -0
  162. package/lib/tools/parseArgs.js +52 -0
  163. package/lib/tools/parseArgs.js.map +1 -0
  164. package/lib/tools/parseBoolean.d.ts +9 -0
  165. package/lib/tools/parseBoolean.d.ts.map +1 -0
  166. package/lib/tools/parseBoolean.js +27 -0
  167. package/lib/tools/parseBoolean.js.map +1 -0
  168. package/lib/tools/parseToggle.d.ts +9 -0
  169. package/lib/tools/parseToggle.d.ts.map +1 -0
  170. package/lib/tools/parseToggle.js +26 -0
  171. package/lib/tools/parseToggle.js.map +1 -0
  172. package/lib/ui/Button.d.ts +30 -0
  173. package/lib/ui/Button.d.ts.map +1 -0
  174. package/lib/ui/Button.js +27 -0
  175. package/lib/ui/Button.js.map +1 -0
  176. package/lib/ui/CheckBox.d.ts +24 -0
  177. package/lib/ui/CheckBox.d.ts.map +1 -0
  178. package/lib/ui/CheckBox.js +28 -0
  179. package/lib/ui/CheckBox.js.map +1 -0
  180. package/lib/ui/ColorInput.d.ts +28 -0
  181. package/lib/ui/ColorInput.d.ts.map +1 -0
  182. package/lib/ui/ColorInput.js +54 -0
  183. package/lib/ui/ColorInput.js.map +1 -0
  184. package/lib/ui/ComboBox.d.ts +29 -0
  185. package/lib/ui/ComboBox.d.ts.map +1 -0
  186. package/lib/ui/ComboBox.js +43 -0
  187. package/lib/ui/ComboBox.js.map +1 -0
  188. package/lib/ui/DataList.d.ts +28 -0
  189. package/lib/ui/DataList.d.ts.map +1 -0
  190. package/lib/ui/DataList.js +40 -0
  191. package/lib/ui/DataList.js.map +1 -0
  192. package/lib/ui/NestedMenu.d.ts +20 -0
  193. package/lib/ui/NestedMenu.d.ts.map +1 -0
  194. package/lib/ui/NestedMenu.js +47 -0
  195. package/lib/ui/NestedMenu.js.map +1 -0
  196. package/lib/ui/NumericInput.d.ts +35 -0
  197. package/lib/ui/NumericInput.d.ts.map +1 -0
  198. package/lib/ui/NumericInput.js +60 -0
  199. package/lib/ui/NumericInput.js.map +1 -0
  200. package/lib/ui/RadioBox.d.ts +29 -0
  201. package/lib/ui/RadioBox.d.ts.map +1 -0
  202. package/lib/ui/RadioBox.js +77 -0
  203. package/lib/ui/RadioBox.js.map +1 -0
  204. package/lib/ui/Slider.d.ts +25 -0
  205. package/lib/ui/Slider.d.ts.map +1 -0
  206. package/lib/ui/Slider.js +33 -0
  207. package/lib/ui/Slider.js.map +1 -0
  208. package/lib/ui/TextBox.d.ts +33 -0
  209. package/lib/ui/TextBox.d.ts.map +1 -0
  210. package/lib/ui/TextBox.js +57 -0
  211. package/lib/ui/TextBox.js.map +1 -0
  212. package/lib/widgets/DiagnosticsPanel.d.ts +36 -0
  213. package/lib/widgets/DiagnosticsPanel.d.ts.map +1 -0
  214. package/lib/widgets/DiagnosticsPanel.js +76 -0
  215. package/lib/widgets/DiagnosticsPanel.js.map +1 -0
  216. package/lib/widgets/FpsTracker.d.ts +20 -0
  217. package/lib/widgets/FpsTracker.d.ts.map +1 -0
  218. package/lib/widgets/FpsTracker.js +57 -0
  219. package/lib/widgets/FpsTracker.js.map +1 -0
  220. package/lib/widgets/GpuProfiler.d.ts +17 -0
  221. package/lib/widgets/GpuProfiler.d.ts.map +1 -0
  222. package/lib/widgets/GpuProfiler.js +193 -0
  223. package/lib/widgets/GpuProfiler.js.map +1 -0
  224. package/lib/widgets/KeyinField.d.ts +62 -0
  225. package/lib/widgets/KeyinField.d.ts.map +1 -0
  226. package/lib/widgets/KeyinField.js +188 -0
  227. package/lib/widgets/KeyinField.js.map +1 -0
  228. package/lib/widgets/MemoryTracker.d.ts +28 -0
  229. package/lib/widgets/MemoryTracker.d.ts.map +1 -0
  230. package/lib/widgets/MemoryTracker.js +244 -0
  231. package/lib/widgets/MemoryTracker.js.map +1 -0
  232. package/lib/widgets/TileMemoryBreakdown.d.ts +31 -0
  233. package/lib/widgets/TileMemoryBreakdown.d.ts.map +1 -0
  234. package/lib/widgets/TileMemoryBreakdown.js +205 -0
  235. package/lib/widgets/TileMemoryBreakdown.js.map +1 -0
  236. package/lib/widgets/TileStatisticsTracker.d.ts +22 -0
  237. package/lib/widgets/TileStatisticsTracker.d.ts.map +1 -0
  238. package/lib/widgets/TileStatisticsTracker.js +143 -0
  239. package/lib/widgets/TileStatisticsTracker.js.map +1 -0
  240. package/lib/widgets/ToolSettingsTracker.d.ts +10 -0
  241. package/lib/widgets/ToolSettingsTracker.d.ts.map +1 -0
  242. package/lib/widgets/ToolSettingsTracker.js +182 -0
  243. package/lib/widgets/ToolSettingsTracker.js.map +1 -0
  244. package/package.json +59 -0
@@ -0,0 +1,449 @@
1
+ {
2
+ "tools": {
3
+ "LoseWebGLContext": {
4
+ "keyin": "fdt webgl lose context"
5
+ },
6
+ "ToggleWiremesh": {
7
+ "keyin": "fdt toggle wiremesh"
8
+ },
9
+ "ToggleDPIForLOD": {
10
+ "keyin": "fdt dpi lod"
11
+ },
12
+ "ToggleReadPixels": {
13
+ "keyin": "fdt toggle readpixels"
14
+ },
15
+ "ToggleLogZ": {
16
+ "keyin": "fdt toggle logz"
17
+ },
18
+ "ToggleDrapeFrustum": {
19
+ "keyin": "fdt toggle drapefrustum"
20
+ },
21
+ "ReportWebGLCompatibility": {
22
+ "keyin": "fdt webgl report compatibility"
23
+ },
24
+ "EmphasizeSelectedElements": {
25
+ "keyin": "fdt emphasize selection"
26
+ },
27
+ "EmphasizeVisibleElements": {
28
+ "keyin": "fdt emphasize visible"
29
+ },
30
+ "IsolateSelectedElements": {
31
+ "keyin": "fdt isolate selection"
32
+ },
33
+ "ClearEmphasizedElements": {
34
+ "keyin": "fdt clear emphasized"
35
+ },
36
+ "ClearIsolatedElements": {
37
+ "keyin": "fdt clear isolate"
38
+ },
39
+ "ChangeViewFlags": {
40
+ "keyin": "fdt change viewflags"
41
+ },
42
+ "InspectElement": {
43
+ "keyin": "fdt inspect element"
44
+ },
45
+ "ToggleSkybox": {
46
+ "keyin": "fdt toggle skybox"
47
+ },
48
+ "SaveView": {
49
+ "keyin": "fdt save view"
50
+ },
51
+ "ApplyView": {
52
+ "keyin": "fdt apply view"
53
+ },
54
+ "ApplyViewById": {
55
+ "keyin": "fdt apply viewid"
56
+ },
57
+ "ToggleProjectExtents": {
58
+ "keyin": "fdt project extents"
59
+ },
60
+ "ToggleFrustumSnapshot": {
61
+ "keyin": "fdt frustum snapshot"
62
+ },
63
+ "ToggleSelectedViewFrustum": {
64
+ "keyin": "fdt frustum selected"
65
+ },
66
+ "FreezeScene": {
67
+ "keyin": "fdt freeze scene"
68
+ },
69
+ "ShowTileVolumes": {
70
+ "keyin": "fdt tile bounds"
71
+ },
72
+ "ToggleTileTreeBoundsDecoration": {
73
+ "keyin": "fdt tiletree bounds"
74
+ },
75
+ "TogglePrimitiveVisibility": {
76
+ "keyin": "fdt visibility"
77
+ },
78
+ "ToggleRealityTileBounds": {
79
+ "keyin": "fdt reality bounds"
80
+ },
81
+ "ToggleRealityTilePreload": {
82
+ "keyin": "fdt toggle reality preload"
83
+ },
84
+ "ToggleRealityTileFreeze": {
85
+ "keyin": "fdt toggle reality freeze"
86
+ },
87
+ "ToggleRealityTileLogging": {
88
+ "keyin": "fdt toggle reality logging"
89
+ },
90
+ "ToggleSectionCut": {
91
+ "keyin": "fdt section cut"
92
+ },
93
+ "SetAspectRatioSkew": {
94
+ "keyin": "fdt aspect skew"
95
+ },
96
+ "RealityTransition": {
97
+ "keyin": "fdt reality transition"
98
+ },
99
+ "ToggleToolTips": {
100
+ "keyin": "fdt tooltips"
101
+ },
102
+ "ToggleTerrain": {
103
+ "keyin": "fdt toggle terrain"
104
+ },
105
+ "ChangeHiliteSettings": {
106
+ "keyin": "fdt hilite settings"
107
+ },
108
+ "ChangeEmphasisSettings": {
109
+ "keyin": "fdt emphasis settings"
110
+ },
111
+ "ChangeFlashSettings": {
112
+ "keyin": "fdt flash settings"
113
+ },
114
+ "ChangeUnits": {
115
+ "keyin": "fdt metric"
116
+ },
117
+ "FadeOut": {
118
+ "keyin": "fdt fadeout"
119
+ },
120
+ "ToggleVCIntersect": {
121
+ "keyin": "fdt vcintersect"
122
+ },
123
+ "ToggleTileRequestDecoration": {
124
+ "keyin": "fdt tile requests"
125
+ },
126
+ "MeasureTileLoadTime": {
127
+ "keyin": "fdt time tile load"
128
+ },
129
+ "ToggleShadowFrustum": {
130
+ "keyin": "fdt shadow frustum"
131
+ },
132
+ "CompileShaders": {
133
+ "keyin": "fdt compile shaders"
134
+ },
135
+ "SelectElementsById": {
136
+ "keyin": "fdt select elements"
137
+ },
138
+ "AnimationInterval": {
139
+ "keyin": "fdt animation interval"
140
+ },
141
+ "DefaultTileSizeMod": {
142
+ "keyin": "fdt tilesize default"
143
+ },
144
+ "ViewportTileSizeMod": {
145
+ "keyin": "fdt tilesize viewport"
146
+ },
147
+ "ViewportAddRealityModel": {
148
+ "keyin": "fdt attach reality model"
149
+ },
150
+ "ViewportDetachRealityModel": {
151
+ "keyin": "fdt detach reality model"
152
+ },
153
+ "DumpLayerSettings": {
154
+ "keyin": "fdt layer dump"
155
+ },
156
+ "ChangeLayerSettings": {
157
+ "keyin": "fdt layer set"
158
+ },
159
+ "OverrideSubCategory": {
160
+ "keyin": "fdt subcat ovr"
161
+ },
162
+ "OverrideSubCategoryPriority": {
163
+ "keyin": "fdt subcat priority"
164
+ },
165
+ "ClipColorTool": {
166
+ "keyin": "fdt clip color"
167
+ },
168
+ "TestClipStyle": {
169
+ "keyin": "fdt test clip style"
170
+ },
171
+ "SourceAspectIdFromElementId": {
172
+ "keyin": "fdt sourceId from elemId"
173
+ },
174
+ "ElementIdFromSourceAspectId": {
175
+ "keyin": "fdt elemId from sourceId"
176
+ },
177
+ "AttachMapLayerTool": {
178
+ "Messages": {
179
+ "MapLayerAttached": "Map layer {{sourceName}} attached from URL: {{sourceUrl}}",
180
+ "MapLayerAttachedRequiresAuth": "Map layer {{sourceName}} attached, but requires credentials to be provided",
181
+ "MapLayerValidationFailed": "Map layer validation failed for URL: {{sourceUrl}}",
182
+ "MapLayerAttachError": "Error '{{error}}' occurred attaching MapLayer from URL: {{sourceUrl}}"
183
+ },
184
+ "keyin": "fdt attach maplayer"
185
+ },
186
+ "AttachMapOverlayTool": {
187
+ "keyin": "fdt attach mapoverlay"
188
+ },
189
+ "AttachWmsMapLayerTool": {
190
+ "keyin": "fdt attach wms maplayer"
191
+ },
192
+ "AttachWmtsMapLayerTool": {
193
+ "keyin": "fdt attach wmts maplayer"
194
+ },
195
+ "MapLayerZoom": {
196
+ "keyin": "fdt zoom maplayer"
197
+ },
198
+ "AttachArcGISMapLayerTool": {
199
+ "keyin": "fdt attach arcgis maplayer"
200
+ },
201
+ "AttachTileURLMapLayerTool": {
202
+ "keyin": "fdt attach tileurl maplayer"
203
+ },
204
+ "SetMapBaseTool": {
205
+ "keyin": "fdt set map base url"
206
+ },
207
+ "SetMapBaseColorTool": {
208
+ "keyin": "fdt set map base color"
209
+ },
210
+ "SetMapBaseTransparencyTool": {
211
+ "keyin": "fdt set map base transparency"
212
+ },
213
+ "SetMapBaseVisibilityTool": {
214
+ "keyin": "fdt set map base visibility"
215
+ },
216
+ "DetachMapLayersTool": {
217
+ "keyin": "fdt detach maplayers"
218
+ },
219
+ "SetMapLayerTransparency": {
220
+ "keyin": "fdt set mapLayer transparency"
221
+ },
222
+ "SetMapSubLayerVisibility": {
223
+ "keyin": "fdt set mapsublayer visibility"
224
+ },
225
+ "SetMapLayerVisibility": {
226
+ "keyin": "fdt set mapLayer visibility"
227
+ },
228
+ "ReorderMapLayers": {
229
+ "keyin": "fdt reorder maplayer"
230
+ },
231
+ "Toggle3dManipulations": {
232
+ "keyin": "fdt 3dmanip"
233
+ },
234
+ "AttachRealityModelTool": {
235
+ "keyin": "fdt attach reality properties"
236
+ },
237
+ "AttachCesiumAssetTool": {
238
+ "keyin": "fdt attach cesium asset"
239
+ },
240
+ "SetBuildingDisplay": {
241
+ "keyin": "fdt set building display"
242
+ },
243
+ "ExtensionService": {
244
+ "keyin": "fdt add extensionService"
245
+ },
246
+ "SaveRealityModelTool": {
247
+ "keyin": "fdt save reality properties"
248
+ },
249
+ "SetRealityModelColorTool": {
250
+ "keyin": "fdt set reality model color"
251
+ },
252
+ "SetRealityModelTransparencyTool": {
253
+ "keyin": "fdt set reality model transparency"
254
+ },
255
+ "SetRealityModelLocateTool": {
256
+ "keyin": "fdt set reality model locatable"
257
+ },
258
+ "SetRealityModelEmphasizedTool": {
259
+ "keyin": "fdt set reality model emphasized"
260
+ },
261
+ "SetModelColorTool": {
262
+ "keyin": "fdt set model color"
263
+ },
264
+ "SetModelTransparencyTool": {
265
+ "keyin": "fdt set model transparency"
266
+ },
267
+ "SetModelLocateTool": {
268
+ "keyin": "fdt set model locatable"
269
+ },
270
+ "SetModelEmphasizedTool": {
271
+ "keyin": "fdt set model emphasized"
272
+ },
273
+ "SetModelLineWeightTool": {
274
+ "keyin": "fdt set model line weight"
275
+ },
276
+ "SetModelLineCodeTool": {
277
+ "keyin": "fdt set model line code"
278
+ },
279
+ "SetModelIgnoresMaterialsTool": {
280
+ "keyin": "fdt set model ignores materials"
281
+ },
282
+ "ClearRealityModelAppearanceOverrides": {
283
+ "keyin": "fdt clear reality model overrides"
284
+ },
285
+ "ClearModelAppearanceOverrides": {
286
+ "keyin": "fdt clear model overrides"
287
+ },
288
+ "ToggleViewAttachments": {
289
+ "keyin": "fdt attachments"
290
+ },
291
+ "ToggleViewAttachmentBoundaries": {
292
+ "keyin": "fdt attachment bounds"
293
+ },
294
+ "ToggleViewAttachmentClipShapes": {
295
+ "keyin": "fdt attachment clip shapes"
296
+ },
297
+ "ApplyRenderingStyle": {
298
+ "keyin": "fdt apply rendering style"
299
+ },
300
+ "SaveRenderingStyle": {
301
+ "keyin": "fdt save rendering style"
302
+ },
303
+ "SetAASamples": {
304
+ "keyin": "fdt aasamples"
305
+ },
306
+ "ChangeCamera": {
307
+ "keyin": "fdt camera"
308
+ },
309
+ "ToggleDrawingGraphics": {
310
+ "keyin": "fdt drawing graphics"
311
+ },
312
+ "ToggleSectionDrawingSpatialView": {
313
+ "keyin": "fdt sectiondrawing display spatial"
314
+ },
315
+ "FlipImageEffect": {
316
+ "keyin": "fdt effect add flip"
317
+ },
318
+ "FlipImageConfig": {
319
+ "keyin": "fdt effect config flip"
320
+ },
321
+ "LensDistortionEffect": {
322
+ "keyin": "fdt effect add lensdistortion"
323
+ },
324
+ "LensDistortionConfig": {
325
+ "keyin": "fdt effect config lensdistortion"
326
+ },
327
+ "EmbossEffect": {
328
+ "keyin": "fdt effect add emboss"
329
+ },
330
+ "GaussianBlurEffect": {
331
+ "keyin": "fdt effect add blur"
332
+ },
333
+ "UnsharpenEffect": {
334
+ "keyin": "fdt effect add unsharpen"
335
+ },
336
+ "SharpenEffect": {
337
+ "keyin": "fdt effect add sharpen"
338
+ },
339
+ "SharpnessEffect": {
340
+ "keyin": "fdt effect add sharpness"
341
+ },
342
+ "EdgeDetectionEffect": {
343
+ "keyin": "fdt effect add edgedetect"
344
+ },
345
+ "SaturationConfig": {
346
+ "keyin": "fdt effect config saturation"
347
+ },
348
+ "SaturationEffect": {
349
+ "keyin": "fdt effect add saturation"
350
+ },
351
+ "VignetteEffect": {
352
+ "keyin": "fdt effect add vignette"
353
+ },
354
+ "VignetteConfig": {
355
+ "keyin": "fdt effect config vignette"
356
+ },
357
+ "SnowEffect": {
358
+ "keyin": "fdt particle snow"
359
+ },
360
+ "ExplosionEffect": {
361
+ "keyin": "fdt particle explosion"
362
+ },
363
+ "ClearEffects": {
364
+ "keyin": "fdt effect clear"
365
+ },
366
+ "SetGpuMemoryLimit": {
367
+ "keyin": "fdt gpu mem limit"
368
+ },
369
+ "SetHigherPriorityRealityModelMasking": {
370
+ "keyin": "fdt set reality model mask by priority",
371
+ "Prompts": {
372
+ "IdentifyRealityModel": "Identify reality model to mask by priority"
373
+ }
374
+ },
375
+ "SetMapHigherPriorityMask": {
376
+ "keyin": "fdt set map mask by priority"
377
+ },
378
+ "UnmaskMap": {
379
+ "keyin": "fdt unmask map"
380
+ },
381
+ "UnmaskRealityModel": {
382
+ "keyin": "fdt unmask reality model",
383
+ "Prompts": {
384
+ "IdentifyRealityModel": "Identify reality model to unmask"
385
+ }
386
+ },
387
+ "MaskRealityModelByModel": {
388
+ "keyin": "fdt set reality model mask models",
389
+ "Prompts": {
390
+ "IdentifyRealityModel": "Identify reality model to mask with BIM models",
391
+ "IdentifyMaskModel": "Identify BIM mask models",
392
+ "AcceptSelection": "Accept selected element Model"
393
+ }
394
+ },
395
+ "MaskRealityModelByElement": {
396
+ "keyin": "fdt set reality model mask elements",
397
+ "Prompts": {
398
+ "IdentifyRealityModel": "Identify reality model to mask with elements",
399
+ "IdentifyMaskElement": "Identify mask elements",
400
+ "AcceptSelection": "Accept selected elements"
401
+ }
402
+ },
403
+ "MaskRealityModelByExcludedElement": {
404
+ "keyin": "fdt set reality model mask exclude elements",
405
+ "Prompts": {
406
+ "IdentifyRealityModel": "Identify reality model to mask with excluded elements",
407
+ "IdentifyMaskElement": "Identify excluded mask elements",
408
+ "AcceptSelection": "Accept selected elements"
409
+ }
410
+ },
411
+ "MaskRealityModelBySubCategory": {
412
+ "keyin": "fdt set reality model mask subcategory",
413
+ "Prompts": {
414
+ "IdentifyRealityModel": "Identify reality model to mask with SubCategories",
415
+ "IdentifyMaskSubCategory": "Identify mask SubCategory"
416
+ }
417
+ },
418
+ "MaskBackgroundMapByElement": {
419
+ "keyin": "fdt set map mask elements",
420
+ "Prompts": {
421
+ "IdentifyMaskElement": "Identify mask element",
422
+ "AcceptSelection": "Accept selected elements"
423
+ }
424
+ },
425
+ "MaskBackgroundMapByExcludedElement": {
426
+ "keyin": "fdt set map mask exclude elements",
427
+ "Prompts": {
428
+ "IdentifyMaskElement": "Identify excluded mask element",
429
+ "AcceptSelection": "Accept selected elements"
430
+ }
431
+ },
432
+ "MaskBackgroundMapByModel": {
433
+ "keyin": "fdt set map mask models",
434
+ "Prompts": {
435
+ "IdentifyMaskModel": "Identify mask model",
436
+ "AcceptSelection": "Accept selected element models"
437
+ }
438
+ },
439
+ "MaskBackgroundMapBySubCategory": {
440
+ "keyin": "fdt set map mask subcategory",
441
+ "Prompts": {
442
+ "IdentifyMaskSubCategory": "Identify mask subCategory"
443
+ }
444
+ },
445
+ "WoWIgnoreBackground": {
446
+ "keyin": "fdt wow ignore background"
447
+ }
448
+ }
449
+ }
@@ -0,0 +1,16 @@
1
+ /** @packageDocumentation
2
+ * @module Tools
3
+ */
4
+ import { BeDuration } from "@itwin/core-bentley";
5
+ import { Tool } from "@itwin/core-frontend";
6
+ /** Changes the [IModelApp.animationInterval]($frontend). Specify the interval in integer milliseconds; or pass any string not parseable as an integer to disable the animation interval callback.
7
+ * @beta
8
+ */
9
+ export declare class AnimationIntervalTool extends Tool {
10
+ static toolId: string;
11
+ static get minArgs(): number;
12
+ static get maxArgs(): number;
13
+ run(interval?: BeDuration): Promise<boolean>;
14
+ parseAndRun(...args: string[]): Promise<boolean>;
15
+ }
16
+ //# sourceMappingURL=AnimationIntervalTool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimationIntervalTool.d.ts","sourceRoot":"","sources":["../../src/tools/AnimationIntervalTool.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAa,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,IAAI;IAC7C,OAAuB,MAAM,SAAuB;IACpD,WAA2B,OAAO,WAAgB;IAClD,WAA2B,OAAO,WAAgB;IAE5B,GAAG,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC;IAK5C,WAAW,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;CAKvE"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.AnimationIntervalTool = void 0;
8
+ /** @packageDocumentation
9
+ * @module Tools
10
+ */
11
+ const core_bentley_1 = require("@itwin/core-bentley");
12
+ const core_frontend_1 = require("@itwin/core-frontend");
13
+ /** Changes the [IModelApp.animationInterval]($frontend). Specify the interval in integer milliseconds; or pass any string not parseable as an integer to disable the animation interval callback.
14
+ * @beta
15
+ */
16
+ class AnimationIntervalTool extends core_frontend_1.Tool {
17
+ static get minArgs() { return 1; }
18
+ static get maxArgs() { return 1; }
19
+ async run(interval) {
20
+ core_frontend_1.IModelApp.animationInterval = interval;
21
+ return true;
22
+ }
23
+ async parseAndRun(...args) {
24
+ const millis = Number.parseInt(args[0], 10);
25
+ const interval = !Number.isNaN(millis) ? core_bentley_1.BeDuration.fromMilliseconds(millis) : undefined;
26
+ return this.run(interval);
27
+ }
28
+ }
29
+ exports.AnimationIntervalTool = AnimationIntervalTool;
30
+ AnimationIntervalTool.toolId = "AnimationInterval";
31
+ //# sourceMappingURL=AnimationIntervalTool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimationIntervalTool.js","sourceRoot":"","sources":["../../src/tools/AnimationIntervalTool.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;AAE/F;;GAEG;AAEH,sDAAiD;AACjD,wDAAuD;AAEvD;;GAEG;AACH,MAAa,qBAAsB,SAAQ,oBAAI;IAEtC,MAAM,KAAc,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3C,MAAM,KAAc,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAElC,KAAK,CAAC,GAAG,CAAC,QAAqB;QAC7C,yBAAS,CAAC,iBAAiB,GAAG,QAAQ,CAAC;QACvC,OAAO,IAAI,CAAC;IACd,CAAC;IAEe,KAAK,CAAC,WAAW,CAAC,GAAG,IAAc;QACjD,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC5C,MAAM,QAAQ,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,yBAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACzF,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;;AAdH,sDAeC;AAdwB,4BAAM,GAAG,mBAAmB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n/** @packageDocumentation\r\n * @module Tools\r\n */\r\n\r\nimport { BeDuration } from \"@itwin/core-bentley\";\r\nimport { IModelApp, Tool } from \"@itwin/core-frontend\";\r\n\r\n/** Changes the [IModelApp.animationInterval]($frontend). Specify the interval in integer milliseconds; or pass any string not parseable as an integer to disable the animation interval callback.\r\n * @beta\r\n */\r\nexport class AnimationIntervalTool extends Tool {\r\n public static override toolId = \"AnimationInterval\";\r\n public static override get minArgs() { return 1; }\r\n public static override get maxArgs() { return 1; }\r\n\r\n public override async run(interval?: BeDuration): Promise<boolean> {\r\n IModelApp.animationInterval = interval;\r\n return true;\r\n }\r\n\r\n public override async parseAndRun(...args: string[]): Promise<boolean> {\r\n const millis = Number.parseInt(args[0], 10);\r\n const interval = !Number.isNaN(millis) ? BeDuration.fromMilliseconds(millis) : undefined;\r\n return this.run(interval);\r\n }\r\n}\r\n"]}
@@ -0,0 +1,16 @@
1
+ /** @packageDocumentation
2
+ * @module Tools
3
+ */
4
+ import { Tool } from "@itwin/core-frontend";
5
+ /** Controls whether quantities are formatted using imperial or metric units.
6
+ * Such formatting is used in many places; one example is the output of the MeasureTool.
7
+ * @beta
8
+ */
9
+ export declare class ChangeUnitsTool extends Tool {
10
+ static toolId: string;
11
+ static get minArgs(): number;
12
+ static get maxArgs(): number;
13
+ run(useMetric?: boolean): Promise<boolean>;
14
+ parseAndRun(...args: string[]): Promise<boolean>;
15
+ }
16
+ //# sourceMappingURL=ChangeUnitsTool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeUnitsTool.d.ts","sourceRoot":"","sources":["../../src/tools/ChangeUnitsTool.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,EAAa,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAKvD;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,IAAI;IACvC,OAAuB,MAAM,SAAiB;IAC9C,WAA2B,OAAO,WAAgB;IAClD,WAA2B,OAAO,WAAgB;IAG5B,GAAG,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAe1C,WAAW,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;CAOvE"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.ChangeUnitsTool = void 0;
8
+ /** @packageDocumentation
9
+ * @module Tools
10
+ */
11
+ const core_frontend_1 = require("@itwin/core-frontend");
12
+ const parseToggle_1 = require("./parseToggle");
13
+ // CSpell: ignore fmtr
14
+ /** Controls whether quantities are formatted using imperial or metric units.
15
+ * Such formatting is used in many places; one example is the output of the MeasureTool.
16
+ * @beta
17
+ */
18
+ class ChangeUnitsTool extends core_frontend_1.Tool {
19
+ static get minArgs() { return 0; }
20
+ static get maxArgs() { return 1; }
21
+ // support boolean for backwards compatibility
22
+ async run(useMetric) {
23
+ const fmtr = core_frontend_1.IModelApp.quantityFormatter;
24
+ // if no arg then toggle to metric from any non-metric unit system
25
+ const useImperial = undefined !== useMetric ? !useMetric : fmtr.activeUnitSystem === "metric";
26
+ const unitSystem = useImperial ? "imperial" : "metric";
27
+ if (unitSystem !== fmtr.activeUnitSystem) {
28
+ await fmtr.setActiveUnitSystem(unitSystem);
29
+ await core_frontend_1.IModelApp.toolAdmin.startDefaultTool();
30
+ }
31
+ return true;
32
+ }
33
+ async parseAndRun(...args) {
34
+ const enable = (0, parseToggle_1.parseToggle)(args[0]);
35
+ if (typeof enable !== "string")
36
+ await this.run(enable);
37
+ return true;
38
+ }
39
+ }
40
+ exports.ChangeUnitsTool = ChangeUnitsTool;
41
+ ChangeUnitsTool.toolId = "ChangeUnits";
42
+ //# sourceMappingURL=ChangeUnitsTool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeUnitsTool.js","sourceRoot":"","sources":["../../src/tools/ChangeUnitsTool.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;AAE/F;;GAEG;AAEH,wDAAuD;AACvD,+CAA4C;AAE5C,sBAAsB;AAEtB;;;GAGG;AACH,MAAa,eAAgB,SAAQ,oBAAI;IAEhC,MAAM,KAAc,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3C,MAAM,KAAc,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAElD,8CAA8C;IAC9B,KAAK,CAAC,GAAG,CAAC,SAAmB;QAC3C,MAAM,IAAI,GAAG,yBAAS,CAAC,iBAAiB,CAAC;QAEzC,kEAAkE;QAClE,MAAM,WAAW,GAAG,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,KAAK,QAAQ,CAAC;QAC9F,MAAM,UAAU,GAAG,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC;QAEvD,IAAI,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;YACxC,MAAM,IAAI,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;YAC3C,MAAM,yBAAS,CAAC,SAAS,CAAC,gBAAgB,EAAE,CAAC;SAC9C;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEe,KAAK,CAAC,WAAW,CAAC,GAAG,IAAc;QACjD,MAAM,MAAM,GAAG,IAAA,yBAAW,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QACpC,IAAI,OAAO,MAAM,KAAK,QAAQ;YAC5B,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAEzB,OAAO,IAAI,CAAC;IACd,CAAC;;AA3BH,0CA4BC;AA3BwB,sBAAM,GAAG,aAAa,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n/** @packageDocumentation\r\n * @module Tools\r\n */\r\n\r\nimport { IModelApp, Tool } from \"@itwin/core-frontend\";\r\nimport { parseToggle } from \"./parseToggle\";\r\n\r\n// CSpell: ignore fmtr\r\n\r\n/** Controls whether quantities are formatted using imperial or metric units.\r\n * Such formatting is used in many places; one example is the output of the MeasureTool.\r\n * @beta\r\n */\r\nexport class ChangeUnitsTool extends Tool {\r\n public static override toolId = \"ChangeUnits\";\r\n public static override get minArgs() { return 0; }\r\n public static override get maxArgs() { return 1; }\r\n\r\n // support boolean for backwards compatibility\r\n public override async run(useMetric?: boolean): Promise<boolean> {\r\n const fmtr = IModelApp.quantityFormatter;\r\n\r\n // if no arg then toggle to metric from any non-metric unit system\r\n const useImperial = undefined !== useMetric ? !useMetric : fmtr.activeUnitSystem === \"metric\";\r\n const unitSystem = useImperial ? \"imperial\" : \"metric\";\r\n\r\n if (unitSystem !== fmtr.activeUnitSystem) {\r\n await fmtr.setActiveUnitSystem(unitSystem);\r\n await IModelApp.toolAdmin.startDefaultTool();\r\n }\r\n\r\n return true;\r\n }\r\n\r\n public override async parseAndRun(...args: string[]): Promise<boolean> {\r\n const enable = parseToggle(args[0]);\r\n if (typeof enable !== \"string\")\r\n await this.run(enable);\r\n\r\n return true;\r\n }\r\n}\r\n"]}
@@ -0,0 +1,68 @@
1
+ import { Tool, Viewport } from "@itwin/core-frontend";
2
+ import { DisplayStyleTool } from "./DisplayStyleTools";
3
+ /** This tool specifies or un-specifies a clip color to use for pixels inside or outside the clip region.
4
+ * Arguments can be:
5
+ * - clear
6
+ * - inside <color string> | clear
7
+ * - outside <color string> | clear
8
+ * <color string> must be in one of the following forms:
9
+ * "rgb(255,0,0)"
10
+ * "rgba(255,0,0,255)"
11
+ * "rgb(100%,0%,0%)"
12
+ * "hsl(120,50%,50%)"
13
+ * "#rrbbgg"
14
+ * "blanchedAlmond" (see possible values from [[ColorByName]]). Case insensitive.
15
+ * @see [ColorDef]
16
+ * @beta
17
+ */
18
+ export declare class ClipColorTool extends Tool {
19
+ static toolId: string;
20
+ static get minArgs(): number;
21
+ static get maxArgs(): number;
22
+ private _clearClipColors;
23
+ private setClipColor;
24
+ /** This runs the tool using the given arguments, specifying or unspecifying a clip color to use for pixels inside or outside the clip region.
25
+ * Arguments can be:
26
+ * - clear
27
+ * - inside <color string> | clear
28
+ * - outside <color string> | clear
29
+ * <color string> must be in one of the following forms:
30
+ * "rgb(255,0,0)"
31
+ * "rgba(255,0,0,255)"
32
+ * "rgb(100%,0%,0%)"
33
+ * "hsl(120,50%,50%)"
34
+ * "#rrbbgg"
35
+ * "blanchedAlmond" (see possible values from [[ColorByName]]). Case insensitive.
36
+ * @beta
37
+ */
38
+ parseAndRun(...args: string[]): Promise<boolean>;
39
+ }
40
+ /** Controls a view state's view details' flag for producing cut geometry for a clip style.
41
+ * @beta
42
+ */
43
+ export declare class ToggleSectionCutTool extends Tool {
44
+ static toolId: string;
45
+ static get minArgs(): number;
46
+ static get maxArgs(): number;
47
+ /** This method runs the tool, controlling a view state's view details' flag for producing cut geometry for a clip style.
48
+ * @param produceCutGeometry whether to produce cut geometry
49
+ */
50
+ run(produceCutGeometry?: boolean): Promise<boolean>;
51
+ /** Executes this tool's run method with args[0] containing `produceCutGeometry`.
52
+ * @see [[run]]
53
+ */
54
+ parseAndRun(...args: string[]): Promise<boolean>;
55
+ }
56
+ /** Simple tool that toggles a hard-coded clip style overriding various aspects of the cut geometry appearance.
57
+ * @beta
58
+ */
59
+ export declare class TestClipStyleTool extends DisplayStyleTool {
60
+ static toolId: string;
61
+ static get maxArgs(): number;
62
+ static get minArgs(): number;
63
+ private _useStyle;
64
+ protected get require3d(): boolean;
65
+ protected parse(args: string[]): boolean;
66
+ protected execute(vp: Viewport): boolean;
67
+ }
68
+ //# sourceMappingURL=ClipTools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClipTools.d.ts","sourceRoot":"","sources":["../../src/tools/ClipTools.ts"],"names":[],"mappings":"AAYA,OAAO,EAAa,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,qBAAa,aAAc,SAAQ,IAAI;IACrC,OAAuB,MAAM,SAAmB;IAChD,WAA2B,OAAO,WAAgB;IAClD,WAA2B,OAAO,WAAgB;IAElD,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,YAAY;IASpB;;;;;;;;;;;;;OAaG;IACmB,WAAW,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;CAcvE;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,IAAI;IAC5C,OAAuB,MAAM,SAAsB;IACnD,WAA2B,OAAO,WAAgB;IAClD,WAA2B,OAAO,WAAgB;IAElD;;OAEG;IACmB,GAAG,CAAC,kBAAkB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAmBzE;;OAEG;IACmB,WAAW,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;CAOvE;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,gBAAgB;IACrD,OAAuB,MAAM,SAAmB;IAChD,WAA2B,OAAO,WAAgB;IAClD,WAA2B,OAAO,WAAgB;IAElD,OAAO,CAAC,SAAS,CAAS;IAE1B,cAAuB,SAAS,YAAmB;IAEnD,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO;IAKxC,SAAS,CAAC,OAAO,CAAC,EAAE,EAAE,QAAQ,GAAG,OAAO;CA+BzC"}