@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.10

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 (227) hide show
  1. package/README.md +280 -482
  2. package/dist/esm/commonjsHelpers.js +1 -0
  3. package/dist/esm/s3m.js +1 -0
  4. package/dist/esm/webclient-cesium-plugin.js +1 -0
  5. package/dist/umd/webclient-cesium-plugin.min.js +1 -0
  6. package/{documention → documentation}/AlgorithmLib.html +169 -149
  7. package/{documention → documentation}/AngulationTool.html +85 -51
  8. package/{documention → documentation}/AnimationTool.html +30 -30
  9. package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
  10. package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
  11. package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
  12. package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
  13. package/{documention → documentation}/BaseImageryProvider.html +2 -2
  14. package/{documention → documentation}/Cesium.Material.html +2 -2
  15. package/{documention → documentation}/Cesium.Viewer.html +5 -5
  16. package/{documention → documentation}/Cesium3DTileset.html +43 -25
  17. package/{documention → documentation}/CesiumHeatmap.html +22 -19
  18. package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
  19. package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
  20. package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
  21. package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
  22. package/{documention → documentation}/CompatibleFunc.html +24 -33
  23. package/{documention → documentation}/CustomPrimitive.html +3 -5
  24. package/{documention → documentation}/CustomProjection.html +3 -3
  25. package/{documention → documentation}/CustomTilingScheme.html +35 -36
  26. package/{documention → documentation}/CutFillAnalysis.html +59 -27
  27. package/{documention → documentation}/CuttingTool.html +198 -103
  28. package/{documention → documentation}/Deferred.html +2 -2
  29. package/{documention → documentation}/DrawElement.html +418 -34
  30. package/{documention → documentation}/DrawTool.html +81 -29
  31. package/documentation/EditTool.html +2819 -0
  32. package/{documention → documentation}/FirstPersonPerspective.html +18 -10
  33. package/{documention → documentation}/FloodAnalysis.html +93 -23
  34. package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
  35. package/documentation/FlowParticle.html +863 -0
  36. package/{documention → documentation}/Fluid.html +473 -74
  37. package/{documention → documentation}/FluidFoam.html +36 -16
  38. package/{documention → documentation}/FluidReflection.html +68 -15
  39. package/{documention → documentation}/FluidShadow.html +67 -14
  40. package/{documention → documentation}/FluidSourceCollection.html +14 -7
  41. package/{documention → documentation}/FluidSpecular.html +33 -14
  42. package/documentation/FluidSurfaceDistortion.html +682 -0
  43. package/documentation/FluidSurfaceFoam.html +1006 -0
  44. package/{documention → documentation}/FollowPerspective.html +15 -7
  45. package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
  46. package/documentation/GeoJSONLayerView.html +1353 -0
  47. package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
  48. package/{documention → documentation}/GodPerspective.html +14 -6
  49. package/{documention → documentation}/Graphic.html +1053 -1042
  50. package/{documention → documentation}/GraphicTransformTool.html +65 -23
  51. package/{documention → documentation}/GraphicsLayer.html +359 -156
  52. package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
  53. package/documentation/GraphicsLayerView.html +759 -0
  54. package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
  55. package/{documention → documentation}/HeightLimited.html +54 -21
  56. package/documentation/IGSFeatureLayerUtil.html +840 -0
  57. package/documentation/IGSFeatureLayerView.html +1348 -0
  58. package/documentation/IGSMapImageLayerUtil.html +855 -0
  59. package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
  60. package/documentation/IGSTileLayerView.html +658 -0
  61. package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
  62. package/{documention → documentation}/KeyboardCameraController.html +54 -6
  63. package/documentation/LightningStorm.html +2073 -0
  64. package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
  65. package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
  66. package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
  67. package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
  68. package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
  69. package/{documention → documentation}/MapGISM3DSet.html +49 -33
  70. package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
  71. package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
  72. package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
  73. package/{documention → documentation}/MapGISTerrainService.html +124 -82
  74. package/{documention → documentation}/MapGISTileAvailability.html +104 -47
  75. package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
  76. package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
  77. package/{documention → documentation}/MeasureAreaTool.html +53 -14
  78. package/{documention → documentation}/MeasureLengthTool.html +17 -14
  79. package/{documention → documentation}/MeasureSlopeTool.html +73 -34
  80. package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
  81. package/{documention → documentation}/ModelFilterTool.html +27 -32
  82. package/{documention → documentation}/ModelTransformTool.html +195 -110
  83. package/{documention → documentation}/NavigationControl.html +25 -5
  84. package/{documention → documentation}/NavigationTool.html +36 -14
  85. package/{documention → documentation}/NormalPerspective.html +33 -7
  86. package/documentation/OpenWeatherImageryProvider.html +1133 -0
  87. package/{documention → documentation}/PointFluidSource.html +22 -13
  88. package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
  89. package/{documention → documentation}/Popup.html +246 -63
  90. package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
  91. package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
  92. package/{documention → documentation}/Promise.html +6 -6
  93. package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
  94. package/{documention → documentation}/Puddle.html +30 -9
  95. package/{documention → documentation}/RadarMaterialProperty.html +73 -18
  96. package/{documention → documentation}/ReImg.html +164 -15
  97. package/{documention → documentation}/RenderUtil.html +158 -6
  98. package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
  99. package/{documention → documentation}/RiverGeometry.html +7 -7
  100. package/{documention → documentation}/RoamParticle.html +86 -79
  101. package/{documention → documentation}/RouteAnimationControl.html +37 -15
  102. package/{documention → documentation}/RouteAnimationLabel.html +39 -12
  103. package/{documention → documentation}/RouteAnimationModel.html +43 -16
  104. package/{documention → documentation}/RouteAnimationPath.html +156 -18
  105. package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
  106. package/{documention → documentation}/RouteAnimationTool.html +244 -24
  107. package/documentation/S3MTileset.html +570 -0
  108. package/{documention → documentation}/SSR.html +20 -39
  109. package/{documention → documentation}/SceneView.html +615 -419
  110. package/documentation/SceneViewUtil.html +1253 -0
  111. package/documentation/Screenshot.html +964 -0
  112. package/{documention → documentation}/SelectTool.html +31 -77
  113. package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
  114. package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
  115. package/{documention → documentation}/SingleImageryProvider.html +32 -10
  116. package/{documention → documentation}/SketchEditor.html +280 -127
  117. package/documentation/SkyLineAnalysis.html +576 -0
  118. package/{documention → documentation}/StableParticle.html +165 -46
  119. package/{documention → documentation}/Style.html +249 -249
  120. package/{documention → documentation}/TerrainAnalyse.html +391 -105
  121. package/{documention → documentation}/TerrainExcavateTool.html +99 -3
  122. package/{documention → documentation}/TerrainProfile.html +198 -56
  123. package/{documention → documentation}/ThemeManager.html +93 -42
  124. package/{documention → documentation}/Tooltip.html +35 -18
  125. package/documentation/TransformTool.html +1010 -0
  126. package/{documention → documentation}/TriangulationTool.html +122 -83
  127. package/documentation/UnderfluidCaustic.html +843 -0
  128. package/documentation/UnderfluidDistortion.html +600 -0
  129. package/documentation/UnderfluidFog.html +843 -0
  130. package/documentation/UnderfluidGodRay.html +843 -0
  131. package/documentation/UnderwaterCaustic.html +867 -0
  132. package/documentation/UnderwaterDistortion.html +578 -0
  133. package/documentation/UnderwaterFog.html +867 -0
  134. package/documentation/UnderwaterGodRay.html +821 -0
  135. package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
  136. package/{documention → documentation}/UserInterfaceControl.html +28 -9
  137. package/documentation/VectorTileLayerUtil.html +1364 -0
  138. package/{documention → documentation}/VisiblityAnalysis.html +15 -12
  139. package/{documention → documentation}/VolumeCloud.html +113 -21
  140. package/{documention → documentation}/VolumeFluidSource.html +24 -8
  141. package/{documention → documentation}/WFSLayerUtil.html +39 -10
  142. package/documentation/WFSLayerView.html +1353 -0
  143. package/documentation/WMSLayerUtil.html +879 -0
  144. package/documentation/WMTSLayerUtil.html +877 -0
  145. package/documentation/WaterDepth.html +583 -0
  146. package/{documention → documentation}/WaterReflection.html +29 -26
  147. package/documentation/WaterSurface.html +2555 -0
  148. package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
  149. package/documentation/WaterSurfaceFoam.html +1029 -0
  150. package/documentation/WaterSurfaceSSR.html +867 -0
  151. package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
  152. package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
  153. package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
  154. package/documentation/WebTileLayerUtil.html +877 -0
  155. package/{documention → documentation}/Wind3D.html +133 -54
  156. package/{documention → documentation}/ZoomNavigationControl.html +145 -9
  157. package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
  158. package/{documention → documentation}/global.html +14130 -2719
  159. package/{documention → documentation}/index.html +1 -1
  160. package/{documention → documentation}/initializeOptions.html +2 -2
  161. package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +96 -95
  162. package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +47 -46
  163. package/{documention → documentation}/module.exports_module.exports.html +2 -2
  164. package/{documention → documentation}/nav.html +3267 -1392
  165. package/documentation/nav.json +320 -0
  166. package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
  167. package/documentation/styles/adminlte/skin-blue.min.css +135 -0
  168. package/documentation/styles/bootstrap.min.css +7005 -0
  169. package/documentation/styles/common.css +173 -0
  170. package/documentation/styles/examples.css +119 -0
  171. package/{documention → documentation}/styles/font-awesome.css +692 -687
  172. package/documentation/styles/header.css +558 -0
  173. package/documentation/styles/jaguar.css +551 -0
  174. package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
  175. package/{documention → documentation}/styles/style.customize.css +83 -99
  176. package/package.json +42 -22
  177. package/dist/es5/webclient-cesium-plugin.min.js +0 -77
  178. package/dist/es5/webclient-common.min.js +0 -159
  179. package/dist/webclient-cesium-plugin-es6.min.js +0 -77
  180. package/documention/CircleWaveMaterialProperty.html +0 -382
  181. package/documention/DynamicEntityVisualizer.html +0 -348
  182. package/documention/DynamicLabelLayer.html +0 -1841
  183. package/documention/GroundPrimitiveLayer.html +0 -1675
  184. package/documention/HashMap.html +0 -4197
  185. package/documention/ModelEditor.html +0 -374
  186. package/documention/SceneViewCesium.html +0 -5544
  187. package/documention/Screenshot.html +0 -773
  188. package/documention/SketchEditorCesium.html +0 -1571
  189. package/documention/createColorTexture.html +0 -369
  190. package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
  191. package/documention/isCounterClockwise.html +0 -760
  192. package/documention/scripts/app.min.js +0 -1
  193. package/documention/scripts/jquery.min.map +0 -1
  194. package/documention/scripts/search.js +0 -20
  195. package/documention/scripts/sideBar.js +0 -228
  196. package/documention/scripts/underscore-min.map +0 -1
  197. package/documention/styles/adminlte/AdminLTE.min.css +0 -7
  198. package/documention/styles/adminlte/skin-blue.min.css +0 -1
  199. package/documention/styles/anchor.png +0 -0
  200. package/documention/styles/app.min.css +0 -1
  201. package/documention/styles/bootstrap.min.css +0 -6
  202. package/documention/styles/c.png +0 -0
  203. package/documention/styles/common.css +0 -175
  204. package/documention/styles/examples.css +0 -116
  205. package/documention/styles/header.css +0 -556
  206. package/documention/styles/iframe.css +0 -29
  207. package/documention/styles/jaguar.css +0 -553
  208. package/documention/styles/m.png +0 -0
  209. package/documention/styles/reset.css +0 -44
  210. package/documention/styles/up-arrow.png +0 -0
  211. package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
  212. /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
  213. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
  214. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
  215. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
  216. /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
  217. /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
  218. /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
  219. /package/{documention → documentation}/scripts/jquery.min.js +0 -0
  220. /package/{documention → documentation}/scripts/linenumber.js +0 -0
  221. /package/{documention → documentation}/scripts/main.js +0 -0
  222. /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
  223. /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
  224. /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
  225. /package/{documention → documentation}/scripts/underscore-min.js +0 -0
  226. /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
  227. /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
