@metagl/sdk-plotting 0.0.1 → 0.0.3
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 +267 -86
- package/lacdt.plotting.d.ts +30265 -0
- package/lacdt.plotting.js +474 -0
- package/package.json +14 -12
- package/resources/image/Height.png +0 -0
- package/resources/image/JPlace/capital.png +0 -0
- package/resources/image/JPlace/chengzhen.png +0 -0
- package/resources/image/JPlace/shenghui.png +0 -0
- package/resources/image/Move.png +0 -0
- package/resources/image/Scale.png +0 -0
- package/resources/image/arrow-down.png +0 -0
- package/resources/image/arrow-left.png +0 -0
- package/resources/image/arrow-right.png +0 -0
- package/resources/image/arrow-up.png +0 -0
- package/resources/image/arrow.png +0 -0
- package/resources/image/cm_gray.png +0 -0
- package/resources/image/cm_viridis.png +0 -0
- package/resources/image/excavate_bottom_min.jpg +0 -0
- package/resources/image/excavate_side_min.jpg +0 -0
- package/resources/image/eye.png +0 -0
- package/resources/image/facility.gif +0 -0
- package/resources/image/fire.png +0 -0
- package/resources/image/fountain2.png +0 -0
- package/resources/image/globe.jpg +0 -0
- package/resources/image/gpoint.svg +1 -0
- package/resources/image/redflag.png +0 -0
- package/resources/image/smoke.png +0 -0
- package/resources/image/tuodong.png +0 -0
- package/resources/image//346/227/213/350/275/254.png +0 -0
- package/resources/images/circular_particle.png +0 -0
- package/resources/images/cloud.png +0 -0
- package/resources/images/dash.png +0 -0
- package/resources/images/daylight/Daylight_Box_Back.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Bottom.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Front.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Left.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Right.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Top.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_mx.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_my.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_mz.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_px.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_py.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_pz.jpg +0 -0
- package/resources/images/earthclouds1k.jpg +0 -0
- package/resources/images/earthclouds1k.png +0 -0
- package/resources/images/night_1-2k.jpg +0 -0
- package/resources/images/scan.png +0 -0
- package/resources/images/smoke.png +0 -0
- package/resources/images/specialLine/ArrowOpacity.png +0 -0
- package/resources/images/specialLine/ArrowTransparent.png +0 -0
- package/resources/images/specialLine/DataTransLine.png +0 -0
- package/resources/images/specialLine/DotTransparent.png +0 -0
- package/resources/images/specialLine/LinkPulse.png +0 -0
- package/resources/images/specialLine/LinkTrail.png +0 -0
- package/resources/images/specialLine/Trail.png +0 -0
- package/resources/images/specialLine/Trail1.png +0 -0
- package/resources/images/specialLine/alpha.png +0 -0
- package/resources/images/starmap/starmap_2020_16k_mx.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_my.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_mz.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_px.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_py.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_pz.webp +0 -0
- package/resources/images/wx.png +0 -0
- package/resources/images/wx2.jpg +0 -0
- package/resources/readme.txt +1 -0
- package/resources/textures/grey.png +0 -0
- package/resources/textures/mesh.png +0 -0
- package/resources/textures/waterNormalsSmall.jpg +0 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.js +3519 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.min.js +8 -0
- package/resources/thirdParty/wangEditor/colorpicker.js +481 -0
- package/resources/thirdParty/wangEditor/wangEditor.js +50897 -0
- package/resources/thirdParty/wangEditor/wangeditor.css +945 -0
- package/resources/water/sea 50_1.json.json +578 -0
- package/resources/workers/satellite.worker.js +3175 -0
- package/types/Common/ArrayHelper.d.ts +8 -0
- package/types/Common/Guid.d.ts +4 -0
- package/types/Common/KeyValue.d.ts +5 -0
- package/types/Core/Common/Cesium/Core/xz_Color.d.ts +1545 -0
- package/types/Core/Common/Cesium/Core/xz_measureSize.d.ts +4 -0
- package/types/Core/Common/Cesium/Core/xz_writeTextToCanvas.d.ts +27 -0
- package/types/Core/Common/Cesium/ThirdParty/xz_measureText.d.ts +30 -0
- package/types/Core/Event.d.ts +72 -0
- package/types/Core/GvolLayer.d.ts +39 -0
- package/types/Core/GvolPoint.d.ts +206 -0
- package/types/Core/Music.d.ts +18 -0
- package/types/Core/Register.d.ts +36 -0
- package/types/Core/index.d.ts +46 -0
- package/types/Core/property-item-meta.d.ts +36 -0
- package/types/FixCesium/index.d.ts +0 -0
- package/types/Global/array.d.ts +21 -0
- package/types/Global/global.d.ts +9 -0
- package/types/Global/link.d.ts +32 -0
- package/types/Global/linq.d.ts +15 -0
- package/types/Global/math.d.ts +7 -0
- package/types/Global/number.d.ts +15 -0
- package/types/Global/object.d.ts +7 -0
- package/types/Global/regex.d.ts +6 -0
- package/types/Global/static.d.ts +6 -0
- package/types/Global/string.d.ts +14 -0
- package/types/LayerManager/DynamicLayer/DynamicLayer.d.ts +294 -0
- package/types/LayerManager/GpLayer/GpLayer.d.ts +56 -0
- package/types/LayerManager/GraphicLayer/GraphicLayer.d.ts +209 -0
- package/types/LayerManager/ImageLayer/BaiduImageryProvider.d.ts +33 -0
- package/types/LayerManager/LayerManager.d.ts +59 -0
- package/types/LayerManager/LayerTools.d.ts +3 -0
- package/types/LayerManager/MapBox/CesiumInstance.d.ts +78 -0
- package/types/LayerManager/MapBox/CesiumLayer.d.ts +54 -0
- package/types/LayerManager/MapBox/CesiumLayerOptions.d.ts +34 -0
- package/types/LayerManager/MapBox/MVTImageryProvider/mapboxVectorRender.d.ts +44 -0
- package/types/LayerManager/MapBox/MapboxPlaceName.d.ts +30 -0
- package/types/LayerManager/MapBox/index.d.ts +25 -0
- package/types/LayerManager/MapBox/shaders/colorscales.d.ts +123 -0
- package/types/LayerManager/MapBox/shaders/raster_frag.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_rpg_frag.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_rpg_vert.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_vert.d.ts +2 -0
- package/types/LayerManager/MapBox/utils.d.ts +13 -0
- package/types/LayerManager/PlotLayer/PlotLayer.d.ts +77 -0
- package/types/LayerManager/SateLayer/Satellite.d.ts +98 -0
- package/types/LayerManager/SateLayer/SatelliteLayer.d.ts +46 -0
- package/types/LayerManager/SateLayer/SpaceDebris.d.ts +23 -0
- package/types/LayerManager/SateLayer/SpaceDebrisLayer.d.ts +40 -0
- package/types/LayerManager/TileLayer/TileLayer.d.ts +27 -0
- package/types/LayerManager/TileLayer/WMTSVectorProvider.d.ts +14 -0
- package/types/LayerManager/index.d.ts +21 -0
- package/types/Models/AnimationConfig.d.ts +29 -0
- package/types/Models/AnimationItem.d.ts +14 -0
- package/types/Models/FileNode.d.ts +24 -0
- package/types/Models/GeojsonPlotModel.d.ts +19 -0
- package/types/Models/GeojsonStyleBase.d.ts +104 -0
- package/types/Models/PlotItem.d.ts +17 -0
- package/types/Models/all.d.ts +268 -0
- package/types/PlottingTool/AnchorHelper.d.ts +50 -0
- package/types/PlottingTool/Animation/AnimationBase.d.ts +61 -0
- package/types/PlottingTool/Animation/AnimationGroup.d.ts +46 -0
- package/types/PlottingTool/Animation/AnimationManager.d.ts +72 -0
- package/types/PlottingTool/Animation/AnimationStartState.d.ts +5 -0
- package/types/PlottingTool/Animation/AnimationState.d.ts +5 -0
- package/types/PlottingTool/Animation/CalcTool.d.ts +6 -0
- package/types/PlottingTool/Animation/CssItems/AudioAnimation.d.ts +14 -0
- package/types/PlottingTool/Animation/CssItems/CssAnimationBase.d.ts +15 -0
- package/types/PlottingTool/Animation/CssItems/CssHideAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/CssMaskAnimation.d.ts +18 -0
- package/types/PlottingTool/Animation/CssItems/CssMoveHorizonAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/CssItems/CssMoveVerticalAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/CssItems/CssNumberAnimation.d.ts +4 -0
- package/types/PlottingTool/Animation/CssItems/CssPropChangeAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/CssItems/CssShowAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/CssShowDisplayAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/CssItems/CssValueAnimation.d.ts +27 -0
- package/types/PlottingTool/Animation/CssItems/SpeakManager.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/SpeakTool.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/SubtitleAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/VideoAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/XunFeiTool.d.ts +28 -0
- package/types/PlottingTool/Animation/Decorator.d.ts +11 -0
- package/types/PlottingTool/Animation/DefaultConfig.d.ts +5 -0
- package/types/PlottingTool/Animation/FillBehavior.d.ts +13 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonAnimation.d.ts +25 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonRepeatAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonVisibleAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/IAnimation.d.ts +59 -0
- package/types/PlottingTool/Animation/Items/ArrowDirectAnimation.d.ts +11 -0
- package/types/PlottingTool/Animation/Items/AutoRotationAnimation.d.ts +16 -0
- package/types/PlottingTool/Animation/Items/CameraFlyAnimation.d.ts +15 -0
- package/types/PlottingTool/Animation/Items/CameraRoamAnimation.d.ts +29 -0
- package/types/PlottingTool/Animation/Items/CameraSetAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/Items/ColorAnimation.d.ts +6 -0
- package/types/PlottingTool/Animation/Items/DoubleArrowDirectAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/Items/FollowAnimation.d.ts +30 -0
- package/types/PlottingTool/Animation/Items/ForwardAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/HideAnimation.d.ts +11 -0
- package/types/PlottingTool/Animation/Items/JBDirectAnimation.d.ts +20 -0
- package/types/PlottingTool/Animation/Items/ModelAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/Items/NumberAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/Items/PathAnimation.d.ts +44 -0
- package/types/PlottingTool/Animation/Items/PathMode.d.ts +18 -0
- package/types/PlottingTool/Animation/Items/PathShowAnimation.d.ts +25 -0
- package/types/PlottingTool/Animation/Items/PolygonMaskAnimation.d.ts +15 -0
- package/types/PlottingTool/Animation/Items/PopulationTimeAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/RepeatAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/Items/ShowAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/Items/ShowTifAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/Items/SpiralAnimation.d.ts +30 -0
- package/types/PlottingTool/Animation/Items/StateChangeAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/SurroundAnimation.d.ts +43 -0
- package/types/PlottingTool/Animation/Items/TargetFllowAniamtion.d.ts +20 -0
- package/types/PlottingTool/Animation/Items/ZoomToFlyAnimation.d.ts +16 -0
- package/types/PlottingTool/Animation/MaskBehavior.d.ts +13 -0
- package/types/PlottingTool/Animation/PageItems/PageShowAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/SingleAnimation.d.ts +32 -0
- package/types/PlottingTool/Arrow/EditorArrowBase.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorArrowLineBase.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorAssaultDirection.d.ts +4 -0
- package/types/PlottingTool/Arrow/EditorAttackArrow.d.ts +51 -0
- package/types/PlottingTool/Arrow/EditorDoubleArrow.d.ts +82 -0
- package/types/PlottingTool/Arrow/EditorFineArrow.d.ts +11 -0
- package/types/PlottingTool/Arrow/EditorGatheringPlace.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorSquadCombat.d.ts +9 -0
- package/types/PlottingTool/Arrow/EditorStraightLineArrow.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorTailedAttackArrow.d.ts +8 -0
- package/types/PlottingTool/Arrow/EditorTailedSquadCombat.d.ts +10 -0
- package/types/PlottingTool/Axis3Operator.d.ts +39 -0
- package/types/PlottingTool/Common/ICell.d.ts +9 -0
- package/types/PlottingTool/Common/IVectorTile.d.ts +16 -0
- package/types/PlottingTool/Common/PolygonHelper.d.ts +4 -0
- package/types/PlottingTool/Common/RenderGridTextV2.5.d.ts +36 -0
- package/types/PlottingTool/Common/geocode.d.ts +21 -0
- package/types/PlottingTool/Common.d.ts +26 -0
- package/types/PlottingTool/Cube/EditorCubeBase.d.ts +38 -0
- package/types/PlottingTool/Cube/EditorCubeBox.d.ts +20 -0
- package/types/PlottingTool/Cube/EditorCylinder.d.ts +25 -0
- package/types/PlottingTool/Cube/EditorEllipsoid.d.ts +20 -0
- package/types/PlottingTool/CurrentList.d.ts +14 -0
- package/types/PlottingTool/DataRgister.d.ts +6 -0
- package/types/PlottingTool/DataRgisterAudio.d.ts +5 -0
- package/types/PlottingTool/DataRgisterTif.d.ts +5 -0
- package/types/PlottingTool/DefaultPlottingAttribute.d.ts +1 -0
- package/types/PlottingTool/EditHelpLine.d.ts +8 -0
- package/types/PlottingTool/EditMode.d.ts +218 -0
- package/types/PlottingTool/GVEntityCollection.d.ts +11 -0
- package/types/PlottingTool/Graph.d.ts +340 -0
- package/types/PlottingTool/GraphFactory.d.ts +7 -0
- package/types/PlottingTool/GraphManager.d.ts +145 -0
- package/types/PlottingTool/GraphPropStorage.d.ts +10 -0
- package/types/PlottingTool/GraphProperty.d.ts +58 -0
- package/types/PlottingTool/GraphicRender/CesiumConeCommunicate.d.ts +40 -0
- package/types/PlottingTool/GraphicRender/CesiumRender.d.ts +31 -0
- package/types/PlottingTool/GraphicRender/Cloud/GxCloudItem.d.ts +82 -0
- package/types/PlottingTool/GraphicRender/DynamicProperty.d.ts +14 -0
- package/types/PlottingTool/GraphicRender/RenderPlotting.d.ts +20 -0
- package/types/PlottingTool/GraphicRender/radar/GxPrimitivePolyline.d.ts +29 -0
- package/types/PlottingTool/GraphicRender/radar/GxPrimitiveTriangles.d.ts +30 -0
- package/types/PlottingTool/GraphicRender/radar/GxRadarItem.d.ts +93 -0
- package/types/PlottingTool/GxClusterDataSource.d.ts +107 -0
- package/types/PlottingTool/HeightReferenceGraph.d.ts +7 -0
- package/types/PlottingTool/HeightReferencePrimtive.d.ts +8 -0
- package/types/PlottingTool/HtmlBox/BoxFactory.d.ts +4 -0
- package/types/PlottingTool/HtmlBox/CssProp.d.ts +61 -0
- package/types/PlottingTool/HtmlBox/HtmlBox.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/HtmlBoxMulti.d.ts +38 -0
- package/types/PlottingTool/HtmlBox/WangEditor/fwbconfig.d.ts +3 -0
- package/types/PlottingTool/HtmlBox/WangEditor/parse-style-html.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/WangEditor/render-style.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/WangEditor/stroke-color-config.d.ts +1 -0
- package/types/PlottingTool/HtmlBox/WangEditor/style-to-html.d.ts +1 -0
- package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-color.d.ts +13 -0
- package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-width.d.ts +20 -0
- package/types/PlottingTool/HtmlBox/WangEditor/tools.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/html-box-base.d.ts +34 -0
- package/types/PlottingTool/HtmlBox/html-css-prop.d.ts +3 -0
- package/types/PlottingTool/HtmlBox/new-rich-text.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/pic-collection.d.ts +17 -0
- package/types/PlottingTool/HtmlBox/rich-text.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/subtitle-box.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/videoBox.d.ts +8 -0
- package/types/PlottingTool/Image/EditorHtml.d.ts +36 -0
- package/types/PlottingTool/Image/EditorImage.d.ts +10 -0
- package/types/PlottingTool/Image/EditorJBPointObject.d.ts +23 -0
- package/types/PlottingTool/Image/EditorRedFlag.d.ts +7 -0
- package/types/PlottingTool/Interface/LayerConfig.d.ts +22 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyBase.d.ts +17 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolygon.d.ts +11 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyline.d.ts +14 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolygon.d.ts +41 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolyline.d.ts +28 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryWall.d.ts +18 -0
- package/types/PlottingTool/NoControlPrimitive/NoControlPrimitive.d.ts +26 -0
- package/types/PlottingTool/NoControlPrimitive/PercentPolyine.d.ts +17 -0
- package/types/PlottingTool/PlottingBaseNode.d.ts +40 -0
- package/types/PlottingTool/PlottingBehavior.d.ts +91 -0
- package/types/PlottingTool/PlottingCommon.d.ts +20 -0
- package/types/PlottingTool/Point/ConeCommunicateWave.d.ts +46 -0
- package/types/PlottingTool/Point/EditorBasePrimitive.d.ts +12 -0
- package/types/PlottingTool/Point/EditorCloud.d.ts +43 -0
- package/types/PlottingTool/Point/EditorCommunicateWave.d.ts +44 -0
- package/types/PlottingTool/Point/EditorJBPointScreen.d.ts +51 -0
- package/types/PlottingTool/Point/EditorModel.d.ts +59 -0
- package/types/PlottingTool/Point/EditorParticle.d.ts +37 -0
- package/types/PlottingTool/Point/EditorPin.d.ts +55 -0
- package/types/PlottingTool/Point/EditorPinCanvas.d.ts +94 -0
- package/types/PlottingTool/Point/EditorPinImage.d.ts +110 -0
- package/types/PlottingTool/Point/EditorPinMakiIcon.d.ts +13 -0
- package/types/PlottingTool/Point/EditorPinText.d.ts +14 -0
- package/types/PlottingTool/Point/EditorPlaneText.d.ts +79 -0
- package/types/PlottingTool/Point/EditorPoint.d.ts +28 -0
- package/types/PlottingTool/Point/EditorRadar.d.ts +80 -0
- package/types/PlottingTool/Point/EditorText.d.ts +93 -0
- package/types/PlottingTool/Point/EditorText_old.d.ts +58 -0
- package/types/PlottingTool/Point/PointJbStrokeSvgHelper.d.ts +28 -0
- package/types/PlottingTool/Point/PointJbSvgHelper.d.ts +31 -0
- package/types/PlottingTool/Point/UECamera.d.ts +49 -0
- package/types/PlottingTool/Polygon/EditorArrow1.d.ts +10 -0
- package/types/PlottingTool/Polygon/EditorCircle.d.ts +13 -0
- package/types/PlottingTool/Polygon/EditorEllipse.d.ts +12 -0
- package/types/PlottingTool/Polygon/EditorFrustum.d.ts +36 -0
- package/types/PlottingTool/Polygon/EditorPolygon.d.ts +102 -0
- package/types/PlottingTool/Polygon/EditorRectangle.d.ts +40 -0
- package/types/PlottingTool/Polygon/EditorRectangleExpand.d.ts +16 -0
- package/types/PlottingTool/Polygon/EditorSector.d.ts +16 -0
- package/types/PlottingTool/Polyline/EditorBezier1.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezier2.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezierN.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezierSpline.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorCircleArc.d.ts +10 -0
- package/types/PlottingTool/Polyline/EditorCurve.d.ts +7 -0
- package/types/PlottingTool/Polyline/EditorJBLine.d.ts +8 -0
- package/types/PlottingTool/Polyline/EditorPointArc.d.ts +21 -0
- package/types/PlottingTool/Polyline/EditorPointLine.d.ts +12 -0
- package/types/PlottingTool/Polyline/EditorPointSpline.d.ts +8 -0
- package/types/PlottingTool/Polyline/EditorPolyline.d.ts +109 -0
- package/types/PlottingTool/Polyline/EditorRoutePolyline.d.ts +16 -0
- package/types/PlottingTool/Polyline/plotsList.d.ts +6 -0
- package/types/PlottingTool/RegexHelper.d.ts +10 -0
- package/types/PlottingTool/Text/EditorAreaText.d.ts +44 -0
- package/types/PlottingTool/Text/EditorRouteText.d.ts +64 -0
- package/types/PlottingTool/Text/MedianLine.d.ts +22 -0
- package/types/PlottingTool/VideoElement/EditorVideo.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/DrawAreaTextToolEx.d.ts +19 -0
- package/types/PlottingTool/drawToolExt/DrawBillboardToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawCtrlPointToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawHtmlToolEx.d.ts +31 -0
- package/types/PlottingTool/drawToolExt/DrawLineToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawMedianPointToolEx.d.ts +15 -0
- package/types/PlottingTool/drawToolExt/DrawModelToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawPointToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawPolygonToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawRouteTextToolEx.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/DrawTextToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawToolManager.d.ts +60 -0
- package/types/PlottingTool/drawToolExt/HitPointToolEx.d.ts +10 -0
- package/types/PlottingTool/drawToolExt/HitRectToolEx.d.ts +10 -0
- package/types/PlottingTool/drawToolExt/base/List.d.ts +22 -0
- package/types/PlottingTool/drawToolExt/calcuteShape.d.ts +3 -0
- package/types/PlottingTool/drawToolExt/entity/MaxRecTest.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/entity/XZAreaTextEntity.d.ts +36 -0
- package/types/PlottingTool/drawToolExt/entity/XZBaseEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZBillboardEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZCtrlPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZHtmlEntity.d.ts +15 -0
- package/types/PlottingTool/drawToolExt/entity/XZLineEntity.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/entity/XZMedianPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZModelEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZPolygonEntity.d.ts +19 -0
- package/types/PlottingTool/drawToolExt/entity/XZRouteTextEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZTextEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/interface/IBase.d.ts +23 -0
- package/types/PlottingTool/drawToolExt/interface/ICesium.d.ts +99 -0
- package/types/PlottingTool/drawToolExt/interface/IData.d.ts +56 -0
- package/types/PlottingTool/drawToolExt/interface/IEntity.d.ts +80 -0
- package/types/PlottingTool/drawToolExt/interface/IStyle.d.ts +127 -0
- package/types/PlottingTool/drawToolExt/interface/ITool.d.ts +31 -0
- package/types/PlottingTool/drawToolExt/interface/geojson.d.ts +192 -0
- package/types/PlottingTool/drawToolExt/styles/XZAreaTextStyle.d.ts +14 -0
- package/types/PlottingTool/drawToolExt/styles/XZBaseStyle.d.ts +6 -0
- package/types/PlottingTool/drawToolExt/styles/XZBillboardStyle.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/styles/XZHtmlStyle.d.ts +71 -0
- package/types/PlottingTool/drawToolExt/styles/XZLineStyle.d.ts +12 -0
- package/types/PlottingTool/drawToolExt/styles/XZModelStyle.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/styles/XZPointStyle.d.ts +12 -0
- package/types/PlottingTool/drawToolExt/styles/XZPolygonStyle.d.ts +8 -0
- package/types/PlottingTool/drawToolExt/styles/XZRouteTextStyle.d.ts +11 -0
- package/types/PlottingTool/drawToolExt/styles/XZTextStyle.d.ts +14 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolyBase.d.ts +33 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolygon.d.ts +28 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolyline.d.ts +21 -0
- package/types/PlottingTool/geojson/EditorGeojsonPolygon.d.ts +13 -0
- package/types/PlottingTool/geojson/EditorGeojsonPolyline.d.ts +13 -0
- package/types/PlottingTool/geojson/GeojsonPercentPolyine.d.ts +18 -0
- package/types/PlottingTool/geojson/parsePolygon.d.ts +25 -0
- package/types/PlottingTool/shareGraph.d.ts +16 -0
- package/types/Scene/Analyzation/Measure.d.ts +120 -0
- package/types/Scene/EventSource/ContextSizeChanged.d.ts +13 -0
- package/types/Scene/GraticuleLayer/Graticule.d.ts +15 -0
- package/types/Scene/Sea/RenderSeaPolygon.d.ts +9 -0
- package/types/SceneObjects/CustomPrimitive/SharedTexturePool.d.ts +13 -0
- package/types/SceneObjects/CustomPrimitive/extrudePolyline.d.ts +1 -0
- package/types/SceneObjects/RenderObject/BindedCylinder.d.ts +40 -0
- package/types/SceneObjects/RenderObject/Bubble.d.ts +125 -0
- package/types/SceneObjects/RenderObject/CesiumBillboard.d.ts +20 -0
- package/types/SceneObjects/RenderObject/CesiumCylinder.d.ts +30 -0
- package/types/SceneObjects/RenderObject/CesiumEllipse.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumEllipsoid.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumLabel.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumLabelBillboard.d.ts +39 -0
- package/types/SceneObjects/RenderObject/CesiumLabelRect.d.ts +33 -0
- package/types/SceneObjects/RenderObject/CesiumModel.d.ts +20 -0
- package/types/SceneObjects/RenderObject/CesiumOblique.d.ts +33 -0
- package/types/SceneObjects/RenderObject/CesiumPoint.d.ts +22 -0
- package/types/SceneObjects/RenderObject/CesiumPolygon.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CesiumPolyline.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CesiumPopover.d.ts +30 -0
- package/types/SceneObjects/RenderObject/CesiumRectangle.d.ts +34 -0
- package/types/SceneObjects/RenderObject/CesiumSphere.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumVolumePolyline.d.ts +32 -0
- package/types/SceneObjects/RenderObject/CesiumWall.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CircularRender.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CustomLabelRender.d.ts +23 -0
- package/types/SceneObjects/RenderObject/CylinderSensor.d.ts +47 -0
- package/types/SceneObjects/RenderObject/DashBoardEffect.d.ts +39 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemFlame.d.ts +42 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemPath.d.ts +182 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemState.d.ts +7 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemStyle.d.ts +182 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicTimePositions.d.ts +102 -0
- package/types/SceneObjects/RenderObject/DynamicItem/HistoryTrack.d.ts +159 -0
- package/types/SceneObjects/RenderObject/DynamicItem/WarningTarget.d.ts +36 -0
- package/types/SceneObjects/RenderObject/DynamicRippleEffect.d.ts +23 -0
- package/types/SceneObjects/RenderObject/Flag.d.ts +43 -0
- package/types/SceneObjects/RenderObject/GradientSector.d.ts +46 -0
- package/types/SceneObjects/RenderObject/Graphics/GraphicGroup.d.ts +113 -0
- package/types/SceneObjects/RenderObject/RenderObject.d.ts +37 -0
- package/types/SceneObjects/RenderObject/RenderUtils.d.ts +35 -0
- package/types/SceneObjects/RenderObject/ScanEffect.d.ts +40 -0
- package/types/SceneObjects/RenderObject/SectorSensor.d.ts +42 -0
- package/types/SceneObjects/RenderObject/SensorRender.d.ts +15 -0
- package/types/SceneObjects/RenderObject/SpreadEffect.d.ts +47 -0
- package/types/SceneObjects/RenderObject/WaterEffect.d.ts +31 -0
- package/types/SceneObjects/RenderObject/WeatherParticle.d.ts +30 -0
- package/types/SceneObjects/ViewshedAnalysis.d.ts +98 -0
- package/types/SceneObjects/_shared/Destroyable.d.ts +9 -0
- package/types/SceneObjects/_shared/ResourceHandler.d.ts +14 -0
- package/types/SceneObjects/_shared/destroyObject.d.ts +18 -0
- package/types/Service/SceneOptions/Graticule.d.ts +15 -0
- package/types/Service/action.service.d.ts +92 -0
- package/types/Service/advance-html.service.d.ts +12 -0
- package/types/Service/animation.service.d.ts +84 -0
- package/types/Service/cesium.service.d.ts +85 -0
- package/types/Service/cluster.service.d.ts +7 -0
- package/types/Service/config.service.d.ts +24 -0
- package/types/Service/drawServices/VectorRender/renderModels.d.ts +13 -0
- package/types/Service/drawbigfile.service.d.ts +24 -0
- package/types/Service/fwbconfig.d.ts +3 -0
- package/types/Service/geojson-plot.service.d.ts +21 -0
- package/types/Service/html-draw.service.d.ts +134 -0
- package/types/Service/http.service.d.ts +15 -0
- package/types/Service/layers.service.d.ts +34 -0
- package/types/Service/logicService/point.service.d.ts +60 -0
- package/types/Service/message.service.d.ts +4 -0
- package/types/Service/music.service.d.ts +23 -0
- package/types/Service/parse-style-html.d.ts +7 -0
- package/types/Service/plot.service.d.ts +115 -0
- package/types/Service/property.service.d.ts +52 -0
- package/types/Service/render-style.d.ts +7 -0
- package/types/Service/richTextEdit.service.d.ts +35 -0
- package/types/Service/sceneServices/BigFileManager.d.ts +12 -0
- package/types/Service/sceneServices/CesiumManager.d.ts +18 -0
- package/types/Service/sceneServices/EagleManager.d.ts +35 -0
- package/types/Service/sceneServices/HtmlDrawManager.d.ts +12 -0
- package/types/Service/sceneServices/ImageEffectManager.d.ts +19 -0
- package/types/Service/sceneServices/LayerManage.d.ts +61 -0
- package/types/Service/sceneServices/MusicManager.d.ts +10 -0
- package/types/Service/sceneServices/PageAnimationManager.d.ts +39 -0
- package/types/Service/sceneServices/SubtitleManager.d.ts +6 -0
- package/types/Service/sceneServices/TerrainManager.d.ts +11 -0
- package/types/Service/sceneServices/sceneManager.d.ts +71 -0
- package/types/Service/sceneServices/snap.d.ts +33 -0
- package/types/Service/service.manager.d.ts +174 -0
- package/types/Service/stroke-color-config.d.ts +1 -0
- package/types/Service/style-to-html.d.ts +1 -0
- package/types/Service/terrain.service.d.ts +11 -0
- package/types/Service/text-stroke-color.d.ts +13 -0
- package/types/Service/text-stroke-width.d.ts +20 -0
- package/types/Service/tools.d.ts +7 -0
- package/types/Utils/Calculate.d.ts +212 -0
- package/types/Utils/Check.d.ts +98 -0
- package/types/Utils/DateHelper.d.ts +30 -0
- package/types/Utils/GxMath.d.ts +102 -0
- package/types/Utils/GxVector3.d.ts +7 -0
- package/types/Utils/HtmlUtil.d.ts +12 -0
- package/types/Utils/MilsymbolHelper.d.ts +20 -0
- package/types/Utils/TokenHelper.d.ts +36 -0
- package/types/Utils/Util.d.ts +204 -0
- package/types/Utils/d3Clock.d.ts +11 -0
- package/types/Utils/index.d.ts +17 -0
- package/types/Utils/pinyin.static.d.ts +375 -0
- package/types/Utils/pinyin.tool.d.ts +5 -0
- package/types/Utils/pinyin_all.d.ts +20 -0
- package/types/Utils/ready.d.ts +3 -0
- package/types/Utils/tools.d.ts +31 -0
- package/types/index.d.ts +98 -0
- package/types/index.html +35 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
export declare class Flag extends RenderObject {
|
|
3
|
+
_state: string;
|
|
4
|
+
_canvasInfo: {
|
|
5
|
+
canvas: Element;
|
|
6
|
+
canvasWidth: number;
|
|
7
|
+
canvasHeight: number;
|
|
8
|
+
offsetAnchor: [number, number];
|
|
9
|
+
offsetInflection: [number, number];
|
|
10
|
+
flagpoleLeftTop: [number, number];
|
|
11
|
+
flagpoleRightTop: [number, number];
|
|
12
|
+
flagpoleLeftBottom: [number, number];
|
|
13
|
+
flagpoleRightBottom: [number, number];
|
|
14
|
+
};
|
|
15
|
+
_root: any;
|
|
16
|
+
get renderType(): RenderTypeEnum;
|
|
17
|
+
getCanvasInfo(): {
|
|
18
|
+
canvas: Element;
|
|
19
|
+
canvasWidth: number;
|
|
20
|
+
canvasHeight: number;
|
|
21
|
+
offsetAnchor: [number, number];
|
|
22
|
+
offsetInflection: [number, number];
|
|
23
|
+
flagpoleLeftTop: [number, number];
|
|
24
|
+
flagpoleRightTop: [number, number];
|
|
25
|
+
flagpoleLeftBottom: [number, number];
|
|
26
|
+
flagpoleRightBottom: [number, number];
|
|
27
|
+
};
|
|
28
|
+
private createCanvas;
|
|
29
|
+
private _createCanvas;
|
|
30
|
+
private _calculatedLabelSize;
|
|
31
|
+
private _calculatedcanvasCoordinates;
|
|
32
|
+
/**
|
|
33
|
+
* 初始化方法
|
|
34
|
+
*/
|
|
35
|
+
init(): void;
|
|
36
|
+
update(): void;
|
|
37
|
+
updateCanvas(): void;
|
|
38
|
+
/**
|
|
39
|
+
* 属性更新
|
|
40
|
+
*/
|
|
41
|
+
updateAttribute(attrName: any): void;
|
|
42
|
+
clear(): void;
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
import { GraphicItem } from "./Graphics/GraphicItem";
|
|
3
|
+
export declare class GradientSector extends RenderObject {
|
|
4
|
+
private _geometry;
|
|
5
|
+
private _appearance;
|
|
6
|
+
private _radius;
|
|
7
|
+
private _sliceUnit;
|
|
8
|
+
get renderType(): RenderTypeEnum;
|
|
9
|
+
constructor(item: GraphicItem, renderRoot: any);
|
|
10
|
+
/**
|
|
11
|
+
* 初始化方法
|
|
12
|
+
*/
|
|
13
|
+
init(): void;
|
|
14
|
+
update(): void;
|
|
15
|
+
/**
|
|
16
|
+
* 属性更新
|
|
17
|
+
*/
|
|
18
|
+
updateAttribute(attrName: any): void;
|
|
19
|
+
/**
|
|
20
|
+
* 创建attribute
|
|
21
|
+
*/
|
|
22
|
+
private createGeometeryAttribute;
|
|
23
|
+
/**
|
|
24
|
+
* 创建网格体
|
|
25
|
+
* @param postionsTemp 顶点数据
|
|
26
|
+
* @param stsTemp 纹理数据
|
|
27
|
+
*/
|
|
28
|
+
private createGrometry;
|
|
29
|
+
/**
|
|
30
|
+
* 创建材质
|
|
31
|
+
*/
|
|
32
|
+
private createMaterial;
|
|
33
|
+
/**
|
|
34
|
+
* 片源着色器方法
|
|
35
|
+
*/
|
|
36
|
+
private getMS;
|
|
37
|
+
/**
|
|
38
|
+
* 创建primitive
|
|
39
|
+
*/
|
|
40
|
+
private createPrimitive;
|
|
41
|
+
/**
|
|
42
|
+
* 创建变换矩阵
|
|
43
|
+
*/
|
|
44
|
+
private createGeometryMatrix;
|
|
45
|
+
clear(): void;
|
|
46
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Event } from '../../../Core/Event';
|
|
2
|
+
import { GraphicItem } from './GraphicItem';
|
|
3
|
+
/**
|
|
4
|
+
* @类型 外部使用类
|
|
5
|
+
* @描述 绘制数据对象组对象提供了绘制数据对象的组管理
|
|
6
|
+
* @see <a href='../../../examples/gallery/editor.html#plottingPoint'>示例组</a>
|
|
7
|
+
*/
|
|
8
|
+
export declare class GraphicGroup extends Event {
|
|
9
|
+
protected _type: string;
|
|
10
|
+
private _name;
|
|
11
|
+
private _id;
|
|
12
|
+
private _itemList;
|
|
13
|
+
protected _father: GraphicGroup;
|
|
14
|
+
private _visible;
|
|
15
|
+
private _extendInfo;
|
|
16
|
+
private _renderVisible;
|
|
17
|
+
private _root;
|
|
18
|
+
constructor(jsonObj?: any);
|
|
19
|
+
/**
|
|
20
|
+
* 类型
|
|
21
|
+
*/
|
|
22
|
+
static get type(): string;
|
|
23
|
+
/**
|
|
24
|
+
* 对象名称不需要修改
|
|
25
|
+
* ```
|
|
26
|
+
* 示例代码
|
|
27
|
+
* item.name = 'itemName'
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
set name(value: string);
|
|
31
|
+
get name(): string;
|
|
32
|
+
get id(): any;
|
|
33
|
+
/**
|
|
34
|
+
* 获取父节点
|
|
35
|
+
*/
|
|
36
|
+
get father(): GraphicGroup;
|
|
37
|
+
/**
|
|
38
|
+
* @注意 内部使用无需外部调用
|
|
39
|
+
* @描述 重新计算渲染显隐值
|
|
40
|
+
*/
|
|
41
|
+
updateVisible(): void;
|
|
42
|
+
/**
|
|
43
|
+
* 设置整组显隐
|
|
44
|
+
*/
|
|
45
|
+
set visible(value: boolean);
|
|
46
|
+
get visible(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* 获取整组真实显隐
|
|
49
|
+
*/
|
|
50
|
+
get renderVisible(): any;
|
|
51
|
+
/**
|
|
52
|
+
* @注意 所有item的基类方法,外部无需调用
|
|
53
|
+
* @描述 初始化方法,在父类执行add方法添加时被调用
|
|
54
|
+
*/
|
|
55
|
+
init(father: any): void;
|
|
56
|
+
/**
|
|
57
|
+
* @注意 外部无需调用
|
|
58
|
+
* @描述 在父类执行remove方法添加时被调用
|
|
59
|
+
*/
|
|
60
|
+
destroy(): void;
|
|
61
|
+
/**
|
|
62
|
+
* 清除所有子节点
|
|
63
|
+
*/
|
|
64
|
+
clear(): void;
|
|
65
|
+
get children(): any[];
|
|
66
|
+
set extendInfo(value: any);
|
|
67
|
+
get extendInfo(): any;
|
|
68
|
+
/**
|
|
69
|
+
* 添加对象
|
|
70
|
+
* @param item
|
|
71
|
+
*/
|
|
72
|
+
add(item: GraphicItem | GraphicGroup): GraphicItem | GraphicGroup;
|
|
73
|
+
/**
|
|
74
|
+
* 根据配置添加图形绘制对象
|
|
75
|
+
* @param jsonObj
|
|
76
|
+
*/
|
|
77
|
+
addByJson(jsonObj: any): any;
|
|
78
|
+
removeById(itemId: string): GraphicItem | GraphicGroup;
|
|
79
|
+
/**
|
|
80
|
+
* 删除元素
|
|
81
|
+
* @param
|
|
82
|
+
*/
|
|
83
|
+
remove(removeItem: GraphicItem | GraphicGroup): GraphicItem | GraphicGroup;
|
|
84
|
+
/**
|
|
85
|
+
* 根据id获得对象
|
|
86
|
+
* @param itemid 对象id
|
|
87
|
+
*/
|
|
88
|
+
getById(itemid: string): any;
|
|
89
|
+
/**
|
|
90
|
+
* 根据name获得对象
|
|
91
|
+
* @param itemName 对象名称
|
|
92
|
+
*/
|
|
93
|
+
getByName(itemName: string): Array<GraphicGroup | GraphicItem>;
|
|
94
|
+
/**
|
|
95
|
+
* 导出json数据
|
|
96
|
+
*/
|
|
97
|
+
toJson(): {
|
|
98
|
+
type: string;
|
|
99
|
+
id: any;
|
|
100
|
+
name: string;
|
|
101
|
+
extendInfo: any;
|
|
102
|
+
children: any[];
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @注意 外部无需调用
|
|
106
|
+
* @描述 解析json方法,在父类根据json对象创建节点时调用
|
|
107
|
+
*/
|
|
108
|
+
parseJson(json: any): void;
|
|
109
|
+
/**
|
|
110
|
+
* 获取graphicLayer
|
|
111
|
+
*/
|
|
112
|
+
getRoot(): any;
|
|
113
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { GraphicItem } from "./Graphics/GraphicItem";
|
|
2
|
+
/**
|
|
3
|
+
* 标绘渲染对象虚方法
|
|
4
|
+
*/
|
|
5
|
+
export declare class RenderObject {
|
|
6
|
+
_renderObj: any;
|
|
7
|
+
_dataItem: GraphicItem;
|
|
8
|
+
_renderRoot: any;
|
|
9
|
+
_viewer: Cesium.Viewer;
|
|
10
|
+
constructor(item: GraphicItem, renderRoot: any);
|
|
11
|
+
get renderType(): RenderTypeEnum;
|
|
12
|
+
get renderObj(): any;
|
|
13
|
+
/**
|
|
14
|
+
* 初始化方法
|
|
15
|
+
*/
|
|
16
|
+
init(): void;
|
|
17
|
+
/**
|
|
18
|
+
* 清理
|
|
19
|
+
*/
|
|
20
|
+
clear(): void;
|
|
21
|
+
/**
|
|
22
|
+
* 整体更新
|
|
23
|
+
*/
|
|
24
|
+
update(): void;
|
|
25
|
+
/**
|
|
26
|
+
* 属性更新(为提高效率)
|
|
27
|
+
*/
|
|
28
|
+
updateAttribute(attrName: string): void;
|
|
29
|
+
}
|
|
30
|
+
export declare enum RenderTypeEnum {
|
|
31
|
+
Entity = "entity",
|
|
32
|
+
Primitive = "Primitive",
|
|
33
|
+
PostProcess = "PostProcess",
|
|
34
|
+
Lable = "Lable",
|
|
35
|
+
Billboard = "Billboard",
|
|
36
|
+
DrawCombination = "DrawCombination"
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { GvolPoint } from "../../Core/GvolPoint";
|
|
2
|
+
/**
|
|
3
|
+
* 渲染工具对象
|
|
4
|
+
*/
|
|
5
|
+
export declare class RenderUtils {
|
|
6
|
+
constructor();
|
|
7
|
+
static getPositions(value: Array<GvolPoint>): any[];
|
|
8
|
+
static getRadii(value: any): Cesium.Cartesian3;
|
|
9
|
+
static getRectangleDegress(value: any): Cesium.Rectangle;
|
|
10
|
+
static getImage(value: any, transparent?: Boolean): Cesium.ImageMaterialProperty;
|
|
11
|
+
static getClassificationType(value: any): any;
|
|
12
|
+
static getShadows(value: any): any;
|
|
13
|
+
static getGranularity(value: any): number;
|
|
14
|
+
static getColor(value: any): Cesium.Color;
|
|
15
|
+
static getDynamicColor(value: String): Cesium.CallbackProperty;
|
|
16
|
+
static getDynamicValue(value: any): Cesium.CallbackProperty;
|
|
17
|
+
static getPosition(value: GvolPoint): Cesium.Cartesian3;
|
|
18
|
+
static getNearFarScalar(value: any): Cesium.NearFarScalar;
|
|
19
|
+
static getDynamicNearFarScalar(value: any): Cesium.CallbackProperty;
|
|
20
|
+
static getDistanceDisplayCondition(value: any): Cesium.DistanceDisplayCondition;
|
|
21
|
+
static getDynamicDistanceDisplayCondition(value: any): Cesium.CallbackProperty;
|
|
22
|
+
static getCartesian2(value: any): Cesium.Cartesian2;
|
|
23
|
+
static getVerticalOrigin(str: any): any;
|
|
24
|
+
/**
|
|
25
|
+
* 水平对齐方式
|
|
26
|
+
*/
|
|
27
|
+
static getHorizontalOrigin(str: any): any;
|
|
28
|
+
static getHeightReference(str: any): any;
|
|
29
|
+
static getStyle(value: any): Cesium.LabelStyle.FILL | Cesium.LabelStyle.FILL_AND_OUTLINE;
|
|
30
|
+
static getPositionDegrees(value: any): Cesium.Cartesian3;
|
|
31
|
+
static getCartesian3(value: any): Cesium.Cartesian3;
|
|
32
|
+
static getOrientation(position: any, hpr: any): any;
|
|
33
|
+
static getHpr(heading: any, pitch: any, roll: any): Cesium.HeadingPitchRoll;
|
|
34
|
+
static getHeading(value: any): number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
import { GraphicItem } from "./Graphics/GraphicItem";
|
|
3
|
+
export declare class ScanEffect extends RenderObject {
|
|
4
|
+
private polygonAppearance;
|
|
5
|
+
private polylineAppearance;
|
|
6
|
+
private polygonGeometry;
|
|
7
|
+
private polylineGeometry;
|
|
8
|
+
private polygonPrimitive;
|
|
9
|
+
private polylinePrimitive;
|
|
10
|
+
private angle;
|
|
11
|
+
constructor(item: GraphicItem, renderRoot: any);
|
|
12
|
+
listenerFun: () => void;
|
|
13
|
+
get renderType(): RenderTypeEnum;
|
|
14
|
+
/**
|
|
15
|
+
* 初始化方法
|
|
16
|
+
*/
|
|
17
|
+
init(): void;
|
|
18
|
+
/**
|
|
19
|
+
* 创建网格体
|
|
20
|
+
*/
|
|
21
|
+
private createGeometry;
|
|
22
|
+
/**
|
|
23
|
+
* 创建材质
|
|
24
|
+
*/
|
|
25
|
+
private createAppearence;
|
|
26
|
+
/**
|
|
27
|
+
* 创建primitive
|
|
28
|
+
*/
|
|
29
|
+
private createPrimitive;
|
|
30
|
+
/**
|
|
31
|
+
* 片源着色器方法
|
|
32
|
+
*/
|
|
33
|
+
private getMS;
|
|
34
|
+
private createGeometryMatrix;
|
|
35
|
+
/**
|
|
36
|
+
* 属性更新
|
|
37
|
+
*/
|
|
38
|
+
updateAttribute(attrName: any): void;
|
|
39
|
+
clear(): void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
import { GraphicItem } from "./Graphics/GraphicItem";
|
|
3
|
+
export declare class SectorSensor extends RenderObject {
|
|
4
|
+
private _geometry;
|
|
5
|
+
private _appearance;
|
|
6
|
+
private _radius;
|
|
7
|
+
get renderType(): RenderTypeEnum;
|
|
8
|
+
constructor(item: GraphicItem, renderRoot: any);
|
|
9
|
+
/**
|
|
10
|
+
* 初始化方法
|
|
11
|
+
*/
|
|
12
|
+
init(): void;
|
|
13
|
+
listenerFun: () => void;
|
|
14
|
+
update(): void;
|
|
15
|
+
/**
|
|
16
|
+
* 属性更新
|
|
17
|
+
*/
|
|
18
|
+
updateAttribute(attrName: any): void;
|
|
19
|
+
/**
|
|
20
|
+
* 创建attribute
|
|
21
|
+
*/
|
|
22
|
+
private createGeometeryAttribute;
|
|
23
|
+
/**
|
|
24
|
+
* 创建网格体
|
|
25
|
+
* @param postionsTemp 顶点数据
|
|
26
|
+
* @param stsTemp 纹理数据
|
|
27
|
+
*/
|
|
28
|
+
private createGrometry;
|
|
29
|
+
/**
|
|
30
|
+
* 创建材质
|
|
31
|
+
*/
|
|
32
|
+
private createMaterial;
|
|
33
|
+
/**
|
|
34
|
+
* 创建primitive
|
|
35
|
+
*/
|
|
36
|
+
private createPrimitive;
|
|
37
|
+
/**
|
|
38
|
+
* 创建变换矩阵
|
|
39
|
+
*/
|
|
40
|
+
private createGeometryMatrix;
|
|
41
|
+
clear(): void;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
export declare class SensorRender extends RenderObject {
|
|
3
|
+
dataOptions: any;
|
|
4
|
+
get renderType(): RenderTypeEnum;
|
|
5
|
+
/**
|
|
6
|
+
* 初始化方法
|
|
7
|
+
*/
|
|
8
|
+
init(): void;
|
|
9
|
+
/**
|
|
10
|
+
* 属性更新
|
|
11
|
+
*/
|
|
12
|
+
updateAttribute(attrName: any): void;
|
|
13
|
+
clear(): void;
|
|
14
|
+
update(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
import { GraphicItem } from "./Graphics/GraphicItem";
|
|
3
|
+
export declare class SpreadEffect extends RenderObject {
|
|
4
|
+
/**位置 */
|
|
5
|
+
private position;
|
|
6
|
+
/**半径 */
|
|
7
|
+
private radius;
|
|
8
|
+
/**颜色 */
|
|
9
|
+
private spreadColor;
|
|
10
|
+
/**网格体 */
|
|
11
|
+
private spreadGeometry;
|
|
12
|
+
/**材质 */
|
|
13
|
+
private spreadAppearance;
|
|
14
|
+
/**Mesh */
|
|
15
|
+
private spreadPrimitive;
|
|
16
|
+
private scale;
|
|
17
|
+
private speed;
|
|
18
|
+
get renderType(): RenderTypeEnum;
|
|
19
|
+
constructor(item: GraphicItem, renderRoot: any);
|
|
20
|
+
listenerFun: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* 初始化方法
|
|
23
|
+
*/
|
|
24
|
+
init(): void;
|
|
25
|
+
/**
|
|
26
|
+
* 创建网格体
|
|
27
|
+
*/
|
|
28
|
+
private createGeometry;
|
|
29
|
+
private createGeometryMatrix;
|
|
30
|
+
/**
|
|
31
|
+
* 创建材质
|
|
32
|
+
*/
|
|
33
|
+
private createAppearence;
|
|
34
|
+
/**
|
|
35
|
+
* 片源着色器方法
|
|
36
|
+
*/
|
|
37
|
+
private getMS;
|
|
38
|
+
/**
|
|
39
|
+
* 创建primitive
|
|
40
|
+
*/
|
|
41
|
+
private createPrimitive;
|
|
42
|
+
/**
|
|
43
|
+
* 属性更新
|
|
44
|
+
*/
|
|
45
|
+
updateAttribute(attrName: any): void;
|
|
46
|
+
clear(): void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
export declare class WaterEffect extends RenderObject {
|
|
3
|
+
private _fragmentShader;
|
|
4
|
+
private _appearance;
|
|
5
|
+
private _geometry;
|
|
6
|
+
get renderType(): RenderTypeEnum;
|
|
7
|
+
/**
|
|
8
|
+
* 初始化方法
|
|
9
|
+
*/
|
|
10
|
+
init(): void;
|
|
11
|
+
/**
|
|
12
|
+
* 修改片源着色器
|
|
13
|
+
* @return {string} 片源着色器
|
|
14
|
+
*/
|
|
15
|
+
private fSWaterFace;
|
|
16
|
+
/**
|
|
17
|
+
* 创建材质
|
|
18
|
+
* @returns 材质
|
|
19
|
+
*/
|
|
20
|
+
private createAppearence;
|
|
21
|
+
/**
|
|
22
|
+
* 属性更新
|
|
23
|
+
*/
|
|
24
|
+
updateAttribute(attrName: any): void;
|
|
25
|
+
clear(): void;
|
|
26
|
+
/**
|
|
27
|
+
* 法向量图
|
|
28
|
+
* @return {string} 图片资源
|
|
29
|
+
*/
|
|
30
|
+
private normalMap;
|
|
31
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RenderObject, RenderTypeEnum } from "./RenderObject";
|
|
2
|
+
export declare class WeatherParticle extends RenderObject {
|
|
3
|
+
private _rainVelocity;
|
|
4
|
+
private _snowVelocity;
|
|
5
|
+
private _weatherType;
|
|
6
|
+
get renderType(): RenderTypeEnum;
|
|
7
|
+
/**
|
|
8
|
+
* 初始化方法
|
|
9
|
+
*/
|
|
10
|
+
init(): void;
|
|
11
|
+
/**
|
|
12
|
+
* 属性更新
|
|
13
|
+
*/
|
|
14
|
+
updateAttribute(attrName: any): void;
|
|
15
|
+
/**
|
|
16
|
+
* 创建粒子系统
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
private createParticle;
|
|
20
|
+
/**
|
|
21
|
+
* 创建雪的发生器矩阵
|
|
22
|
+
*/
|
|
23
|
+
private computeEmitterMatrix;
|
|
24
|
+
/**
|
|
25
|
+
* 更新函数
|
|
26
|
+
* @param {any} 粒子对象
|
|
27
|
+
*/
|
|
28
|
+
private updateParticle;
|
|
29
|
+
clear(): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cesium 可视域分析类(基于 ShadowMap + 后处理着色器)
|
|
3
|
+
*
|
|
4
|
+
* 功能特性:
|
|
5
|
+
* - 自适应 bias 算法(根据距离、深度、斜率动态调整)
|
|
6
|
+
* - 动态 near 平面优化(平衡裁剪和精度)
|
|
7
|
+
* - 动态 ShadowMap 分辨率(根据半径自动调整)
|
|
8
|
+
* - 支持超过180度的宽视场角可视域分析(自动拆分为多个子视锥体)
|
|
9
|
+
* - 多视域叠加效果
|
|
10
|
+
*/
|
|
11
|
+
import * as Cesium from 'cesium';
|
|
12
|
+
export interface ViewshedAnalysisConfig {
|
|
13
|
+
position: Cesium.Cartesian3;
|
|
14
|
+
heading: number;
|
|
15
|
+
pitch: number;
|
|
16
|
+
distance: number;
|
|
17
|
+
hfov: number;
|
|
18
|
+
vfov: number;
|
|
19
|
+
showFrustum?: boolean;
|
|
20
|
+
texelSnap?: boolean;
|
|
21
|
+
minHeight?: number;
|
|
22
|
+
near?: number;
|
|
23
|
+
visibleColor?: Cesium.Color;
|
|
24
|
+
hiddenColor?: Cesium.Color;
|
|
25
|
+
}
|
|
26
|
+
export declare class ViewshedAnalysis {
|
|
27
|
+
private viewer;
|
|
28
|
+
private scene;
|
|
29
|
+
config: ViewshedAnalysisConfig;
|
|
30
|
+
private camera;
|
|
31
|
+
private cameraPrimitive;
|
|
32
|
+
private shadowMap;
|
|
33
|
+
private customPrimitive;
|
|
34
|
+
private postProcessStage;
|
|
35
|
+
isDestroyed: boolean;
|
|
36
|
+
private subFrustums;
|
|
37
|
+
private isMultiFrustumMode;
|
|
38
|
+
private _enabled;
|
|
39
|
+
constructor(viewer: Cesium.Viewer, config: ViewshedAnalysisConfig);
|
|
40
|
+
private initialize;
|
|
41
|
+
/**
|
|
42
|
+
* 初始化单视锥体模式(hfov <= 170度)
|
|
43
|
+
*/
|
|
44
|
+
private initializeSingleFrustum;
|
|
45
|
+
/**
|
|
46
|
+
* 初始化多视锥体模式(hfov > 170度)
|
|
47
|
+
*/
|
|
48
|
+
private initializeMultiFrustum;
|
|
49
|
+
/**
|
|
50
|
+
* 计算 near 平面距离
|
|
51
|
+
*/
|
|
52
|
+
private calculateNear;
|
|
53
|
+
/**
|
|
54
|
+
* 计算 ShadowMap 分辨率
|
|
55
|
+
*/
|
|
56
|
+
private calculateShadowMapSize;
|
|
57
|
+
/**
|
|
58
|
+
* 确保建筑物参与阴影计算
|
|
59
|
+
*/
|
|
60
|
+
private ensureBuildingShadows;
|
|
61
|
+
/**
|
|
62
|
+
* Texel 对齐
|
|
63
|
+
*/
|
|
64
|
+
private snapCameraToTexel;
|
|
65
|
+
/**
|
|
66
|
+
* 创建后处理着色器
|
|
67
|
+
*/
|
|
68
|
+
private createPostProcessStage;
|
|
69
|
+
/**
|
|
70
|
+
* 为子视锥体创建后处理着色器
|
|
71
|
+
*/
|
|
72
|
+
private createSubPostProcessStage;
|
|
73
|
+
/**
|
|
74
|
+
* 显示可视域
|
|
75
|
+
*/
|
|
76
|
+
show(): void;
|
|
77
|
+
/**
|
|
78
|
+
* 隐藏可视域
|
|
79
|
+
*/
|
|
80
|
+
hide(): void;
|
|
81
|
+
/**
|
|
82
|
+
* 更新观察点位置
|
|
83
|
+
*/
|
|
84
|
+
updatePosition(position: Cesium.Cartesian3): void;
|
|
85
|
+
/**
|
|
86
|
+
* 更新观察方向
|
|
87
|
+
*/
|
|
88
|
+
updateOrientation(heading: number, pitch: number): void;
|
|
89
|
+
/**
|
|
90
|
+
* 更新可视距离
|
|
91
|
+
*/
|
|
92
|
+
updateDistance(distance: number): void;
|
|
93
|
+
/**
|
|
94
|
+
* 销毁可视域
|
|
95
|
+
*/
|
|
96
|
+
destroy(): void;
|
|
97
|
+
}
|
|
98
|
+
export default ViewshedAnalysis;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Destroyable } from "./Destroyable";
|
|
2
|
+
export declare class ResourceHandler<T extends Destroyable> {
|
|
3
|
+
_resouceRef?: {
|
|
4
|
+
resouce: T;
|
|
5
|
+
ref: number;
|
|
6
|
+
};
|
|
7
|
+
constructor(resouce?: T);
|
|
8
|
+
get valid(): boolean;
|
|
9
|
+
get raw(): T;
|
|
10
|
+
get ref(): number;
|
|
11
|
+
getRef(target?: ResourceHandler<T>): ResourceHandler<T>;
|
|
12
|
+
equal(target: ResourceHandler<T>): boolean;
|
|
13
|
+
reset(handler?: ResourceHandler<T>): this;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Destroys an object.
|
|
3
|
+
*
|
|
4
|
+
* @param object The object to destroy.
|
|
5
|
+
* @param [message] The message to include in the exception that is thrown if
|
|
6
|
+
* a destroyed object's function is called.
|
|
7
|
+
* @example
|
|
8
|
+
* // How a texture would destroy itself.
|
|
9
|
+
* this.destroy = function () {
|
|
10
|
+
* _gl.deleteTexture(_texture);
|
|
11
|
+
* return Cesium.destroyObject(this);
|
|
12
|
+
* };
|
|
13
|
+
*
|
|
14
|
+
* @see DeveloperError
|
|
15
|
+
*/
|
|
16
|
+
export declare function destroyObject(object: {
|
|
17
|
+
[k: string]: any;
|
|
18
|
+
}): any;
|