dwv 0.34.0-beta.20 → 0.34.0-beta.22
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 -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
|
@@ -2357,6 +2357,16 @@ export declare function getOrientationName(cosines: number[]): string | undefine
|
|
|
2357
2357
|
*/
|
|
2358
2358
|
export declare function getPixelDataTag(): Tag;
|
|
2359
2359
|
|
|
2360
|
+
/**
|
|
2361
|
+
* Get the indices that form a rectangle.
|
|
2362
|
+
*
|
|
2363
|
+
* @param {Index} center The rectangle center.
|
|
2364
|
+
* @param {number[]} size The 2 rectangle sizes.
|
|
2365
|
+
* @param {number[]} dir The 2 rectangle directions.
|
|
2366
|
+
* @returns {Index[]} The indices of the rectangle.
|
|
2367
|
+
*/
|
|
2368
|
+
export declare function getRectangleIndices(center: Index, size: number[], dir: number[]): Index[];
|
|
2369
|
+
|
|
2360
2370
|
/**
|
|
2361
2371
|
* Get patient orientation label in the reverse direction.
|
|
2362
2372
|
*
|