@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
|
@@ -99,7 +99,9 @@
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
<div class="description">
|
|
102
|
-
<p
|
|
102
|
+
<p>模型变换工具集。</p>
|
|
103
|
+
<p>该工具封装了模型在局部坐标系与世界坐标系下的旋转、平移、缩放能力,
|
|
104
|
+
并支持通过可视化编辑器直接操作模型姿态。</p>
|
|
103
105
|
</div>
|
|
104
106
|
|
|
105
107
|
|
|
@@ -159,9 +161,7 @@
|
|
|
159
161
|
|
|
160
162
|
|
|
161
163
|
|
|
162
|
-
<p
|
|
163
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
164
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
164
|
+
<p>默认模型对象。</p></td>
|
|
165
165
|
</tr>
|
|
166
166
|
|
|
167
167
|
|
|
@@ -191,9 +191,9 @@
|
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
|
|
194
|
-
<p
|
|
195
|
-
|
|
196
|
-
|
|
194
|
+
<p>模型编辑器修改后的回调函数。
|
|
195
|
+
模型对象为空时,需要在调用具体变换接口时显式指定要变换的模型。
|
|
196
|
+
推荐在调用变换接口时直接指定模型。</p></td>
|
|
197
197
|
</tr>
|
|
198
198
|
|
|
199
199
|
|
|
@@ -257,6 +257,7 @@
|
|
|
257
257
|
|
|
258
258
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
259
259
|
const { ModelTransformTool } = zondy.cesium
|
|
260
|
+
|
|
260
261
|
// ES6引入方式
|
|
261
262
|
import { ModelTransformTool } from "@mapgis/webclient-cesium-plugin"
|
|
262
263
|
|
|
@@ -304,12 +305,12 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
304
305
|
<div class="nameContainer">
|
|
305
306
|
<h4 class="name" id="activeRotationEditor">
|
|
306
307
|
|
|
307
|
-
activeRotationEditor<span class="signature">(options)</span>
|
|
308
|
+
activeRotationEditor<span class="signature">(<span class="optional">options</span>)</span>
|
|
308
309
|
</h4>
|
|
309
310
|
|
|
310
311
|
|
|
311
312
|
<div class="tag-source">
|
|
312
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
313
|
+
engineExtensions/tools/ModelTransformTool.js, line 860
|
|
313
314
|
</div>
|
|
314
315
|
|
|
315
316
|
</div>
|
|
@@ -320,7 +321,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
320
321
|
|
|
321
322
|
|
|
322
323
|
<div class="description">
|
|
323
|
-
<p
|
|
324
|
+
<p>激活可视化旋转编辑器。</p>
|
|
324
325
|
</div>
|
|
325
326
|
|
|
326
327
|
|
|
@@ -341,6 +342,8 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
341
342
|
<th>Type</th>
|
|
342
343
|
|
|
343
344
|
|
|
345
|
+
<th>Default</th>
|
|
346
|
+
|
|
344
347
|
|
|
345
348
|
<th class="last">Description</th>
|
|
346
349
|
</tr>
|
|
@@ -364,10 +367,23 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
364
367
|
</td>
|
|
365
368
|
|
|
366
369
|
|
|
370
|
+
<td class="default">
|
|
371
|
+
|
|
372
|
+
{}
|
|
373
|
+
|
|
374
|
+
</td>
|
|
375
|
+
|
|
367
376
|
|
|
368
377
|
<td class="description last">
|
|
369
378
|
|
|
379
|
+
|
|
380
|
+
<span class="optional"> 可选</span>
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
370
385
|
|
|
386
|
+
<p>编辑参数。</p>
|
|
371
387
|
|
|
372
388
|
|
|
373
389
|
<table class="params">
|
|
@@ -419,10 +435,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
419
435
|
|
|
420
436
|
|
|
421
437
|
|
|
422
|
-
<p
|
|
423
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
424
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
425
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
438
|
+
<p>要控制的模型。</p></td>
|
|
426
439
|
</tr>
|
|
427
440
|
|
|
428
441
|
|
|
@@ -486,7 +499,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
486
499
|
|
|
487
500
|
|
|
488
501
|
<div class="tag-source">
|
|
489
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
502
|
+
engineExtensions/tools/ModelTransformTool.js, line 907
|
|
490
503
|
</div>
|
|
491
504
|
|
|
492
505
|
</div>
|
|
@@ -497,7 +510,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
497
510
|
|
|
498
511
|
|
|
499
512
|
<div class="description">
|
|
500
|
-
<p
|
|
513
|
+
<p>激活可视化缩放编辑器。</p>
|
|
501
514
|
</div>
|
|
502
515
|
|
|
503
516
|
|
|
@@ -559,7 +572,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
559
572
|
|
|
560
573
|
|
|
561
574
|
|
|
562
|
-
<p
|
|
575
|
+
<p>工具参数。</p>
|
|
563
576
|
|
|
564
577
|
|
|
565
578
|
<table class="params">
|
|
@@ -590,7 +603,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
590
603
|
<td class="type">
|
|
591
604
|
|
|
592
605
|
|
|
593
|
-
<span class="param-type">
|
|
606
|
+
<span class="param-type">Boolean</span>
|
|
594
607
|
|
|
595
608
|
|
|
596
609
|
|
|
@@ -613,7 +626,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
613
626
|
|
|
614
627
|
|
|
615
628
|
|
|
616
|
-
<p
|
|
629
|
+
<p>是否启用单轴缩放;<code>true</code> 为单轴缩放,<code>false</code> 为三轴同时缩放。</p></td>
|
|
617
630
|
</tr>
|
|
618
631
|
|
|
619
632
|
|
|
@@ -653,10 +666,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
653
666
|
|
|
654
667
|
|
|
655
668
|
|
|
656
|
-
<p
|
|
657
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
658
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
659
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
669
|
+
<p>要控制的模型。</p></td>
|
|
660
670
|
</tr>
|
|
661
671
|
|
|
662
672
|
|
|
@@ -715,12 +725,12 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
715
725
|
<div class="nameContainer">
|
|
716
726
|
<h4 class="name" id="activeTranslationEditor">
|
|
717
727
|
|
|
718
|
-
activeTranslationEditor<span class="signature">(options)</span>
|
|
728
|
+
activeTranslationEditor<span class="signature">(<span class="optional">options</span>)</span>
|
|
719
729
|
</h4>
|
|
720
730
|
|
|
721
731
|
|
|
722
732
|
<div class="tag-source">
|
|
723
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
733
|
+
engineExtensions/tools/ModelTransformTool.js, line 883
|
|
724
734
|
</div>
|
|
725
735
|
|
|
726
736
|
</div>
|
|
@@ -731,7 +741,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
731
741
|
|
|
732
742
|
|
|
733
743
|
<div class="description">
|
|
734
|
-
<p
|
|
744
|
+
<p>激活可视化平移编辑器。</p>
|
|
735
745
|
</div>
|
|
736
746
|
|
|
737
747
|
|
|
@@ -752,6 +762,8 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
752
762
|
<th>Type</th>
|
|
753
763
|
|
|
754
764
|
|
|
765
|
+
<th>Default</th>
|
|
766
|
+
|
|
755
767
|
|
|
756
768
|
<th class="last">Description</th>
|
|
757
769
|
</tr>
|
|
@@ -775,10 +787,23 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
775
787
|
</td>
|
|
776
788
|
|
|
777
789
|
|
|
790
|
+
<td class="default">
|
|
791
|
+
|
|
792
|
+
{}
|
|
793
|
+
|
|
794
|
+
</td>
|
|
795
|
+
|
|
778
796
|
|
|
779
797
|
<td class="description last">
|
|
780
798
|
|
|
799
|
+
|
|
800
|
+
<span class="optional"> 可选</span>
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
|
|
781
805
|
|
|
806
|
+
<p>编辑参数。</p>
|
|
782
807
|
|
|
783
808
|
|
|
784
809
|
<table class="params">
|
|
@@ -830,10 +855,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
830
855
|
|
|
831
856
|
|
|
832
857
|
|
|
833
|
-
<p
|
|
834
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
835
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
836
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
858
|
+
<p>要控制的模型。</p></td>
|
|
837
859
|
</tr>
|
|
838
860
|
|
|
839
861
|
|
|
@@ -897,7 +919,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
897
919
|
|
|
898
920
|
|
|
899
921
|
<div class="tag-source">
|
|
900
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
922
|
+
engineExtensions/tools/ModelTransformTool.js, line 929
|
|
901
923
|
</div>
|
|
902
924
|
|
|
903
925
|
</div>
|
|
@@ -908,7 +930,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
908
930
|
|
|
909
931
|
|
|
910
932
|
<div class="description">
|
|
911
|
-
<p
|
|
933
|
+
<p>取消激活当前可视化编辑器。</p>
|
|
912
934
|
</div>
|
|
913
935
|
|
|
914
936
|
|
|
@@ -968,7 +990,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
968
990
|
|
|
969
991
|
|
|
970
992
|
<div class="tag-source">
|
|
971
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
993
|
+
engineExtensions/tools/ModelTransformTool.js, line 938
|
|
972
994
|
</div>
|
|
973
995
|
|
|
974
996
|
</div>
|
|
@@ -979,7 +1001,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
979
1001
|
|
|
980
1002
|
|
|
981
1003
|
<div class="description">
|
|
982
|
-
<p
|
|
1004
|
+
<p>销毁工具并释放可视化编辑器。</p>
|
|
983
1005
|
</div>
|
|
984
1006
|
|
|
985
1007
|
|
|
@@ -1034,12 +1056,12 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1034
1056
|
<div class="nameContainer">
|
|
1035
1057
|
<h4 class="name" id="getEulerFromTransform">
|
|
1036
1058
|
|
|
1037
|
-
getEulerFromTransform<span class="signature">(transformInLocal, <span class="optional">model</span>, <span class="optional">rotationPoint</span>)</span>
|
|
1059
|
+
getEulerFromTransform<span class="signature">(transformInLocal, <span class="optional">model</span>, <span class="optional">rotationPoint</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object|undefined}</span>
|
|
1038
1060
|
</h4>
|
|
1039
1061
|
|
|
1040
1062
|
|
|
1041
1063
|
<div class="tag-source">
|
|
1042
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
1064
|
+
engineExtensions/tools/ModelTransformTool.js, line 394
|
|
1043
1065
|
</div>
|
|
1044
1066
|
|
|
1045
1067
|
</div>
|
|
@@ -1050,7 +1072,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1050
1072
|
|
|
1051
1073
|
|
|
1052
1074
|
<div class="description">
|
|
1053
|
-
<p
|
|
1075
|
+
<p>根据模型的本地变换矩阵计算欧拉角。</p>
|
|
1054
1076
|
</div>
|
|
1055
1077
|
|
|
1056
1078
|
|
|
@@ -1102,7 +1124,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1102
1124
|
|
|
1103
1125
|
|
|
1104
1126
|
|
|
1105
|
-
|
|
1127
|
+
<p>模型本地变换矩阵。</p></td>
|
|
1106
1128
|
</tr>
|
|
1107
1129
|
|
|
1108
1130
|
|
|
@@ -1138,10 +1160,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1138
1160
|
|
|
1139
1161
|
|
|
1140
1162
|
|
|
1141
|
-
<p
|
|
1142
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
1143
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
1144
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
1163
|
+
<p>模型对象。</p></td>
|
|
1145
1164
|
</tr>
|
|
1146
1165
|
|
|
1147
1166
|
|
|
@@ -1171,7 +1190,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1171
1190
|
|
|
1172
1191
|
|
|
1173
1192
|
|
|
1174
|
-
<p
|
|
1193
|
+
<p>旋转中心;缺省时默认为模型外包球中心。</p></td>
|
|
1175
1194
|
</tr>
|
|
1176
1195
|
|
|
1177
1196
|
|
|
@@ -1214,6 +1233,38 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1214
1233
|
|
|
1215
1234
|
|
|
1216
1235
|
|
|
1236
|
+
<h5>Returns:</h5>
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
<table class="params">
|
|
1241
|
+
<thead>
|
|
1242
|
+
<tr>
|
|
1243
|
+
|
|
1244
|
+
<th>Type</th>
|
|
1245
|
+
<th class="last">Description</th>
|
|
1246
|
+
</tr>
|
|
1247
|
+
</thead>
|
|
1248
|
+
<tbody>
|
|
1249
|
+
|
|
1250
|
+
<tr>
|
|
1251
|
+
|
|
1252
|
+
<td class="type">
|
|
1253
|
+
|
|
1254
|
+
Object
|
|
1255
|
+
|
|
|
1256
|
+
|
|
1257
|
+
undefined
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
</td>
|
|
1261
|
+
<td class="description last">欧拉角结果。</td>
|
|
1262
|
+
</tr>
|
|
1263
|
+
|
|
1264
|
+
</tbody>
|
|
1265
|
+
</table>
|
|
1266
|
+
|
|
1267
|
+
|
|
1217
1268
|
|
|
1218
1269
|
|
|
1219
1270
|
</dd>
|
|
@@ -1224,12 +1275,12 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1224
1275
|
<div class="nameContainer">
|
|
1225
1276
|
<h4 class="name" id="initModelEditor">
|
|
1226
1277
|
|
|
1227
|
-
initModelEditor<span class="signature">(viewer)</span>
|
|
1278
|
+
initModelEditor<span class="signature">(viewer, <span class="optional">model</span>)</span>
|
|
1228
1279
|
</h4>
|
|
1229
1280
|
|
|
1230
1281
|
|
|
1231
1282
|
<div class="tag-source">
|
|
1232
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
1283
|
+
engineExtensions/tools/ModelTransformTool.js, line 743
|
|
1233
1284
|
</div>
|
|
1234
1285
|
|
|
1235
1286
|
</div>
|
|
@@ -1240,7 +1291,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1240
1291
|
|
|
1241
1292
|
|
|
1242
1293
|
<div class="description">
|
|
1243
|
-
<p
|
|
1294
|
+
<p>初始化可视化模型变换编辑器。</p>
|
|
1244
1295
|
</div>
|
|
1245
1296
|
|
|
1246
1297
|
|
|
@@ -1287,7 +1338,48 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1287
1338
|
|
|
1288
1339
|
<td class="description last">
|
|
1289
1340
|
|
|
1290
|
-
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
<p>Cesium 视图对象。</p></td>
|
|
1347
|
+
</tr>
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
<tr>
|
|
1352
|
+
|
|
1353
|
+
<td class="name"><code>model</code></td>
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
<td class="type">
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
<span class="param-type">Cesium.MapGISM3DSet</span>
|
|
1360
|
+
|
|
|
1361
|
+
|
|
1362
|
+
<span class="param-type">Cesium.MapGISM3D</span>
|
|
1363
|
+
|
|
|
1364
|
+
|
|
1365
|
+
<span class="param-type">Cesium.Cesium3DTileset</span>
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
</td>
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
<td class="description last">
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
<span class="optional"> 可选</span>
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
<p>要编辑的模型。</p></td>
|
|
1291
1383
|
</tr>
|
|
1292
1384
|
|
|
1293
1385
|
|
|
@@ -1345,7 +1437,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1345
1437
|
|
|
1346
1438
|
|
|
1347
1439
|
<div class="tag-source">
|
|
1348
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
1440
|
+
engineExtensions/tools/ModelTransformTool.js, line 956
|
|
1349
1441
|
</div>
|
|
1350
1442
|
|
|
1351
1443
|
</div>
|
|
@@ -1356,7 +1448,8 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1356
1448
|
|
|
1357
1449
|
|
|
1358
1450
|
<div class="description">
|
|
1359
|
-
<p
|
|
1451
|
+
<p>重置模型到初始状态。</p>
|
|
1452
|
+
<p>该方法只会重置通过构造函数传入的模型。</p>
|
|
1360
1453
|
</div>
|
|
1361
1454
|
|
|
1362
1455
|
|
|
@@ -1416,7 +1509,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1416
1509
|
|
|
1417
1510
|
|
|
1418
1511
|
<div class="tag-source">
|
|
1419
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
1512
|
+
engineExtensions/tools/ModelTransformTool.js, line 322
|
|
1420
1513
|
</div>
|
|
1421
1514
|
|
|
1422
1515
|
</div>
|
|
@@ -1427,7 +1520,8 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1427
1520
|
|
|
1428
1521
|
|
|
1429
1522
|
<div class="description">
|
|
1430
|
-
<p
|
|
1523
|
+
<p>控制模型在本地空间下做旋转变换。</p>
|
|
1524
|
+
<p>该方法支持围绕指定旋转中心旋转模型。</p>
|
|
1431
1525
|
</div>
|
|
1432
1526
|
|
|
1433
1527
|
|
|
@@ -1474,7 +1568,7 @@ Cesium3DTilesCacheLayer.on('layerview-created', function (result) {
|
|
|
1474
1568
|
|
|
1475
1569
|
<td class="description last">
|
|
1476
1570
|
|
|
1477
|
-
|
|
1571
|
+
<p>旋转参数。</p>
|
|
1478
1572
|
|
|
1479
1573
|
|
|
1480
1574
|
<table class="params">
|
|
@@ -1561,10 +1655,7 @@ HeadingPitchRoll类型为弧度制,Cartesian3类型为角度制。</p></td>
|
|
|
1561
1655
|
|
|
1562
1656
|
|
|
1563
1657
|
<p>要被旋转的模型;
|
|
1564
|
-
置空时将从构造函数的layer中取M3D
|
|
1565
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
1566
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
1567
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
1658
|
+
置空时将从构造函数的layer中取M3D模型。不推荐置空。</p></td>
|
|
1568
1659
|
</tr>
|
|
1569
1660
|
|
|
1570
1661
|
|
|
@@ -1684,7 +1775,7 @@ modelTransformTool.rotateLocal({
|
|
|
1684
1775
|
|
|
1685
1776
|
|
|
1686
1777
|
<div class="tag-source">
|
|
1687
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
1778
|
+
engineExtensions/tools/ModelTransformTool.js, line 733
|
|
1688
1779
|
</div>
|
|
1689
1780
|
|
|
1690
1781
|
</div>
|
|
@@ -1695,7 +1786,8 @@ modelTransformTool.rotateLocal({
|
|
|
1695
1786
|
|
|
1696
1787
|
|
|
1697
1788
|
<div class="description">
|
|
1698
|
-
<p
|
|
1789
|
+
<p>设置模型局部缩放。</p>
|
|
1790
|
+
<p>该方法计划废弃,请使用 <code>setLocalScale</code>。</p>
|
|
1699
1791
|
</div>
|
|
1700
1792
|
|
|
1701
1793
|
|
|
@@ -1742,7 +1834,7 @@ modelTransformTool.rotateLocal({
|
|
|
1742
1834
|
|
|
1743
1835
|
<td class="description last">
|
|
1744
1836
|
|
|
1745
|
-
|
|
1837
|
+
<p>缩放参数。</p>
|
|
1746
1838
|
|
|
1747
1839
|
|
|
1748
1840
|
<table class="params">
|
|
@@ -1788,7 +1880,7 @@ modelTransformTool.rotateLocal({
|
|
|
1788
1880
|
|
|
1789
1881
|
|
|
1790
1882
|
|
|
1791
|
-
<p
|
|
1883
|
+
<p>缩放矢量。</p></td>
|
|
1792
1884
|
</tr>
|
|
1793
1885
|
|
|
1794
1886
|
|
|
@@ -1825,10 +1917,7 @@ modelTransformTool.rotateLocal({
|
|
|
1825
1917
|
|
|
1826
1918
|
|
|
1827
1919
|
<p>要被平移的模型,
|
|
1828
|
-
置空时将从构造函数的layer中取M3D
|
|
1829
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
1830
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
1831
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
1920
|
+
置空时将从构造函数的layer中取M3D模型。不推荐置空。</p></td>
|
|
1832
1921
|
</tr>
|
|
1833
1922
|
|
|
1834
1923
|
|
|
@@ -1906,7 +1995,7 @@ modelTransformTool.setLocalScala({
|
|
|
1906
1995
|
|
|
1907
1996
|
|
|
1908
1997
|
<div class="tag-source">
|
|
1909
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
1998
|
+
engineExtensions/tools/ModelTransformTool.js, line 694
|
|
1910
1999
|
</div>
|
|
1911
2000
|
|
|
1912
2001
|
</div>
|
|
@@ -1917,7 +2006,8 @@ modelTransformTool.setLocalScala({
|
|
|
1917
2006
|
|
|
1918
2007
|
|
|
1919
2008
|
<div class="description">
|
|
1920
|
-
<p
|
|
2009
|
+
<p>设置模型局部缩放。</p>
|
|
2010
|
+
<p>缩放中心点为模型局部坐标系原点。</p>
|
|
1921
2011
|
</div>
|
|
1922
2012
|
|
|
1923
2013
|
|
|
@@ -1964,7 +2054,7 @@ modelTransformTool.setLocalScala({
|
|
|
1964
2054
|
|
|
1965
2055
|
<td class="description last">
|
|
1966
2056
|
|
|
1967
|
-
|
|
2057
|
+
<p>缩放参数。</p>
|
|
1968
2058
|
|
|
1969
2059
|
|
|
1970
2060
|
<table class="params">
|
|
@@ -2010,7 +2100,7 @@ modelTransformTool.setLocalScala({
|
|
|
2010
2100
|
|
|
2011
2101
|
|
|
2012
2102
|
|
|
2013
|
-
<p
|
|
2103
|
+
<p>缩放矢量。</p></td>
|
|
2014
2104
|
</tr>
|
|
2015
2105
|
|
|
2016
2106
|
|
|
@@ -2047,10 +2137,7 @@ modelTransformTool.setLocalScala({
|
|
|
2047
2137
|
|
|
2048
2138
|
|
|
2049
2139
|
<p>要被平移的模型,
|
|
2050
|
-
置空时将从构造函数的layer中取M3D
|
|
2051
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
2052
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
2053
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
2140
|
+
置空时将从构造函数的layer中取M3D模型。不推荐置空。</p></td>
|
|
2054
2141
|
</tr>
|
|
2055
2142
|
|
|
2056
2143
|
|
|
@@ -2128,7 +2215,7 @@ modelTransformTool.setLocalScale({
|
|
|
2128
2215
|
|
|
2129
2216
|
|
|
2130
2217
|
<div class="tag-source">
|
|
2131
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
2218
|
+
engineExtensions/tools/ModelTransformTool.js, line 479
|
|
2132
2219
|
</div>
|
|
2133
2220
|
|
|
2134
2221
|
</div>
|
|
@@ -2139,7 +2226,8 @@ modelTransformTool.setLocalScale({
|
|
|
2139
2226
|
|
|
2140
2227
|
|
|
2141
2228
|
<div class="description">
|
|
2142
|
-
<p
|
|
2229
|
+
<p>设置模型在笛卡尔世界坐标系下的位置。</p>
|
|
2230
|
+
<p>该方法会将模型外包球中心平移到指定位置。</p>
|
|
2143
2231
|
</div>
|
|
2144
2232
|
|
|
2145
2233
|
|
|
@@ -2186,7 +2274,7 @@ modelTransformTool.setLocalScale({
|
|
|
2186
2274
|
|
|
2187
2275
|
<td class="description last">
|
|
2188
2276
|
|
|
2189
|
-
|
|
2277
|
+
<p>位置参数。</p>
|
|
2190
2278
|
|
|
2191
2279
|
|
|
2192
2280
|
<table class="params">
|
|
@@ -2232,7 +2320,7 @@ modelTransformTool.setLocalScale({
|
|
|
2232
2320
|
|
|
2233
2321
|
|
|
2234
2322
|
|
|
2235
|
-
<p
|
|
2323
|
+
<p>目标位置,笛卡尔坐标系。</p></td>
|
|
2236
2324
|
</tr>
|
|
2237
2325
|
|
|
2238
2326
|
|
|
@@ -2269,10 +2357,7 @@ modelTransformTool.setLocalScale({
|
|
|
2269
2357
|
|
|
2270
2358
|
|
|
2271
2359
|
<p>要被设置的模型,
|
|
2272
|
-
置空时将从构造函数的layer中取M3D
|
|
2273
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
2274
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
2275
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
2360
|
+
置空时将从构造函数的layer中取M3D模型。不推荐置空。</p></td>
|
|
2276
2361
|
</tr>
|
|
2277
2362
|
|
|
2278
2363
|
|
|
@@ -2350,7 +2435,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2350
2435
|
|
|
2351
2436
|
|
|
2352
2437
|
<div class="tag-source">
|
|
2353
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
2438
|
+
engineExtensions/tools/ModelTransformTool.js, line 165
|
|
2354
2439
|
</div>
|
|
2355
2440
|
|
|
2356
2441
|
</div>
|
|
@@ -2361,7 +2446,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2361
2446
|
|
|
2362
2447
|
|
|
2363
2448
|
<div class="description">
|
|
2364
|
-
<p
|
|
2449
|
+
<p>绕模型包围球中心旋转模型。</p>
|
|
2365
2450
|
</div>
|
|
2366
2451
|
|
|
2367
2452
|
|
|
@@ -2423,7 +2508,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2423
2508
|
|
|
2424
2509
|
|
|
2425
2510
|
|
|
2426
|
-
<p
|
|
2511
|
+
<p>旋转角度,单位为度。</p></td>
|
|
2427
2512
|
</tr>
|
|
2428
2513
|
|
|
2429
2514
|
|
|
@@ -2459,7 +2544,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2459
2544
|
|
|
2460
2545
|
|
|
2461
2546
|
|
|
2462
|
-
<p
|
|
2547
|
+
<p>旋转轴,可选值为 <code>X</code>、<code>Y</code>、<code>Z</code>。</p></td>
|
|
2463
2548
|
</tr>
|
|
2464
2549
|
|
|
2465
2550
|
|
|
@@ -2517,7 +2602,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2517
2602
|
|
|
2518
2603
|
|
|
2519
2604
|
<div class="tag-source">
|
|
2520
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
2605
|
+
engineExtensions/tools/ModelTransformTool.js, line 672
|
|
2521
2606
|
</div>
|
|
2522
2607
|
|
|
2523
2608
|
</div>
|
|
@@ -2528,7 +2613,8 @@ modelTransformTool.setPositionWorld({
|
|
|
2528
2613
|
|
|
2529
2614
|
|
|
2530
2615
|
<div class="description">
|
|
2531
|
-
<p
|
|
2616
|
+
<p>缩放模型。</p>
|
|
2617
|
+
<p>该方法计划废弃,请使用 <code>setScale</code> 或 <code>setLocalScale</code>。</p>
|
|
2532
2618
|
</div>
|
|
2533
2619
|
|
|
2534
2620
|
|
|
@@ -2590,7 +2676,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2590
2676
|
|
|
2591
2677
|
|
|
2592
2678
|
|
|
2593
|
-
<p>
|
|
2679
|
+
<p>X 轴放大倍数。</p></td>
|
|
2594
2680
|
</tr>
|
|
2595
2681
|
|
|
2596
2682
|
|
|
@@ -2626,7 +2712,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2626
2712
|
|
|
2627
2713
|
|
|
2628
2714
|
|
|
2629
|
-
<p>
|
|
2715
|
+
<p>Y 轴放大倍数。</p></td>
|
|
2630
2716
|
</tr>
|
|
2631
2717
|
|
|
2632
2718
|
|
|
@@ -2662,7 +2748,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2662
2748
|
|
|
2663
2749
|
|
|
2664
2750
|
|
|
2665
|
-
<p>
|
|
2751
|
+
<p>Z 轴放大倍数。</p></td>
|
|
2666
2752
|
</tr>
|
|
2667
2753
|
|
|
2668
2754
|
|
|
@@ -2679,7 +2765,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2679
2765
|
|
|
2680
2766
|
|
|
2681
2767
|
|
|
2682
|
-
<dt class="important tag-deprecated">Deprecated</dt><dd><ul class="dummy"><li
|
|
2768
|
+
<dt class="important tag-deprecated">Deprecated</dt><dd><ul class="dummy"><li>请使用 <a href="ModelTransformTool.html#setLocalScale"><code>ModelTransformTool#setLocalScale</code></a>。</li><ul></dd>
|
|
2683
2769
|
|
|
2684
2770
|
|
|
2685
2771
|
|
|
@@ -2722,7 +2808,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2722
2808
|
|
|
2723
2809
|
|
|
2724
2810
|
<div class="tag-source">
|
|
2725
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
2811
|
+
engineExtensions/tools/ModelTransformTool.js, line 628
|
|
2726
2812
|
</div>
|
|
2727
2813
|
|
|
2728
2814
|
</div>
|
|
@@ -2733,7 +2819,8 @@ modelTransformTool.setPositionWorld({
|
|
|
2733
2819
|
|
|
2734
2820
|
|
|
2735
2821
|
<div class="description">
|
|
2736
|
-
<p
|
|
2822
|
+
<p>缩放模型。</p>
|
|
2823
|
+
<p>缩放中心点为模型局部坐标系原点。</p>
|
|
2737
2824
|
</div>
|
|
2738
2825
|
|
|
2739
2826
|
|
|
@@ -2795,7 +2882,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2795
2882
|
|
|
2796
2883
|
|
|
2797
2884
|
|
|
2798
|
-
<p>
|
|
2885
|
+
<p>X 轴放大倍数。</p></td>
|
|
2799
2886
|
</tr>
|
|
2800
2887
|
|
|
2801
2888
|
|
|
@@ -2831,7 +2918,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2831
2918
|
|
|
2832
2919
|
|
|
2833
2920
|
|
|
2834
|
-
<p>
|
|
2921
|
+
<p>Y 轴放大倍数。</p></td>
|
|
2835
2922
|
</tr>
|
|
2836
2923
|
|
|
2837
2924
|
|
|
@@ -2867,7 +2954,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2867
2954
|
|
|
2868
2955
|
|
|
2869
2956
|
|
|
2870
|
-
<p>
|
|
2957
|
+
<p>Z 轴放大倍数。</p></td>
|
|
2871
2958
|
</tr>
|
|
2872
2959
|
|
|
2873
2960
|
|
|
@@ -2884,7 +2971,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2884
2971
|
|
|
2885
2972
|
|
|
2886
2973
|
|
|
2887
|
-
<dt class="important tag-deprecated">Deprecated</dt><dd><ul class="dummy"><li
|
|
2974
|
+
<dt class="important tag-deprecated">Deprecated</dt><dd><ul class="dummy"><li>请使用 <a href="ModelTransformTool.html#setLocalScale"><code>ModelTransformTool#setLocalScale</code></a>。</li><ul></dd>
|
|
2888
2975
|
|
|
2889
2976
|
|
|
2890
2977
|
|
|
@@ -2927,7 +3014,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2927
3014
|
|
|
2928
3015
|
|
|
2929
3016
|
<div class="tag-source">
|
|
2930
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
3017
|
+
engineExtensions/tools/ModelTransformTool.js, line 238
|
|
2931
3018
|
</div>
|
|
2932
3019
|
|
|
2933
3020
|
</div>
|
|
@@ -2938,7 +3025,7 @@ modelTransformTool.setPositionWorld({
|
|
|
2938
3025
|
|
|
2939
3026
|
|
|
2940
3027
|
<div class="description">
|
|
2941
|
-
<p
|
|
3028
|
+
<p>将模型局部坐标系原点平移到指定经纬高位置。</p>
|
|
2942
3029
|
</div>
|
|
2943
3030
|
|
|
2944
3031
|
|
|
@@ -3000,7 +3087,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3000
3087
|
|
|
3001
3088
|
|
|
3002
3089
|
|
|
3003
|
-
<p
|
|
3090
|
+
<p>经度。</p></td>
|
|
3004
3091
|
</tr>
|
|
3005
3092
|
|
|
3006
3093
|
|
|
@@ -3036,7 +3123,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3036
3123
|
|
|
3037
3124
|
|
|
3038
3125
|
|
|
3039
|
-
<p
|
|
3126
|
+
<p>纬度。</p></td>
|
|
3040
3127
|
</tr>
|
|
3041
3128
|
|
|
3042
3129
|
|
|
@@ -3072,7 +3159,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3072
3159
|
|
|
3073
3160
|
|
|
3074
3161
|
|
|
3075
|
-
<p
|
|
3162
|
+
<p>高度。</p></td>
|
|
3076
3163
|
</tr>
|
|
3077
3164
|
|
|
3078
3165
|
|
|
@@ -3130,7 +3217,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3130
3217
|
|
|
3131
3218
|
|
|
3132
3219
|
<div class="tag-source">
|
|
3133
|
-
engineExtensions/tools/ModelTransformTool.js, line
|
|
3220
|
+
engineExtensions/tools/ModelTransformTool.js, line 528
|
|
3134
3221
|
</div>
|
|
3135
3222
|
|
|
3136
3223
|
</div>
|
|
@@ -3141,7 +3228,8 @@ modelTransformTool.setPositionWorld({
|
|
|
3141
3228
|
|
|
3142
3229
|
|
|
3143
3230
|
<div class="description">
|
|
3144
|
-
<p
|
|
3231
|
+
<p>在笛卡尔世界坐标系下平移模型。</p>
|
|
3232
|
+
<p>该方法会将模型从当前位置按给定笛卡尔向量平移。</p>
|
|
3145
3233
|
</div>
|
|
3146
3234
|
|
|
3147
3235
|
|
|
@@ -3188,7 +3276,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3188
3276
|
|
|
3189
3277
|
<td class="description last">
|
|
3190
3278
|
|
|
3191
|
-
|
|
3279
|
+
<p>平移参数。</p>
|
|
3192
3280
|
|
|
3193
3281
|
|
|
3194
3282
|
<table class="params">
|
|
@@ -3234,7 +3322,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3234
3322
|
|
|
3235
3323
|
|
|
3236
3324
|
|
|
3237
|
-
<p
|
|
3325
|
+
<p>平移矢量,笛卡尔坐标系。</p></td>
|
|
3238
3326
|
</tr>
|
|
3239
3327
|
|
|
3240
3328
|
|
|
@@ -3271,10 +3359,7 @@ modelTransformTool.setPositionWorld({
|
|
|
3271
3359
|
|
|
3272
3360
|
|
|
3273
3361
|
<p>要被平移的模型,
|
|
3274
|
-
置空时将从构造函数的layer中取M3D
|
|
3275
|
-
详见<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3DSet.html' target='_blank'>《Cesium.MapGISM3DSet》</a>
|
|
3276
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/MapGISM3D.html' target='_blank'>《Cesium.MapGISM3D》</a>
|
|
3277
|
-
<a href='http://10.10.130.72:8086/static/modules/cesium/api/cesium/Cesium3DTileset.html' target='_blank'>《Cesium.Cesium3DTileset》</a></p></td>
|
|
3362
|
+
置空时将从构造函数的layer中取M3D模型。不推荐置空。</p></td>
|
|
3278
3363
|
</tr>
|
|
3279
3364
|
|
|
3280
3365
|
|
|
@@ -3355,7 +3440,7 @@ modelTransformTool.translateWorld({
|
|
|
3355
3440
|
|
|
3356
3441
|
|
|
3357
3442
|
<footer>
|
|
3358
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on
|
|
3443
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Sat Sep 12 2026 11:55:59 GMT+0800 (中国标准时间)
|
|
3359
3444
|
</footer>
|
|
3360
3445
|
</div>
|
|
3361
3446
|
</div>
|