@@ -58,7 +58,7 @@
58
58
  <div class="navigationDiv">
59
59
  </div>
60
60
  <div class="main content-wrapper examples-container">
61
- <h1 class="page-title" data-filename="FlowParticle.html">Class: FlowParticle</h1>
61
+ <h1 class="page-title" data-filename="ModelEditor.html">Class: ModelEditor</h1>
62
62
 
63
63
 
64
64
 
@@ -66,7 +66,7 @@
66
66
  <section>
67
67
 
68
68
  <header>
69
- <h2></span>FlowParticle
69
+ <h2></span>ModelEditor
70
70
 
71
71
 
72
72
  </h2>
@@ -81,14 +81,14 @@
81
81
 
82
82
  <dt>
83
83
  <div class="nameContainer">
84
- <h4 class="name" id="FlowParticle">
84
+ <h4 class="name" id="ModelEditor">
85
85
 
86
- new FlowParticle<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
86
+ new ModelEditor<span class="signature">(options)</span>
87
87
  </h4>
88
88
 
89
89
 
90
90
  <div class="tag-source">
91
- engineExtensions/simulation/fluid/FlowParticle.js, line 5
91
+ engineExtensions/tools/modelEditor/ModelEditor.js, line 11
92
92
  </div>
93
93
 
94
94
  </div>
