dwv 0.35.0-beta.17 → 0.35.0-beta.19
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 +44 -10
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/package.json +12 -12
package/dist/dwv.d.ts
CHANGED
|
@@ -78,6 +78,33 @@ export declare class Annotation {
|
|
|
78
78
|
* @type {Point3D[]|undefined}
|
|
79
79
|
*/
|
|
80
80
|
planePoints: Point3D[] | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Get the concepts ids of the annotation meta data.
|
|
83
|
+
*
|
|
84
|
+
* @returns {string[]} The ids.
|
|
85
|
+
*/
|
|
86
|
+
getMetaConceptIds(): string[];
|
|
87
|
+
/**
|
|
88
|
+
* Get an annotation meta data.
|
|
89
|
+
*
|
|
90
|
+
* @param {string} conceptId The value of the concept dicom code.
|
|
91
|
+
* @returns {object|undefined} The corresponding meta data item
|
|
92
|
+
* as {concept, value} or undefined.
|
|
93
|
+
*/
|
|
94
|
+
getMetaItem(conceptId: string): object | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Add annotation meta data.
|
|
97
|
+
*
|
|
98
|
+
* @param {DicomCode} concept The concept code.
|
|
99
|
+
* @param {DicomCode} value The value code.
|
|
100
|
+
*/
|
|
101
|
+
addMetaItem(concept: DicomCode, value: DicomCode): void;
|
|
102
|
+
/**
|
|
103
|
+
* Remove an annotation meta data.
|
|
104
|
+
*
|
|
105
|
+
* @param {string} conceptId The value of the concept dicom code.
|
|
106
|
+
*/
|
|
107
|
+
removeMetaItem(conceptId: string): void;
|
|
81
108
|
/**
|
|
82
109
|
* Get the orientation name for this annotation.
|
|
83
110
|
*
|
|
@@ -2145,11 +2172,11 @@ export declare class Geometry {
|
|
|
2145
2172
|
* Check if a point is in the origin list.
|
|
2146
2173
|
*
|
|
2147
2174
|
* @param {Point3D} point3D The point to check.
|
|
2148
|
-
* @param {number} tol
|
|
2149
|
-
*
|
|
2175
|
+
* @param {number} [tol] Optional number comparison tolerance
|
|
2176
|
+
* defaults to Number.EPSILON.
|
|
2150
2177
|
* @returns {boolean} True if in list.
|
|
2151
2178
|
*/
|
|
2152
|
-
includesOrigin(point3D: Point3D, tol
|
|
2179
|
+
includesOrigin(point3D: Point3D, tol?: number): boolean;
|
|
2153
2180
|
/**
|
|
2154
2181
|
* Get the object size.
|
|
2155
2182
|
* Warning: the size comes as stored in DICOM, meaning that it could
|
|
@@ -3639,11 +3666,18 @@ export declare class Matrix33 {
|
|
|
3639
3666
|
* Check for Matrix33 equality.
|
|
3640
3667
|
*
|
|
3641
3668
|
* @param {Matrix33} rhs The other matrix to compare to.
|
|
3642
|
-
* @param {number} [p] A numeric expression for the precision to use in check
|
|
3643
|
-
* (ex: 0.001). Defaults to Number.EPSILON if not provided.
|
|
3644
3669
|
* @returns {boolean} True if both matrices are equal.
|
|
3645
3670
|
*/
|
|
3646
|
-
equals(rhs: Matrix33
|
|
3671
|
+
equals(rhs: Matrix33): boolean;
|
|
3672
|
+
/**
|
|
3673
|
+
* Check for Matrix33 similarity.
|
|
3674
|
+
*
|
|
3675
|
+
* @param {Matrix33} rhs The other matrix to compare to.
|
|
3676
|
+
* @param {number} [tol] Optional number comparison tolerance,
|
|
3677
|
+
* defaults to Number.EPSILON.
|
|
3678
|
+
* @returns {boolean} True if both matrices are similar.
|
|
3679
|
+
*/
|
|
3680
|
+
isSimilar(rhs: Matrix33, tol?: number): boolean;
|
|
3647
3681
|
/**
|
|
3648
3682
|
* Get a string representation of the Matrix33.
|
|
3649
3683
|
*
|
|
@@ -4133,11 +4167,11 @@ export declare class Point3D {
|
|
|
4133
4167
|
* Check for Point3D similarity.
|
|
4134
4168
|
*
|
|
4135
4169
|
* @param {Point3D} rhs The other point to compare to.
|
|
4136
|
-
* @param {number} tol Optional comparison tolerance,
|
|
4137
|
-
*
|
|
4138
|
-
* @returns {boolean} True if both points are
|
|
4170
|
+
* @param {number} [tol] Optional number comparison tolerance,
|
|
4171
|
+
* defaults to Number.EPSILON.
|
|
4172
|
+
* @returns {boolean} True if both points are similar.
|
|
4139
4173
|
*/
|
|
4140
|
-
isSimilar(rhs: Point3D, tol
|
|
4174
|
+
isSimilar(rhs: Point3D, tol?: number): boolean;
|
|
4141
4175
|
/**
|
|
4142
4176
|
* Get a string representation of the Point3D.
|
|
4143
4177
|
*
|