dwv 0.34.0-beta.5 → 0.34.0-beta.7
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 -5
- 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
|
@@ -42,6 +42,12 @@ export declare class Annotation {
|
|
|
42
42
|
* @type {object}
|
|
43
43
|
*/
|
|
44
44
|
mathShape: object;
|
|
45
|
+
/**
|
|
46
|
+
* Additional points used to define the annotation.
|
|
47
|
+
*
|
|
48
|
+
* @type {Point2D[]}
|
|
49
|
+
*/
|
|
50
|
+
referencePoints: Point2D[];
|
|
45
51
|
/**
|
|
46
52
|
* The color: for example 'green', '#00ff00' or 'rgb(0,255,0)'.
|
|
47
53
|
*
|
|
@@ -233,16 +239,16 @@ export declare class AnnotationGroup {
|
|
|
233
239
|
* Get a meta data value.
|
|
234
240
|
*
|
|
235
241
|
* @param {string} key The meta data key.
|
|
236
|
-
* @returns {object} The meta data value.
|
|
242
|
+
* @returns {string|object} The meta data value.
|
|
237
243
|
*/
|
|
238
|
-
getMetaValue(key: string): object;
|
|
244
|
+
getMetaValue(key: string): string | object;
|
|
239
245
|
/**
|
|
240
246
|
* Set a meta data.
|
|
241
247
|
*
|
|
242
248
|
* @param {string} key The meta data key.
|
|
243
|
-
* @param {object} value The value of the meta data.
|
|
249
|
+
* @param {string|object} value The value of the meta data.
|
|
244
250
|
*/
|
|
245
|
-
setMetaValue(key: string, value: object): void;
|
|
251
|
+
setMetaValue(key: string, value: string | object): void;
|
|
246
252
|
/**
|
|
247
253
|
* Add an event listener to this class.
|
|
248
254
|
*
|
|
@@ -782,6 +788,22 @@ export declare class App {
|
|
|
782
788
|
* @param {string} dataId The data id.
|
|
783
789
|
*/
|
|
784
790
|
toggleOverlayListeners(dataId: string): void;
|
|
791
|
+
/**
|
|
792
|
+
* Create new annotation data based on the data of
|
|
793
|
+
* the active view layer.
|
|
794
|
+
*
|
|
795
|
+
* @param {LayerGroup} layerGroup The layerGroup with the data to associate
|
|
796
|
+
* to the annotation.
|
|
797
|
+
* @returns {DicomData} The new data.
|
|
798
|
+
*/
|
|
799
|
+
createAnnotationData(layerGroup: LayerGroup): DicomData;
|
|
800
|
+
/**
|
|
801
|
+
* Add new data and render it with a simple new data view config.
|
|
802
|
+
*
|
|
803
|
+
* @param {DicomData} data The data to add.
|
|
804
|
+
* @param {string} divId The div where to draw.
|
|
805
|
+
*/
|
|
806
|
+
addAndRenderAnnotationData(data: DicomData, divId: string): void;
|
|
785
807
|
/**
|
|
786
808
|
* Add a draw layer.
|
|
787
809
|
*
|
|
@@ -1137,7 +1159,6 @@ export declare class DeleteSegmentCommand {
|
|
|
1137
1159
|
* DICOM code: item of a basic code sequence.
|
|
1138
1160
|
*
|
|
1139
1161
|
* Ref: {@link https://dicom.nema.org/medical/dicom/2022a/output/chtml/part03/sect_8.8.html}.
|
|
1140
|
-
* List: {@link https://dicom.nema.org/medical/dicom/2022a/output/chtml/part16/chapter_d.html}.
|
|
1141
1162
|
*/
|
|
1142
1163
|
export declare class DicomCode {
|
|
1143
1164
|
/**
|