@@ -99,7 +99,9 @@
99
99
 
100
100
 
101
101
  <div class="description">
102
- <p>流体粒子对象</p>
102
+ <p>模型矩阵编辑工具。</p>
103
+ <p>该工具负责创建模型编辑面板,并通过 <code>TransformEditorViewModel</code>
104
+ 提供平移、旋转与缩放控制能力。</p>
103
105
  </div>
104
106
 
105
107
 
@@ -146,7 +148,7 @@
146
148
 
147
149
  <td class="description last">
148
150
 
149
- <p>实例化流体粒子对象所需的参数</p>
151
+ <p>初始化参数。</p>
150
152
 
151
153
 
152
154
  <table class="params">
@@ -171,13 +173,16 @@
171
173
 
172
174
  <tr>
173
175
 
174
- <td class="name"><code>show</code></td>
176
+ <td class="name"><code>container</code></td>
175
177
 
176
178
 
177
179
  <td class="type">
178
180
 
179
181
 
180
- <span class="param-type">Boolean</span>
182
+ <span class="param-type">Element</span>
183
+ |
184
+
185
+ <span class="param-type">String</span>
181
186
 
182
187
 
183
188
 
@@ -186,34 +191,30 @@
186
191
 
187
192
  <td class="default">
188
193
 
