dwv 0.33.0-beta.44 → 0.33.0-beta.45
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 +15 -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
|
@@ -879,7 +879,7 @@ export declare class DeleteSegmentCommand {
|
|
|
879
879
|
/**
|
|
880
880
|
* DICOM code: item of a basic code sequence.
|
|
881
881
|
*
|
|
882
|
-
* Ref: {@link https://dicom.nema.org/medical/dicom/
|
|
882
|
+
* Ref: {@link https://dicom.nema.org/medical/dicom/2022a/output/chtml/part03/sect_8.8.html}.
|
|
883
883
|
*/
|
|
884
884
|
export declare class DicomCode {
|
|
885
885
|
/**
|
|
@@ -1335,11 +1335,11 @@ export declare class DrawLayer {
|
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Fit the layer to its parent container.
|
|
1337
1337
|
*
|
|
1338
|
-
* @param {
|
|
1339
|
-
* @param {
|
|
1338
|
+
* @param {Scalar2D} containerSize The container size as {x,y}.
|
|
1339
|
+
* @param {number} divToWorldSizeRatio The div to world size ratio.
|
|
1340
1340
|
* @param {Scalar2D} fitOffset The fit offset as {x,y}.
|
|
1341
1341
|
*/
|
|
1342
|
-
fitToContainer(
|
|
1342
|
+
fitToContainer(containerSize: Scalar2D, divToWorldSizeRatio: number, fitOffset: Scalar2D): void;
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Check the visibility of a given group.
|
|
1345
1345
|
*
|
|
@@ -1735,7 +1735,7 @@ export declare function getTypedArray(bitsAllocated: number, pixelRepresentation
|
|
|
1735
1735
|
* Note: Use {@link https://github.com/uuidjs/uuid}?
|
|
1736
1736
|
*
|
|
1737
1737
|
* Ref:
|
|
1738
|
-
* - {@link http://dicom.nema.org/dicom/
|
|
1738
|
+
* - {@link http://dicom.nema.org/medical/dicom/2022a/output/chtml/part05/chapter_9.html},
|
|
1739
1739
|
* - {@link http://dicomiseasy.blogspot.com/2011/12/chapter-4-dicom-objects-in-chapter-3.html},
|
|
1740
1740
|
* - {@link https://stackoverflow.com/questions/46304306/how-to-generate-unique-dicom-uid}.
|
|
1741
1741
|
*
|
|
@@ -1748,7 +1748,7 @@ export declare function getUID(tagName: string): string;
|
|
|
1748
1748
|
* Check that an input buffer includes the DICOM prefix 'DICM'
|
|
1749
1749
|
* after the 128 bytes preamble.
|
|
1750
1750
|
*
|
|
1751
|
-
* Ref: [DICOM File Meta]{@link https://dicom.nema.org/dicom/
|
|
1751
|
+
* Ref: [DICOM File Meta]{@link https://dicom.nema.org/medical/dicom/2022a/output/chtml/part10/chapter_7.html#sect_7.1}.
|
|
1752
1752
|
*
|
|
1753
1753
|
* @param {ArrayBuffer} buffer The buffer to check.
|
|
1754
1754
|
* @returns {boolean} True if the buffer includes the prefix.
|
|
@@ -3677,7 +3677,7 @@ export declare class Tag {
|
|
|
3677
3677
|
/**
|
|
3678
3678
|
* Is the tag group a private tag group ?
|
|
3679
3679
|
*
|
|
3680
|
-
* See: {@link http://dicom.nema.org/medical/dicom/
|
|
3680
|
+
* See: {@link http://dicom.nema.org/medical/dicom/2022a/output/html/part05.html#sect_7.8}.
|
|
3681
3681
|
*
|
|
3682
3682
|
* @returns {boolean} True if the tag group is private,
|
|
3683
3683
|
* ie if its group is an odd number.
|
|
@@ -4634,11 +4634,11 @@ export declare class ViewLayer {
|
|
|
4634
4634
|
*/
|
|
4635
4635
|
getScale(): Scalar2D;
|
|
4636
4636
|
/**
|
|
4637
|
-
* Get the layer zoom offset.
|
|
4637
|
+
* Get the layer zoom offset without the fit scale.
|
|
4638
4638
|
*
|
|
4639
4639
|
* @returns {Scalar2D} The offset as {x,y}.
|
|
4640
4640
|
*/
|
|
4641
|
-
|
|
4641
|
+
getAbsoluteZoomOffset(): Scalar2D;
|
|
4642
4642
|
/**
|
|
4643
4643
|
* Set the imageSmoothing flag value.
|
|
4644
4644
|
*
|
|
@@ -4755,13 +4755,13 @@ export declare class ViewLayer {
|
|
|
4755
4755
|
*/
|
|
4756
4756
|
setScale(newScale: Scalar3D, center?: Point3D): void;
|
|
4757
4757
|
/**
|
|
4758
|
-
* Initialise the layer scale.
|
|
4759
|
-
* comes from a equal view layer (size, scale, offset...).
|
|
4758
|
+
* Initialise the layer scale.
|
|
4760
4759
|
*
|
|
4761
4760
|
* @param {Scalar3D} newScale The scale as {x,y,z}.
|
|
4762
|
-
* @param {Scalar2D}
|
|
4761
|
+
* @param {Scalar2D} absoluteZoomOffset The zoom offset as {x,y}
|
|
4762
|
+
* without the fit scale (as provided by getAbsoluteZoomOffset).
|
|
4763
4763
|
*/
|
|
4764
|
-
initScale(newScale: Scalar3D,
|
|
4764
|
+
initScale(newScale: Scalar3D, absoluteZoomOffset: Scalar2D): void;
|
|
4765
4765
|
/**
|
|
4766
4766
|
* Set the base layer offset. Updates the layer offset.
|
|
4767
4767
|
*
|
|
@@ -4845,11 +4845,11 @@ export declare class ViewLayer {
|
|
|
4845
4845
|
/**
|
|
4846
4846
|
* Fit the layer to its parent container.
|
|
4847
4847
|
*
|
|
4848
|
+
* @param {Scalar2D} containerSize The fit size as {x,y}.
|
|
4848
4849
|
* @param {number} divToWorldSizeRatio The div to world size ratio.
|
|
4849
|
-
* @param {Scalar2D} fitSize The fit size as {x,y}.
|
|
4850
4850
|
* @param {Scalar2D} fitOffset The fit offset as {x,y}.
|
|
4851
4851
|
*/
|
|
4852
|
-
fitToContainer(
|
|
4852
|
+
fitToContainer(containerSize: Scalar2D, divToWorldSizeRatio: number, fitOffset: Scalar2D): void;
|
|
4853
4853
|
/**
|
|
4854
4854
|
* Enable and listen to container interaction events.
|
|
4855
4855
|
*/
|