@openheart/tavio-renderer 2.3.8-with-wasm → 2.3.10-with-wasm
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/build/esm/assets/tavio-C-lxYSUO.js +971 -0
- package/build/esm/assets/{workerHelpers-DHY9csG0.js → workerHelpers-DwOjRlY5.js} +1 -1
- package/build/esm/index.js +1322 -829
- package/build/esm/types/animation/animationController.d.ts +1 -1
- package/build/esm/types/editor/selector/boxSelector.d.ts +1 -1
- package/build/esm/types/editor/selector/selector.d.ts +1 -1
- package/build/esm/types/editor/selector/sphereSelector.d.ts +1 -1
- package/build/esm/types/utility/console.d.ts +2 -1
- package/build/esm/types/utility/plyDecoder.d.ts +8 -2
- package/build/esm/types/viewer/canvas.d.ts +125 -68
- package/build/esm/types/viewer/materialGenerator.d.ts +1 -0
- package/build/esm/types/viewer/renderView.d.ts +67 -0
- package/build/esm/types/viewer/tavioMesh.d.ts +63 -28
- package/build/esm/types/wasm-bindings/wasm-handlers.d.ts +6 -1
- package/build/esm/types/wasm-bindings/wasm-worker-client.d.ts +9 -0
- package/build/esm/types/worker/tavioWorker.d.ts +1 -1
- package/build/esm/wasm/pkg/no-thread/tavio.d.ts +18 -15
- package/build/esm/wasm/pkg/no-thread/tavio.js +176 -124
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm.d.ts +11 -10
- package/build/esm/wasm/pkg/thread/tavio.d.ts +24 -21
- package/build/esm/wasm/pkg/thread/tavio.js +217 -166
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm.d.ts +17 -16
- package/package.json +1 -1
- package/build/esm/assets/tavio-W_sdgqtN.js +0 -956
- package/build/esm/types/main.d.ts +0 -0
- package/build/esm/types/worker/splatWorker.d.ts +0 -16
|
Binary file
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const decodeSog: (a: number, b: number, c: number) => number;
|
|
5
|
-
export const decodeTavio: (a: number, b: number, c: number) => number;
|
|
6
|
-
export const encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
7
4
|
export const decodePly: (a: number, b: number, c: number) => number;
|
|
8
|
-
export const encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
9
|
-
export const main: () => void;
|
|
10
5
|
export const decodeSplat: (a: number, b: number, c: number) => number;
|
|
11
6
|
export const decodeSpz: (a: number, b: number, c: number) => number;
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
7
|
+
export const encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
8
|
+
export const encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
9
|
+
export const encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
10
|
+
export const resolveGaussianEdits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
11
|
+
export const decodeSog: (a: number, b: number, c: number) => number;
|
|
12
|
+
export const main: () => void;
|
|
14
13
|
export const registerEventHandler: (a: number) => number;
|
|
15
14
|
export const sort: (a: number, b: number, c: number) => number;
|
|
15
|
+
export const decodeTavio: (a: number, b: number, c: number) => number;
|
|
16
|
+
export const encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
16
17
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
17
18
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
18
19
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
@@ -26,9 +27,9 @@ export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
|
26
27
|
export const intounderlyingsink_abort: (a: number, b: number) => number;
|
|
27
28
|
export const intounderlyingsink_close: (a: number) => number;
|
|
28
29
|
export const intounderlyingsink_write: (a: number, b: number) => number;
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
30
|
+
export const __wasm_bindgen_func_elem_2880: (a: number, b: number, c: number, d: number) => void;
|
|
31
|
+
export const __wasm_bindgen_func_elem_2882: (a: number, b: number, c: number, d: number) => void;
|
|
32
|
+
export const __wasm_bindgen_func_elem_1107: (a: number, b: number, c: number) => void;
|
|
32
33
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
33
34
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
34
35
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
type ReadableStreamType = "bytes";
|
|
9
|
+
export type ReadableStreamType = "bytes";
|
|
10
10
|
|
|
11
11
|
export class IntoUnderlyingByteSource {
|
|
12
12
|
private constructor();
|
|
@@ -46,13 +46,13 @@ export function decodeSpz(url: string, decode_options: any): Promise<void>;
|
|
|
46
46
|
|
|
47
47
|
export function decodeTavio(url: string, decode_options: any): Promise<void>;
|
|
48
48
|
|
|
49
|
-
export function encodePly(point_count: number, gaussian_buffer: Uint8Array, sh_buffer: Float32Array | null | undefined, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number): Uint8Array;
|
|
49
|
+
export function encodePly(point_count: number, gaussian_buffer: Uint8Array, sh_buffer: Float32Array | null | undefined, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number, celestial_sphere?: any | null): Uint8Array;
|
|
50
50
|
|
|
51
|
-
export function encodeSplat(point_count: number, gaussian_buffer: Uint8Array, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number): Uint8Array;
|
|
51
|
+
export function encodeSplat(point_count: number, gaussian_buffer: Uint8Array, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number, celestial_sphere?: any | null): Uint8Array;
|
|
52
52
|
|
|
53
|
-
export function encodeSpz(point_count: number, gaussian_buffer: Uint8Array, sh_buffer: Float32Array | null | undefined, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number): Uint8Array;
|
|
53
|
+
export function encodeSpz(point_count: number, gaussian_buffer: Uint8Array, sh_buffer: Float32Array | null | undefined, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number, celestial_sphere?: any | null): Uint8Array;
|
|
54
54
|
|
|
55
|
-
export function encodeTavio(
|
|
55
|
+
export function encodeTavio(total_point_count: number, gaussian_buffer: Uint8Array, sh_buffer: Float32Array | null | undefined, scale_min_values: Float32Array, scale_max_values: Float32Array, alpha_min_value: number, alpha_max_value: number, celestial_sphere: any | null | undefined, encode_options: any): Uint8Array;
|
|
56
56
|
|
|
57
57
|
export function initThreadPool(num_threads: number): Promise<any>;
|
|
58
58
|
|
|
@@ -60,6 +60,8 @@ export function main(): void;
|
|
|
60
60
|
|
|
61
61
|
export function registerEventHandler(event_handler: Function): Promise<void>;
|
|
62
62
|
|
|
63
|
+
export function resolveGaussianEdits(point_count: number, gaussian_buffer: Uint8Array, sh_buffer: Float32Array | null | undefined, general_data: Uint8Array, transform_data: Uint32Array, scale_min_values: Float32Array, scale_max_values: Float32Array): any;
|
|
64
|
+
|
|
63
65
|
export function sort(depths: Uint16Array, ordering: Uint32Array, splat_count: number): number;
|
|
64
66
|
|
|
65
67
|
export class wbg_rayon_PoolBuilder {
|
|
@@ -76,41 +78,42 @@ export function wbg_rayon_start_worker(receiver: number): void;
|
|
|
76
78
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
77
79
|
|
|
78
80
|
export interface InitOutput {
|
|
79
|
-
readonly
|
|
80
|
-
readonly decodeTavio: (a: number, b: number, c: number) => number;
|
|
81
|
-
readonly encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
81
|
+
readonly registerEventHandler: (a: number) => number;
|
|
82
82
|
readonly sort: (a: number, b: number, c: number) => number;
|
|
83
|
+
readonly decodeSog: (a: number, b: number, c: number) => number;
|
|
84
|
+
readonly main: () => void;
|
|
83
85
|
readonly decodePly: (a: number, b: number, c: number) => number;
|
|
84
86
|
readonly decodeSplat: (a: number, b: number, c: number) => number;
|
|
87
|
+
readonly encodePly: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
88
|
+
readonly encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
89
|
+
readonly decodeTavio: (a: number, b: number, c: number) => number;
|
|
90
|
+
readonly encodeTavio: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
91
|
+
readonly resolveGaussianEdits: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
85
92
|
readonly decodeSpz: (a: number, b: number, c: number) => number;
|
|
86
|
-
readonly
|
|
87
|
-
readonly encodeSplat: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
88
|
-
readonly encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
89
|
-
readonly registerEventHandler: (a: number) => number;
|
|
90
|
-
readonly main: () => void;
|
|
93
|
+
readonly encodeSpz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
91
94
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
92
95
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
93
96
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
94
97
|
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
|
|
95
98
|
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
|
|
96
99
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
100
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
101
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
102
|
+
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
97
103
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
98
104
|
readonly intounderlyingsink_abort: (a: number, b: number) => number;
|
|
99
105
|
readonly intounderlyingsink_close: (a: number) => number;
|
|
100
106
|
readonly intounderlyingsink_write: (a: number, b: number) => number;
|
|
101
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
102
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
103
|
-
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
104
107
|
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
|
|
105
|
-
readonly initThreadPool: (a: number) => number;
|
|
106
108
|
readonly wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
107
109
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
108
110
|
readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
|
|
109
111
|
readonly wbg_rayon_start_worker: (a: number) => void;
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
112
|
+
readonly initThreadPool: (a: number) => number;
|
|
113
|
+
readonly __wasm_bindgen_func_elem_3134: (a: number, b: number, c: number, d: number) => void;
|
|
114
|
+
readonly __wasm_bindgen_func_elem_3137: (a: number, b: number, c: number, d: number) => void;
|
|
115
|
+
readonly __wasm_bindgen_func_elem_1229: (a: number, b: number, c: number) => void;
|
|
116
|
+
readonly __wasm_bindgen_func_elem_3136: (a: number, b: number, c: number) => void;
|
|
114
117
|
readonly memory: WebAssembly.Memory;
|
|
115
118
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
116
119
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|