dwv 0.35.0-beta.31 → 0.35.0-beta.32
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 +34 -0
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/dist/dwv.node.min.js +1 -1
- package/dist/dwv.node.min.js.map +1 -1
- package/package.json +5 -7
package/dist/dwv.d.ts
CHANGED
|
@@ -626,8 +626,18 @@ export declare class App {
|
|
|
626
626
|
reset(): void;
|
|
627
627
|
/**
|
|
628
628
|
* Reset the layout of the application.
|
|
629
|
+
*
|
|
630
|
+
* @deprecated Since v0.35, prefer resetZoomPan.
|
|
629
631
|
*/
|
|
630
632
|
resetLayout(): void;
|
|
633
|
+
/**
|
|
634
|
+
* Reset the zoom and pan of the stage.
|
|
635
|
+
*/
|
|
636
|
+
resetZoomPan(): void;
|
|
637
|
+
/**
|
|
638
|
+
* Reset the position and window level of the stage.
|
|
639
|
+
*/
|
|
640
|
+
resetViews(): void;
|
|
631
641
|
/**
|
|
632
642
|
* Add an event listener to this class.
|
|
633
643
|
*
|
|
@@ -3349,6 +3359,12 @@ export declare class LayerGroup {
|
|
|
3349
3359
|
* @param {number} index The index of the layer to set as active.
|
|
3350
3360
|
*/
|
|
3351
3361
|
setActiveLayer(index: number): void;
|
|
3362
|
+
/**
|
|
3363
|
+
* Set the active layer with a layer id.
|
|
3364
|
+
*
|
|
3365
|
+
* @param {string} id The layer id.
|
|
3366
|
+
*/
|
|
3367
|
+
setActiveLayerById(id: string): void;
|
|
3352
3368
|
/**
|
|
3353
3369
|
* Set the active layer with a data id.
|
|
3354
3370
|
*
|
|
@@ -3483,8 +3499,18 @@ export declare class LayerGroup {
|
|
|
3483
3499
|
setOffset(newOffset: Scalar3D): void;
|
|
3484
3500
|
/**
|
|
3485
3501
|
* Reset the stage to its initial scale and no offset.
|
|
3502
|
+
*
|
|
3503
|
+
* @deprecated Since v0.35, prefer resetZoomPan.
|
|
3486
3504
|
*/
|
|
3487
3505
|
reset(): void;
|
|
3506
|
+
/**
|
|
3507
|
+
* Reset the zoom and pan of all layers.
|
|
3508
|
+
*/
|
|
3509
|
+
resetZoomPan(): void;
|
|
3510
|
+
/**
|
|
3511
|
+
* Reset the position and window level of all view layers.
|
|
3512
|
+
*/
|
|
3513
|
+
resetViews(): void;
|
|
3488
3514
|
/**
|
|
3489
3515
|
* Draw the layer.
|
|
3490
3516
|
*/
|
|
@@ -5736,6 +5762,14 @@ export declare class ViewController {
|
|
|
5736
5762
|
* Initialise the controller.
|
|
5737
5763
|
*/
|
|
5738
5764
|
initialise(): void;
|
|
5765
|
+
/**
|
|
5766
|
+
* Reset the window level.
|
|
5767
|
+
*/
|
|
5768
|
+
resetWindowLevel(): void;
|
|
5769
|
+
/**
|
|
5770
|
+
* Reset the position.
|
|
5771
|
+
*/
|
|
5772
|
+
resetPosition(): void;
|
|
5739
5773
|
/**
|
|
5740
5774
|
* Get the image modality.
|
|
5741
5775
|
*
|