Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. /**
  2. * @Author: Caven
  3. * @Date: 2021-03-13 17:17:19
  4. */
  5. import { Cesium } from '@dc-modules/namespace'
  6. /**
  7. * base
  8. */
  9. import Position from '@dc-modules/position/Position'
  10. import Parse from '@dc-modules/parse/Parse'
  11. import { Util, DomUtil, PlotUtil } from '@dc-modules/utils'
  12. import { Transform, CoordTransform } from '@dc-modules/transform'
  13. import { MouseEventType, SceneEventType } from '@dc-modules/event'
  14. import {
  15. area,
  16. bounds,
  17. center,
  18. curve,
  19. distance,
  20. heading,
  21. isBetween,
  22. mid,
  23. parabola
  24. } from '@dc-modules/math'
  25. import Viewer from '@dc-modules/viewer/Viewer'
  26. /**
  27. * imagery
  28. */
  29. import { ImageryType, ImageryLayerFactory } from '@dc-modules/imagery'
  30. /**
  31. * terrain
  32. */
  33. import { TerrainType, TerrainFactory } from '@dc-modules/terrain'
  34. /**
  35. * layer
  36. */
  37. import {
  38. LayerType,
  39. Layer,
  40. ClusterLayer,
  41. CzmlLayer,
  42. DynamicLayer,
  43. FeatureGridLayer,
  44. GeoJsonLayer,
  45. HtmlLayer,
  46. KmlLayer,
  47. LabelLayer,
  48. LayerGroup,
  49. PrimitiveLayer,
  50. TilesetLayer,
  51. TopoJsonLayer,
  52. VectorLayer
  53. } from '@dc-modules/layer'
  54. /**
  55. * overlay
  56. */
  57. import {
  58. OverlayType,
  59. Overlay,
  60. CustomBillboard,
  61. CustomLabel,
  62. DynamicBillboard,
  63. DynamicModel,
  64. Model,
  65. Tileset,
  66. AttackArrow,
  67. DoubleArrow,
  68. FineArrow,
  69. GatheringPlace,
  70. TailedAttackArrow,
  71. BillboardPrimitive,
  72. DiffuseWallPrimitive,
  73. ElecEllipsoidPrimitive,
  74. FlowLinePrimitive,
  75. LabelPrimitive,
  76. ModelPrimitive,
  77. PointPrimitive,
  78. PolylinePrimitive,
  79. ScanCirclePrimitive,
  80. TrailLinePrimitive,
  81. VideoPrimitive,
  82. WaterPrimitive,
  83. Billboard,
  84. Box,
  85. Circle,
  86. Corridor,
  87. Cylinder,
  88. DivIcon,
  89. Ellipse,
  90. Ellipsoid,
  91. Label,
  92. Plane,
  93. Point,
  94. Polygon,
  95. Polyline,
  96. PolylineVolume,
  97. Rectangle,
  98. Wall
  99. } from '@dc-modules/overlay'
  100. /**
  101. * material
  102. */
  103. import {
  104. CircleBlurMaterialProperty,
  105. CircleDiffuseMaterialProperty,
  106. CircleFadeMaterialProperty,
  107. CirclePulseMaterialProperty,
  108. CircleScanMaterialProperty,
  109. CircleSpiralMaterialProperty,
  110. CircleVaryMaterialProperty,
  111. CircleWaveMaterialProperty,
  112. EllipsoidElectricMaterialProperty,
  113. EllipsoidTrailMaterialProperty,
  114. PolylineFlickerMaterialProperty,
  115. PolylineFlowMaterialProperty,
  116. PolylineImageTrailMaterialProperty,
  117. PolylineLightingMaterialProperty,
  118. PolylineLightingTrailMaterialProperty,
  119. PolylineTrailMaterialProperty,
  120. RadarLineMaterialProperty,
  121. RadarSweepMaterialProperty,
  122. RadarWaveMaterialProperty,
  123. WallImageTrailMaterialProperty,
  124. WallLineTrailMaterialProperty,
  125. WallTrailMaterialProperty,
  126. WaterMaterialProperty
  127. } from '@dc-modules/material'
  128. /**
  129. *
  130. * effect
  131. */
  132. import Effect from '@dc-modules/effect/Effect'
  133. /**
  134. * animation
  135. */
  136. import {
  137. AroundView,
  138. AroundPoint,
  139. CircleScan,
  140. Flying,
  141. GlobeRotate,
  142. RadarScan
  143. } from '@dc-modules/animation'
  144. /**
  145. *
  146. * roaming
  147. */
  148. import {
  149. RoamingViewMode,
  150. RoamingPath,
  151. RoamingController
  152. } from '@dc-modules/roaming'
  153. /**
  154. *
  155. * weather
  156. */
  157. import Weather from '@dc-modules/weather/Weather'
  158. /**
  159. *
  160. * plot
  161. */
  162. import Plot from '@dc-modules/plot/Plot'
  163. /**
  164. *
  165. * wind
  166. */
  167. import WindLayer from '@dc-modules/wind/WindLayer'
  168. /**
  169. *
  170. * heat
  171. */
  172. import HeatLayer from '@dc-modules/heat/HeatLayer'
  173. /**
  174. * exts
  175. */
  176. import { GroundSkyBox } from '@dc-modules/exts'
  177. /**
  178. * thirdPart
  179. */
  180. import thirdPart from '@dc-modules/thirdpart'
  181. Cesium.Math.area = area
  182. Cesium.Math.bounds = bounds
  183. Cesium.Math.mid = mid
  184. Cesium.Math.center = center
  185. Cesium.Math.distance = distance
  186. Cesium.Math.heading = heading
  187. Cesium.Math.isBetween = isBetween
  188. Cesium.Math.parabola = parabola
  189. Cesium.Math.curve = curve
  190. const components = {
  191. /**
  192. * base
  193. */
  194. Position,
  195. Parse,
  196. Util,
  197. DomUtil,
  198. PlotUtil,
  199. Transform,
  200. CoordTransform,
  201. MouseEventType,
  202. SceneEventType,
  203. Math: Cesium.Math,
  204. Viewer,
  205. World: Viewer,
  206. Map: Viewer,
  207. /**
  208. * imagery
  209. */
  210. ImageryType,
  211. ImageryLayerFactory,
  212. /**
  213. * terrain
  214. */
  215. TerrainType,
  216. TerrainFactory,
  217. /**
  218. * layer
  219. */
  220. LayerType,
  221. Layer,
  222. ClusterLayer,
  223. CzmlLayer,
  224. DynamicLayer,
  225. FeatureGridLayer,
  226. GeoJsonLayer,
  227. HtmlLayer,
  228. KmlLayer,
  229. LabelLayer,
  230. LayerGroup,
  231. PrimitiveLayer,
  232. TilesetLayer,
  233. TopoJsonLayer,
  234. VectorLayer,
  235. /**
  236. * overlay
  237. */
  238. OverlayType,
  239. Overlay,
  240. CustomBillboard,
  241. CustomLabel,
  242. DynamicBillboard,
  243. DynamicModel,
  244. Model,
  245. Tileset,
  246. AttackArrow,
  247. DoubleArrow,
  248. FineArrow,
  249. GatheringPlace,
  250. TailedAttackArrow,
  251. BillboardPrimitive,
  252. DiffuseWallPrimitive,
  253. ElecEllipsoidPrimitive,
  254. FlowLinePrimitive,
  255. LabelPrimitive,
  256. ModelPrimitive,
  257. PointPrimitive,
  258. PolylinePrimitive,
  259. ScanCirclePrimitive,
  260. TrailLinePrimitive,
  261. VideoPrimitive,
  262. WaterPrimitive,
  263. Billboard,
  264. Box,
  265. Circle,
  266. Corridor,
  267. Cylinder,
  268. DivIcon,
  269. Ellipse,
  270. Ellipsoid,
  271. Label,
  272. Plane,
  273. Point,
  274. Polygon,
  275. Polyline,
  276. PolylineVolume,
  277. Rectangle,
  278. Wall,
  279. /**
  280. * material
  281. */
  282. CircleBlurMaterialProperty,
  283. CircleDiffuseMaterialProperty,
  284. CircleFadeMaterialProperty,
  285. CirclePulseMaterialProperty,
  286. CircleScanMaterialProperty,
  287. CircleSpiralMaterialProperty,
  288. CircleVaryMaterialProperty,
  289. CircleWaveMaterialProperty,
  290. EllipsoidElectricMaterialProperty,
  291. EllipsoidTrailMaterialProperty,
  292. PolylineFlickerMaterialProperty,
  293. PolylineFlowMaterialProperty,
  294. PolylineImageTrailMaterialProperty,
  295. PolylineLightingMaterialProperty,
  296. PolylineLightingTrailMaterialProperty,
  297. PolylineTrailMaterialProperty,
  298. RadarLineMaterialProperty,
  299. RadarSweepMaterialProperty,
  300. RadarWaveMaterialProperty,
  301. WallImageTrailMaterialProperty,
  302. WallLineTrailMaterialProperty,
  303. WallTrailMaterialProperty,
  304. WaterMaterialProperty,
  305. /**
  306. * effect
  307. */
  308. Effect,
  309. /**
  310. * animation
  311. */
  312. AroundView,
  313. AroundPoint,
  314. CircleScan,
  315. Flying,
  316. GlobeRotate,
  317. RadarScan,
  318. /**
  319. *
  320. * roaming
  321. */
  322. RoamingViewMode,
  323. RoamingPath,
  324. RoamingController,
  325. /**
  326. * weather
  327. */
  328. Weather,
  329. /**
  330. * plot
  331. */
  332. Plot,
  333. /**
  334. * wind
  335. */
  336. WindLayer,
  337. /**
  338. * heat
  339. */
  340. HeatLayer,
  341. /**
  342. * exts
  343. */
  344. GroundSkyBox,
  345. /**
  346. * thirdPart
  347. */
  348. ...thirdPart
  349. }
  350. export default components