189
- false
190
-
191
194
  </td>
192
195
 
193
196
 
194
197
  <td class="description last">
195
198
 
196
199
 
197
- <span class="optional"> 可选</span>
198
-
199
200
 
200
201
 
201
202
 
202
203
 
203
- <p>是否显示流体粒子</p></td>
204
+ <p>场景容器。</p></td>
204
205
  </tr>
205
206
 
206
207
 
207
208
 
208
209
  <tr>
209
210
 
210
- <td class="name"><code>fadeOpacity</code></td>
211
+ <td class="name"><code>scene</code></td>
211
212
 
212
213
 
213
214
  <td class="type">
214
215
 
215
216
 
216
- <span class="param-type">Number</span>
217
+ <span class="param-type">Cesium.Scene</span>
217
218
 
218
219
 
219
220
 
@@ -222,34 +223,30 @@
222
223
 
223
224
  <td class="default">
224
225
 
225
- 0.05
226
-
227
226
  </td>
228
227
 
229
228
 
230
229
  <td class="description last">
231
230
 
232
231
 
233
- <span class="optional"> 可选</span>
234
-
235
232
 
236
233
 
237
234
 
238
235
 
239
- <p>控制流体粒子拖尾叠加的透明度,即控制每帧流体粒子轨迹消失的速度,透明度越高,消失得越快,流体粒子呈现出的轨迹越短</p></td>
236
+ <p>场景视图。</p></td>
240
237
  </tr>
