brainsmatics 1.2.11 → 1.2.12
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/component/3d/sequenceRegistration/SequenceRegistrationPanel.d.ts +5 -2
- package/dist/component/3d/sequenceRegistration/api.d.ts +2 -1
- package/dist/component/3d/sequenceRegistration/matching.d.ts +1 -0
- package/dist/component/3d/sequenceRegistration/types.d.ts +2 -0
- package/dist/{deflate-m-ddGffU.mjs → deflate-cDVLmMYu.mjs} +1 -1
- package/dist/{deflate-BlVBYCu0.js → deflate-tmpk78kv.js} +1 -1
- package/dist/{index-D8zSo9ek.js → index-DuK4gMkD.js} +524 -524
- package/dist/{index-B4durbpc.mjs → index-fh2Ondnl.mjs} +59875 -59650
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-DiqMGt6_.js → lerc-Crp-qVxy.js} +1 -1
- package/dist/{lerc-42O4Ycva.mjs → lerc-DedZ4zOR.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,9 @@ import type { SequenceDisplayMode, SequenceSlice, SequenceTransform, SequenceTra
|
|
|
4
4
|
import type { SequenceMatchCandidate, SequenceMatchResult, SequenceMatchSection } from "./matching";
|
|
5
5
|
import "./index.css";
|
|
6
6
|
interface Props {
|
|
7
|
-
onShowSlice?: (slice: SequenceSlice, mode: SequenceDisplayMode
|
|
7
|
+
onShowSlice?: (slice: SequenceSlice, mode: SequenceDisplayMode, options?: {
|
|
8
|
+
deferAtlas?: boolean;
|
|
9
|
+
}) => void | Promise<SequenceDisplayMode | null | void>;
|
|
8
10
|
onHideSlice?: (sliceId: string) => void;
|
|
9
11
|
onSectionChange?: (slice: SequenceSlice, section: 0 | 1 | 2) => Promise<void>;
|
|
10
12
|
onTransformModeChange?: (mode: SequenceTransformMode) => void;
|
|
@@ -17,9 +19,10 @@ interface Props {
|
|
|
17
19
|
height: number;
|
|
18
20
|
}) => SequenceLivePose | null;
|
|
19
21
|
onGetLivePose?: (sliceId: string) => SequenceLivePose | null;
|
|
22
|
+
onSceneReady?: () => boolean;
|
|
20
23
|
onBusyChange?: (busy: boolean) => void;
|
|
21
24
|
onPreviewMatch?: (slice: SequenceSlice, result: SequenceMatchResult, section: SequenceMatchSection) => SequenceMatchCandidate;
|
|
22
|
-
onApplyMatch?: (slice: SequenceSlice, candidate: SequenceMatchCandidate) => void;
|
|
25
|
+
onApplyMatch?: (slice: SequenceSlice, candidate: SequenceMatchCandidate, registration?: SequenceMatchResult) => void;
|
|
23
26
|
}
|
|
24
27
|
declare const SequenceRegistrationPanel: React.FC<Props>;
|
|
25
28
|
export default SequenceRegistrationPanel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SequenceSession, SequenceSlice, SequenceTransform } from "./types";
|
|
1
|
+
import type { SequenceRegistration, SequenceSession, SequenceSlice, SequenceTransform } from "./types";
|
|
2
2
|
export declare function configureSequenceConnection(token: unknown, loginId: unknown): boolean;
|
|
3
3
|
export declare function clearSequenceConnection(): void;
|
|
4
4
|
export declare function sequenceAuthToken(): string;
|
|
@@ -14,6 +14,7 @@ export declare function updateSequenceSession(sessionId: string, input: Partial<
|
|
|
14
14
|
export declare function uploadSequenceSlice(sessionId: string, file: File, idempotencyKey: string): Promise<SequenceSlice>;
|
|
15
15
|
export declare function updateSequenceSlice(sessionId: string, slice: SequenceSlice, patch: Partial<Pick<SequenceSlice, "targetFrame" | "sec" | "positionOffsetUm">> & {
|
|
16
16
|
pixelSpacingUm?: [number, number];
|
|
17
|
+
registration?: SequenceRegistration;
|
|
17
18
|
}): Promise<SequenceSlice>;
|
|
18
19
|
export declare function reorderSequenceSlices(sessionId: string, sliceIds: string[]): Promise<{
|
|
19
20
|
ok: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SequenceLivePose } from "./stamPlane";
|
|
2
2
|
import type { SequenceSlice, SequenceTransform } from "./types";
|
|
3
|
+
/** The algorithm service currently ignores typeName; the field is kept only for API compatibility. */
|
|
3
4
|
export type SequenceMatchInput = "Config_DAPI.ini" | "Config_PI.ini" | "Config_Mask.ini";
|
|
4
5
|
export type SequenceMatchSection = 0 | 1 | 2;
|
|
5
6
|
export interface SequenceMatchResult {
|
|
@@ -135,6 +135,8 @@ export interface SequenceRegistration {
|
|
|
135
135
|
url?: string;
|
|
136
136
|
angles?: number[];
|
|
137
137
|
tx?: number;
|
|
138
|
+
/** Data URL (or reachable URL) of the registered STAM section preview. */
|
|
139
|
+
preview?: string;
|
|
138
140
|
atlasWasResliced?: boolean;
|
|
139
141
|
previewAvailable?: boolean;
|
|
140
142
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-DuK4gMkD.js"),t=require("./basedecoder-CsHP9rmG.js");class d extends t.BaseDecoder{decodeBlock(e){return r.inflate_1(new Uint8Array(e)).buffer}}exports.default=d;
|