larvitar 3.4.6 → 3.4.8
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.
|
@@ -32,7 +32,7 @@ type SetPayload = ["errorLog" | "leftActiveTool" | "rightActiveTool", string] |
|
|
|
32
32
|
("progress" | "loading" | "minPixelValue" | "maxPixelValue" | "minSliceId" | "maxSliceId" | "minTimeId" | "maxTimeId" | "rotation" | "scale" | "sliceId" | "timeId" | "thickness" | "numberOfFrames" | "numberOfTemporalPositions"),
|
|
33
33
|
string,
|
|
34
34
|
number
|
|
35
|
-
] | ["cached", string, string, boolean] | ["timestamp", string, number | undefined] | ["uniqueUID" | "modality", string, string | undefined] | ["pendingSliceId", string, number | undefined] | ["timestamps" | "timeIds" | "pixelShift", string, number[]] | [
|
|
35
|
+
] | ["cached", string, string, boolean] | ["timestamp", string, number | undefined] | ["uniqueUID" | "modality", string, string | undefined] | ["pendingSliceId", string, number | undefined] | ["timestamps" | "timeIds", string, number[]] | ["pixelShift", string, number[] | undefined] | [
|
|
36
36
|
"contrast" | "dimensions" | "spacing" | "translation",
|
|
37
37
|
string,
|
|
38
38
|
number,
|
|
@@ -61,7 +61,7 @@ declare const _default: {
|
|
|
61
61
|
setMaxSliceId: (elementId: string, imageIndex: number) => void;
|
|
62
62
|
setTimeId: (elementId: string, timeIndex: number) => void;
|
|
63
63
|
setDSAEnabled: (elementId: string, enabled: boolean) => void;
|
|
64
|
-
setDSAPixelShift: (elementId: string, pixelShift
|
|
64
|
+
setDSAPixelShift: (elementId: string, pixelShift?: number[]) => void;
|
|
65
65
|
resetActiveTools(): void;
|
|
66
66
|
get: (props: string | string[] | undefined) => any;
|
|
67
67
|
addStoreListener: (listener: (data: Store) => {}) => (data: Store) => {};
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
* @desc This file is a custom DICOM loader for multiframe images
|
|
3
3
|
*/
|
|
4
4
|
import { ImageLoader } from "cornerstone-core";
|
|
5
|
+
/**
|
|
6
|
+
* Reset pixel shift to undefined
|
|
7
|
+
* @export
|
|
8
|
+
* @function loadDsaImage
|
|
9
|
+
* @param {String} elementId - elementId tag
|
|
10
|
+
* @returns {void}
|
|
11
|
+
*/
|
|
12
|
+
export declare const resetPixelShift: (elementId: string) => void;
|
|
5
13
|
/**
|
|
6
14
|
* Custom DSA Image Loader Function
|
|
7
15
|
* @export
|