| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- /**
- * @Author: Caven
- * @Date: 2021-03-13 17:17:19
- */
-
- import { Cesium } from '@dc-modules/namespace'
-
- /**
- * base
- */
- import Position from '@dc-modules/position/Position'
- import Parse from '@dc-modules/parse/Parse'
- import { Util, DomUtil, PlotUtil } from '@dc-modules/utils'
- import { Transform, CoordTransform } from '@dc-modules/transform'
- import { MouseEventType, SceneEventType } from '@dc-modules/event'
- import {
- area,
- bounds,
- center,
- curve,
- distance,
- heading,
- isBetween,
- mid,
- parabola
- } from '@dc-modules/math'
- import Viewer from '@dc-modules/viewer/Viewer'
-
- /**
- * imagery
- */
- import { ImageryType, ImageryLayerFactory } from '@dc-modules/imagery'
-
- /**
- * terrain
- */
- import { TerrainType, TerrainFactory } from '@dc-modules/terrain'
-
- /**
- * layer
- */
- import {
- LayerType,
- Layer,
- ClusterLayer,
- CzmlLayer,
- DynamicLayer,
- FeatureGridLayer,
- GeoJsonLayer,
- HtmlLayer,
- KmlLayer,
- LabelLayer,
- LayerGroup,
- PrimitiveLayer,
- TilesetLayer,
- TopoJsonLayer,
- VectorLayer
- } from '@dc-modules/layer'
-
- /**
- * overlay
- */
- import {
- OverlayType,
- Overlay,
- CustomBillboard,
- CustomLabel,
- DynamicBillboard,
- DynamicModel,
- Model,
- Tileset,
- AttackArrow,
- DoubleArrow,
- FineArrow,
- GatheringPlace,
- TailedAttackArrow,
- BillboardPrimitive,
- DiffuseWallPrimitive,
- ElecEllipsoidPrimitive,
- FlowLinePrimitive,
- LabelPrimitive,
- ModelPrimitive,
- PointPrimitive,
- PolylinePrimitive,
- ScanCirclePrimitive,
- TrailLinePrimitive,
- VideoPrimitive,
- WaterPrimitive,
- Billboard,
- Box,
- Circle,
- Corridor,
- Cylinder,
- DivIcon,
- Ellipse,
- Ellipsoid,
- Label,
- Plane,
- Point,
- Polygon,
- Polyline,
- PolylineVolume,
- Rectangle,
- Wall
- } from '@dc-modules/overlay'
-
- /**
- * material
- */
- import {
- CircleBlurMaterialProperty,
- CircleDiffuseMaterialProperty,
- CircleFadeMaterialProperty,
- CirclePulseMaterialProperty,
- CircleScanMaterialProperty,
- CircleSpiralMaterialProperty,
- CircleVaryMaterialProperty,
- CircleWaveMaterialProperty,
- EllipsoidElectricMaterialProperty,
- EllipsoidTrailMaterialProperty,
- PolylineFlickerMaterialProperty,
- PolylineFlowMaterialProperty,
- PolylineImageTrailMaterialProperty,
- PolylineLightingMaterialProperty,
- PolylineLightingTrailMaterialProperty,
- PolylineTrailMaterialProperty,
- RadarLineMaterialProperty,
- RadarSweepMaterialProperty,
- RadarWaveMaterialProperty,
- WallImageTrailMaterialProperty,
- WallLineTrailMaterialProperty,
- WallTrailMaterialProperty,
- WaterMaterialProperty
- } from '@dc-modules/material'
-
- /**
- *
- * effect
- */
- import Effect from '@dc-modules/effect/Effect'
-
- /**
- * animation
- */
- import {
- AroundView,
- AroundPoint,
- CircleScan,
- Flying,
- GlobeRotate,
- RadarScan
- } from '@dc-modules/animation'
-
- /**
- *
- * roaming
- */
- import {
- RoamingViewMode,
- RoamingPath,
- RoamingController
- } from '@dc-modules/roaming'
-
- /**
- *
- * weather
- */
- import Weather from '@dc-modules/weather/Weather'
-
- /**
- *
- * plot
- */
- import Plot from '@dc-modules/plot/Plot'
-
- /**
- *
- * wind
- */
- import WindLayer from '@dc-modules/wind/WindLayer'
-
- /**
- *
- * heat
- */
- import HeatLayer from '@dc-modules/heat/HeatLayer'
-
- /**
- * exts
- */
- import { GroundSkyBox } from '@dc-modules/exts'
-
- /**
- * thirdPart
- */
- import thirdPart from '@dc-modules/thirdpart'
-
- Cesium.Math.area = area
- Cesium.Math.bounds = bounds
- Cesium.Math.mid = mid
- Cesium.Math.center = center
- Cesium.Math.distance = distance
- Cesium.Math.heading = heading
- Cesium.Math.isBetween = isBetween
- Cesium.Math.parabola = parabola
- Cesium.Math.curve = curve
-
- const components = {
- /**
- * base
- */
- Position,
- Parse,
- Util,
- DomUtil,
- PlotUtil,
- Transform,
- CoordTransform,
- MouseEventType,
- SceneEventType,
- Math: Cesium.Math,
- Viewer,
- World: Viewer,
- Map: Viewer,
- /**
- * imagery
- */
- ImageryType,
- ImageryLayerFactory,
- /**
- * terrain
- */
- TerrainType,
- TerrainFactory,
- /**
- * layer
- */
- LayerType,
- Layer,
- ClusterLayer,
- CzmlLayer,
- DynamicLayer,
- FeatureGridLayer,
- GeoJsonLayer,
- HtmlLayer,
- KmlLayer,
- LabelLayer,
- LayerGroup,
- PrimitiveLayer,
- TilesetLayer,
- TopoJsonLayer,
- VectorLayer,
- /**
- * overlay
- */
- OverlayType,
- Overlay,
- CustomBillboard,
- CustomLabel,
- DynamicBillboard,
- DynamicModel,
- Model,
- Tileset,
- AttackArrow,
- DoubleArrow,
- FineArrow,
- GatheringPlace,
- TailedAttackArrow,
- BillboardPrimitive,
- DiffuseWallPrimitive,
- ElecEllipsoidPrimitive,
- FlowLinePrimitive,
- LabelPrimitive,
- ModelPrimitive,
- PointPrimitive,
- PolylinePrimitive,
- ScanCirclePrimitive,
- TrailLinePrimitive,
- VideoPrimitive,
- WaterPrimitive,
- Billboard,
- Box,
- Circle,
- Corridor,
- Cylinder,
- DivIcon,
- Ellipse,
- Ellipsoid,
- Label,
- Plane,
- Point,
- Polygon,
- Polyline,
- PolylineVolume,
- Rectangle,
- Wall,
- /**
- * material
- */
- CircleBlurMaterialProperty,
- CircleDiffuseMaterialProperty,
- CircleFadeMaterialProperty,
- CirclePulseMaterialProperty,
- CircleScanMaterialProperty,
- CircleSpiralMaterialProperty,
- CircleVaryMaterialProperty,
- CircleWaveMaterialProperty,
- EllipsoidElectricMaterialProperty,
- EllipsoidTrailMaterialProperty,
- PolylineFlickerMaterialProperty,
- PolylineFlowMaterialProperty,
- PolylineImageTrailMaterialProperty,
- PolylineLightingMaterialProperty,
- PolylineLightingTrailMaterialProperty,
- PolylineTrailMaterialProperty,
- RadarLineMaterialProperty,
- RadarSweepMaterialProperty,
- RadarWaveMaterialProperty,
- WallImageTrailMaterialProperty,
- WallLineTrailMaterialProperty,
- WallTrailMaterialProperty,
- WaterMaterialProperty,
- /**
- * effect
- */
- Effect,
- /**
- * animation
- */
- AroundView,
- AroundPoint,
- CircleScan,
- Flying,
- GlobeRotate,
- RadarScan,
- /**
- *
- * roaming
- */
- RoamingViewMode,
- RoamingPath,
- RoamingController,
- /**
- * weather
- */
- Weather,
- /**
- * plot
- */
- Plot,
- /**
- * wind
- */
- WindLayer,
- /**
- * heat
- */
- HeatLayer,
- /**
- * exts
- */
- GroundSkyBox,
- /**
- * thirdPart
- */
- ...thirdPart
- }
-
- export default components
|