dwv 0.33.0-beta.4 → 0.33.0-beta.5
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 +11 -14
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +2 -2
package/dist/dwv.d.ts
CHANGED
|
@@ -323,6 +323,7 @@ export declare class App {
|
|
|
323
323
|
removeDataViewConfig(dataId: string, config: object): void;
|
|
324
324
|
/**
|
|
325
325
|
* Update a data view config.
|
|
326
|
+
* Removes and re-creates the layer if found.
|
|
326
327
|
*
|
|
327
328
|
* @param {string} dataId The data id.
|
|
328
329
|
* @param {string} divId The div id.
|
|
@@ -737,6 +738,10 @@ export declare class DrawLayer {
|
|
|
737
738
|
* Add a flip offset along the layer Y axis.
|
|
738
739
|
*/
|
|
739
740
|
addFlipOffsetY(): void;
|
|
741
|
+
/**
|
|
742
|
+
* Flip the scale along the layer Z axis.
|
|
743
|
+
*/
|
|
744
|
+
flipScaleZ(): void;
|
|
740
745
|
/**
|
|
741
746
|
* Set the layer scale.
|
|
742
747
|
*
|
|
@@ -1603,18 +1608,6 @@ export declare class LayerGroup {
|
|
|
1603
1608
|
* @param {HTMLElement} containerDiv The associated HTML div.
|
|
1604
1609
|
*/
|
|
1605
1610
|
constructor(containerDiv: HTMLElement);
|
|
1606
|
-
/**
|
|
1607
|
-
* Get the target orientation.
|
|
1608
|
-
*
|
|
1609
|
-
* @returns {Matrix33} The orientation matrix.
|
|
1610
|
-
*/
|
|
1611
|
-
getTargetOrientation(): Matrix33;
|
|
1612
|
-
/**
|
|
1613
|
-
* Set the target orientation.
|
|
1614
|
-
*
|
|
1615
|
-
* @param {Matrix33} orientation The orientation matrix.
|
|
1616
|
-
*/
|
|
1617
|
-
setTargetOrientation(orientation: Matrix33): void;
|
|
1618
1611
|
/**
|
|
1619
1612
|
* Get the showCrosshair flag.
|
|
1620
1613
|
*
|
|
@@ -3090,9 +3083,9 @@ export declare class ViewController {
|
|
|
3090
3083
|
*/
|
|
3091
3084
|
setImage(img: Image_2, dataId: string): void;
|
|
3092
3085
|
/**
|
|
3093
|
-
* Get the current spacing.
|
|
3086
|
+
* Get the current view (2D) spacing.
|
|
3094
3087
|
*
|
|
3095
|
-
* @returns {Array} The 2D
|
|
3088
|
+
* @returns {Array} The spacing as a 2D array.
|
|
3096
3089
|
*/
|
|
3097
3090
|
get2DSpacing(): any[];
|
|
3098
3091
|
/**
|
|
@@ -3418,6 +3411,10 @@ export declare class ViewLayer {
|
|
|
3418
3411
|
* Add a flip offset along the layer Y axis.
|
|
3419
3412
|
*/
|
|
3420
3413
|
addFlipOffsetY(): void;
|
|
3414
|
+
/**
|
|
3415
|
+
* Flip the scale along the layer Z axis.
|
|
3416
|
+
*/
|
|
3417
|
+
flipScaleZ(): void;
|
|
3421
3418
|
/**
|
|
3422
3419
|
* Set the layer scale.
|
|
3423
3420
|
*
|