dwv 0.33.0-beta.29 → 0.33.0-beta.30
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 +20 -0
- 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
|
@@ -769,6 +769,9 @@ export declare namespace defaults {
|
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
+
/**
|
|
773
|
+
* @typedef {Object<string, DataElement>} DataElements
|
|
774
|
+
*/
|
|
772
775
|
/**
|
|
773
776
|
* DICOM code.
|
|
774
777
|
*/
|
|
@@ -2487,6 +2490,9 @@ export declare class MaskFactory {
|
|
|
2487
2490
|
}, pixelBuffer: Uint8Array | Int8Array | Uint16Array | Int16Array | Uint32Array | Int32Array): Image_2;
|
|
2488
2491
|
}
|
|
2489
2492
|
|
|
2493
|
+
/**
|
|
2494
|
+
* @typedef {Object<string, DataElement>} DataElements
|
|
2495
|
+
*/
|
|
2490
2496
|
/**
|
|
2491
2497
|
* DICOM (mask) segment.
|
|
2492
2498
|
*/
|
|
@@ -4385,6 +4391,12 @@ export declare class ViewLayer {
|
|
|
4385
4391
|
* @returns {string} The data id.
|
|
4386
4392
|
*/
|
|
4387
4393
|
getDataId(): string;
|
|
4394
|
+
/**
|
|
4395
|
+
* Get the layer zoom offset.
|
|
4396
|
+
*
|
|
4397
|
+
* @returns {object} The offset as {x,y}.
|
|
4398
|
+
*/
|
|
4399
|
+
getZoomOffset(): object;
|
|
4388
4400
|
/**
|
|
4389
4401
|
* Set the imageSmoothing flag value.
|
|
4390
4402
|
*
|
|
@@ -4481,6 +4493,14 @@ export declare class ViewLayer {
|
|
|
4481
4493
|
* @param {Point3D} [center] The scale center.
|
|
4482
4494
|
*/
|
|
4483
4495
|
setScale(newScale: object, center?: Point3D): void;
|
|
4496
|
+
/**
|
|
4497
|
+
* Initialise the layer scale. Works with a zoom offset that
|
|
4498
|
+
* comes from a equal view layer (size, scale, offset...).
|
|
4499
|
+
*
|
|
4500
|
+
* @param {object} newScale The scale as {x,y}.
|
|
4501
|
+
* @param {object} zoomOffset The zoom offset as {x,y}.
|
|
4502
|
+
*/
|
|
4503
|
+
initScale(newScale: object, zoomOffset: object): void;
|
|
4484
4504
|
/**
|
|
4485
4505
|
* Set the base layer offset. Updates the layer offset.
|
|
4486
4506
|
*
|