241
238
 
242
239
 
243
240
 
244
241
  <tr>
245
242
 
246
- <td class="name"><code>lineWidth</code></td>
243
+ <td class="name"><code>transform</code></td>
247
244
 
248
245
 
249
246
  <td class="type">
250
247
 
251
248
 
252
- <span class="param-type">Number</span>
249
+ <span class="param-type">Cesium.Matrix4</span>
253
250
 
254
251
 
255
252
 
@@ -258,34 +255,30 @@
258
255
 
259
256
  <td class="default">
260
257
 
261
- 4
262
-
263
258
  </td>
264
259
 
265
260
 
266
261
  <td class="description last">
267
262
 
268
263
 
269
- <span class="optional"> 可选</span>
270
-
271
264
 
272
265
 
273
266
 
274
267
 
275
- <p>流体粒子的线宽(宽度大小是相对于模拟纹理的像素个数,非屏幕像素个数)</p></td>
268
+ <p>要修改的模型矩阵。</p></td>
276
269
  </tr>
277
270
 
278
271
 
279
272
 
280
273
  <tr>
281
274
 
282
- <td class="name"><code>number</code></td>
275
+ <td class="name"><code>boundingSphere</code></td>
283
276
 
284
277
 
285
278
  <td class="type">
286
279
 
287
280
 
288
- <span class="param-type">Number</span>
281
+ <span class="param-type">Cesium.BoundingSphere</span>
289
282
 
290
283
 
291
284
 
@@ -294,34 +287,30 @@
294
287
 
295
288
  <td class="default">
296
289
 
297
- 400
298
-
299
290
  </td>
300
291
 
301
292
 
302
293
  <td class="description last">
303
294
 
304
295
 
305
- <span class="optional"> 可选</span>
306
-
307
296
 
308
297
 
309
298
 
310
299
 
311
- <p>流体粒子的数量</p></td>
300
+ <p>模型包围球。</p></td>
312
301
  </tr>
313
302
 
314
303
 
315
304
 
316
305
  <tr>
317
306
 
318
- <td class="name"><code>color</code></td>
307
+ <td class="name"><code>originOffset</code></td>
319
308
 
320
309
 
321
310
  <td class="type">
322
311
 
323
312
 
324
- <span class="param-type">Cesium.Color</span>
313
+ <span class="param-type">Cesium.Cartesian3</span>
325
314
 
326
315
 
327
316
 
@@ -330,7 +319,7 @@
330
319
 
331
320
  <td class="default">
332
321
 
333
- Cesium.Color.RED
322
+ Cesium.Cartesian3.UNIT_X
334
323
 
335
324
  </td>
336
325
 
@@ -344,7 +333,7 @@
344
333
 
345
334
 
346
335
 
