@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.9
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.
- package/README.md +280 -482
- package/dist/esm/commonjsHelpers.js +1 -0
- package/dist/esm/s3m.js +1 -0
- package/dist/esm/webclient-cesium-plugin.js +1 -0
- package/dist/umd/webclient-cesium-plugin.min.js +1 -0
- package/{documention → documentation}/AlgorithmLib.html +169 -149
- package/{documention → documentation}/AngulationTool.html +85 -51
- package/{documention → documentation}/AnimationTool.html +30 -30
- package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
- package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
- package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
- package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
- package/{documention → documentation}/BaseImageryProvider.html +2 -2
- package/{documention → documentation}/Cesium.Material.html +2 -2
- package/{documention → documentation}/Cesium.Viewer.html +5 -5
- package/{documention → documentation}/Cesium3DTileset.html +43 -25
- package/{documention → documentation}/CesiumHeatmap.html +22 -19
- package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
- package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
- package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
- package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
- package/{documention → documentation}/CompatibleFunc.html +24 -33
- package/{documention → documentation}/CustomPrimitive.html +3 -5
- package/{documention → documentation}/CustomProjection.html +3 -3
- package/{documention → documentation}/CustomTilingScheme.html +35 -36
- package/{documention → documentation}/CutFillAnalysis.html +59 -27
- package/{documention → documentation}/CuttingTool.html +198 -103
- package/{documention → documentation}/Deferred.html +2 -2
- package/{documention → documentation}/DrawElement.html +418 -34
- package/{documention → documentation}/DrawTool.html +81 -29
- package/documentation/EditTool.html +2819 -0
- package/{documention → documentation}/FirstPersonPerspective.html +18 -10
- package/{documention → documentation}/FloodAnalysis.html +93 -23
- package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
- package/documentation/FlowParticle.html +863 -0
- package/{documention → documentation}/Fluid.html +473 -74
- package/{documention → documentation}/FluidFoam.html +36 -16
- package/{documention → documentation}/FluidReflection.html +68 -15
- package/{documention → documentation}/FluidShadow.html +67 -14
- package/{documention → documentation}/FluidSourceCollection.html +14 -7
- package/{documention → documentation}/FluidSpecular.html +33 -14
- package/documentation/FluidSurfaceDistortion.html +682 -0
- package/documentation/FluidSurfaceFoam.html +1006 -0
- package/{documention → documentation}/FollowPerspective.html +15 -7
- package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
- package/documentation/GeoJSONLayerView.html +1353 -0
- package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
- package/{documention → documentation}/GodPerspective.html +14 -6
- package/{documention → documentation}/Graphic.html +1053 -1042
- package/{documention → documentation}/GraphicTransformTool.html +65 -23
- package/{documention → documentation}/GraphicsLayer.html +359 -156
- package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
- package/documentation/GraphicsLayerView.html +759 -0
- package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
- package/{documention → documentation}/HeightLimited.html +54 -21
- package/documentation/IGSFeatureLayerUtil.html +840 -0
- package/documentation/IGSFeatureLayerView.html +1348 -0
- package/documentation/IGSMapImageLayerUtil.html +855 -0
- package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
- package/documentation/IGSTileLayerView.html +658 -0
- package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
- package/{documention → documentation}/KeyboardCameraController.html +54 -6
- package/documentation/LightningStorm.html +2073 -0
- package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
- package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
- package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
- package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
- package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
- package/{documention → documentation}/MapGISM3DSet.html +49 -33
- package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
- package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
- package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
- package/{documention → documentation}/MapGISTerrainService.html +124 -82
- package/{documention → documentation}/MapGISTileAvailability.html +104 -47
- package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
- package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
- package/{documention → documentation}/MeasureAreaTool.html +53 -14
- package/{documention → documentation}/MeasureLengthTool.html +17 -14
- package/{documention → documentation}/MeasureSlopeTool.html +73 -34
- package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
- package/{documention → documentation}/ModelFilterTool.html +27 -32
- package/{documention → documentation}/ModelTransformTool.html +195 -110
- package/{documention → documentation}/NavigationControl.html +25 -5
- package/{documention → documentation}/NavigationTool.html +36 -14
- package/{documention → documentation}/NormalPerspective.html +33 -7
- package/documentation/OpenWeatherImageryProvider.html +1133 -0
- package/{documention → documentation}/PointFluidSource.html +22 -13
- package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
- package/{documention → documentation}/Popup.html +246 -63
- package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
- package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
- package/{documention → documentation}/Promise.html +6 -6
- package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
- package/{documention → documentation}/Puddle.html +30 -9
- package/{documention → documentation}/RadarMaterialProperty.html +73 -18
- package/{documention → documentation}/ReImg.html +164 -15
- package/{documention → documentation}/RenderUtil.html +158 -6
- package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
- package/{documention → documentation}/RiverGeometry.html +7 -7
- package/{documention → documentation}/RoamParticle.html +86 -79
- package/{documention → documentation}/RouteAnimationControl.html +37 -15
- package/{documention → documentation}/RouteAnimationLabel.html +39 -12
- package/{documention → documentation}/RouteAnimationModel.html +43 -16
- package/{documention → documentation}/RouteAnimationPath.html +156 -18
- package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
- package/{documention → documentation}/RouteAnimationTool.html +244 -24
- package/documentation/S3MTileset.html +570 -0
- package/{documention → documentation}/SSR.html +20 -39
- package/{documention → documentation}/SceneView.html +615 -419
- package/documentation/SceneViewUtil.html +1253 -0
- package/documentation/Screenshot.html +964 -0
- package/{documention → documentation}/SelectTool.html +31 -77
- package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
- package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
- package/{documention → documentation}/SingleImageryProvider.html +32 -10
- package/{documention → documentation}/SketchEditor.html +280 -127
- package/documentation/SkyLineAnalysis.html +576 -0
- package/{documention → documentation}/StableParticle.html +165 -46
- package/{documention → documentation}/Style.html +249 -249
- package/{documention → documentation}/TerrainAnalyse.html +391 -105
- package/{documention → documentation}/TerrainExcavateTool.html +99 -3
- package/{documention → documentation}/TerrainProfile.html +198 -56
- package/{documention → documentation}/ThemeManager.html +93 -42
- package/{documention → documentation}/Tooltip.html +35 -18
- package/documentation/TransformTool.html +1010 -0
- package/{documention → documentation}/TriangulationTool.html +122 -83
- package/documentation/UnderfluidCaustic.html +843 -0
- package/documentation/UnderfluidDistortion.html +600 -0
- package/documentation/UnderfluidFog.html +843 -0
- package/documentation/UnderfluidGodRay.html +843 -0
- package/documentation/UnderwaterCaustic.html +867 -0
- package/documentation/UnderwaterDistortion.html +578 -0
- package/documentation/UnderwaterFog.html +867 -0
- package/documentation/UnderwaterGodRay.html +821 -0
- package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
- package/{documention → documentation}/UserInterfaceControl.html +28 -9
- package/documentation/VectorTileLayerUtil.html +1364 -0
- package/{documention → documentation}/VisiblityAnalysis.html +15 -12
- package/{documention → documentation}/VolumeCloud.html +113 -21
- package/{documention → documentation}/VolumeFluidSource.html +24 -8
- package/{documention → documentation}/WFSLayerUtil.html +39 -10
- package/documentation/WFSLayerView.html +1353 -0
- package/documentation/WMSLayerUtil.html +879 -0
- package/documentation/WMTSLayerUtil.html +877 -0
- package/documentation/WaterDepth.html +583 -0
- package/{documention → documentation}/WaterReflection.html +29 -26
- package/documentation/WaterSurface.html +2555 -0
- package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
- package/documentation/WaterSurfaceFoam.html +1029 -0
- package/documentation/WaterSurfaceSSR.html +867 -0
- package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
- package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
- package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
- package/documentation/WebTileLayerUtil.html +877 -0
- package/{documention → documentation}/Wind3D.html +133 -54
- package/{documention → documentation}/ZoomNavigationControl.html +145 -9
- package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
- package/{documention → documentation}/global.html +14130 -2719
- package/{documention → documentation}/index.html +1 -1
- package/{documention → documentation}/initializeOptions.html +2 -2
- 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
- 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
- package/{documention → documentation}/module.exports_module.exports.html +2 -2
- package/{documention → documentation}/nav.html +3267 -1392
- package/documentation/nav.json +320 -0
- package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
- package/documentation/styles/adminlte/skin-blue.min.css +135 -0
- package/documentation/styles/bootstrap.min.css +7005 -0
- package/documentation/styles/common.css +173 -0
- package/documentation/styles/examples.css +119 -0
- package/{documention → documentation}/styles/font-awesome.css +692 -687
- package/documentation/styles/header.css +558 -0
- package/documentation/styles/jaguar.css +551 -0
- package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
- package/{documention → documentation}/styles/style.customize.css +83 -99
- package/package.json +42 -22
- package/dist/es5/webclient-cesium-plugin.min.js +0 -77
- package/dist/es5/webclient-common.min.js +0 -159
- package/dist/webclient-cesium-plugin-es6.min.js +0 -77
- package/documention/CircleWaveMaterialProperty.html +0 -382
- package/documention/DynamicEntityVisualizer.html +0 -348
- package/documention/DynamicLabelLayer.html +0 -1841
- package/documention/GroundPrimitiveLayer.html +0 -1675
- package/documention/HashMap.html +0 -4197
- package/documention/ModelEditor.html +0 -374
- package/documention/SceneViewCesium.html +0 -5544
- package/documention/Screenshot.html +0 -773
- package/documention/SketchEditorCesium.html +0 -1571
- package/documention/createColorTexture.html +0 -369
- package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
- package/documention/isCounterClockwise.html +0 -760
- package/documention/scripts/app.min.js +0 -1
- package/documention/scripts/jquery.min.map +0 -1
- package/documention/scripts/search.js +0 -20
- package/documention/scripts/sideBar.js +0 -228
- package/documention/scripts/underscore-min.map +0 -1
- package/documention/styles/adminlte/AdminLTE.min.css +0 -7
- package/documention/styles/adminlte/skin-blue.min.css +0 -1
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +0 -1
- package/documention/styles/bootstrap.min.css +0 -6
- package/documention/styles/c.png +0 -0
- package/documention/styles/common.css +0 -175
- package/documention/styles/examples.css +0 -116
- package/documention/styles/header.css +0 -556
- package/documention/styles/iframe.css +0 -29
- package/documention/styles/jaguar.css +0 -553
- package/documention/styles/m.png +0 -0
- package/documention/styles/reset.css +0 -44
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
- /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
- /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
- /package/{documention → documentation}/scripts/jquery.min.js +0 -0
- /package/{documention → documentation}/scripts/linenumber.js +0 -0
- /package/{documention → documentation}/scripts/main.js +0 -0
- /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
- /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
- /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
- /package/{documention → documentation}/scripts/underscore-min.js +0 -0
- /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
- /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="
|
|
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>
|
|
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="
|
|
84
|
+
<h4 class="name" id="ModelEditor">
|
|
85
85
|
|
|
86
|
-
new
|
|
86
|
+
new ModelEditor<span class="signature">(options)</span>
|
|
87
87
|
</h4>
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
<div class="tag-source">
|
|
91
|
-
engineExtensions/
|
|
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
|
|
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
|
|
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>
|
|
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">
|
|
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
|
|
204
|
+
<p>场景容器。</p></td>
|
|
204
205
|
</tr>
|
|
205
206
|
|
|
206
207
|
|
|
207
208
|
|
|
208
209
|
<tr>
|
|
209
210
|
|
|
210
|
-
<td class="name"><code>
|
|
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">
|
|
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
|
|
236
|
+
<p>场景视图。</p></td>
|
|
240
237
|
</tr>
|
|
241
238
|
|
|
242
239
|
|
|
243
240
|
|
|
244
241
|
<tr>
|
|
245
242
|
|
|
246
|
-
<td class="name"><code>
|
|
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">
|
|
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
|
|
268
|
+
<p>要修改的模型矩阵。</p></td>
|
|
276
269
|
</tr>
|
|
277
270
|
|
|
278
271
|
|
|
279
272
|
|
|
280
273
|
<tr>
|
|
281
274
|
|
|
282
|
-
<td class="name"><code>
|
|
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">
|
|
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
|
|
300
|
+
<p>模型包围球。</p></td>
|
|
312
301
|
</tr>
|
|
313
302
|
|
|
314
303
|
|
|
315
304
|
|
|
316
305
|
<tr>
|
|
317
306
|
|
|
318
|
-
<td class="name"><code>
|
|
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.
|
|
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.
|
|
322
|
+
Cesium.Cartesian3.UNIT_X
|
|
334
323
|
|
|
335
324
|
</td>
|
|
336
325
|
|
|
@@ -344,7 +333,7 @@
|
|
|
344
333
|
|
|
345
334
|
|
|
346
335
|
|
|
347
|
-
<p
|
|
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="
|
|
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
|
|
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="
|
|
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
|
|
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="
|
|
550
|
-
|
|
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
|
|
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="
|
|
595
|
-
|
|
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
|
|
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
|
-
<
|
|
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
|
|
714
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
699
715
|
</footer>
|
|
700
716
|
</div>
|
|
701
717
|
</div>
|