earthsdk3-cesium 3.0.7-beta.21 → 3.0.7-beta.23
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/dist/earthsdk3-cesium.iife.js +6 -6
- package/dist/earthsdk3-cesium.js +48 -56
- package/dist/earthsdk3-cesium.umd.cjs +6 -6
- package/dist/types/CzmObjects/base/InnerClass/Widget/Widget3D.d.ts.map +1 -1
- package/dist/types/CzmObjects/base/InnerClass/XbsjGroundPolylinePrimitive/GroundPolylinePrimitive.d.ts +148 -0
- package/dist/types/CzmObjects/general/CzmESImageLabel/index.d.ts.map +1 -1
- package/dist/types/CzmObjects/general/CzmESPoi2D/index.d.ts.map +1 -1
- package/dist/types/CzmObjects/general/CzmESSignalTransmission/XbsjPolyline/XbsjPolylineGeometry.d.ts +3 -0
- package/dist/types/CzmObjects/general/CzmESSignalTransmission/XbsjPolyline/xbsjCreateODLinesPrimitive.d.ts +29 -0
- package/dist/types/CzmObjects/general/CzmESTextLabel/index.d.ts.map +1 -1
- package/dist/types/CzmObjects/general/CzmESVideoFusion/XbsjCameraVideo/XbsjCameraVideo.d.ts +18 -0
- package/dist/types/CzmObjects/general/CzmESViewShed/XbsjViewshed/XbsjViewshed.d.ts +16 -0
- package/dist/types/ESCesiumViewer/BackGroundImage/BackGroundImage.d.ts +5 -0
- package/dist/types/ESCesiumViewer/LocalSkyBox/SkyAtmosphere.d.ts +14 -0
- package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/GaussianSplatPipelineStage.d.ts +12 -0
- package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/GaussianSplatTexturePipelineStage.d.ts +11 -0
- package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/temp_wasm/pkg/wasm_splats.d.ts +75 -0
- package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/temp_wasm/pkg/wasm_splats_bg.wasm.d.ts +27 -0
- package/dist/types/ESCesiumViewer/initCesiumViewer/fixGoogleEarth/cesiumFixGoogleEarth.d.ts +1 -0
- package/dist/types/__declares/cesium.d.ts +405 -0
- package/dist/types/utils/czmUtils/todo/generateCartesianArc/czm/generateCartesianArc.d.ts +8 -0
- package/dist/types/utils/generalUtils/geoPolylineToBezierSpline/bezierSpline/index.d.ts +37 -0
- package/dist/types/utils/generalUtils/geoPolylineToBezierSpline/bezierSpline/lib/spline.d.ts +62 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Widget3D.d.ts","sourceRoot":"","sources":["../../../../../../src/CzmObjects/base/InnerClass/Widget/Widget3D.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,OAAO,EAAE,QAAQ,EAA8B,MAAM,WAAW,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAqC,WAAW,EAAgC,MAAM,WAAW,CAAC;AAMzG,qBAAa,QAAS,SAAQ,WAAW;IAsBzB,OAAO,CAAC,YAAY;IAAsB,OAAO,CAAC,UAAU;IAAkB,OAAO,CAAC,WAAW;IAAe,OAAO,CAAC,WAAW;IApBxI,UAAU,EAAE,WAAW,CAAC;IAE/B,OAAO,CAAC,UAAU,CAAwE;IAC1F,OAAO,CAAC,aAAa,CAAkB;IAEvC,OAAO,CAAC,mBAAmB,CAAC;IAC5B,IAAI,kBAAkB,QAAuC;IAG7D,OAAO,CAAC,WAAW,CAAC;IACpB,IAAI,UAAU,QAA+B;IAEtC,WAAW,MAAC;IACZ,OAAO,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAa;IAE9D,OAAO,CAAC,cAAc,CAAoD;IAC1E,IAAI,aAAa,IACQ,CAAC,MAAM,EAAE,MAAM,CAAC,CADgB;IACzD,IAAI,aAAa,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAwC;IACjF,IAAI,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,EAAU,WAAW,EAAE,OAAO,EAAE,YAAY,GAAE,OAAc;IA8P/K,KAAK,GAAI,UAAU,MAAM,GAAG,SAAS,EAAE,IAAI,MAAM,UAEvD;CACJ"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
|
|
3
|
+
// declare class GroundPolylinePrimitive extends Destroyable {
|
|
4
|
+
// constructor()
|
|
5
|
+
// }
|
|
6
|
+
|
|
7
|
+
type GeometryInstance = Cesium.GeometryInstance;
|
|
8
|
+
type Appearance = Cesium.Appearance;
|
|
9
|
+
type ClassificationType = Cesium.ClassificationType;
|
|
10
|
+
type Scene = Cesium.Scene;
|
|
11
|
+
|
|
12
|
+
declare class GroundPolylinePrimitive {
|
|
13
|
+
constructor(options?: {
|
|
14
|
+
geometryInstances?: any[] | GeometryInstance;
|
|
15
|
+
appearance?: Appearance;
|
|
16
|
+
show?: boolean;
|
|
17
|
+
interleave?: boolean;
|
|
18
|
+
releaseGeometryInstances?: boolean;
|
|
19
|
+
allowPicking?: boolean;
|
|
20
|
+
asynchronous?: boolean;
|
|
21
|
+
classificationType?: ClassificationType;
|
|
22
|
+
debugShowBoundingVolume?: boolean;
|
|
23
|
+
debugShowShadowVolume?: boolean;
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* The geometry instances rendered with this primitive. This may
|
|
27
|
+
* be <code>undefined</code> if <code>options.releaseGeometryInstances</code>
|
|
28
|
+
* is <code>true</code> when the primitive is constructed.
|
|
29
|
+
* <p>
|
|
30
|
+
* Changing this property after the primitive is rendered has no effect.
|
|
31
|
+
* </p>
|
|
32
|
+
*/
|
|
33
|
+
readonly geometryInstances: any[] | GeometryInstance;
|
|
34
|
+
/**
|
|
35
|
+
* The {@link Appearance} used to shade this primitive. Each geometry
|
|
36
|
+
* instance is shaded with the same appearance. Some appearances, like
|
|
37
|
+
* {@link PolylineColorAppearance} allow giving each instance unique
|
|
38
|
+
* properties.
|
|
39
|
+
*/
|
|
40
|
+
appearance: Appearance;
|
|
41
|
+
/**
|
|
42
|
+
* Determines if the primitive will be shown. This affects all geometry
|
|
43
|
+
* instances in the primitive.
|
|
44
|
+
*/
|
|
45
|
+
show: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Determines whether terrain, 3D Tiles or both will be classified.
|
|
48
|
+
*/
|
|
49
|
+
classificationType: ClassificationType;
|
|
50
|
+
/**
|
|
51
|
+
* This property is for debugging only; it is not for production use nor is it optimized.
|
|
52
|
+
* <p>
|
|
53
|
+
* Draws the bounding sphere for each draw command in the primitive.
|
|
54
|
+
* </p>
|
|
55
|
+
*/
|
|
56
|
+
debugShowBoundingVolume: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Determines if geometry vertex attributes are interleaved, which can slightly improve rendering performance.
|
|
59
|
+
*/
|
|
60
|
+
readonly interleave: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* When <code>true</code>, the primitive does not keep a reference to the input <code>geometryInstances</code> to save memory.
|
|
63
|
+
*/
|
|
64
|
+
readonly releaseGeometryInstances: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* When <code>true</code>, each geometry instance will only be pickable with {@link Scene#pick}. When <code>false</code>, GPU memory is saved.
|
|
67
|
+
*/
|
|
68
|
+
readonly allowPicking: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Determines if the geometry instances will be created and batched on a web worker.
|
|
71
|
+
*/
|
|
72
|
+
readonly asynchronous: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Determines if the primitive is complete and ready to render. If this property is
|
|
75
|
+
* true, the primitive will be rendered the next time that {@link GroundPolylinePrimitive#update}
|
|
76
|
+
* is called.
|
|
77
|
+
*/
|
|
78
|
+
readonly ready: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Gets a promise that resolves when the primitive is ready to render.
|
|
81
|
+
*/
|
|
82
|
+
readonly readyPromise: Promise<GroundPolylinePrimitive>;
|
|
83
|
+
/**
|
|
84
|
+
* This property is for debugging only; it is not for production use nor is it optimized.
|
|
85
|
+
* <p>
|
|
86
|
+
* If true, draws the shadow volume for each geometry in the primitive.
|
|
87
|
+
* </p>
|
|
88
|
+
*/
|
|
89
|
+
readonly debugShowShadowVolume: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Initializes the minimum and maximum terrain heights. This only needs to be called if you are creating the
|
|
92
|
+
* GroundPolylinePrimitive synchronously.
|
|
93
|
+
* @returns A promise that will resolve once the terrain heights have been loaded.
|
|
94
|
+
*/
|
|
95
|
+
static initializeTerrainHeights(): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Called when {@link Viewer} or {@link CesiumWidget} render the scene to
|
|
98
|
+
* get the draw commands needed to render this primitive.
|
|
99
|
+
* <p>
|
|
100
|
+
* Do not call this function directly. This is documented just to
|
|
101
|
+
* list the exceptions that may be propagated when the scene is rendered:
|
|
102
|
+
* </p>
|
|
103
|
+
*/
|
|
104
|
+
update(): void;
|
|
105
|
+
/**
|
|
106
|
+
* Returns the modifiable per-instance attributes for a {@link GeometryInstance}.
|
|
107
|
+
* @example
|
|
108
|
+
* const attributes = primitive.getGeometryInstanceAttributes('an id');
|
|
109
|
+
* attributes.color = Cesium.ColorGeometryInstanceAttribute.toValue(Cesium.Color.AQUA);
|
|
110
|
+
* attributes.show = Cesium.ShowGeometryInstanceAttribute.toValue(true);
|
|
111
|
+
* @param id - The id of the {@link GeometryInstance}.
|
|
112
|
+
* @returns The typed array in the attribute's format or undefined if the is no instance with id.
|
|
113
|
+
*/
|
|
114
|
+
getGeometryInstanceAttributes(id: any): any;
|
|
115
|
+
/**
|
|
116
|
+
* Checks if the given Scene supports GroundPolylinePrimitives.
|
|
117
|
+
* GroundPolylinePrimitives require support for the WEBGL_depth_texture extension.
|
|
118
|
+
* @param scene - The current scene.
|
|
119
|
+
* @returns Whether or not the current scene supports GroundPolylinePrimitives.
|
|
120
|
+
*/
|
|
121
|
+
static isSupported(scene: Scene): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Returns true if this object was destroyed; otherwise, false.
|
|
124
|
+
* <p>
|
|
125
|
+
* If this object was destroyed, it should not be used; calling any function other than
|
|
126
|
+
* <code>isDestroyed</code> will result in a {@link DeveloperError} exception.
|
|
127
|
+
* </p>
|
|
128
|
+
* @returns <code>true</code> if this object was destroyed; otherwise, <code>false</code>.
|
|
129
|
+
*/
|
|
130
|
+
isDestroyed(): boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
|
|
133
|
+
* release of WebGL resources, instead of relying on the garbage collector to destroy this object.
|
|
134
|
+
* <p>
|
|
135
|
+
* Once an object is destroyed, it should not be used; calling any function other than
|
|
136
|
+
* <code>isDestroyed</code> will result in a {@link DeveloperError} exception. Therefore,
|
|
137
|
+
* assign the return value (<code>undefined</code>) to the object as done in the example.
|
|
138
|
+
* </p>
|
|
139
|
+
* @example
|
|
140
|
+
* e = e && e.destroy();
|
|
141
|
+
*/
|
|
142
|
+
destroy(): void;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export default GroundPolylinePrimitive;
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/CzmObjects/general/CzmESImageLabel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiE,MAAM,WAAW,CAAC;AACxG,OAAO,EAAE,UAAU,EAAqB,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAqC,WAAW,EAAgC,MAAM,WAAW,CAAC;AAEzG,qBAAa,YAAa,SAAQ,WAAW;IAY7B,OAAO,CAAC,WAAW;IAAgB,OAAO,CAAC,SAAS;IAXhE,OAAO,CAAC,qBAAqB,CAAC;IAC9B,IAAI,oBAAoB,QAAyC;IAE1D,KAAK,GAAI,UAAU,MAAM,GAAG,SAAS,EAAE,IAAI,MA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,CAAC,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,GAAG,IAAI;CAuBlF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
import { XbsjRoutePath } from './XbsjRoutePath';
|
|
3
|
+
import { SceneObjectKey } from 'xbsj-base';
|
|
4
|
+
|
|
5
|
+
export type XbsjPositionCallbackResultType = {
|
|
6
|
+
timeRatio: number;
|
|
7
|
+
repeat: number;
|
|
8
|
+
color: [number, number, number, number];
|
|
9
|
+
bgColor: [number, number, number, number];
|
|
10
|
+
bidirectional: 0 | 1 | 2 | 3; // 0/1表示单向,2表示双向, 3表示无信号
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type XbsjODLinesPostionCallback = (
|
|
14
|
+
instanceIndex: number,
|
|
15
|
+
frameState: Cesium.FrameState,
|
|
16
|
+
result: XbsjPositionCallbackResultType,
|
|
17
|
+
) => XbsjPositionCallbackResultType;
|
|
18
|
+
|
|
19
|
+
export default function xbsjCreateODLinesPrimitive(
|
|
20
|
+
routePaths: XbsjRoutePath[],
|
|
21
|
+
color: [number, number, number, number],
|
|
22
|
+
arcType: Cesium.ArcType,
|
|
23
|
+
postionCallback: (instanceIndex: number, frameState: Cesium.FrameState | undefined, result: XbsjPositionCallbackResultType) => XbsjPositionCallbackResultType,
|
|
24
|
+
brightening?: boolean,
|
|
25
|
+
depthTest?: boolean,
|
|
26
|
+
getTextureFunc?: () => Cesium.Texture,
|
|
27
|
+
id?: SceneObjectKey
|
|
28
|
+
): Cesium.Primitive;
|
|
29
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/CzmObjects/general/CzmESTextLabel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,WAAW,EAA8B,MAAM,WAAW,CAAC;AAExF,OAAO,EAAE,UAAU,EAAgC,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,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AAM,GAAG,OAAO;CAapE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
|
|
3
|
+
export declare class XbsjCameraVideo {
|
|
4
|
+
constructor(options: {
|
|
5
|
+
inverseViewMatrix: Cesium.Matrix4,
|
|
6
|
+
frustum: Cesium.PerspectiveFrustum,
|
|
7
|
+
// videoElement: HTMLVideoElement | string | undefined,
|
|
8
|
+
videoTextureFunc?: (() => Cesium.Texture | undefined) | undefined,
|
|
9
|
+
alphaTextureFunc?: (() => Cesium.Texture | undefined) | undefined,
|
|
10
|
+
showHelperPrimitive: true,
|
|
11
|
+
});
|
|
12
|
+
// videoElement: HTMLVideoElement | string | undefined;
|
|
13
|
+
// alphaImage: string;
|
|
14
|
+
videoTextureFunc: (() => Cesium.Texture | undefined) | undefined;
|
|
15
|
+
alphaTextureFunc: (() => Cesium.Texture | undefined) | undefined;
|
|
16
|
+
showHelperPrimitive: boolean;
|
|
17
|
+
destroy(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
|
|
3
|
+
export declare class XbsjViewshed {
|
|
4
|
+
constructor(scene: Cesium.Scene, id?: string);
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
showHelper: boolean;
|
|
7
|
+
fovH: number;
|
|
8
|
+
fovV: number;
|
|
9
|
+
near: number;
|
|
10
|
+
far: number;
|
|
11
|
+
position: Cesium.Cartesian3;
|
|
12
|
+
heading: number;
|
|
13
|
+
pitch: number;
|
|
14
|
+
roll: number;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
|
|
3
|
+
declare class SkyAtmosphere {
|
|
4
|
+
constructor(ellipsoid: Cesium.Ellipsoid | undefined, sources: {
|
|
5
|
+
positiveX: string;
|
|
6
|
+
negativeX: string;
|
|
7
|
+
positiveY: string;
|
|
8
|
+
negativeY: string;
|
|
9
|
+
positiveZ: string;
|
|
10
|
+
negativeZ: string;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export = SkyAtmosphere;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
|
|
3
|
+
declare const GaussianSplatPipelineStage: {
|
|
4
|
+
name: string;
|
|
5
|
+
process: (
|
|
6
|
+
renderResources: any,
|
|
7
|
+
primitive: Cesium.Primitive,
|
|
8
|
+
frameState: Cesium.FrameState
|
|
9
|
+
) => void;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default GaussianSplatPipelineStage;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Cesium from 'cesium';
|
|
2
|
+
declare const GaussianSplatTexturePipelineStage: {
|
|
3
|
+
name: string;
|
|
4
|
+
process: (
|
|
5
|
+
renderResources: any,
|
|
6
|
+
primitive: Cesium.Primitive,
|
|
7
|
+
frameState: Cesium.FrameState
|
|
8
|
+
) => void;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default GaussianSplatTexturePipelineStage;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export function generate_texture_from_attrs(positions: Float32Array, scales: Float32Array, rots: Float32Array, colors: Uint8Array, count: number): TextureData;
|
|
4
|
+
export function radix_sort_simd(data: GSplatData): void;
|
|
5
|
+
export function radix_sort_gaussians_attrs(positions: Float32Array, scales: Float32Array, rotations: Float32Array, colors: Uint8Array, model_view: Float32Array, count: number): Array<any>;
|
|
6
|
+
export function radix_sort_gaussians_indexes(positions: Float32Array, model_view: Float32Array, texture_width: number, count: number): Uint32Array;
|
|
7
|
+
export function generate_splat_texture_from_attrs(positions: Float32Array, scales: Float32Array, rotations: Float32Array, colors: Uint8Array, count: number): object;
|
|
8
|
+
export class GSplatData {
|
|
9
|
+
free(): void;
|
|
10
|
+
constructor(positions: Float32Array, scales: Float32Array, rotations: Float32Array, colors: Uint8Array, model_view: Float32Array, count: number);
|
|
11
|
+
static fromFloat32Arrays(positions: Float32Array, scales: Float32Array, rotations: Float32Array, colors: Uint8Array, model_view: Float32Array, count: number): GSplatData;
|
|
12
|
+
getPositions(): Float32Array;
|
|
13
|
+
getScales(): Float32Array;
|
|
14
|
+
getRotations(): Float32Array;
|
|
15
|
+
getColors(): Uint8Array;
|
|
16
|
+
}
|
|
17
|
+
export class TextureData {
|
|
18
|
+
private constructor();
|
|
19
|
+
free(): void;
|
|
20
|
+
static new(data: Uint32Array, width: number, height: number): TextureData;
|
|
21
|
+
readonly data: Uint32Array;
|
|
22
|
+
readonly width: number;
|
|
23
|
+
readonly height: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
27
|
+
|
|
28
|
+
export interface InitOutput {
|
|
29
|
+
readonly memory: WebAssembly.Memory;
|
|
30
|
+
readonly __wbg_texturedata_free: (a: number, b: number) => void;
|
|
31
|
+
readonly texturedata_data: (a: number) => [number, number];
|
|
32
|
+
readonly texturedata_width: (a: number) => number;
|
|
33
|
+
readonly texturedata_height: (a: number) => number;
|
|
34
|
+
readonly texturedata_new: (a: number, b: number, c: number, d: number) => number;
|
|
35
|
+
readonly generate_texture_from_attrs: (a: any, b: any, c: any, d: any, e: number) => [number, number, number];
|
|
36
|
+
readonly __wbg_gsplatdata_free: (a: number, b: number) => void;
|
|
37
|
+
readonly gsplatdata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number;
|
|
38
|
+
readonly gsplatdata_fromFloat32Arrays: (a: any, b: any, c: any, d: any, e: any, f: number) => [number, number, number];
|
|
39
|
+
readonly gsplatdata_getPositions: (a: number) => any;
|
|
40
|
+
readonly gsplatdata_getScales: (a: number) => any;
|
|
41
|
+
readonly gsplatdata_getRotations: (a: number) => any;
|
|
42
|
+
readonly gsplatdata_getColors: (a: number) => any;
|
|
43
|
+
readonly radix_sort_simd: (a: number) => [number, number];
|
|
44
|
+
readonly radix_sort_gaussians_attrs: (a: any, b: any, c: any, d: any, e: any, f: number) => [number, number, number];
|
|
45
|
+
readonly radix_sort_gaussians_indexes: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
46
|
+
readonly generate_splat_texture_from_attrs: (a: any, b: any, c: any, d: any, e: number) => [number, number, number];
|
|
47
|
+
readonly __wbindgen_exn_store: (a: number) => void;
|
|
48
|
+
readonly __externref_table_alloc: () => number;
|
|
49
|
+
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
50
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
51
|
+
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
52
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
53
|
+
readonly __wbindgen_start: () => void;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
57
|
+
/**
|
|
58
|
+
* Instantiates the given `module`, which can either be bytes or
|
|
59
|
+
* a precompiled `WebAssembly.Module`.
|
|
60
|
+
*
|
|
61
|
+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
62
|
+
*
|
|
63
|
+
* @returns {InitOutput}
|
|
64
|
+
*/
|
|
65
|
+
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
69
|
+
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
70
|
+
*
|
|
71
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
72
|
+
*
|
|
73
|
+
* @returns {Promise<InitOutput>}
|
|
74
|
+
*/
|
|
75
|
+
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_texturedata_free: (a: number, b: number) => void;
|
|
5
|
+
export const texturedata_data: (a: number) => [number, number];
|
|
6
|
+
export const texturedata_width: (a: number) => number;
|
|
7
|
+
export const texturedata_height: (a: number) => number;
|
|
8
|
+
export const texturedata_new: (a: number, b: number, c: number, d: number) => number;
|
|
9
|
+
export const generate_texture_from_attrs: (a: any, b: any, c: any, d: any, e: number) => [number, number, number];
|
|
10
|
+
export const __wbg_gsplatdata_free: (a: number, b: number) => void;
|
|
11
|
+
export const gsplatdata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number;
|
|
12
|
+
export const gsplatdata_fromFloat32Arrays: (a: any, b: any, c: any, d: any, e: any, f: number) => [number, number, number];
|
|
13
|
+
export const gsplatdata_getPositions: (a: number) => any;
|
|
14
|
+
export const gsplatdata_getScales: (a: number) => any;
|
|
15
|
+
export const gsplatdata_getRotations: (a: number) => any;
|
|
16
|
+
export const gsplatdata_getColors: (a: number) => any;
|
|
17
|
+
export const radix_sort_simd: (a: number) => [number, number];
|
|
18
|
+
export const radix_sort_gaussians_attrs: (a: any, b: any, c: any, d: any, e: any, f: number) => [number, number, number];
|
|
19
|
+
export const radix_sort_gaussians_indexes: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
20
|
+
export const generate_splat_texture_from_attrs: (a: any, b: any, c: any, d: any, e: number) => [number, number, number];
|
|
21
|
+
export const __wbindgen_exn_store: (a: number) => void;
|
|
22
|
+
export const __externref_table_alloc: () => number;
|
|
23
|
+
export const __wbindgen_export_2: WebAssembly.Table;
|
|
24
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
25
|
+
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
26
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
27
|
+
export const __wbindgen_start: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function cesiumFixGoogleEarth(Cesium: any): void;
|