dwv 0.34.0-beta.22 → 0.34.0-beta.23
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 +26 -11
- 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
|
@@ -3823,18 +3823,32 @@ export declare class PlaneHelper {
|
|
|
3823
3823
|
/**
|
|
3824
3824
|
* Get a world position from a 2D plane position.
|
|
3825
3825
|
*
|
|
3826
|
-
* @param {Point2D} point2D The
|
|
3826
|
+
* @param {Point2D} point2D The plane point.
|
|
3827
3827
|
* @param {number} k The slice index.
|
|
3828
|
-
* @returns {Point3D} The
|
|
3828
|
+
* @returns {Point3D} The world position.
|
|
3829
3829
|
*/
|
|
3830
3830
|
getPositionFromPlanePoint(point2D: Point2D, k: number): Point3D;
|
|
3831
3831
|
/**
|
|
3832
|
-
* Get a
|
|
3832
|
+
* Get a 2D plane position from a world position.
|
|
3833
|
+
*
|
|
3834
|
+
* @param {Point} point The world position.
|
|
3835
|
+
* @returns {Point3D} The plane point.
|
|
3836
|
+
*/
|
|
3837
|
+
getPlanePointFromPosition(point: Point): Point3D;
|
|
3838
|
+
/**
|
|
3839
|
+
* Get the cosines of this plane.
|
|
3833
3840
|
*
|
|
3834
|
-
* @
|
|
3841
|
+
* @returns {number[]} The 2 cosines vectors (3D).
|
|
3842
|
+
*/
|
|
3843
|
+
getCosines(): number[];
|
|
3844
|
+
/**
|
|
3845
|
+
* Get a list of points that define the plane at input position,
|
|
3846
|
+
* given this classes orientation.
|
|
3847
|
+
*
|
|
3848
|
+
* @param {Point} position The position.
|
|
3835
3849
|
* @returns {Point3D[]} An origin and 2 cosines vectors.
|
|
3836
3850
|
*/
|
|
3837
|
-
getPlanePoints(
|
|
3851
|
+
getPlanePoints(position: Point): Point3D[];
|
|
3838
3852
|
/**
|
|
3839
3853
|
* Image world to index.
|
|
3840
3854
|
*
|
|
@@ -5422,18 +5436,19 @@ export declare class ViewController {
|
|
|
5422
5436
|
*/
|
|
5423
5437
|
isAquisitionOrientation(): boolean;
|
|
5424
5438
|
/**
|
|
5425
|
-
* Get a list of points that define the plane at position
|
|
5439
|
+
* Get a list of points that define the plane at input position,
|
|
5440
|
+
* given this classes orientation.
|
|
5426
5441
|
*
|
|
5427
|
-
* @param {
|
|
5428
|
-
* @returns {Point3D[]}
|
|
5442
|
+
* @param {Point} position The position.
|
|
5443
|
+
* @returns {Point3D[]} An origin and 2 cosines vectors.
|
|
5429
5444
|
*/
|
|
5430
|
-
getPlanePoints(
|
|
5445
|
+
getPlanePoints(position: Point): Point3D[];
|
|
5431
5446
|
/**
|
|
5432
5447
|
* Get the current scroll position value.
|
|
5433
5448
|
*
|
|
5434
|
-
* @returns {
|
|
5449
|
+
* @returns {number} The value.
|
|
5435
5450
|
*/
|
|
5436
|
-
getCurrentScrollPosition():
|
|
5451
|
+
getCurrentScrollPosition(): number;
|
|
5437
5452
|
/**
|
|
5438
5453
|
* Generate display image data to be given to a canvas.
|
|
5439
5454
|
*
|