347
- <p>流体粒子的颜色</p></td>
336
+ <p>编辑轴偏移值。</p></td>
348
337
  </tr>
349
338
 
350
339
 
@@ -393,44 +382,31 @@
393
382
 
394
383
 
395
384
 
396
- <h5>Returns:</h5>
397
-
398
-
399
-
400
- <table class="params">
401
- <thead>
402
- <tr>
403
-
404
- <th>Type</th>
405
- <th class="last">Description</th>
406
- </tr>
407
- </thead>
408
- <tbody>
409
-
410
- <tr>
411
-
412
- <td class="type">
413
-
414
- Object
415
-
416
-
417
- </td>
418
- <td class="description last">返回根据参数实例化的流体粒子对象</td>
419
- </tr>
420
-
421
- </tbody>
422
- </table>
423
-
424
-
425
385
 
426
386
 
427
387
  <h5>Example</h5>
428
388
 
429
- <p class="code-caption"><h7>创建流体粒子对象</h7></p>
430
-
431
389
 
432
390
 
433
- <pre class="prettyprint"><code>// ES5引入方式
434
391
  show: false,
435
392
  color: Cesium.Color.BLUE,
436
393
  fadeOpacity: 0.1,
437
394
  lineWidth: 2,
438
395
  number: 400
396
+ <pre class="prettyprint"><code>// ES5引入方式
397
+ const { ModelEditor } = zondy.cesium
398
+
399
+ // ES6引入方式
400
+ import { ModelEditor } from "@mapgis/webclient-cesium-plugin"
401
+
402
+ const modelEditor = new ModelEditor({
403
+ container: viewer.container,
404
+ scene: viewer.scene,
405
+ transform: model.modelMatrix,
406
+ boundingSphere: model.boundingSphere
407
+ })
408
+
409
+ // 获取模型视图对象
410
+ const viewModel = modelEditor.viewModel
411
+ // 设置模型视图平移
412
+ viewModel.setModeTranslation()
413
+ // 激活平移工具
414
+ viewModel.activate()</code></pre>
439
415
 
440
416
 
441
417
 
@@ -456,7 +432,7 @@
456
432
 
457
433
  <dt>
458
434
  <div class="nameContainer">
459
- <h4 class="name" id="color">color<span class="type-signature type cesium.color">Cesium.Color</span> </h4>
435
+ <h4 class="name" id="container">container<span class="type-signature type element">Element</span> </h4>
460
436
  </div>
461
437
 
462
438
 
@@ -464,7 +440,7 @@
464
440
  <dd>
465
441
 
466
442
  <div class="description">
467
- <p>流体粒子的颜色</p>
443
+ <p>编辑器挂载容器。</p>
468
444
  </div>
469
445
 
470
446
 
@@ -501,7 +477,7 @@
501
477
 
502
478
  <dt>
503
479
  <div class="nameContainer">
504
- <h4 class="name" id="fadeOpacity">fadeOpacity<span class="type-signature type number">Number</span> </h4>
480
+ <h4 class="name" id="viewModel">viewModel<span class="type-signature type transformeditorviewmodel"><a href="TransformEditorViewModel.html">TransformEditorViewModel</a></span> </h4>
505
481
  </div>
506
482
 
507
483
 
@@ -509,7 +485,7 @@
509
485
  <dd>
510
486
 
511
487
  <div class="description">
512
- <p>流体粒子拖尾叠加的透明度,即控制每帧粒子轨迹消失的速度,透明度越高,消失得越快,粒子呈现出的轨迹越短</p>
488
+ <p>编辑器视图模型。</p>
513
489
  </div>
514
490
 
515
491
 
@@ -542,21 +518,45 @@
542
518
 
543
519
  </dd>
544
520
 
521
+ </dl>
522
+
523
+
524
+
525
+
526
+
527
+ <h3 class="subsection-title">Methods</h3>
545
528
 
529
+ <dl>
546
530
 
547
531
  <dt>
