@ztgkzhaohao/geo-effect-kit 0.1.0
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/LICENSE +21 -0
- package/README.md +40 -0
- package/dist/index.d.ts +947 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4089 -0
- package/dist/index.js.map +1 -0
- package/package.json +59 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,947 @@
|
|
|
1
|
+
import { type Viewer } from 'cesium';
|
|
2
|
+
export declare const GEO_RADAR_SCAN_MATERIAL_TYPE = "GeoRadarScanMaterial";
|
|
3
|
+
export declare const GEO_RIPPLE_SPREAD_MATERIAL_TYPE = "GeoRippleSpreadMaterial";
|
|
4
|
+
export declare const GEO_LIGHT_WALL_MATERIAL_TYPE = "GeoLightWallMaterial";
|
|
5
|
+
export declare const GEO_SCAN_CONE_MATERIAL_TYPE = "GeoScanConeMaterial";
|
|
6
|
+
export declare const GEO_SHIELD_DOME_MATERIAL_TYPE = "GeoShieldDomeMaterial";
|
|
7
|
+
export declare const GEO_TEMPERATURE_FIELD_MATERIAL_TYPE = "GeoTemperatureFieldMaterial";
|
|
8
|
+
export declare const GEO_WATER_SURFACE_MATERIAL_TYPE = "GeoWaterSurfaceMaterial";
|
|
9
|
+
export declare const RADAR_SCAN_TYPE_VALUES: readonly ["classic", "sector", "pulse", "grid"];
|
|
10
|
+
export declare const RIPPLE_SPREAD_TYPE_VALUES: readonly ["water", "energy", "soft"];
|
|
11
|
+
export declare const SCENE_WEATHER_TYPE_VALUES: readonly ["rain", "snow", "fog", "lightning"];
|
|
12
|
+
export declare const POST_PROCESS_TYPE_VALUES: readonly ["bloom", "night-vision", "black-white", "brightness", "mosaic", "depth-of-field"];
|
|
13
|
+
export declare const POLYLINE_FLOW_TYPE_VALUES: readonly ["dispatch", "migration", "attack", "comet", "electric"];
|
|
14
|
+
export declare const FLY_LINE_MODE_VALUES: readonly ["single-arc", "hub-spoke", "bidirectional"];
|
|
15
|
+
export declare const LIGHT_WALL_TYPE_VALUES: readonly ["security", "warning", "data", "fence", "pulse"];
|
|
16
|
+
export declare const SCAN_CONE_TYPE_VALUES: readonly ["searchlight", "radar", "camera", "drone", "alarm"];
|
|
17
|
+
export declare const SHIELD_DOME_TYPE_VALUES: readonly ["hex", "plasma", "matrix", "aegis", "storm"];
|
|
18
|
+
export declare const WATER_SURFACE_TYPE_VALUES: readonly ["river", "lake", "flood"];
|
|
19
|
+
export type RadarScanType = (typeof RADAR_SCAN_TYPE_VALUES)[number];
|
|
20
|
+
export type RippleSpreadType = (typeof RIPPLE_SPREAD_TYPE_VALUES)[number];
|
|
21
|
+
export type SceneWeatherType = (typeof SCENE_WEATHER_TYPE_VALUES)[number];
|
|
22
|
+
export type PostProcessType = (typeof POST_PROCESS_TYPE_VALUES)[number];
|
|
23
|
+
export type PolylineFlowType = (typeof POLYLINE_FLOW_TYPE_VALUES)[number];
|
|
24
|
+
export type FlyLineMode = (typeof FLY_LINE_MODE_VALUES)[number];
|
|
25
|
+
export type LightWallType = (typeof LIGHT_WALL_TYPE_VALUES)[number];
|
|
26
|
+
export type ScanConeType = (typeof SCAN_CONE_TYPE_VALUES)[number];
|
|
27
|
+
export type ShieldDomeType = (typeof SHIELD_DOME_TYPE_VALUES)[number];
|
|
28
|
+
export type WaterSurfaceType = (typeof WATER_SURFACE_TYPE_VALUES)[number];
|
|
29
|
+
export interface RadarScanCenter {
|
|
30
|
+
longitude: number;
|
|
31
|
+
latitude: number;
|
|
32
|
+
}
|
|
33
|
+
export interface GeoEffectPosition extends RadarScanCenter {
|
|
34
|
+
height?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface RadarScanOptions {
|
|
37
|
+
center: RadarScanCenter;
|
|
38
|
+
radiusMeters: number;
|
|
39
|
+
type?: RadarScanType | string;
|
|
40
|
+
color?: string;
|
|
41
|
+
scanDurationMs?: number;
|
|
42
|
+
opacity?: number;
|
|
43
|
+
rings?: boolean;
|
|
44
|
+
showCenter?: boolean;
|
|
45
|
+
visible?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface NormalizedRadarScanOptions {
|
|
48
|
+
center: RadarScanCenter;
|
|
49
|
+
radiusMeters: number;
|
|
50
|
+
type: RadarScanType;
|
|
51
|
+
color: string;
|
|
52
|
+
scanDurationMs: number;
|
|
53
|
+
opacity: number;
|
|
54
|
+
rings: boolean;
|
|
55
|
+
showCenter: boolean;
|
|
56
|
+
visible: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface RadarScanFlyToOptions {
|
|
59
|
+
duration?: number;
|
|
60
|
+
pitch?: number;
|
|
61
|
+
rangeMultiplier?: number;
|
|
62
|
+
}
|
|
63
|
+
export interface RadarScanEffectInstance {
|
|
64
|
+
update(options: Partial<RadarScanOptions>): void;
|
|
65
|
+
show(): void;
|
|
66
|
+
hide(): void;
|
|
67
|
+
flyTo(options?: RadarScanFlyToOptions): void;
|
|
68
|
+
destroy(): void;
|
|
69
|
+
isVisible(): boolean;
|
|
70
|
+
isDestroyed(): boolean;
|
|
71
|
+
getOptions(): NormalizedRadarScanOptions;
|
|
72
|
+
}
|
|
73
|
+
export interface RippleSpreadOptions {
|
|
74
|
+
center: RadarScanCenter;
|
|
75
|
+
radiusMeters: number;
|
|
76
|
+
type?: RippleSpreadType | string;
|
|
77
|
+
color?: string;
|
|
78
|
+
ringCount?: number;
|
|
79
|
+
durationMs?: number;
|
|
80
|
+
opacity?: number;
|
|
81
|
+
showCenter?: boolean;
|
|
82
|
+
visible?: boolean;
|
|
83
|
+
}
|
|
84
|
+
export interface NormalizedRippleSpreadOptions {
|
|
85
|
+
center: RadarScanCenter;
|
|
86
|
+
radiusMeters: number;
|
|
87
|
+
type: RippleSpreadType;
|
|
88
|
+
color: string;
|
|
89
|
+
ringCount: number;
|
|
90
|
+
durationMs: number;
|
|
91
|
+
opacity: number;
|
|
92
|
+
showCenter: boolean;
|
|
93
|
+
visible: boolean;
|
|
94
|
+
}
|
|
95
|
+
export interface RippleSpreadFlyToOptions {
|
|
96
|
+
duration?: number;
|
|
97
|
+
pitch?: number;
|
|
98
|
+
rangeMultiplier?: number;
|
|
99
|
+
}
|
|
100
|
+
export interface RippleSpreadEffectInstance {
|
|
101
|
+
update(options: Partial<RippleSpreadOptions>): void;
|
|
102
|
+
show(): void;
|
|
103
|
+
hide(): void;
|
|
104
|
+
flyTo(options?: RippleSpreadFlyToOptions): void;
|
|
105
|
+
destroy(): void;
|
|
106
|
+
isVisible(): boolean;
|
|
107
|
+
isDestroyed(): boolean;
|
|
108
|
+
getOptions(): NormalizedRippleSpreadOptions;
|
|
109
|
+
}
|
|
110
|
+
export interface SceneWeatherOptions {
|
|
111
|
+
type?: SceneWeatherType | string;
|
|
112
|
+
intensity?: number;
|
|
113
|
+
speed?: number;
|
|
114
|
+
windDirection?: number;
|
|
115
|
+
color?: string;
|
|
116
|
+
visible?: boolean;
|
|
117
|
+
}
|
|
118
|
+
export interface NormalizedSceneWeatherOptions {
|
|
119
|
+
type: SceneWeatherType;
|
|
120
|
+
intensity: number;
|
|
121
|
+
speed: number;
|
|
122
|
+
windDirection: number;
|
|
123
|
+
color: string;
|
|
124
|
+
visible: boolean;
|
|
125
|
+
}
|
|
126
|
+
export interface SceneWeatherEffectInstance {
|
|
127
|
+
update(options: Partial<SceneWeatherOptions>): void;
|
|
128
|
+
show(): void;
|
|
129
|
+
hide(): void;
|
|
130
|
+
flyTo(): void;
|
|
131
|
+
destroy(): void;
|
|
132
|
+
isVisible(): boolean;
|
|
133
|
+
isDestroyed(): boolean;
|
|
134
|
+
getOptions(): NormalizedSceneWeatherOptions;
|
|
135
|
+
}
|
|
136
|
+
export interface PostProcessOptions {
|
|
137
|
+
type?: PostProcessType | string;
|
|
138
|
+
strength?: number;
|
|
139
|
+
brightness?: number;
|
|
140
|
+
contrast?: number;
|
|
141
|
+
saturation?: number;
|
|
142
|
+
visible?: boolean;
|
|
143
|
+
}
|
|
144
|
+
export interface NormalizedPostProcessOptions {
|
|
145
|
+
type: PostProcessType;
|
|
146
|
+
strength: number;
|
|
147
|
+
brightness: number;
|
|
148
|
+
contrast: number;
|
|
149
|
+
saturation: number;
|
|
150
|
+
visible: boolean;
|
|
151
|
+
}
|
|
152
|
+
export interface PostProcessEffectInstance {
|
|
153
|
+
update(options: Partial<PostProcessOptions>): void;
|
|
154
|
+
show(): void;
|
|
155
|
+
hide(): void;
|
|
156
|
+
flyTo(): void;
|
|
157
|
+
destroy(): void;
|
|
158
|
+
isVisible(): boolean;
|
|
159
|
+
isDestroyed(): boolean;
|
|
160
|
+
getOptions(): NormalizedPostProcessOptions;
|
|
161
|
+
}
|
|
162
|
+
export interface PolylineFlowOptions {
|
|
163
|
+
positions: GeoEffectPosition[];
|
|
164
|
+
type?: PolylineFlowType | string;
|
|
165
|
+
color?: string;
|
|
166
|
+
speed?: number;
|
|
167
|
+
width?: number;
|
|
168
|
+
trailLength?: number;
|
|
169
|
+
pulseCount?: number;
|
|
170
|
+
cornerRadius?: number;
|
|
171
|
+
glowPower?: number;
|
|
172
|
+
taperPower?: number;
|
|
173
|
+
clampToGround?: boolean;
|
|
174
|
+
visible?: boolean;
|
|
175
|
+
}
|
|
176
|
+
export interface NormalizedPolylineFlowOptions {
|
|
177
|
+
positions: GeoEffectPosition[];
|
|
178
|
+
type: PolylineFlowType;
|
|
179
|
+
color: string;
|
|
180
|
+
speed: number;
|
|
181
|
+
width: number;
|
|
182
|
+
trailLength: number;
|
|
183
|
+
pulseCount: number;
|
|
184
|
+
cornerRadius: number;
|
|
185
|
+
glowPower: number;
|
|
186
|
+
taperPower: number;
|
|
187
|
+
clampToGround: boolean;
|
|
188
|
+
visible: boolean;
|
|
189
|
+
}
|
|
190
|
+
export interface PolylineFlowFlyToOptions {
|
|
191
|
+
duration?: number;
|
|
192
|
+
pitch?: number;
|
|
193
|
+
rangeMultiplier?: number;
|
|
194
|
+
}
|
|
195
|
+
export interface PolylineFlowEffectInstance {
|
|
196
|
+
update(options: Partial<PolylineFlowOptions>): void;
|
|
197
|
+
show(): void;
|
|
198
|
+
hide(): void;
|
|
199
|
+
flyTo(options?: PolylineFlowFlyToOptions): void;
|
|
200
|
+
destroy(): void;
|
|
201
|
+
isVisible(): boolean;
|
|
202
|
+
isDestroyed(): boolean;
|
|
203
|
+
getOptions(): NormalizedPolylineFlowOptions;
|
|
204
|
+
}
|
|
205
|
+
export interface FlyLineRoute {
|
|
206
|
+
from: GeoEffectPosition;
|
|
207
|
+
to: GeoEffectPosition;
|
|
208
|
+
}
|
|
209
|
+
export interface FlyLineOptions {
|
|
210
|
+
lines: FlyLineRoute[];
|
|
211
|
+
mode?: FlyLineMode | string;
|
|
212
|
+
color?: string;
|
|
213
|
+
speed?: number;
|
|
214
|
+
width?: number;
|
|
215
|
+
arcHeight?: number;
|
|
216
|
+
trailLength?: number;
|
|
217
|
+
pulseCount?: number;
|
|
218
|
+
glowPower?: number;
|
|
219
|
+
taperPower?: number;
|
|
220
|
+
showEndpoints?: boolean;
|
|
221
|
+
visible?: boolean;
|
|
222
|
+
}
|
|
223
|
+
export interface NormalizedFlyLineOptions {
|
|
224
|
+
lines: FlyLineRoute[];
|
|
225
|
+
mode: FlyLineMode;
|
|
226
|
+
color: string;
|
|
227
|
+
speed: number;
|
|
228
|
+
width: number;
|
|
229
|
+
arcHeight: number;
|
|
230
|
+
trailLength: number;
|
|
231
|
+
pulseCount: number;
|
|
232
|
+
glowPower: number;
|
|
233
|
+
taperPower: number;
|
|
234
|
+
showEndpoints: boolean;
|
|
235
|
+
visible: boolean;
|
|
236
|
+
}
|
|
237
|
+
export interface FlyLineFlyToOptions {
|
|
238
|
+
duration?: number;
|
|
239
|
+
pitch?: number;
|
|
240
|
+
rangeMultiplier?: number;
|
|
241
|
+
}
|
|
242
|
+
export interface FlyLineEffectInstance {
|
|
243
|
+
update(options: Partial<FlyLineOptions>): void;
|
|
244
|
+
show(): void;
|
|
245
|
+
hide(): void;
|
|
246
|
+
flyTo(options?: FlyLineFlyToOptions): void;
|
|
247
|
+
destroy(): void;
|
|
248
|
+
isVisible(): boolean;
|
|
249
|
+
isDestroyed(): boolean;
|
|
250
|
+
getOptions(): NormalizedFlyLineOptions;
|
|
251
|
+
}
|
|
252
|
+
export interface PipeFlowOptions {
|
|
253
|
+
positions: GeoEffectPosition[];
|
|
254
|
+
color?: string;
|
|
255
|
+
speed?: number;
|
|
256
|
+
width?: number;
|
|
257
|
+
pipeOpacity?: number;
|
|
258
|
+
waterOpacity?: number;
|
|
259
|
+
cornerRadius?: number;
|
|
260
|
+
bubbleDensity?: number;
|
|
261
|
+
clampToGround?: boolean;
|
|
262
|
+
visible?: boolean;
|
|
263
|
+
}
|
|
264
|
+
export interface NormalizedPipeFlowOptions {
|
|
265
|
+
positions: GeoEffectPosition[];
|
|
266
|
+
color: string;
|
|
267
|
+
speed: number;
|
|
268
|
+
width: number;
|
|
269
|
+
pipeOpacity: number;
|
|
270
|
+
waterOpacity: number;
|
|
271
|
+
cornerRadius: number;
|
|
272
|
+
bubbleDensity: number;
|
|
273
|
+
clampToGround: boolean;
|
|
274
|
+
visible: boolean;
|
|
275
|
+
}
|
|
276
|
+
export interface PipeFlowFlyToOptions {
|
|
277
|
+
duration?: number;
|
|
278
|
+
pitch?: number;
|
|
279
|
+
rangeMultiplier?: number;
|
|
280
|
+
}
|
|
281
|
+
export interface PipeFlowEffectInstance {
|
|
282
|
+
update(options: Partial<PipeFlowOptions>): void;
|
|
283
|
+
show(): void;
|
|
284
|
+
hide(): void;
|
|
285
|
+
flyTo(options?: PipeFlowFlyToOptions): void;
|
|
286
|
+
destroy(): void;
|
|
287
|
+
isVisible(): boolean;
|
|
288
|
+
isDestroyed(): boolean;
|
|
289
|
+
getOptions(): NormalizedPipeFlowOptions;
|
|
290
|
+
}
|
|
291
|
+
export interface LightWallOptions {
|
|
292
|
+
positions: GeoEffectPosition[];
|
|
293
|
+
type?: LightWallType | string;
|
|
294
|
+
color?: string;
|
|
295
|
+
height?: number;
|
|
296
|
+
speed?: number;
|
|
297
|
+
opacity?: number;
|
|
298
|
+
scanLineCount?: number;
|
|
299
|
+
breathing?: boolean;
|
|
300
|
+
outline?: boolean;
|
|
301
|
+
visible?: boolean;
|
|
302
|
+
}
|
|
303
|
+
export interface NormalizedLightWallOptions {
|
|
304
|
+
positions: GeoEffectPosition[];
|
|
305
|
+
type: LightWallType;
|
|
306
|
+
color: string;
|
|
307
|
+
height: number;
|
|
308
|
+
speed: number;
|
|
309
|
+
opacity: number;
|
|
310
|
+
scanLineCount: number;
|
|
311
|
+
breathing: boolean;
|
|
312
|
+
outline: boolean;
|
|
313
|
+
visible: boolean;
|
|
314
|
+
}
|
|
315
|
+
export interface LightWallFlyToOptions {
|
|
316
|
+
duration?: number;
|
|
317
|
+
pitch?: number;
|
|
318
|
+
rangeMultiplier?: number;
|
|
319
|
+
}
|
|
320
|
+
export interface LightWallEffectInstance {
|
|
321
|
+
update(options: Partial<LightWallOptions>): void;
|
|
322
|
+
show(): void;
|
|
323
|
+
hide(): void;
|
|
324
|
+
flyTo(options?: LightWallFlyToOptions): void;
|
|
325
|
+
destroy(): void;
|
|
326
|
+
isVisible(): boolean;
|
|
327
|
+
isDestroyed(): boolean;
|
|
328
|
+
getOptions(): NormalizedLightWallOptions;
|
|
329
|
+
}
|
|
330
|
+
export interface ScanConeOptions {
|
|
331
|
+
center: GeoEffectPosition;
|
|
332
|
+
type?: ScanConeType | string;
|
|
333
|
+
color?: string;
|
|
334
|
+
radiusMeters?: number;
|
|
335
|
+
lengthMeters?: number;
|
|
336
|
+
speed?: number;
|
|
337
|
+
opacity?: number;
|
|
338
|
+
aperture?: number;
|
|
339
|
+
heading?: number;
|
|
340
|
+
pitch?: number;
|
|
341
|
+
showOrigin?: boolean;
|
|
342
|
+
visible?: boolean;
|
|
343
|
+
}
|
|
344
|
+
export interface NormalizedScanConeOptions {
|
|
345
|
+
center: GeoEffectPosition;
|
|
346
|
+
type: ScanConeType;
|
|
347
|
+
color: string;
|
|
348
|
+
radiusMeters: number;
|
|
349
|
+
lengthMeters: number;
|
|
350
|
+
speed: number;
|
|
351
|
+
opacity: number;
|
|
352
|
+
aperture: number;
|
|
353
|
+
heading: number;
|
|
354
|
+
pitch: number;
|
|
355
|
+
showOrigin: boolean;
|
|
356
|
+
visible: boolean;
|
|
357
|
+
}
|
|
358
|
+
export interface ScanConeFlyToOptions {
|
|
359
|
+
duration?: number;
|
|
360
|
+
pitch?: number;
|
|
361
|
+
rangeMultiplier?: number;
|
|
362
|
+
}
|
|
363
|
+
export interface ScanConeEffectInstance {
|
|
364
|
+
update(options: Partial<ScanConeOptions>): void;
|
|
365
|
+
show(): void;
|
|
366
|
+
hide(): void;
|
|
367
|
+
flyTo(options?: ScanConeFlyToOptions): void;
|
|
368
|
+
destroy(): void;
|
|
369
|
+
isVisible(): boolean;
|
|
370
|
+
isDestroyed(): boolean;
|
|
371
|
+
getOptions(): NormalizedScanConeOptions;
|
|
372
|
+
}
|
|
373
|
+
export interface ShieldDomeOptions {
|
|
374
|
+
center: GeoEffectPosition;
|
|
375
|
+
radiusMeters: number;
|
|
376
|
+
type?: ShieldDomeType | string;
|
|
377
|
+
color?: string;
|
|
378
|
+
speed?: number;
|
|
379
|
+
opacity?: number;
|
|
380
|
+
gridDensity?: number;
|
|
381
|
+
pulseStrength?: number;
|
|
382
|
+
ring?: boolean;
|
|
383
|
+
visible?: boolean;
|
|
384
|
+
}
|
|
385
|
+
export interface NormalizedShieldDomeOptions {
|
|
386
|
+
center: GeoEffectPosition;
|
|
387
|
+
radiusMeters: number;
|
|
388
|
+
type: ShieldDomeType;
|
|
389
|
+
color: string;
|
|
390
|
+
speed: number;
|
|
391
|
+
opacity: number;
|
|
392
|
+
gridDensity: number;
|
|
393
|
+
pulseStrength: number;
|
|
394
|
+
ring: boolean;
|
|
395
|
+
visible: boolean;
|
|
396
|
+
}
|
|
397
|
+
export interface ShieldDomeFlyToOptions {
|
|
398
|
+
duration?: number;
|
|
399
|
+
pitch?: number;
|
|
400
|
+
rangeMultiplier?: number;
|
|
401
|
+
}
|
|
402
|
+
export interface ShieldDomeEffectInstance {
|
|
403
|
+
update(options: Partial<ShieldDomeOptions>): void;
|
|
404
|
+
show(): void;
|
|
405
|
+
hide(): void;
|
|
406
|
+
flyTo(options?: ShieldDomeFlyToOptions): void;
|
|
407
|
+
destroy(): void;
|
|
408
|
+
isVisible(): boolean;
|
|
409
|
+
isDestroyed(): boolean;
|
|
410
|
+
getOptions(): NormalizedShieldDomeOptions;
|
|
411
|
+
}
|
|
412
|
+
export type TemperatureFieldCoordinate = [number, number];
|
|
413
|
+
export interface TemperatureFieldPolygon {
|
|
414
|
+
outer: TemperatureFieldCoordinate[];
|
|
415
|
+
holes?: TemperatureFieldCoordinate[][];
|
|
416
|
+
}
|
|
417
|
+
export interface TemperatureFieldStop {
|
|
418
|
+
value: number;
|
|
419
|
+
color: string;
|
|
420
|
+
label?: string;
|
|
421
|
+
}
|
|
422
|
+
export interface TemperatureFieldSample {
|
|
423
|
+
longitude: number;
|
|
424
|
+
latitude: number;
|
|
425
|
+
value: number;
|
|
426
|
+
type?: string;
|
|
427
|
+
}
|
|
428
|
+
export interface TemperatureFieldBounds {
|
|
429
|
+
west: number;
|
|
430
|
+
south: number;
|
|
431
|
+
east: number;
|
|
432
|
+
north: number;
|
|
433
|
+
}
|
|
434
|
+
export interface TemperatureFieldOptions {
|
|
435
|
+
polygons: TemperatureFieldPolygon[];
|
|
436
|
+
stops?: TemperatureFieldStop[];
|
|
437
|
+
samples?: TemperatureFieldSample[];
|
|
438
|
+
seed?: number;
|
|
439
|
+
opacity?: number;
|
|
440
|
+
bounds?: TemperatureFieldBounds;
|
|
441
|
+
noiseStrength?: number;
|
|
442
|
+
contourLines?: boolean;
|
|
443
|
+
contourStrength?: number;
|
|
444
|
+
outline?: boolean;
|
|
445
|
+
outlineColor?: string;
|
|
446
|
+
outlineWidth?: number;
|
|
447
|
+
visible?: boolean;
|
|
448
|
+
}
|
|
449
|
+
export interface NormalizedTemperatureFieldOptions {
|
|
450
|
+
polygons: Required<TemperatureFieldPolygon>[];
|
|
451
|
+
stops: Required<TemperatureFieldStop>[];
|
|
452
|
+
samples: Required<TemperatureFieldSample>[];
|
|
453
|
+
seed: number;
|
|
454
|
+
opacity: number;
|
|
455
|
+
bounds: TemperatureFieldBounds | null;
|
|
456
|
+
noiseStrength: number;
|
|
457
|
+
contourLines: boolean;
|
|
458
|
+
contourStrength: number;
|
|
459
|
+
outline: boolean;
|
|
460
|
+
outlineColor: string;
|
|
461
|
+
outlineWidth: number;
|
|
462
|
+
visible: boolean;
|
|
463
|
+
}
|
|
464
|
+
export interface TemperatureFieldFlyToOptions {
|
|
465
|
+
duration?: number;
|
|
466
|
+
pitch?: number;
|
|
467
|
+
rangeMultiplier?: number;
|
|
468
|
+
}
|
|
469
|
+
export interface TemperatureFieldEffectInstance {
|
|
470
|
+
update(options: Partial<TemperatureFieldOptions>): void;
|
|
471
|
+
show(): void;
|
|
472
|
+
hide(): void;
|
|
473
|
+
flyTo(options?: TemperatureFieldFlyToOptions): void;
|
|
474
|
+
destroy(): void;
|
|
475
|
+
isVisible(): boolean;
|
|
476
|
+
isDestroyed(): boolean;
|
|
477
|
+
getOptions(): NormalizedTemperatureFieldOptions;
|
|
478
|
+
}
|
|
479
|
+
export interface FireBillboardPoint extends GeoEffectPosition {
|
|
480
|
+
id?: string;
|
|
481
|
+
gif: string;
|
|
482
|
+
label?: string;
|
|
483
|
+
}
|
|
484
|
+
export interface NormalizedFireBillboardPoint extends GeoEffectPosition {
|
|
485
|
+
id?: string;
|
|
486
|
+
gif: string;
|
|
487
|
+
label?: string;
|
|
488
|
+
}
|
|
489
|
+
export interface FireBillboardOptions {
|
|
490
|
+
points: FireBillboardPoint[];
|
|
491
|
+
scale?: number;
|
|
492
|
+
frameIntervalMs?: number;
|
|
493
|
+
clampToGround?: boolean;
|
|
494
|
+
disableDepthTestDistance?: number;
|
|
495
|
+
visible?: boolean;
|
|
496
|
+
}
|
|
497
|
+
export interface NormalizedFireBillboardOptions {
|
|
498
|
+
points: NormalizedFireBillboardPoint[];
|
|
499
|
+
scale: number;
|
|
500
|
+
frameIntervalMs: number;
|
|
501
|
+
clampToGround: boolean;
|
|
502
|
+
disableDepthTestDistance: number;
|
|
503
|
+
visible: boolean;
|
|
504
|
+
}
|
|
505
|
+
export interface FireBillboardFlyToOptions {
|
|
506
|
+
duration?: number;
|
|
507
|
+
pitch?: number;
|
|
508
|
+
rangeMultiplier?: number;
|
|
509
|
+
}
|
|
510
|
+
export interface FireBillboardEffectInstance {
|
|
511
|
+
update(options: Partial<FireBillboardOptions>): void;
|
|
512
|
+
show(): void;
|
|
513
|
+
hide(): void;
|
|
514
|
+
flyTo(options?: FireBillboardFlyToOptions): void;
|
|
515
|
+
destroy(): void;
|
|
516
|
+
isVisible(): boolean;
|
|
517
|
+
isDestroyed(): boolean;
|
|
518
|
+
getOptions(): NormalizedFireBillboardOptions;
|
|
519
|
+
}
|
|
520
|
+
export interface WaterSurfaceOptions {
|
|
521
|
+
polygon: GeoEffectPosition[];
|
|
522
|
+
type?: WaterSurfaceType | string;
|
|
523
|
+
color?: string;
|
|
524
|
+
height?: number;
|
|
525
|
+
speed?: number;
|
|
526
|
+
opacity?: number;
|
|
527
|
+
waveStrength?: number;
|
|
528
|
+
reflectionStrength?: number;
|
|
529
|
+
distortionScale?: number;
|
|
530
|
+
reflectivity?: number;
|
|
531
|
+
refractionStrength?: number;
|
|
532
|
+
fresnelPower?: number;
|
|
533
|
+
flowDirection?: number;
|
|
534
|
+
outline?: boolean;
|
|
535
|
+
visible?: boolean;
|
|
536
|
+
}
|
|
537
|
+
export interface NormalizedWaterSurfaceOptions {
|
|
538
|
+
polygon: GeoEffectPosition[];
|
|
539
|
+
type: WaterSurfaceType;
|
|
540
|
+
color: string;
|
|
541
|
+
height: number;
|
|
542
|
+
speed: number;
|
|
543
|
+
opacity: number;
|
|
544
|
+
waveStrength: number;
|
|
545
|
+
reflectionStrength: number;
|
|
546
|
+
distortionScale: number;
|
|
547
|
+
reflectivity: number;
|
|
548
|
+
refractionStrength: number;
|
|
549
|
+
fresnelPower: number;
|
|
550
|
+
flowDirection: number;
|
|
551
|
+
outline: boolean;
|
|
552
|
+
visible: boolean;
|
|
553
|
+
}
|
|
554
|
+
export interface WaterSurfaceFlyToOptions {
|
|
555
|
+
duration?: number;
|
|
556
|
+
pitch?: number;
|
|
557
|
+
rangeMultiplier?: number;
|
|
558
|
+
}
|
|
559
|
+
export interface WaterSurfaceEffectInstance {
|
|
560
|
+
update(options: Partial<WaterSurfaceOptions>): void;
|
|
561
|
+
show(): void;
|
|
562
|
+
hide(): void;
|
|
563
|
+
flyTo(options?: WaterSurfaceFlyToOptions): void;
|
|
564
|
+
destroy(): void;
|
|
565
|
+
isVisible(): boolean;
|
|
566
|
+
isDestroyed(): boolean;
|
|
567
|
+
getOptions(): NormalizedWaterSurfaceOptions;
|
|
568
|
+
}
|
|
569
|
+
export declare function createRadarScanEffect(viewer: Viewer, options: RadarScanOptions): RadarScanEffect;
|
|
570
|
+
export declare function createRippleSpreadEffect(viewer: Viewer, options: RippleSpreadOptions): RippleSpreadEffect;
|
|
571
|
+
export declare function createSceneWeatherEffect(viewer: Viewer, options?: SceneWeatherOptions): SceneWeatherEffect;
|
|
572
|
+
export declare function createPostProcessEffect(viewer: Viewer, options?: PostProcessOptions): PostProcessEffect;
|
|
573
|
+
export declare function createPolylineFlowEffect(viewer: Viewer, options: PolylineFlowOptions): PolylineFlowEffect;
|
|
574
|
+
export declare function createFlyLineEffect(viewer: Viewer, options: FlyLineOptions): FlyLineEffect;
|
|
575
|
+
export declare function createPipeFlowEffect(viewer: Viewer, options: PipeFlowOptions): PipeFlowEffect;
|
|
576
|
+
export declare function createLightWallEffect(viewer: Viewer, options: LightWallOptions): LightWallEffect;
|
|
577
|
+
export declare function createScanConeEffect(viewer: Viewer, options: ScanConeOptions): ScanConeEffect;
|
|
578
|
+
export declare function createShieldDomeEffect(viewer: Viewer, options: ShieldDomeOptions): ShieldDomeEffect;
|
|
579
|
+
export declare function createTemperatureFieldEffect(viewer: Viewer, options: TemperatureFieldOptions): TemperatureFieldEffect;
|
|
580
|
+
export declare function createFireBillboardEffect(viewer: Viewer, options: FireBillboardOptions): FireBillboardEffect;
|
|
581
|
+
export declare function createWaterSurfaceEffect(viewer: Viewer, options: WaterSurfaceOptions): WaterSurfaceEffect;
|
|
582
|
+
export declare function normalizeRadarScanOptions(options: RadarScanOptions): NormalizedRadarScanOptions;
|
|
583
|
+
export declare function normalizeRippleSpreadOptions(options: RippleSpreadOptions): NormalizedRippleSpreadOptions;
|
|
584
|
+
export declare function normalizeSceneWeatherOptions(options?: SceneWeatherOptions): NormalizedSceneWeatherOptions;
|
|
585
|
+
export declare function normalizePostProcessOptions(options?: PostProcessOptions): NormalizedPostProcessOptions;
|
|
586
|
+
export declare function normalizePolylineFlowOptions(options: PolylineFlowOptions): NormalizedPolylineFlowOptions;
|
|
587
|
+
export declare function normalizeFlyLineOptions(options: FlyLineOptions): NormalizedFlyLineOptions;
|
|
588
|
+
export declare function normalizePipeFlowOptions(options: PipeFlowOptions): NormalizedPipeFlowOptions;
|
|
589
|
+
export declare function normalizeLightWallOptions(options: LightWallOptions): NormalizedLightWallOptions;
|
|
590
|
+
export declare function normalizeScanConeOptions(options: ScanConeOptions): NormalizedScanConeOptions;
|
|
591
|
+
export declare function normalizeShieldDomeOptions(options: ShieldDomeOptions): NormalizedShieldDomeOptions;
|
|
592
|
+
export declare function normalizeTemperatureFieldOptions(options: TemperatureFieldOptions): NormalizedTemperatureFieldOptions;
|
|
593
|
+
export declare function normalizeFireBillboardOptions(options: FireBillboardOptions): NormalizedFireBillboardOptions;
|
|
594
|
+
export declare function normalizeWaterSurfaceOptions(options: WaterSurfaceOptions): NormalizedWaterSurfaceOptions;
|
|
595
|
+
export declare function shouldRebuildRadarScan(previous: NormalizedRadarScanOptions, next: NormalizedRadarScanOptions): boolean;
|
|
596
|
+
export declare function shouldRebuildRippleSpread(previous: NormalizedRippleSpreadOptions, next: NormalizedRippleSpreadOptions): boolean;
|
|
597
|
+
export declare function shouldRebuildPolylineFlow(previous: NormalizedPolylineFlowOptions, next: NormalizedPolylineFlowOptions): boolean;
|
|
598
|
+
export declare function shouldRebuildFlyLine(previous: NormalizedFlyLineOptions, next: NormalizedFlyLineOptions): boolean;
|
|
599
|
+
export declare function shouldRebuildPipeFlow(previous: NormalizedPipeFlowOptions, next: NormalizedPipeFlowOptions): boolean;
|
|
600
|
+
export declare function shouldRebuildLightWall(previous: NormalizedLightWallOptions, next: NormalizedLightWallOptions): boolean;
|
|
601
|
+
export declare function shouldRebuildScanCone(previous: NormalizedScanConeOptions, next: NormalizedScanConeOptions): boolean;
|
|
602
|
+
export declare function shouldRebuildShieldDome(previous: NormalizedShieldDomeOptions, next: NormalizedShieldDomeOptions): boolean;
|
|
603
|
+
export declare function shouldRebuildTemperatureField(previous: NormalizedTemperatureFieldOptions, next: NormalizedTemperatureFieldOptions): boolean;
|
|
604
|
+
export declare function shouldRebuildFireBillboard(previous: NormalizedFireBillboardOptions, next: NormalizedFireBillboardOptions): boolean;
|
|
605
|
+
export declare function shouldRebuildWaterSurface(previous: NormalizedWaterSurfaceOptions, next: NormalizedWaterSurfaceOptions): boolean;
|
|
606
|
+
export declare function buildPolylineFlowSegmentWeights(segmentCount: number, type?: PolylineFlowType | string, progress?: number): number[];
|
|
607
|
+
export declare function buildRadarScanMaterialSource(_options: Pick<NormalizedRadarScanOptions, 'scanDurationMs'>): string;
|
|
608
|
+
export declare function buildRippleSpreadMaterialSource(): string;
|
|
609
|
+
export declare function buildSceneWeatherPostProcessSource(): string;
|
|
610
|
+
export declare function buildPostProcessSource(): string;
|
|
611
|
+
export declare function buildTemperatureFieldMaterialSource(): string;
|
|
612
|
+
export declare function buildWaterSurfaceMaterialSource(): string;
|
|
613
|
+
export declare function buildLightWallMaterialSource(): string;
|
|
614
|
+
export declare function buildScanConeMaterialSource(): string;
|
|
615
|
+
export declare function buildShieldDomeMaterialSource(): string;
|
|
616
|
+
export declare class RadarScanEffect implements RadarScanEffectInstance {
|
|
617
|
+
private readonly viewer;
|
|
618
|
+
private readonly dataSource;
|
|
619
|
+
private options;
|
|
620
|
+
private primitive;
|
|
621
|
+
private centerEntity;
|
|
622
|
+
private renderFrame;
|
|
623
|
+
private destroyed;
|
|
624
|
+
constructor(viewer: Viewer, options: RadarScanOptions);
|
|
625
|
+
update(options: Partial<RadarScanOptions>): void;
|
|
626
|
+
show(): void;
|
|
627
|
+
hide(): void;
|
|
628
|
+
flyTo(options?: RadarScanFlyToOptions): void;
|
|
629
|
+
destroy(): void;
|
|
630
|
+
isVisible(): boolean;
|
|
631
|
+
isDestroyed(): boolean;
|
|
632
|
+
getOptions(): NormalizedRadarScanOptions;
|
|
633
|
+
private renderPrimitive;
|
|
634
|
+
private removePrimitive;
|
|
635
|
+
private applyPrimitiveOptions;
|
|
636
|
+
private applyMaterialOptions;
|
|
637
|
+
private syncCenterEntity;
|
|
638
|
+
private startRenderLoop;
|
|
639
|
+
private stopRenderLoop;
|
|
640
|
+
private getCenterCartesian;
|
|
641
|
+
}
|
|
642
|
+
export declare class RippleSpreadEffect implements RippleSpreadEffectInstance {
|
|
643
|
+
private readonly viewer;
|
|
644
|
+
private readonly dataSource;
|
|
645
|
+
private options;
|
|
646
|
+
private primitive;
|
|
647
|
+
private centerEntity;
|
|
648
|
+
private renderFrame;
|
|
649
|
+
private destroyed;
|
|
650
|
+
constructor(viewer: Viewer, options: RippleSpreadOptions);
|
|
651
|
+
update(options: Partial<RippleSpreadOptions>): void;
|
|
652
|
+
show(): void;
|
|
653
|
+
hide(): void;
|
|
654
|
+
flyTo(options?: RippleSpreadFlyToOptions): void;
|
|
655
|
+
destroy(): void;
|
|
656
|
+
isVisible(): boolean;
|
|
657
|
+
isDestroyed(): boolean;
|
|
658
|
+
getOptions(): NormalizedRippleSpreadOptions;
|
|
659
|
+
private renderPrimitive;
|
|
660
|
+
private removePrimitive;
|
|
661
|
+
private applyPrimitiveOptions;
|
|
662
|
+
private applyMaterialOptions;
|
|
663
|
+
private syncCenterEntity;
|
|
664
|
+
private startRenderLoop;
|
|
665
|
+
private stopRenderLoop;
|
|
666
|
+
private getCenterCartesian;
|
|
667
|
+
}
|
|
668
|
+
export declare class SceneWeatherEffect implements SceneWeatherEffectInstance {
|
|
669
|
+
private readonly viewer;
|
|
670
|
+
private options;
|
|
671
|
+
private stage;
|
|
672
|
+
private renderFrame;
|
|
673
|
+
private destroyed;
|
|
674
|
+
constructor(viewer: Viewer, options?: SceneWeatherOptions);
|
|
675
|
+
update(options: Partial<SceneWeatherOptions>): void;
|
|
676
|
+
show(): void;
|
|
677
|
+
hide(): void;
|
|
678
|
+
flyTo(): void;
|
|
679
|
+
destroy(): void;
|
|
680
|
+
isVisible(): boolean;
|
|
681
|
+
isDestroyed(): boolean;
|
|
682
|
+
getOptions(): NormalizedSceneWeatherOptions;
|
|
683
|
+
private renderStage;
|
|
684
|
+
private applyStageOptions;
|
|
685
|
+
private startRenderLoop;
|
|
686
|
+
private stopRenderLoop;
|
|
687
|
+
}
|
|
688
|
+
export declare class PostProcessEffect implements PostProcessEffectInstance {
|
|
689
|
+
private readonly viewer;
|
|
690
|
+
private options;
|
|
691
|
+
private stage;
|
|
692
|
+
private destroyed;
|
|
693
|
+
constructor(viewer: Viewer, options?: PostProcessOptions);
|
|
694
|
+
update(options: Partial<PostProcessOptions>): void;
|
|
695
|
+
show(): void;
|
|
696
|
+
hide(): void;
|
|
697
|
+
flyTo(): void;
|
|
698
|
+
destroy(): void;
|
|
699
|
+
isVisible(): boolean;
|
|
700
|
+
isDestroyed(): boolean;
|
|
701
|
+
getOptions(): NormalizedPostProcessOptions;
|
|
702
|
+
private renderStage;
|
|
703
|
+
private applyStageOptions;
|
|
704
|
+
}
|
|
705
|
+
export declare class TemperatureFieldEffect implements TemperatureFieldEffectInstance {
|
|
706
|
+
private readonly viewer;
|
|
707
|
+
private readonly dataSource;
|
|
708
|
+
private options;
|
|
709
|
+
private primitive;
|
|
710
|
+
private destroyed;
|
|
711
|
+
constructor(viewer: Viewer, options: TemperatureFieldOptions);
|
|
712
|
+
update(options: Partial<TemperatureFieldOptions>): void;
|
|
713
|
+
show(): void;
|
|
714
|
+
hide(): void;
|
|
715
|
+
flyTo(options?: TemperatureFieldFlyToOptions): void;
|
|
716
|
+
destroy(): void;
|
|
717
|
+
isVisible(): boolean;
|
|
718
|
+
isDestroyed(): boolean;
|
|
719
|
+
getOptions(): NormalizedTemperatureFieldOptions;
|
|
720
|
+
private renderPrimitive;
|
|
721
|
+
private removePrimitive;
|
|
722
|
+
private applyPrimitiveOptions;
|
|
723
|
+
private applyMaterialOptions;
|
|
724
|
+
private syncOutlines;
|
|
725
|
+
private addOutline;
|
|
726
|
+
private syncOutlineVisibility;
|
|
727
|
+
}
|
|
728
|
+
export declare class FireBillboardEffect implements FireBillboardEffectInstance {
|
|
729
|
+
private readonly viewer;
|
|
730
|
+
private readonly dataSource;
|
|
731
|
+
private options;
|
|
732
|
+
private entities;
|
|
733
|
+
private frameSets;
|
|
734
|
+
private frameTimer;
|
|
735
|
+
private frameIndex;
|
|
736
|
+
private loadToken;
|
|
737
|
+
private destroyed;
|
|
738
|
+
constructor(viewer: Viewer, options: FireBillboardOptions);
|
|
739
|
+
update(options: Partial<FireBillboardOptions>): void;
|
|
740
|
+
show(): void;
|
|
741
|
+
hide(): void;
|
|
742
|
+
flyTo(options?: FireBillboardFlyToOptions): void;
|
|
743
|
+
destroy(): void;
|
|
744
|
+
isVisible(): boolean;
|
|
745
|
+
isDestroyed(): boolean;
|
|
746
|
+
getOptions(): NormalizedFireBillboardOptions;
|
|
747
|
+
private renderEntities;
|
|
748
|
+
private applyBillboardOptions;
|
|
749
|
+
private loadFrames;
|
|
750
|
+
private applyFrameSet;
|
|
751
|
+
private restartFrameTimer;
|
|
752
|
+
private stopFrameTimer;
|
|
753
|
+
}
|
|
754
|
+
export declare class WaterSurfaceEffect implements WaterSurfaceEffectInstance {
|
|
755
|
+
private readonly viewer;
|
|
756
|
+
private readonly dataSource;
|
|
757
|
+
private options;
|
|
758
|
+
private waterEntity;
|
|
759
|
+
private outlineEntity;
|
|
760
|
+
private material;
|
|
761
|
+
private renderFrame;
|
|
762
|
+
private destroyed;
|
|
763
|
+
constructor(viewer: Viewer, options: WaterSurfaceOptions);
|
|
764
|
+
update(options: Partial<WaterSurfaceOptions>): void;
|
|
765
|
+
show(): void;
|
|
766
|
+
hide(): void;
|
|
767
|
+
flyTo(options?: WaterSurfaceFlyToOptions): void;
|
|
768
|
+
destroy(): void;
|
|
769
|
+
isVisible(): boolean;
|
|
770
|
+
isDestroyed(): boolean;
|
|
771
|
+
getOptions(): NormalizedWaterSurfaceOptions;
|
|
772
|
+
private renderEntities;
|
|
773
|
+
private applyMaterialOptions;
|
|
774
|
+
private syncOutlineEntity;
|
|
775
|
+
private startRenderLoop;
|
|
776
|
+
private stopRenderLoop;
|
|
777
|
+
}
|
|
778
|
+
export declare class PolylineFlowEffect implements PolylineFlowEffectInstance {
|
|
779
|
+
private readonly viewer;
|
|
780
|
+
private readonly dataSource;
|
|
781
|
+
private options;
|
|
782
|
+
private routeEntity;
|
|
783
|
+
private trailEntities;
|
|
784
|
+
private renderFrame;
|
|
785
|
+
private destroyed;
|
|
786
|
+
constructor(viewer: Viewer, options: PolylineFlowOptions);
|
|
787
|
+
update(options: Partial<PolylineFlowOptions>): void;
|
|
788
|
+
show(): void;
|
|
789
|
+
hide(): void;
|
|
790
|
+
flyTo(options?: PolylineFlowFlyToOptions): void;
|
|
791
|
+
destroy(): void;
|
|
792
|
+
isVisible(): boolean;
|
|
793
|
+
isDestroyed(): boolean;
|
|
794
|
+
getOptions(): NormalizedPolylineFlowOptions;
|
|
795
|
+
private renderEntities;
|
|
796
|
+
private syncTrailEntities;
|
|
797
|
+
private applyRouteOptions;
|
|
798
|
+
private applyTrailOptions;
|
|
799
|
+
private createBaseMaterial;
|
|
800
|
+
private createTrailMaterial;
|
|
801
|
+
private getTrailCartesians;
|
|
802
|
+
private getRenderPositions;
|
|
803
|
+
private startRenderLoop;
|
|
804
|
+
private stopRenderLoop;
|
|
805
|
+
}
|
|
806
|
+
export declare class FlyLineEffect implements FlyLineEffectInstance {
|
|
807
|
+
private readonly viewer;
|
|
808
|
+
private readonly dataSource;
|
|
809
|
+
private options;
|
|
810
|
+
private baseEntities;
|
|
811
|
+
private trailEntities;
|
|
812
|
+
private endpointEntities;
|
|
813
|
+
private renderFrame;
|
|
814
|
+
private destroyed;
|
|
815
|
+
constructor(viewer: Viewer, options: FlyLineOptions);
|
|
816
|
+
update(options: Partial<FlyLineOptions>): void;
|
|
817
|
+
show(): void;
|
|
818
|
+
hide(): void;
|
|
819
|
+
flyTo(options?: FlyLineFlyToOptions): void;
|
|
820
|
+
destroy(): void;
|
|
821
|
+
isVisible(): boolean;
|
|
822
|
+
isDestroyed(): boolean;
|
|
823
|
+
getOptions(): NormalizedFlyLineOptions;
|
|
824
|
+
private renderEntities;
|
|
825
|
+
private syncTrailEntities;
|
|
826
|
+
private addTrailEntity;
|
|
827
|
+
private syncEndpointEntities;
|
|
828
|
+
private applyBaseOptions;
|
|
829
|
+
private applyTrailOptions;
|
|
830
|
+
private createBaseMaterial;
|
|
831
|
+
private createTrailMaterial;
|
|
832
|
+
private getTrailCartesians;
|
|
833
|
+
private startRenderLoop;
|
|
834
|
+
private stopRenderLoop;
|
|
835
|
+
}
|
|
836
|
+
export declare class PipeFlowEffect implements PipeFlowEffectInstance {
|
|
837
|
+
private readonly viewer;
|
|
838
|
+
private readonly dataSource;
|
|
839
|
+
private options;
|
|
840
|
+
private pipeShellEntity;
|
|
841
|
+
private pipeHighlightEntity;
|
|
842
|
+
private waterCoreEntity;
|
|
843
|
+
private waveEntities;
|
|
844
|
+
private bubbleEntities;
|
|
845
|
+
private renderFrame;
|
|
846
|
+
private destroyed;
|
|
847
|
+
constructor(viewer: Viewer, options: PipeFlowOptions);
|
|
848
|
+
update(options: Partial<PipeFlowOptions>): void;
|
|
849
|
+
show(): void;
|
|
850
|
+
hide(): void;
|
|
851
|
+
flyTo(options?: PipeFlowFlyToOptions): void;
|
|
852
|
+
destroy(): void;
|
|
853
|
+
isVisible(): boolean;
|
|
854
|
+
isDestroyed(): boolean;
|
|
855
|
+
getOptions(): NormalizedPipeFlowOptions;
|
|
856
|
+
private renderEntities;
|
|
857
|
+
private applyOptions;
|
|
858
|
+
private createPipeShellMaterial;
|
|
859
|
+
private createPipeHighlightMaterial;
|
|
860
|
+
private createWaterCoreMaterial;
|
|
861
|
+
private createPressureWaveMaterial;
|
|
862
|
+
private createBubbleMaterial;
|
|
863
|
+
private getMovingSegmentCartesians;
|
|
864
|
+
private getRenderCartesians;
|
|
865
|
+
private getRenderPositions;
|
|
866
|
+
private startRenderLoop;
|
|
867
|
+
private stopRenderLoop;
|
|
868
|
+
}
|
|
869
|
+
export declare class LightWallEffect implements LightWallEffectInstance {
|
|
870
|
+
private readonly viewer;
|
|
871
|
+
private readonly dataSource;
|
|
872
|
+
private options;
|
|
873
|
+
private wallEntity;
|
|
874
|
+
private outlineEntity;
|
|
875
|
+
private material;
|
|
876
|
+
private renderFrame;
|
|
877
|
+
private destroyed;
|
|
878
|
+
constructor(viewer: Viewer, options: LightWallOptions);
|
|
879
|
+
update(options: Partial<LightWallOptions>): void;
|
|
880
|
+
show(): void;
|
|
881
|
+
hide(): void;
|
|
882
|
+
flyTo(options?: LightWallFlyToOptions): void;
|
|
883
|
+
destroy(): void;
|
|
884
|
+
isVisible(): boolean;
|
|
885
|
+
isDestroyed(): boolean;
|
|
886
|
+
getOptions(): NormalizedLightWallOptions;
|
|
887
|
+
private renderEntities;
|
|
888
|
+
private applyMaterialOptions;
|
|
889
|
+
private syncOutlineEntity;
|
|
890
|
+
private startRenderLoop;
|
|
891
|
+
private stopRenderLoop;
|
|
892
|
+
}
|
|
893
|
+
export declare class ScanConeEffect implements ScanConeEffectInstance {
|
|
894
|
+
private readonly viewer;
|
|
895
|
+
private readonly dataSource;
|
|
896
|
+
private options;
|
|
897
|
+
private coneEntity;
|
|
898
|
+
private originEntity;
|
|
899
|
+
private material;
|
|
900
|
+
private renderFrame;
|
|
901
|
+
private destroyed;
|
|
902
|
+
constructor(viewer: Viewer, options: ScanConeOptions);
|
|
903
|
+
update(options: Partial<ScanConeOptions>): void;
|
|
904
|
+
show(): void;
|
|
905
|
+
hide(): void;
|
|
906
|
+
flyTo(options?: ScanConeFlyToOptions): void;
|
|
907
|
+
destroy(): void;
|
|
908
|
+
isVisible(): boolean;
|
|
909
|
+
isDestroyed(): boolean;
|
|
910
|
+
getOptions(): NormalizedScanConeOptions;
|
|
911
|
+
private renderEntities;
|
|
912
|
+
private applyMaterialOptions;
|
|
913
|
+
private syncOriginEntity;
|
|
914
|
+
private getOriginCartesian;
|
|
915
|
+
private getConeCenterCartesian;
|
|
916
|
+
private getConeOrientation;
|
|
917
|
+
private startRenderLoop;
|
|
918
|
+
private stopRenderLoop;
|
|
919
|
+
}
|
|
920
|
+
export declare class ShieldDomeEffect implements ShieldDomeEffectInstance {
|
|
921
|
+
private readonly viewer;
|
|
922
|
+
private readonly dataSource;
|
|
923
|
+
private options;
|
|
924
|
+
private domeEntity;
|
|
925
|
+
private ringEntity;
|
|
926
|
+
private material;
|
|
927
|
+
private renderFrame;
|
|
928
|
+
private destroyed;
|
|
929
|
+
constructor(viewer: Viewer, options: ShieldDomeOptions);
|
|
930
|
+
update(options: Partial<ShieldDomeOptions>): void;
|
|
931
|
+
show(): void;
|
|
932
|
+
hide(): void;
|
|
933
|
+
flyTo(options?: ShieldDomeFlyToOptions): void;
|
|
934
|
+
destroy(): void;
|
|
935
|
+
isVisible(): boolean;
|
|
936
|
+
isDestroyed(): boolean;
|
|
937
|
+
getOptions(): NormalizedShieldDomeOptions;
|
|
938
|
+
private renderEntities;
|
|
939
|
+
private applyMaterialOptions;
|
|
940
|
+
private syncRingEntity;
|
|
941
|
+
private startRenderLoop;
|
|
942
|
+
private stopRenderLoop;
|
|
943
|
+
}
|
|
944
|
+
export declare function expandFlyLineRoutes(lines: FlyLineRoute[], mode?: FlyLineMode | string): FlyLineRoute[];
|
|
945
|
+
export declare function sampleFlyLineArc(line: FlyLineRoute, arcHeight?: number, sampleCount?: number): GeoEffectPosition[];
|
|
946
|
+
export declare function sampleFlyLineTrail(line: FlyLineRoute, arcHeight: number, progress: number, trailLength: number, sampleCount: number): GeoEffectPosition[];
|
|
947
|
+
//# sourceMappingURL=index.d.ts.map
|