@mapgis/webclient-cesium-plugin 17.8.0 → 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 -474
- 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 +92 -41
- 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
|
@@ -71,8 +71,6 @@
|
|
|
71
71
|
|
|
72
72
|
</h2>
|
|
73
73
|
|
|
74
|
-
<div class="class-description"><p>Wind3D</p></div>
|
|
75
|
-
|
|
76
74
|
</header>
|
|
77
75
|
|
|
78
76
|
<article>
|
|
@@ -85,12 +83,12 @@
|
|
|
85
83
|
<div class="nameContainer">
|
|
86
84
|
<h4 class="name" id="Wind3D">
|
|
87
85
|
|
|
88
|
-
new Wind3D<span class="signature">(viewer, data, options)</span>
|
|
86
|
+
new Wind3D<span class="signature">(viewer, data, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
|
|
89
87
|
</h4>
|
|
90
88
|
|
|
91
89
|
|
|
92
90
|
<div class="tag-source">
|
|
93
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
91
|
+
engineExtensions/analysis/wind/Wind3D.js, line 3
|
|
94
92
|
</div>
|
|
95
93
|
|
|
96
94
|
</div>
|
|
@@ -101,7 +99,7 @@
|
|
|
101
99
|
|
|
102
100
|
|
|
103
101
|
<div class="description">
|
|
104
|
-
<p
|
|
102
|
+
<p>三维风场粒子系统。</p>
|
|
105
103
|
</div>
|
|
106
104
|
|
|
107
105
|
|
|
@@ -138,7 +136,7 @@
|
|
|
138
136
|
<td class="type">
|
|
139
137
|
|
|
140
138
|
|
|
141
|
-
<span class="param-type">
|
|
139
|
+
<span class="param-type"><a href="Cesium.Viewer.html">Cesium.Viewer</a></span>
|
|
142
140
|
|
|
143
141
|
|
|
144
142
|
|
|
@@ -148,7 +146,12 @@
|
|
|
148
146
|
|
|
149
147
|
<td class="description last">
|
|
150
148
|
|
|
151
|
-
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<p>视图对象。</p></td>
|
|
152
155
|
</tr>
|
|
153
156
|
|
|
154
157
|
|
|
@@ -171,7 +174,12 @@
|
|
|
171
174
|
|
|
172
175
|
<td class="description last">
|
|
173
176
|
|
|
174
|
-
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<p>由 nc 数据解析得到的风场数据。</p></td>
|
|
175
183
|
</tr>
|
|
176
184
|
|
|
177
185
|
|
|
@@ -194,7 +202,14 @@
|
|
|
194
202
|
|
|
195
203
|
<td class="description last">
|
|
196
204
|
|
|
197
|
-
|
|
205
|
+
|
|
206
|
+
<span class="optional"> 可选</span>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<p>附加粒子配置参数。</p>
|
|
198
213
|
|
|
199
214
|
|
|
200
215
|
<table class="params">
|
|
@@ -234,7 +249,7 @@
|
|
|
234
249
|
|
|
235
250
|
<td class="default">
|
|
236
251
|
|
|
237
|
-
|
|
252
|
+
250000
|
|
238
253
|
|
|
239
254
|
</td>
|
|
240
255
|
|
|
@@ -248,7 +263,7 @@
|
|
|
248
263
|
|
|
249
264
|
|
|
250
265
|
|
|
251
|
-
<p
|
|
266
|
+
<p>最大粒子数。</p></td>
|
|
252
267
|
</tr>
|
|
253
268
|
|
|
254
269
|
|
|
@@ -270,7 +285,7 @@
|
|
|
270
285
|
|
|
271
286
|
<td class="default">
|
|
272
287
|
|
|
273
|
-
0.
|
|
288
|
+
0.95
|
|
274
289
|
|
|
275
290
|
</td>
|
|
276
291
|
|
|
@@ -284,7 +299,7 @@
|
|
|
284
299
|
|
|
285
300
|
|
|
286
301
|
|
|
287
|
-
<p
|
|
302
|
+
<p>拖尾透明度;值越高,轨迹消失越快。</p></td>
|
|
288
303
|
</tr>
|
|
289
304
|
|
|
290
305
|
|
|
@@ -320,7 +335,7 @@
|
|
|
320
335
|
|
|
321
336
|
|
|
322
337
|
|
|
323
|
-
<p
|
|
338
|
+
<p>粒子速度因子。</p></td>
|
|
324
339
|
</tr>
|
|
325
340
|
|
|
326
341
|
|
|
@@ -342,7 +357,7 @@
|
|
|
342
357
|
|
|
343
358
|
<td class="default">
|
|
344
359
|
|
|
345
|
-
|
|
360
|
+
4.0
|
|
346
361
|
|
|
347
362
|
</td>
|
|
348
363
|
|
|
@@ -356,7 +371,41 @@
|
|
|
356
371
|
|
|
357
372
|
|
|
358
373
|
|
|
359
|
-
<p
|
|
374
|
+
<p>粒子线宽。</p></td>
|
|
375
|
+
</tr>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
<tr>
|
|
380
|
+
|
|
381
|
+
<td class="name"><code>colors</code></td>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
<td class="type">
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
<span class="param-type">Array.<Array.<Number>></span>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
</td>
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
<td class="default">
|
|
395
|
+
|
|
396
|
+
</td>
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
<td class="description last">
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
<span class="optional"> 可选</span>
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<p>风速色表数组。</p></td>
|
|
360
409
|
</tr>
|
|
361
410
|
|
|
362
411
|
|
|
@@ -405,27 +454,59 @@
|
|
|
405
454
|
|
|
406
455
|
|
|
407
456
|
|
|
457
|
+
<h5>Returns:</h5>
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
<table class="params">
|
|
462
|
+
<thead>
|
|
463
|
+
<tr>
|
|
464
|
+
|
|
465
|
+
<th>Type</th>
|
|
466
|
+
<th class="last">Description</th>
|
|
467
|
+
</tr>
|
|
468
|
+
</thead>
|
|
469
|
+
<tbody>
|
|
470
|
+
|
|
471
|
+
<tr>
|
|
472
|
+
|
|
473
|
+
<td class="type">
|
|
474
|
+
|
|
475
|
+
Object
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
</td>
|
|
479
|
+
<td class="description last">返回风场粒子系统实例。</td>
|
|
480
|
+
</tr>
|
|
481
|
+
|
|
482
|
+
</tbody>
|
|
483
|
+
</table>
|
|
484
|
+
|
|
485
|
+
|
|
408
486
|
|
|
409
487
|
|
|
410
488
|
<h5>Example</h5>
|
|
411
489
|
|
|
490
|
+
<p class="code-caption"><h7>创建风场对象</h7></p>
|
|
491
|
+
|
|
412
492
|
|
|
413
493
|
|
|
414
494
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
415
495
|
const { Wind3D } = zondy.cesium
|
|
496
|
+
|
|
416
497
|
// ES6引入方式
|
|
417
498
|
import { Wind3D } from "@mapgis/webclient-cesium-plugin"
|
|
418
499
|
|
|
419
500
|
loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
501
|
+
const userInput = {
|
|
502
|
+
particlesNumber,
|
|
503
|
+
fadeOpacity,
|
|
504
|
+
speedFactor,
|
|
505
|
+
lineWidth
|
|
506
|
+
}
|
|
507
|
+
const wind3D = new Wind3D(viewer, data, userInput)
|
|
508
|
+
wind3D.init()
|
|
509
|
+
})</code></pre>
|
|
429
510
|
|
|
430
511
|
|
|
431
512
|
|
|
@@ -641,12 +722,12 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
641
722
|
<div class="nameContainer">
|
|
642
723
|
<h4 class="name" id="addPrimitives">
|
|
643
724
|
|
|
644
|
-
addPrimitives<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
725
|
+
addPrimitives<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{void}</span>
|
|
645
726
|
</h4>
|
|
646
727
|
|
|
647
728
|
|
|
648
729
|
<div class="tag-source">
|
|
649
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
730
|
+
engineExtensions/analysis/wind/Wind3D.js, line 220
|
|
650
731
|
</div>
|
|
651
732
|
|
|
652
733
|
</div>
|
|
@@ -657,8 +738,8 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
657
738
|
|
|
658
739
|
|
|
659
740
|
<div class="description">
|
|
660
|
-
<p
|
|
661
|
-
|
|
741
|
+
<p>将风场粒子系统的渲染命令加入场景渲染列表。
|
|
742
|
+
依次添加计算速度、更新位置、后处理位置、绘制粒子段、绘制拖尾和屏幕显示命令。</p>
|
|
662
743
|
</div>
|
|
663
744
|
|
|
664
745
|
|
|
@@ -721,7 +802,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
721
802
|
|
|
722
803
|
<td class="type">
|
|
723
804
|
|
|
724
|
-
|
|
805
|
+
void
|
|
725
806
|
|
|
726
807
|
|
|
727
808
|
</td>
|
|
@@ -747,7 +828,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
747
828
|
|
|
748
829
|
|
|
749
830
|
<div class="tag-source">
|
|
750
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
831
|
+
engineExtensions/analysis/wind/Wind3D.js, line 385
|
|
751
832
|
</div>
|
|
752
833
|
|
|
753
834
|
</div>
|
|
@@ -758,7 +839,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
758
839
|
|
|
759
840
|
|
|
760
841
|
<div class="description">
|
|
761
|
-
<p
|
|
842
|
+
<p>隐藏风场系统。</p>
|
|
762
843
|
</div>
|
|
763
844
|
|
|
764
845
|
|
|
@@ -818,7 +899,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
818
899
|
|
|
819
900
|
|
|
820
901
|
<div class="tag-source">
|
|
821
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
902
|
+
engineExtensions/analysis/wind/Wind3D.js, line 200
|
|
822
903
|
</div>
|
|
823
904
|
|
|
824
905
|
</div>
|
|
@@ -829,7 +910,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
829
910
|
|
|
830
911
|
|
|
831
912
|
<div class="description">
|
|
832
|
-
<p
|
|
913
|
+
<p>初始化风场系统。</p>
|
|
833
914
|
</div>
|
|
834
915
|
|
|
835
916
|
|
|
@@ -884,12 +965,12 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
884
965
|
<div class="nameContainer">
|
|
885
966
|
<h4 class="name" id="optionsChange">
|
|
886
967
|
|
|
887
|
-
optionsChange<span class="signature">(userInput)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
968
|
+
optionsChange<span class="signature">(userInput)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{void}</span>
|
|
888
969
|
</h4>
|
|
889
970
|
|
|
890
971
|
|
|
891
972
|
<div class="tag-source">
|
|
892
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
973
|
+
engineExtensions/analysis/wind/Wind3D.js, line 370
|
|
893
974
|
</div>
|
|
894
975
|
|
|
895
976
|
</div>
|
|
@@ -947,7 +1028,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
947
1028
|
|
|
948
1029
|
<td class="description last">
|
|
949
1030
|
|
|
950
|
-
|
|
1031
|
+
<p>用户配置参数。</p></td>
|
|
951
1032
|
</tr>
|
|
952
1033
|
|
|
953
1034
|
|
|
@@ -1008,7 +1089,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1008
1089
|
|
|
1009
1090
|
<td class="type">
|
|
1010
1091
|
|
|
1011
|
-
|
|
1092
|
+
void
|
|
1012
1093
|
|
|
1013
1094
|
|
|
1014
1095
|
</td>
|
|
@@ -1029,12 +1110,12 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1029
1110
|
<div class="nameContainer">
|
|
1030
1111
|
<h4 class="name" id="remove">
|
|
1031
1112
|
|
|
1032
|
-
remove<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
1113
|
+
remove<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{void}</span>
|
|
1033
1114
|
</h4>
|
|
1034
1115
|
|
|
1035
1116
|
|
|
1036
1117
|
<div class="tag-source">
|
|
1037
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
1118
|
+
engineExtensions/analysis/wind/Wind3D.js, line 456
|
|
1038
1119
|
</div>
|
|
1039
1120
|
|
|
1040
1121
|
</div>
|
|
@@ -1045,7 +1126,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1045
1126
|
|
|
1046
1127
|
|
|
1047
1128
|
<div class="description">
|
|
1048
|
-
<p
|
|
1129
|
+
<p>从场景中移除风场。</p>
|
|
1049
1130
|
</div>
|
|
1050
1131
|
|
|
1051
1132
|
|
|
@@ -1108,7 +1189,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1108
1189
|
|
|
1109
1190
|
<td class="type">
|
|
1110
1191
|
|
|
1111
|
-
|
|
1192
|
+
void
|
|
1112
1193
|
|
|
1113
1194
|
|
|
1114
1195
|
</td>
|
|
@@ -1134,7 +1215,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1134
1215
|
|
|
1135
1216
|
|
|
1136
1217
|
<div class="tag-source">
|
|
1137
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
1218
|
+
engineExtensions/analysis/wind/Wind3D.js, line 357
|
|
1138
1219
|
</div>
|
|
1139
1220
|
|
|
1140
1221
|
</div>
|
|
@@ -1145,7 +1226,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1145
1226
|
|
|
1146
1227
|
|
|
1147
1228
|
<div class="description">
|
|
1148
|
-
<p
|
|
1229
|
+
<p>移除风场交互监听。</p>
|
|
1149
1230
|
</div>
|
|
1150
1231
|
|
|
1151
1232
|
|
|
@@ -1205,7 +1286,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1205
1286
|
|
|
1206
1287
|
|
|
1207
1288
|
<div class="tag-source">
|
|
1208
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
1289
|
+
engineExtensions/analysis/wind/Wind3D.js, line 347
|
|
1209
1290
|
</div>
|
|
1210
1291
|
|
|
1211
1292
|
</div>
|
|
@@ -1216,10 +1297,8 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1216
1297
|
|
|
1217
1298
|
|
|
1218
1299
|
<div class="description">
|
|
1219
|
-
<p
|
|
1220
|
-
|
|
1221
|
-
在相机移动开始时隐藏风场粒子系统,移动结束时更新视图参数并显示风场粒子系统。
|
|
1222
|
-
在场景渲染前处理窗口大小改变事件,重新调整风场粒子系统的大小并重新添加渲染命令。</p>
|
|
1300
|
+
<p>添加风场交互监听。
|
|
1301
|
+
设置相机移动开始、移动结束、场景渲染前和窗口尺寸变化等监听。</p>
|
|
1223
1302
|
</div>
|
|
1224
1303
|
|
|
1225
1304
|
|
|
@@ -1274,12 +1353,12 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1274
1353
|
<div class="nameContainer">
|
|
1275
1354
|
<h4 class="name" id="updateViewerParameters">
|
|
1276
1355
|
|
|
1277
|
-
updateViewerParameters<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{
|
|
1356
|
+
updateViewerParameters<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{void}</span>
|
|
1278
1357
|
</h4>
|
|
1279
1358
|
|
|
1280
1359
|
|
|
1281
1360
|
<div class="tag-source">
|
|
1282
|
-
engineExtensions/analysis/wind/Wind3D.js, line
|
|
1361
|
+
engineExtensions/analysis/wind/Wind3D.js, line 240
|
|
1283
1362
|
</div>
|
|
1284
1363
|
|
|
1285
1364
|
</div>
|
|
@@ -1290,7 +1369,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1290
1369
|
|
|
1291
1370
|
|
|
1292
1371
|
<div class="description">
|
|
1293
|
-
<p
|
|
1372
|
+
<p>更新视图参数,包括经纬度范围和像素大小。</p>
|
|
1294
1373
|
</div>
|
|
1295
1374
|
|
|
1296
1375
|
|
|
@@ -1353,7 +1432,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1353
1432
|
|
|
1354
1433
|
<td class="type">
|
|
1355
1434
|
|
|
1356
|
-
|
|
1435
|
+
void
|
|
1357
1436
|
|
|
1358
1437
|
|
|
1359
1438
|
</td>
|
|
@@ -1382,7 +1461,7 @@ loadNetCDF('http://127.0.0.1:5500/demo.nc').then((data) => {
|
|
|
1382
1461
|
|
|
1383
1462
|
|
|
1384
1463
|
<footer>
|
|
1385
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
1464
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
|
|
1386
1465
|
</footer>
|
|
1387
1466
|
</div>
|
|
1388
1467
|
</div>
|
|
@@ -71,8 +71,6 @@
|
|
|
71
71
|
|
|
72
72
|
</h2>
|
|
73
73
|
|
|
74
|
-
<div class="class-description"><p>The model for a zoom in control in the navigation control tool bar</p></div>
|
|
75
|
-
|
|
76
74
|
</header>
|
|
77
75
|
|
|
78
76
|
<article>
|
|
@@ -90,7 +88,7 @@
|
|
|
90
88
|
|
|
91
89
|
|
|
92
90
|
<div class="tag-source">
|
|
93
|
-
engineExtensions/widgets/navigation/ZoomNavigationControl.js, line
|
|
91
|
+
engineExtensions/widgets/navigation/ZoomNavigationControl.js, line 4
|
|
94
92
|
</div>
|
|
95
93
|
|
|
96
94
|
</div>
|
|
@@ -100,6 +98,10 @@
|
|
|
100
98
|
<dd>
|
|
101
99
|
|
|
102
100
|
|
|
101
|
+
<div class="description">
|
|
102
|
+
<p>导航工具栏中的缩放控件模型。</p>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
103
105
|
|
|
104
106
|
|
|
105
107
|
|
|
@@ -144,7 +146,7 @@
|
|
|
144
146
|
|
|
145
147
|
<td class="description last">
|
|
146
148
|
|
|
147
|
-
<p
|
|
149
|
+
<p>导航控件运行依赖的 Terria/Cesium 宿主对象。</p></td>
|
|
148
150
|
</tr>
|
|
149
151
|
|
|
150
152
|
|
|
@@ -167,7 +169,7 @@
|
|
|
167
169
|
|
|
168
170
|
<td class="description last">
|
|
169
171
|
|
|
170
|
-
<p>
|
|
172
|
+
<p><code>true</code> 表示放大,<code>false</code> 表示缩小。</p></td>
|
|
171
173
|
</tr>
|
|
172
174
|
|
|
173
175
|
|
|
@@ -212,6 +214,25 @@
|
|
|
212
214
|
|
|
213
215
|
|
|
214
216
|
|
|
217
|
+
<h5>Example</h5>
|
|
218
|
+
|
|
219
|
+
<p class="code-caption"><h7>使用缩放控件</h7></p>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
224
|
+
const { NavigationTool } = zondy.cesium
|
|
225
|
+
|
|
226
|
+
// ES6引入方式
|
|
227
|
+
import { NavigationTool } from "@mapgis/webclient-cesium-plugin"
|
|
228
|
+
|
|
229
|
+
const viewer = new Cesium.Viewer('cesiumContainer')
|
|
230
|
+
viewer.extend(NavigationTool, {
|
|
231
|
+
enableZoomControls: true
|
|
232
|
+
})</code></pre>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
215
236
|
</dd>
|
|
216
237
|
|
|
217
238
|
|
|
@@ -387,7 +408,78 @@ This property is observable.</p>
|
|
|
387
408
|
|
|
388
409
|
|
|
389
410
|
<div class="tag-source">
|
|
390
|
-
engineExtensions/widgets/navigation/ZoomNavigationControl.js, line
|
|
411
|
+
engineExtensions/widgets/navigation/ZoomNavigationControl.js, line 70
|
|
412
|
+
</div>
|
|
413
|
+
|
|
414
|
+
</div>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
</dt>
|
|
418
|
+
<dd>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
<div class="description">
|
|
422
|
+
<p>执行缩放操作。</p>
|
|
423
|
+
</div>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
<dl class="details">
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
</dl>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
</dd>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
<dt>
|
|
474
|
+
<div class="nameContainer">
|
|
475
|
+
<h4 class="name" id="zoom">
|
|
476
|
+
|
|
477
|
+
zoom<span class="signature">(relativeAmount)</span>
|
|
478
|
+
</h4>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
<div class="tag-source">
|
|
482
|
+
engineExtensions/widgets/navigation/ZoomNavigationControl.js, line 79
|
|
391
483
|
</div>
|
|
392
484
|
|
|
393
485
|
</div>
|
|
@@ -398,8 +490,7 @@ This property is observable.</p>
|
|
|
398
490
|
|
|
399
491
|
|
|
400
492
|
<div class="description">
|
|
401
|
-
<p>
|
|
402
|
-
on this control</p>
|
|
493
|
+
<p>按给定比例调整当前视角远近。</p>
|
|
403
494
|
</div>
|
|
404
495
|
|
|
405
496
|
|
|
@@ -408,6 +499,51 @@ on this control</p>
|
|
|
408
499
|
|
|
409
500
|
|
|
410
501
|
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
<table class="params">
|
|
505
|
+
<thead>
|
|
506
|
+
<tr>
|
|
507
|
+
|
|
508
|
+
<th>Name</th>
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
<th>Type</th>
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
<th class="last">Description</th>
|
|
516
|
+
</tr>
|
|
517
|
+
</thead>
|
|
518
|
+
|
|
519
|
+
<tbody>
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
<tr>
|
|
523
|
+
|
|
524
|
+
<td class="name"><code>relativeAmount</code></td>
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
<td class="type">
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
<span class="param-type">Number</span>
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
</td>
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
<td class="description last">
|
|
539
|
+
|
|
540
|
+
<p>相对缩放比例。</p></td>
|
|
541
|
+
</tr>
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
</tbody>
|
|
545
|
+
</table>
|
|
546
|
+
|
|
411
547
|
|
|
412
548
|
|
|
413
549
|
<dl class="details">
|
|
@@ -462,7 +598,7 @@ on this control</p>
|
|
|
462
598
|
|
|
463
599
|
|
|
464
600
|
<footer>
|
|
465
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
601
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:56:00 GMT+0800 (中国标准时间)
|
|
466
602
|
</footer>
|
|
467
603
|
</div>
|
|
468
604
|
</div>
|