548
532
  <div class="nameContainer">
549
- <h4 class="name" id="lineWidth">lineWidth<span class="type-signature type number">Number</span> </h4>
550
- </div>
533
+ <h4 class="name" id="destroy">
534
+
535
+ destroy<span class="signature">()</span>
536
+ </h4>
551
537
 
538
+
539
+ <div class="tag-source">
540
+ engineExtensions/tools/modelEditor/ModelEditor.js, line 105
541
+ </div>
542
+
543
+ </div>
544
+
552
545
 
553
546
  </dt>
554
547
  <dd>
555
548
 
549
+
556
550
  <div class="description">
557
- <p>流体粒子的线宽,宽度大小是相对于模拟纹理的像素个数,非屏幕像素个数</p>
551
+ <p>销毁编辑器并清理绑定关系。</p>
558
552
  </div>
559
553
 
554
+
555
+
556
+
557
+
558
+
559
+
560
560
 
561
561
 
562
562
  <dl class="details">
@@ -585,23 +585,49 @@
585
585
 
586
586
 
587
587
 
588
+
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
588
598
  </dd>
589
599
 
590
600
 
591
601
 
592
602
  <dt>
593
603
  <div class="nameContainer">
594
- <h4 class="name" id="number">number<span class="type-signature type number">Number</span> </h4>
595
- </div>
604
+ <h4 class="name" id="isDestroyed">
605
+
606
+ isDestroyed<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
607
+ </h4>
596
608
 
609
+
610
+ <div class="tag-source">
611
+ engineExtensions/tools/modelEditor/ModelEditor.js, line 98
612
+ </div>
613
+
614
+ </div>
615
+
597
616
 
598
617
  </dt>
599
618
  <dd>
600
619
 
620
+
601
621
  <div class="description">
602
- <p>流体粒子的数量</p>
622
+ <p>判断编辑器是否已销毁。</p>
603
623
  </div>
604
624
 
625
+
626
+
627
+
628
+
629
+
630
+
605
631
 
606
632
 
607
633
  <dl class="details">
@@ -630,59 +656,49 @@
630
656
 
631
657
 
632
658
 
633
- </dd>
634
659
 
635
-
636
-
637
- <dt>
638
- <div class="nameContainer">
639
- <h4 class="name" id="show">show<span class="type-signature type boolean">Boolean</span> </h4>
640
- </div>
641
660
 
661
+
642
662
 
643
- </dt>
644
- <dd>
645
663
 
646
- <div class="description">
647
- <p>流体粒子的显隐</p>
648
- </div>
649
664
 
650
665
 
651
666
 
652
- <dl class="details">
667
+ <h5>Returns:</h5>
653
668
 
669
+
670
+
671
+ <table class="params">
672
+ <thead>
673
+ <tr>
654
674
 
675
+ <th>Type</th>
676
+ <th class="last">Description</th>
677
+ </tr>
678
+ </thead>
679
+ <tbody>
655
680
 
681
+ <tr>
682
+
683
+ <td class="type">
684
+
685
+ Boolean
686
+
687
+
688
+ </td>
689
+ <td class="description last">当前实现始终返回 <code>false</code>。</td>
690
+ </tr>
656
691
 
657
-
692
+ </tbody>
693
+ </table>
658
694
 
659
695
 
660
696
 
661
697
 
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
-
672
-
673
-
674
- </dl>
675
-
676
-
677
-
678
698
  </dd>
679
699
 
680
700
  </dl>
681
701
 
682
-
683
-
684
-
685
-
686
702
 
687
703
 
688
704
 
@@ -695,7 +711,7 @@
695
711
 
696
712
 
697
713
  <footer>
698
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 14:59:54 GMT+0800 (中国标准时间)
714
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Sep 18 2026 14:59:30 GMT+0800 (中国标准时间)
699
715
  </footer>
700
716
  </div>
701
717
  </div>