@rtzh/gy-cesium 0.0.66 → 0.0.68

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.
Files changed (65) hide show
  1. package/lib/types/Cesium.d.ts +3 -0
  2. package/lib/types/components/ClickDistance/index.d.ts +1 -0
  3. package/lib/types/components/GyCesium/index.d.ts +1 -0
  4. package/lib/types/components/GyCesiumHtml/index.d.ts +1 -0
  5. package/lib/types/components/GyCesiumLightLine/index.d.ts +1 -0
  6. package/lib/types/components/GyCesiumLine/index.d.ts +1 -0
  7. package/lib/types/components/GyCesiumModelSidebar/index.d.ts +1 -0
  8. package/lib/types/components/GyCesiumToolbar/index.d.ts +1 -0
  9. package/lib/types/components/GyCesiumWall/index.d.ts +1 -0
  10. package/lib/types/components/GyCesiumWater/index.d.ts +1 -0
  11. package/lib/types/components/ModelControls/index.d.ts +1 -0
  12. package/lib/types/components/RealTimePointClouds/index.d.ts +1 -0
  13. package/lib/types/components/SmallMap/index.d.ts +1 -0
  14. package/lib/types/components/TrackRoam/index.d.ts +1 -0
  15. package/lib/types/components/VideoShadow/index.d.ts +1 -0
  16. package/lib/types/components/demo/index.d.ts +1 -0
  17. package/lib/types/components/index.d.ts +14 -0
  18. package/lib/types/hooks/CesiumClass.d.ts +244 -0
  19. package/lib/types/hooks/CesiumFirstPerson.d.ts +95 -0
  20. package/lib/types/hooks/CesiumModel.d.ts +7 -0
  21. package/lib/types/hooks/CesiumSmallModel.d.ts +17 -0
  22. package/lib/types/hooks/CesiumUnit.d.ts +28 -0
  23. package/lib/types/hooks/Geometry/CT.d.ts +61 -0
  24. package/lib/types/hooks/Geometry/CesiumPrimitivePolyline.d.ts +50 -0
  25. package/lib/types/hooks/Geometry/CesiumWater.d.ts +37 -0
  26. package/lib/types/hooks/Geometry/HtmlOverlayManager.d.ts +11 -0
  27. package/lib/types/hooks/Geometry/LabelPanelManager.d.ts +137 -0
  28. package/lib/types/hooks/Geometry/ModelDragController.d.ts +43 -0
  29. package/lib/types/hooks/Geometry/TrackRoam.d.ts +28 -0
  30. package/lib/types/hooks/Geometry/VideoShed3d-old.d.ts +106 -0
  31. package/lib/types/hooks/Geometry/VideoShed3d.d.ts +107 -0
  32. package/lib/types/hooks/Geometry/WallEntityManager.d.ts +153 -0
  33. package/lib/types/hooks/Loader/CesiumLoader.d.ts +5 -0
  34. package/lib/types/hooks/Loader/GltfLoader.d.ts +169 -0
  35. package/lib/types/hooks/Loader/ModelMatrix.d.ts +71 -0
  36. package/lib/types/hooks/Loader/RealTimePointCloudsClass.d.ts +31 -0
  37. package/lib/types/hooks/Loader/RtzhTilesetLoader.d.ts +506 -0
  38. package/lib/types/hooks/Loader/TilesetLoader.d.ts +133 -0
  39. package/lib/types/hooks/Loader/createXrayOutline.d.ts +10 -0
  40. package/lib/types/hooks/Loader/xrayOutlineGpuAdapter-a.d.ts +55 -0
  41. package/lib/types/hooks/Loader/xrayOutlineGpuAdapter-ls.d.ts +57 -0
  42. package/lib/types/hooks/Loader/xrayOutlineGpuAdapter.d.ts +57 -0
  43. package/lib/types/hooks/Loader/xrayOutlineMask.d.ts +5 -0
  44. package/lib/types/hooks/Material/GridFloorMaterial.d.ts +54 -0
  45. package/lib/types/hooks/Material/GyMaterialPolygon.d.ts +4 -0
  46. package/lib/types/hooks/Material/PolylineArrowMaterialProperty.d.ts +25 -0
  47. package/lib/types/hooks/Material/PolylineLightingMaterialProperty.d.ts +20 -0
  48. package/lib/types/hooks/Material/PolylineTrialFlowMaterialProperty.d.ts +20 -0
  49. package/lib/types/hooks/ModelSplit.d.ts +9 -0
  50. package/lib/types/hooks/baseUrl.d.ts +2 -0
  51. package/lib/types/hooks/gyCesium.d.ts +11 -0
  52. package/lib/types/hooks/postProcess/GyEdgeDetectionStage.d.ts +12 -0
  53. package/lib/types/hooks/postProcess/WindingPoint.d.ts +25 -0
  54. package/lib/types/hooks/transformlat.d.ts +37 -0
  55. package/lib/types/index.d.ts +11 -0
  56. package/lib/v2/gy-cesium.cjs.js +2 -2
  57. package/lib/v2/gy-cesium.es.js +8950 -8304
  58. package/lib/v2/style.css +1 -1
  59. package/lib/v2.7/gy-cesium.cjs.js +2 -2
  60. package/lib/v2.7/gy-cesium.es.js +8621 -7964
  61. package/lib/v2.7/style.css +1 -1
  62. package/lib/v3/gy-cesium.cjs.js +5 -5
  63. package/lib/v3/gy-cesium.es.js +7726 -7059
  64. package/lib/v3/style.css +1 -1
  65. package/package.json +1 -1
