dwv 0.35.0-beta.2 → 0.35.0-beta.4
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/dwv.d.ts +10 -15
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +1 -1
package/dist/dwv.d.ts
CHANGED
|
@@ -1431,12 +1431,20 @@ export declare class DicomParser {
|
|
|
1431
1431
|
[x: string]: DataElement;
|
|
1432
1432
|
};
|
|
1433
1433
|
/**
|
|
1434
|
-
*
|
|
1434
|
+
* Safely get an elements' first value from the parsed elements.
|
|
1435
|
+
*
|
|
1436
|
+
* @param {string} key The tag key as for example '00100020'.
|
|
1437
|
+
* @returns {any|undefined} The elements' value or undefined.
|
|
1438
|
+
*/
|
|
1439
|
+
safeGet(key: string): any | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* Parse a DICOM buffer.
|
|
1435
1442
|
* Fills in the member object 'dataElements'.
|
|
1436
1443
|
*
|
|
1437
1444
|
* @param {ArrayBuffer} buffer The input array buffer.
|
|
1445
|
+
* @param {Tag} [untilTag] Optional tag to stop the parsing once reached.
|
|
1438
1446
|
*/
|
|
1439
|
-
parse(buffer: ArrayBuffer): void;
|
|
1447
|
+
parse(buffer: ArrayBuffer, untilTag?: Tag): void;
|
|
1440
1448
|
#private;
|
|
1441
1449
|
}
|
|
1442
1450
|
|
|
@@ -1918,19 +1926,6 @@ export declare class DrawLayer {
|
|
|
1918
1926
|
* @returns {boolean} True if the position was updated.
|
|
1919
1927
|
*/
|
|
1920
1928
|
setCurrentPosition(position: Point, index?: Index): boolean;
|
|
1921
|
-
/**
|
|
1922
|
-
* Get the current position group.
|
|
1923
|
-
*
|
|
1924
|
-
* @returns {Konva.Group|undefined} The Konva.Group.
|
|
1925
|
-
*/
|
|
1926
|
-
getCurrentPosGroup(): Konva.Group | undefined;
|
|
1927
|
-
/**
|
|
1928
|
-
* Get a Konva group using its id.
|
|
1929
|
-
*
|
|
1930
|
-
* @param {string} id The group id.
|
|
1931
|
-
* @returns {object|undefined} The Konva group.
|
|
1932
|
-
*/
|
|
1933
|
-
getGroup(id: string): object | undefined;
|
|
1934
1929
|
/**
|
|
1935
1930
|
* Add an event listener to this class.
|
|
1936
1931
|
*
|