@@ -0,0 +1,137 @@
1
+ /**
2
+ * 标签面板配置选项
3
+ */
4
+ export interface LabelPanelOptions {
5
+ text?: string;
6
+ textColor?: string;
7
+ backgroundColor?: string;
8
+ id: string;
9
+ isEditMode?: boolean;
10
+ centerPosition: [number, number, number];
11
+ width?: number;
12
+ height?: number;
13
+ fontSize?: number;
14
+ fontFamily?: string;
15
+ margin?: number;
16
+ rotation?: [number, number, number];
17
+ textRotation?: number;
18
+ data?: Record<string, any>;
19
+ isSelected?: boolean;
20
+ textAlign?: 'left' | 'center' | 'right';
21
+ verticalAlign?: 'top' | 'center' | 'bottom';
22
+ scrollY?: number;
23
+ autoScrollSpeed?: number;
24
+ }
25
+ interface TextUpdateItem {
26
+ id?: string;
27
+ dataId?: string;
28
+ text: string;
29
+ }
30
+ interface DataIdTextUpdateItem {
31
+ dataId: string;
32
+ text: string;
33
+ }
34
+ export declare class LabelPanelManager {
35
+ cesiumObj: any;
36
+ private view;
37
+ private instances;
38
+ private dataIdIndex;
39
+ private isEditMode;
40
+ private downHandler;
41
+ private gui;
42
+ private globalGui;
43
+ private currentEditId;
44
+ private editData;
45
+ private readonly FIX_RENDER_SIZE;
46
+ private readonly TEXTURE_SCALE;
47
+ private readonly MIN_VISUAL_SIZE;
48
+ private readonly TEXT_PADDING;
49
+ private readonly LINE_HEIGHT_RATIO;
50
+ private defaultOptions;
51
+ constructor(cesiumObj: any, defaultOptions?: Partial<LabelPanelOptions>);
52
+ private convertCenterPosition;
53
+ private calculateTextMetrics;
54
+ private initGlobalDefaultOptionsGui;
55
+ private refreshAllLabels;
56
+ private initDblClickHandler;
57
+ private onLabelDoubleClick;
58
+ private openDatGui;
59
+ private renderDataGui;
60
+ private syncEditInstance;
61
+ private createPrimitiveForInstance;
62
+ private createHighResTexture;
63
+ private updateSinglePrimitive;
64
+ private updateDataIdIndex;
65
+ updateText(idOrList: string | TextUpdateItem[], text?: string): void;
66
+ private updateLabelTexture;
67
+ updateTextByDataId(list: string | DataIdTextUpdateItem[], text?: string): void;
68
+ private closeAndCancelSelect;
69
+ private destroyGui;
70
+ closePanel(): void;
71
+ private generateId;
72
+ private parseColor;
73
+ private createModelMatrix;
74
+ private updatePrimitives;
75
+ private removePrimitives;
76
+ add(opt: LabelPanelOptions, batch?: boolean): string;
77
+ updateOptions(id: string, opt: Partial<LabelPanelOptions>): void;
78
+ setPosition(id: string, pos: [number, number, number]): void;
79
+ setEditMode(e: boolean): void;
80
+ private animationFrameId;
81
+ private autoScrollStates;
82
+ private startAutoScrollAnimation;
83
+ private stopAutoScrollAnimation;
84
+ remove(id: string): void;
85
+ removeAll(): void;
86
+ show(): void;
87
+ hide(): void;
88
+ getText(id: string): string;
89
+ getPosition(id: string): [number, number, number];
90
+ has(id: string): boolean;
91
+ getCount(): number;
92
+ destroy(): void;
93
+ getAllPanelConfigs(): {
94
+ text?: string;
95
+ textColor?: string;
96
+ backgroundColor?: string;
97
+ id: string;
98
+ isEditMode?: boolean;
99
+ centerPosition: [number, number, number];
100
+ width?: number;
101
+ height?: number;
102
+ fontSize?: number;
103
+ fontFamily?: string;
104
+ margin?: number;
105
+ rotation?: [number, number, number];
106
+ textRotation?: number;
107
+ data?: Record<string, any>;
108
+ isSelected?: boolean;
109
+ textAlign?: "left" | "right" | "center";
110
+ verticalAlign?: "top" | "center" | "bottom";
111
+ scrollY?: number;
112
+ autoScrollSpeed?: number;
113
+ }[];
114
+ getPanelConfig(id: string): {
115
+ text?: string;
116
+ textColor?: string;
117
+ backgroundColor?: string;
118
+ id: string;
119
+ isEditMode?: boolean;
120
+ centerPosition: [number, number, number];
121
+ width?: number;
122
+ height?: number;
123
+ fontSize?: number;
124
+ fontFamily?: string;
125
+ margin?: number;
126
+ rotation?: [number, number, number];
127
+ textRotation?: number;
128
+ data?: Record<string, any>;
129
+ isSelected?: boolean;
130
+ textAlign?: "left" | "right" | "center";
131
+ verticalAlign?: "top" | "center" | "bottom";
132
+ scrollY?: number;
133
+ autoScrollSpeed?: number;
134
+ };
135
+ importPanelConfigs(list: any[]): string[];
136
+ }
137
+ export default LabelPanelManager;
@@ -0,0 +1,43 @@
1
+ import Cesium from '../../Cesium';
2
+ declare class ModelDragController {
3
+ private viewer;
4
+ private modelObj;
5
+ private downHandler;
6
+ private keyHandler;
7
+ private currentFeatureId;
8
+ private arrowBasePosition;
9
+ private initialModelCenter;
10
+ private initialMousePosition;
11
+ private initialMouseAngle;
12
+ private initialRotateVal;
13
+ private initialScaleVal;
14
+ private isDragging;
15
+ private activeArrowType;
16
+ private isRotating;
17
+ private activeRingType;
18
+ private isScaling;
19
+ private arrows;
20
+ private rings;
21
+ private scaleBox;
22
+ private readonly ARROW_CONSTS;
23
+ constructor(viewer: Cesium.Viewer, modelObj: any);
24
+ private initHandler;
25
+ private bindKeyHandler;
26
+ clearSelection(): void;
27
+ deleteSelectedModel(): void;
28
+ private bindEvents;
29
+ private calculateMouseAngle;
30
+ private calculateAngleDelta;
31
+ private commonDragHandler;
32
+ private createArrowPrimitive;
33
+ private createRingPrimitive;
34
+ private clearArrows;
35
+ private clearRings;
36
+ private createCoordinateArrows;
37
+ private createCoordinateRings;
38
+ private createScaleBoxPrimitive;
39
+ private createScaleBox;
40
+ private clearScaleBox;
41
+ destroy(): void;
42
+ }
43
+ export default ModelDragController;
@@ -0,0 +1,28 @@
1
+ declare class TrackRoam {
2
+ cesiumObj: any;
3
+ positions: any;
4
+ viewer: any;
5
+ smallViewer: any;
6
+ options: any;
7
+ animateEntity: any;
8
+ finishEntity: any;
9
+ smallAnimateEntity: any;
10
+ timoutId: any;
11
+ timeIndex: number;
12
+ isInit: boolean;
13
+ constructor(cesiumObj: any, positions: any, opt: any);
14
+ initOptions(positions: any, opt: any): void;
15
+ start(date?: any): void;
16
+ stop(): void;
17
+ addRoamLine(date: any): void;
18
+ computeCirclularFlight(_0x4ecec6: any, _0x27acec: any, _0x25a984: any): any;
19
+ clearAnimate(): void;
20
+ clearAnimateEntity(): void;
21
+ focus(): void;
22
+ getSiteTimes(_0x22ec37: any, _0x4f816: number): {
23
+ timeSum: number;
24
+ siteTimes: any;
25
+ };
26
+ spaceDistance(_0x305003: any): number;
27
+ }
28
+ export default TrackRoam;
@@ -0,0 +1,106 @@
1
+ import Cesium from '../../Cesium';
2
+ interface VideoShed3dOptions {
3
+ id: string | null;
4
+ video: HTMLVideoElement | undefined;
5
+ position: {
6
+ x: number;
7
+ y: number;
8
+ z: number;
9
+ };
10
+ rotation: {
11
+ x: number;
12
+ z: number;
13
+ };
14
+ near: number;
15
+ far: number;
16
+ fov: number;
17
+ aspectRatio: number;
18
+ alpha: number;
19
+ debugFrustum: boolean;
20
+ }
21
+ interface VideoShed3dRawOptions {
22
+ id?: string;
23
+ video?: HTMLVideoElement;
24
+ x?: number;
25
+ y?: number;
26
+ lon?: number;
27
+ lat?: number;
28
+ height?: number;
29
+ rotateX?: number;
30
+ rotateZ?: number;
31
+ near?: number;
32
+ far?: number;
33
+ fov?: number;
34
+ aspectRatio?: number;
35
+ alpha?: number;
36
+ debugFrustum?: boolean;
37
+ }
38
+ interface CameraParams {
39
+ cameraPosition: Cesium.Cartesian3;
40
+ position: Cesium.Cartesian3;
41
+ alpha: number;
42
+ near: number;
43
+ fov: number;
44
+ debugFrustum: boolean;
45
+ }
46
+ interface ControlOption {
47
+ name: string;
48
+ value: string;
49
+ type: string;
50
+ step?: number;
51
+ min?: number;
52
+ max?: number;
53
+ }
54
+ declare class VideoShed3d {
55
+ viewer: any;
56
+ CT: any;
57
+ options: VideoShed3dOptions;
58
+ near: number;
59
+ cameraPosition: Cesium.Cartesian3;
60
+ position: Cesium.Cartesian3;
61
+ alpha: number;
62
+ video: HTMLVideoElement | undefined;
63
+ debugFrustum: boolean;
64
+ aspectRatio: number;
65
+ fov: number;
66
+ activeVideoListener: (() => void) | null;
67
+ videoTexture: any;
68
+ orientation: Cesium.Quaternion;
69
+ viewShadowMap: any;
70
+ cameraFrustum: any;
71
+ postProcess: any;
72
+ _camerafov: any;
73
+ _cameraPosition: any;
74
+ _debugFrustum: any;
75
+ _position: any;
76
+ _aspectRatio: any;
77
+ url: string;
78
+ id: string | null;
79
+ oldOpt: VideoShed3dRawOptions;
80
+ cesiumObj: any;
81
+ private _throttleTimer;
82
+ private _lastCachedResult;
83
+ constructor(viewer: any, cesiumObj: any, oldOpt: VideoShed3dRawOptions);
84
+ setOptions(oldOpt: VideoShed3dRawOptions): void;
85
+ getModelName(): string;
86
+ getControlValue(): Record<string, any>;
87
+ flyTo(): void;
88
+ getControlOptions(): ControlOption[];
89
+ private applyCameraParams;
90
+ initCameraParam(): CameraParams;
91
+ activeVideo(): void;
92
+ getOrientation(): void;
93
+ createShadowMap(): void;
94
+ addCameraFrustum(): void;
95
+ addPostProcess(): void;
96
+ getStyle(): VideoShed3dOptions;
97
+ updateStyle(newOptions: VideoShed3dRawOptions): void;
98
+ deActiveVideo(): void;
99
+ update(frameState: any): void;
100
+ setFrustumVisible(visible: boolean): void;
101
+ isDestroyed(): boolean;
102
+ getProjectedPositionOnTerrain(percentageX: number, percentageY: number, tilesetId?: string): Cesium.Cartesian3 | null;
103
+ destroy(): void;
104
+ remove(): void;
105
+ }
106
+ export default VideoShed3d;
@@ -0,0 +1,107 @@
1
+ import Cesium from '../../Cesium';
2
+ interface VideoShed3dOptions {
3
+ id: string | null;
4
+ video: HTMLVideoElement | undefined;
5
+ position: {
6
+ x: number;
7
+ y: number;
8
+ z: number;
9
+ };
10
+ rotation: {
11
+ x: number;
12
+ z: number;
13
+ };
14
+ near: number;
15
+ far: number;
16
+ fov: number;
17
+ aspectRatio: number;
18
+ alpha: number;
19
+ debugFrustum: boolean;
20
+ }
21
+ interface VideoShed3dRawOptions {
22
+ id?: string;
23
+ video?: HTMLVideoElement;
24
+ x?: number;
25
+ y?: number;
26
+ lon?: number;
27
+ lat?: number;
28
+ height?: number;
29
+ rotateX?: number;
30
+ rotateZ?: number;
31
+ near?: number;
32
+ far?: number;
33
+ fov?: number;
34
+ aspectRatio?: number;
35
+ alpha?: number;
36
+ debugFrustum?: boolean;
37
+ }
38
+ interface CameraParams {
39
+ cameraPosition: Cesium.Cartesian3;
40
+ position: Cesium.Cartesian3;
41
+ alpha: number;
42
+ near: number;
43
+ fov: number;
44
+ debugFrustum: boolean;
45
+ }
46
+ interface ControlOption {
47
+ name: string;
48
+ value: string;
49
+ type: string;
50
+ step?: number;
51
+ min?: number;
52
+ max?: number;
53
+ }
54
+ declare class VideoShed3d {
55
+ viewer: any;
56
+ CT: any;
57
+ options: VideoShed3dOptions;
58
+ near: number;
59
+ cameraPosition: Cesium.Cartesian3;
60
+ position: Cesium.Cartesian3;
61
+ alpha: number;
62
+ video: HTMLVideoElement | undefined;
63
+ debugFrustum: boolean;
64
+ aspectRatio: number;
65
+ fov: number;
66
+ activeVideoListener: (() => void) | null;
67
+ videoTexture: any;
68
+ orientation: Cesium.Quaternion;
69
+ viewShadowMap: any;
70
+ cameraFrustum: any;
71
+ postProcess: any;
72
+ _camerafov: any;
73
+ _cameraPosition: any;
74
+ _debugFrustum: any;
75
+ _position: any;
76
+ _aspectRatio: any;
77
+ url: string;
78
+ id: string | null;
79
+ oldOpt: VideoShed3dRawOptions;
80
+ cesiumObj: any;
81
+ private _throttleTimer;
82
+ private _lastCachedResult;
83
+ constructor(viewer: any, cesiumObj: any, oldOpt: VideoShed3dRawOptions);
84
+ setOptions(oldOpt: VideoShed3dRawOptions): void;
85
+ getModelName(): string;
86
+ getControlValue(): Record<string, any>;
87
+ flyTo(): void;
88
+ getControlOptions(): ControlOption[];
89
+ private applyCameraParams;
90
+ initCameraParam(): CameraParams;
91
+ activeVideo(): void;
92
+ getOrientation(): void;
93
+ createShadowMap(): void;
94
+ addCameraFrustum(): void;
95
+ addPostProcess(): void;
96
+ getStyle(): VideoShed3dOptions;
97
+ updateStyle(newOptions: VideoShed3dRawOptions): void;
98
+ deActiveVideo(): void;
99
+ update(frameState: any): void;
100
+ setFrustumVisible(visible: boolean): void;
101
+ private _destroyed;
102
+ isDestroyed(): boolean;
103
+ getProjectedPositionOnTerrain(percentageX: number, percentageY: number, tilesetId?: string): Cesium.Cartesian3 | null;
104
+ destroy(): void;
105
+ remove(): void;
106
+ }
107
+ export default VideoShed3d;
@@ -0,0 +1,153 @@
1
+ import Cesium from '../../Cesium';
2
+ /**
3
+ * Wall实体配置接口
4
+ */
5
+ export interface WallEntityOptions {
6
+ /** 位置列表 [[经度, 纬度, 顶部高度, 墙体高度], ...] */
7
+ positionList: number[][];
8
+ /** 墙体高度 */
9
+ height?: number;
10
+ /** 底部高度 */
11
+ bottomHeight?: number;
12
+ /** 颜色 */
13
+ color?: string;
14
+ /** 颜色透明度 */
15
+ colorOpacity?: number;
16
+ /** 图片路径 */
17
+ imageSrc?: string;
18
+ /** 图片重复X */
19
+ imageReteatX?: number;
20
+ /** 图片重复Y */
21
+ imageReteatY?: number;
22
+ /** 动画类型: 0-静态, 1-从下往上, 2-从上往下, 3-双向, 4-箭头流动 */
23
+ animateType?: number;
24
+ /** 动画速度 */
25
+ speed?: number;
26
+ /** 镜像重复 */
27
+ mirroredRepeat?: boolean;
28
+ /** 是否格式化位置 */
29
+ formatPosition?: boolean;
30
+ /** 顶部颜色 */
31
+ topColor?: string;
32
+ /** 顶部颜色透明度 */
33
+ topColorOpacity?: number;
34
+ /** 顶部缩放 */
35
+ topScale?: number;
36
+ /** 是否禁用深度测试(设为 Number.POSITIVE_INFINITY 时生效) */
37
+ disableDepthTest?: boolean;
38
+ /** 是否显示围栏内部面 */
39
+ showInnerFace?: boolean;
40
+ /** 内部面颜色 */
41
+ innerFaceColor?: string;
42
+ /** 内部面透明度 */
43
+ innerFaceOpacity?: number;
44
+ }
45
+ /**
46
+ * Wall实体管理器
47
+ */
48
+ export declare class WallEntityManager {
49
+ private view;
50
+ private wallPrimitive;
51
+ private wallPrimitive2;
52
+ private topEntity;
53
+ private innerFaceEntity;
54
+ private minimumHeights;
55
+ private maximumHeights;
56
+ private dayMaximumHeights;
57
+ private maxHei;
58
+ private direction;
59
+ private hideEarth;
60
+ private useRealCoords;
61
+ private HIDEMODELLONLAT;
62
+ private lonlatToWGS84;
63
+ private animationFrameId;
64
+ private hideBottomImg;
65
+ private hideTopImg;
66
+ constructor(view: Cesium.Viewer, options: {
67
+ hideEarth?: boolean;
68
+ useRealCoords?: boolean;
69
+ HIDEMODELLONLAT?: number[];
70
+ lonlatToWGS84: (lon: number, lat: number) => number[];
71
+ disableDepthTest?: boolean;
72
+ });
73
+ /**
74
+ * 格式化位置坐标
75
+ */
76
+ private formatPositions;
77
+ /**
78
+ * 缩放位置坐标
79
+ */
80
+ private scalePositions;
81
+ /**
82
+ * 创建材质
83
+ */
84
+ private createMaterial;
85
+ /**
86
+ * 创建静态墙体
87
+ */
88
+ private createStaticWall;
89
+ /**
90
+ * 创建动画墙体
91
+ */
92
+ private createAnimatedWall;
93
+ /**
94
+ * 启动动画循环
95
+ */
96
+ private startAnimation;
97
+ /**
98
+ * 绘制墙体
99
+ */
100
+ draw(options: WallEntityOptions): void;
101
+ /**
102
+ * 通过 Cartesian3 坐标绘制墙体(新增方法)
103
+ * @param options - 配置项,positions 为 Cartesian3 数组 + 高度信息
104
+ */
105
+ drawByCartesian3(options: {
106
+ positionList: Array<{
107
+ position: Cesium.Cartesian3;
108
+ topHeight: number;
109
+ bottomHeight: number;
110
+ }>;
111
+ height?: number;
112
+ bottomHeight?: number;
113
+ color?: string;
114
+ colorOpacity?: number;
115
+ imageSrc?: string;
116
+ imageReteatX?: number;
117
+ imageReteatY?: number;
118
+ animateType?: number;
119
+ speed?: number;
120
+ mirroredRepeat?: boolean;
121
+ topColor?: string;
122
+ topColorOpacity?: number;
123
+ disableDepthTest?: boolean;
124
+ showInnerFace?: boolean;
125
+ innerFaceColor?: string;
126
+ innerFaceOpacity?: number;
127
+ }): void;
128
+ /**
129
+ * 创建箭头流动墙体
130
+ */
131
+ private createArrowWall;
132
+ /**
133
+ * 创建顶部多边形
134
+ */
135
+ private createTopPolygon;
136
+ /**
137
+ * 创建围栏内部面
138
+ */
139
+ private createInnerPolygon;
140
+ /**
141
+ * 移除所有实体
142
+ */
143
+ remove(): void;
144
+ /**
145
+ * 获取实体
146
+ */
147
+ getEntities(): {
148
+ wallPrimitive: Cesium.Primitive | null;
149
+ wallPrimitive2: Cesium.Primitive | null;
150
+ topEntity: Cesium.Entity | null;
151
+ innerFaceEntity: Cesium.Entity | null;
152
+ };
153
+ }
@@ -0,0 +1,5 @@
1
+ declare class CesiumLoader {
2
+ Cesium: any;
3
+ constructor();
4
+ }
5
+ export default CesiumLoader;