dicom-microscopy-viewer 0.36.2 → 0.36.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/README.md +44 -42
- package/{build → dist}/08929516bda4c4fd2597.module.wasm +0 -0
- package/{build → dist}/4f2853de305c1b5afcac.module.wasm +0 -0
- package/{build → dist}/6ae9c6e051fd2bd70fad.module.wasm +0 -0
- package/{build → dist}/6b62efd6c7f30afd4c78.module.wasm +0 -0
- package/{build → dist}/7e1d2da75b59525e1933.module.wasm +0 -0
- package/{build → dist}/d051f2d564fae150ce94.module.wasm +0 -0
- package/dist/dicom-microscopy-viewer.js +2 -0
- package/{build → dist}/dicom-microscopy-viewer.js.LICENSE.txt +0 -0
- package/dist/dicom-microscopy-viewer.js.map +1 -0
- package/{build → dist}/e6305f756142e57c92cd.module.wasm +0 -0
- package/{build → dist}/f3e0c999ad06a34a7f75.module.wasm +0 -0
- package/docs/annotation.AnnotationGroup.html +142 -43
- package/docs/annotation.html +2 -2
- package/docs/annotation.js.html +47 -34
- package/docs/annotations__AnnotationManager.js.html +2 -2
- package/docs/annotations_markups__MarkupManager.js.html +2 -2
- package/docs/api.html +2 -2
- package/docs/color.PaletteColorLookupTable.html +42 -14
- package/docs/color.html +6 -6
- package/docs/color.js.html +14 -14
- package/docs/dicom-microscopy-viewer.js.html +2 -2
- package/docs/events.html +316 -2
- package/docs/events.js.html +13 -4
- package/docs/index.html +44 -44
- package/docs/mapping.ParameterMapping.html +342 -27
- package/docs/mapping.Transformation.html +221 -14
- package/docs/mapping.html +2 -2
- package/docs/mapping.js.html +41 -32
- package/docs/metadata.Comprehensive3DSR.html +254 -5
- package/docs/metadata.MicroscopyBulkSimpleAnnotations.html +254 -5
- package/docs/metadata.ParametricMap.html +254 -5
- package/docs/metadata.SOPClass.html +399 -0
- package/docs/metadata.Segmentation.html +254 -5
- package/docs/metadata.VLWholeSlideMicroscopyImage.html +255 -7
- package/docs/metadata.html +14 -32
- package/docs/metadata.js.html +55 -21
- package/docs/opticalPath.OpticalPath.html +453 -26
- package/docs/opticalPath.html +2 -2
- package/docs/opticalPath.js.html +16 -17
- package/docs/pyramid.js.html +2 -2
- package/docs/roi.ROI.html +317 -25
- package/docs/roi.html +2 -2
- package/docs/roi.js.html +26 -19
- package/docs/scoord3d.Ellipse.html +14 -18
- package/docs/scoord3d.Ellipsoid.html +14 -18
- package/docs/scoord3d.Multipoint.html +14 -18
- package/docs/scoord3d.Point.html +13 -17
- package/docs/scoord3d.Polygon.html +14 -18
- package/docs/scoord3d.Polyline.html +14 -18
- package/docs/scoord3d.Scoord3D.html +608 -0
- package/docs/scoord3d.html +5 -2
- package/docs/scoord3d.js.html +101 -54
- package/docs/segment.Segment.html +160 -48
- package/docs/segment.html +2 -2
- package/docs/segment.js.html +37 -33
- package/docs/utils.html +148 -4
- package/docs/utils.js.html +6 -6
- package/docs/viewer.LabelImageViewer.html +14 -15
- package/docs/viewer.OverviewImageViewer.html +15 -15
- package/docs/viewer.VolumeImageViewer.html +215 -282
- package/docs/viewer.html +2 -2
- package/docs/viewer.js.html +150 -133
- package/package.json +4 -3
- package/src/annotation.js +45 -32
- package/src/color.js +12 -12
- package/src/events.js +11 -2
- package/src/mapping.js +39 -30
- package/src/metadata.js +53 -19
- package/src/opticalPath.js +14 -15
- package/src/roi.js +24 -17
- package/src/scoord3d.js +99 -52
- package/src/segment.js +35 -31
- package/src/utils.js +4 -4
- package/src/viewer.js +258 -207
- package/webpack.config.js +11 -1
- package/build/dicom-microscopy-viewer.js +0 -2
- package/build/dicom-microscopy-viewer.js.map +0 -1
package/docs/scoord3d.js.html
CHANGED
|
@@ -32,26 +32,43 @@ const _coordinates = Symbol('coordinates')
|
|
|
32
32
|
const _frameOfReferenceUID = Symbol('frameOfReferenceUID')
|
|
33
33
|
const _fiducialUID = Symbol('fiducialUID')
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* 3D spatial coordinates.
|
|
37
|
+
*
|
|
38
|
+
* @class
|
|
39
|
+
* @abstract
|
|
40
|
+
* @memberof scoord3d
|
|
41
|
+
*/
|
|
35
42
|
class Scoord3D {
|
|
43
|
+
/**
|
|
44
|
+
* @param {Object} options - Options
|
|
45
|
+
* @param {string} options.frameOfReferenceUID - Frame of Reference UID
|
|
46
|
+
* @param {number[][]} options.coordinates - (x, y, z) coordinates for
|
|
47
|
+
* each point
|
|
48
|
+
* @param {string} options.fiducialUID - Fiducial UID
|
|
49
|
+
*/
|
|
36
50
|
constructor (options) {
|
|
37
51
|
if (!(typeof options.frameOfReferenceUID === 'string' ||
|
|
38
52
|
options.frameOfReferenceUID instanceof String)) {
|
|
39
|
-
throw new Error(
|
|
53
|
+
throw new Error(
|
|
54
|
+
'Argument "frameOfReferenceUID" of Scoord3D must be a string.'
|
|
55
|
+
)
|
|
40
56
|
}
|
|
41
57
|
this[_frameOfReferenceUID] = options.frameOfReferenceUID
|
|
42
58
|
options.fiducialUID = options.fiducialUID || _generateUID()
|
|
43
59
|
if (!(typeof options.fiducialUID === 'string' ||
|
|
44
60
|
options.fiducialUID instanceof String)) {
|
|
45
|
-
throw new Error('fiducialUID of Scoord3D must be a string')
|
|
61
|
+
throw new Error('Argument "fiducialUID" of Scoord3D must be a string.')
|
|
46
62
|
}
|
|
47
63
|
this[_fiducialUID] = options.fiducialUID
|
|
48
64
|
if (!Array.isArray(options.coordinates)) {
|
|
49
|
-
throw new Error('coordinates of Scoord3D must be an array')
|
|
65
|
+
throw new Error('Argument "coordinates" of Scoord3D must be an array.')
|
|
50
66
|
}
|
|
51
67
|
this[_coordinates] = options.coordinates
|
|
52
68
|
}
|
|
53
69
|
|
|
54
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Graphic Data
|
|
55
72
|
*
|
|
56
73
|
* @type {number[][]}
|
|
57
74
|
*/
|
|
@@ -59,7 +76,8 @@ class Scoord3D {
|
|
|
59
76
|
return this[_coordinates]
|
|
60
77
|
}
|
|
61
78
|
|
|
62
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Graphic Type
|
|
63
81
|
*
|
|
64
82
|
* @type {string}
|
|
65
83
|
*/
|
|
@@ -67,7 +85,8 @@ class Scoord3D {
|
|
|
67
85
|
throw new Error('Prototype property "graphicType" must be implemented')
|
|
68
86
|
}
|
|
69
87
|
|
|
70
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Frame of Reference UID
|
|
71
90
|
*
|
|
72
91
|
* @type {string}
|
|
73
92
|
*/
|
|
@@ -75,7 +94,8 @@ class Scoord3D {
|
|
|
75
94
|
return this[_frameOfReferenceUID]
|
|
76
95
|
}
|
|
77
96
|
|
|
78
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Fiducial UID
|
|
79
99
|
*
|
|
80
100
|
* @type {string}
|
|
81
101
|
*/
|
|
@@ -84,15 +104,15 @@ class Scoord3D {
|
|
|
84
104
|
}
|
|
85
105
|
}
|
|
86
106
|
|
|
87
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* POINT graphic denoted by a single (x, y, z) triplet.
|
|
88
109
|
*
|
|
89
110
|
* @class
|
|
90
|
-
* @extends Scoord3D
|
|
111
|
+
* @extends scoord3d.Scoord3D
|
|
91
112
|
* @memberof scoord3d
|
|
92
113
|
*/
|
|
93
114
|
class Point extends Scoord3D {
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
115
|
+
/**
|
|
96
116
|
* @param {Object} options
|
|
97
117
|
* @param {string} options.frameOfReferenceUID - Unique identifier of the Frame of Reference
|
|
98
118
|
* @param {number[]} options.coordinates - X, Y and Z coordinate.
|
|
@@ -100,10 +120,12 @@ class Point extends Scoord3D {
|
|
|
100
120
|
*/
|
|
101
121
|
constructor (options) {
|
|
102
122
|
if (!Array.isArray(options.coordinates)) {
|
|
103
|
-
throw new Error('coordinates of Point must be an array')
|
|
123
|
+
throw new Error('Argument "coordinates" of Point must be an array.')
|
|
104
124
|
}
|
|
105
125
|
if (options.coordinates.length !== 3) {
|
|
106
|
-
throw new Error(
|
|
126
|
+
throw new Error(
|
|
127
|
+
'Argument "coordinates" of Point must be an array of length 3.'
|
|
128
|
+
)
|
|
107
129
|
}
|
|
108
130
|
if (options.coordinates.some(c => c < 0)) {
|
|
109
131
|
console.warn('coordinates of Point are negative numbers')
|
|
@@ -113,6 +135,7 @@ class Point extends Scoord3D {
|
|
|
113
135
|
frameOfReferenceUID: options.frameOfReferenceUID,
|
|
114
136
|
fiducialUID: options.fiducialUID
|
|
115
137
|
})
|
|
138
|
+
Object.freeze(this)
|
|
116
139
|
}
|
|
117
140
|
|
|
118
141
|
/** Graphic Data
|
|
@@ -128,36 +151,40 @@ class Point extends Scoord3D {
|
|
|
128
151
|
}
|
|
129
152
|
}
|
|
130
153
|
|
|
131
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* MULTIPOINT graphic denoted by multiple, coplanar (x, y, z) coordinates that
|
|
132
156
|
* represent individual points.
|
|
133
157
|
*
|
|
134
158
|
* @class
|
|
135
|
-
* @extends Scoord3D
|
|
159
|
+
* @extends scoord3d.Scoord3D
|
|
136
160
|
* @memberof scoord3d
|
|
137
161
|
*/
|
|
138
162
|
class Multipoint extends Scoord3D {
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
163
|
+
/**
|
|
141
164
|
* @param {Object} options
|
|
142
165
|
* @param {string} options.frameOfReferenceUID - Unique identifier of the Frame of Reference
|
|
143
|
-
* @param {number[][]} options.coordinates -
|
|
166
|
+
* @param {number[][]} options.coordinates - (x, y, z) coordinates of each point.
|
|
144
167
|
* @param {string} [options.fiducialUID] - Unique identifier of an imaging fiducial
|
|
145
168
|
*/
|
|
146
169
|
constructor (options) {
|
|
147
170
|
if (!Array.isArray(options.coordinates)) {
|
|
148
|
-
throw new Error('coordinates of Multipoint must be an array')
|
|
171
|
+
throw new Error('Argument "coordinates" of Multipoint must be an array.')
|
|
149
172
|
}
|
|
150
173
|
if (options.coordinates.find(c => c.length !== 3) !== undefined) {
|
|
151
|
-
throw new Error(
|
|
174
|
+
throw new Error(
|
|
175
|
+
'Argument "coordinates" of Multipoint must be an array of ' +
|
|
176
|
+
'(x, y, z) triplets.'
|
|
177
|
+
)
|
|
152
178
|
}
|
|
153
179
|
if (options.coordinates.find(c => c.some(item => item < 0))) {
|
|
154
|
-
console.warn('coordinates of Multipoint contain
|
|
180
|
+
console.warn('coordinates of Multipoint contain negative numbers')
|
|
155
181
|
}
|
|
156
182
|
super({
|
|
157
183
|
coordinates: options.coordinates,
|
|
158
184
|
frameOfReferenceUID: options.frameOfReferenceUID,
|
|
159
185
|
fiducialUID: options.fiducialUID
|
|
160
186
|
})
|
|
187
|
+
Object.freeze(this)
|
|
161
188
|
}
|
|
162
189
|
|
|
163
190
|
get graphicType () {
|
|
@@ -165,27 +192,30 @@ class Multipoint extends Scoord3D {
|
|
|
165
192
|
}
|
|
166
193
|
}
|
|
167
194
|
|
|
168
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* POLYLINE graphic denoted by multiple, ordered (x, y, z) coordinates that
|
|
169
197
|
* represent vertices of connected line segments.
|
|
170
198
|
*
|
|
171
199
|
* @class
|
|
172
|
-
* @extends Scoord3D
|
|
200
|
+
* @extends scoord3d.Scoord3D
|
|
173
201
|
* @memberof scoord3d
|
|
174
202
|
*/
|
|
175
203
|
class Polyline extends Scoord3D {
|
|
176
|
-
/**
|
|
177
|
-
*
|
|
204
|
+
/**
|
|
178
205
|
* @param {Object} options
|
|
179
206
|
* @param {string} options.frameOfReferenceUID - Unique identifier of the Frame of Reference
|
|
180
|
-
* @param {number[][]} options.coordinates - (
|
|
207
|
+
* @param {number[][]} options.coordinates - (x, y, z) coordinates of point on the line
|
|
181
208
|
* @param {string} [options.fiducialUID] - Unique identifier of an imaging fiducial
|
|
182
209
|
*/
|
|
183
210
|
constructor (options) {
|
|
184
211
|
if (!Array.isArray(options.coordinates)) {
|
|
185
|
-
throw new Error('coordinates of Polyline must be an array')
|
|
212
|
+
throw new Error('Argument "coordinates" of Polyline must be an array.')
|
|
186
213
|
}
|
|
187
214
|
if (options.coordinates.find(c => c.length !== 3) !== undefined) {
|
|
188
|
-
throw new Error(
|
|
215
|
+
throw new Error(
|
|
216
|
+
'Argument "coordinates" of Polyline must be an array of ' +
|
|
217
|
+
'(x, y, z) triplets.'
|
|
218
|
+
)
|
|
189
219
|
}
|
|
190
220
|
if (options.coordinates.find(c => c.some(item => item < 0))) {
|
|
191
221
|
console.warn('coordinates of Polyline contain negative numbers')
|
|
@@ -195,6 +225,7 @@ class Polyline extends Scoord3D {
|
|
|
195
225
|
frameOfReferenceUID: options.frameOfReferenceUID,
|
|
196
226
|
fiducialUID: options.fiducialUID
|
|
197
227
|
})
|
|
228
|
+
Object.freeze(this)
|
|
198
229
|
}
|
|
199
230
|
|
|
200
231
|
get graphicType () {
|
|
@@ -202,28 +233,31 @@ class Polyline extends Scoord3D {
|
|
|
202
233
|
}
|
|
203
234
|
}
|
|
204
235
|
|
|
205
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* POLYGON graphic denoted by multiple, ordered, coplaner (x, y, z) coordinates
|
|
206
238
|
* that represent vertices of connected line segments.
|
|
207
239
|
* The first and last coordinate should be identical.
|
|
208
240
|
*
|
|
209
241
|
* @class
|
|
210
|
-
* @extends Scoord3D
|
|
242
|
+
* @extends scoord3d.Scoord3D
|
|
211
243
|
* @memberof scoord3d
|
|
212
244
|
*/
|
|
213
245
|
class Polygon extends Scoord3D {
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
246
|
+
/**
|
|
216
247
|
* @param {Object} options
|
|
217
248
|
* @param {string} options.frameOfReferenceUID - Unique identifier of the Frame of Reference
|
|
218
|
-
* @param {number[][]} options.coordinates - (
|
|
249
|
+
* @param {number[][]} options.coordinates - (x, y, z) coordinates of points on the perimeter of the polygon (first and last coordinate must be the same).
|
|
219
250
|
* @param {string} [options.fiducialUID] - Unique identifier of an imaging fiducial
|
|
220
251
|
*/
|
|
221
252
|
constructor (options) {
|
|
222
253
|
if (!Array.isArray(options.coordinates)) {
|
|
223
|
-
throw new Error('coordinates of Polygon must be an array')
|
|
254
|
+
throw new Error('Argument "coordinates" of Polygon must be an array.')
|
|
224
255
|
}
|
|
225
256
|
if (options.coordinates.find(c => c.length !== 3) !== undefined) {
|
|
226
|
-
throw new Error(
|
|
257
|
+
throw new Error(
|
|
258
|
+
'Argument "coordinates" of Polygon must be an array of ' +
|
|
259
|
+
'(x, y, z) triplets.'
|
|
260
|
+
)
|
|
227
261
|
}
|
|
228
262
|
if (options.coordinates.find(c => c.some(item => item < 0))) {
|
|
229
263
|
console.warn('coordinates of Polygon contain negative numbers')
|
|
@@ -232,13 +266,14 @@ class Polygon extends Scoord3D {
|
|
|
232
266
|
if ((options.coordinates[0][0] !== options.coordinates[n - 1][0]) ||
|
|
233
267
|
(options.coordinates[0][1] !== options.coordinates[n - 1][1]) ||
|
|
234
268
|
(options.coordinates[0][2] !== options.coordinates[n - 1][2])) {
|
|
235
|
-
throw new Error('
|
|
269
|
+
throw new Error('First and last coordinate of Polygon must be the same.')
|
|
236
270
|
}
|
|
237
271
|
super({
|
|
238
272
|
coordinates: options.coordinates,
|
|
239
273
|
frameOfReferenceUID: options.frameOfReferenceUID,
|
|
240
274
|
fiducialUID: options.fiducialUID
|
|
241
275
|
})
|
|
276
|
+
Object.freeze(this)
|
|
242
277
|
}
|
|
243
278
|
|
|
244
279
|
get graphicType () {
|
|
@@ -246,33 +281,38 @@ class Polygon extends Scoord3D {
|
|
|
246
281
|
}
|
|
247
282
|
}
|
|
248
283
|
|
|
249
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* ELLIPSOID graphic denoted by six (x, y, z) coordinates that represent
|
|
250
286
|
* endpoints of the three orthogonal geometric axes, where the first and second
|
|
251
287
|
* coordinates represent the endpoints of the first axis, the third and forth
|
|
252
288
|
* coordinates represent the endpoints of the second axis and the fifth and
|
|
253
289
|
* sixth coordinates represent the endpoints of the third axis.
|
|
254
290
|
*
|
|
255
291
|
* @class
|
|
256
|
-
* @extends Scoord3D
|
|
292
|
+
* @extends scoord3d.Scoord3D
|
|
257
293
|
* @memberof scoord3d
|
|
258
294
|
*/
|
|
259
295
|
class Ellipsoid extends Scoord3D {
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
296
|
+
/**
|
|
262
297
|
* @param {Object} options
|
|
263
298
|
* @param {string} options.frameOfReferenceUID - Unique identifier of the Frame of Reference
|
|
264
|
-
* @param {number[][]} options.coordinates - (
|
|
299
|
+
* @param {number[][]} options.coordinates - (x, y, z) coordinates of the three axes endpoints
|
|
265
300
|
* @param {string} [options.fiducialUID] - Unique identifier of an imaging fiducial
|
|
266
301
|
*/
|
|
267
302
|
constructor (options) {
|
|
268
303
|
if (!Array.isArray(options.coordinates)) {
|
|
269
|
-
throw new Error('coordinates of Ellipsoid must be an array')
|
|
304
|
+
throw new Error('Argument "coordinates" of Ellipsoid must be an array.')
|
|
270
305
|
}
|
|
271
306
|
if (options.coordinates.length !== 6) {
|
|
272
|
-
throw new Error(
|
|
307
|
+
throw new Error(
|
|
308
|
+
'Argument "coordinates" of Ellipsoid must be an array of length 6.'
|
|
309
|
+
)
|
|
273
310
|
}
|
|
274
311
|
if (options.coordinates.find(c => c.length !== 3) !== undefined) {
|
|
275
|
-
throw new Error(
|
|
312
|
+
throw new Error(
|
|
313
|
+
'Argument "coordinates" of Ellipsoid must be an array of ' +
|
|
314
|
+
'(x, y, z) triplets.'
|
|
315
|
+
)
|
|
276
316
|
}
|
|
277
317
|
if (options.coordinates.find(c => c.some(item => item < 0))) {
|
|
278
318
|
console.warn('coordinates of Ellipsoid contain negative numbers')
|
|
@@ -282,6 +322,7 @@ class Ellipsoid extends Scoord3D {
|
|
|
282
322
|
frameOfReferenceUID: options.frameOfReferenceUID,
|
|
283
323
|
fiducialUID: options.fiducialUID
|
|
284
324
|
})
|
|
325
|
+
Object.freeze(this)
|
|
285
326
|
}
|
|
286
327
|
|
|
287
328
|
get graphicType () {
|
|
@@ -289,32 +330,37 @@ class Ellipsoid extends Scoord3D {
|
|
|
289
330
|
}
|
|
290
331
|
}
|
|
291
332
|
|
|
292
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* ELLIPSE graphic denoted by four, coplaner (x, y, z) coordinates that represent
|
|
293
335
|
* the endpoints of the major and minor axes, where the first and second
|
|
294
336
|
* coordinates represent the endpoints of the major axis and the third and
|
|
295
337
|
* forth coordinates represent the endpoints of the minor axis.
|
|
296
338
|
*
|
|
297
339
|
* @class
|
|
298
|
-
* @extends Scoord3D
|
|
340
|
+
* @extends scoord3d.Scoord3D
|
|
299
341
|
* @memberof scoord3d
|
|
300
342
|
*/
|
|
301
343
|
class Ellipse extends Scoord3D {
|
|
302
|
-
/**
|
|
303
|
-
*
|
|
344
|
+
/**
|
|
304
345
|
* @param {Object} options
|
|
305
346
|
* @param {string} options.frameOfReferenceUID - Unique identifier of the Frame of Reference
|
|
306
|
-
* @param {number[][]} options.coordinates - (
|
|
347
|
+
* @param {number[][]} options.coordinates - (x, y, z) coordinates of the major and minor axes endpoints
|
|
307
348
|
* @param {string} [options.fiducialUID] - Unique identifier of an imaging fiducial
|
|
308
349
|
*/
|
|
309
350
|
constructor (options) {
|
|
310
351
|
if (!Array.isArray(options.coordinates)) {
|
|
311
|
-
throw new Error('coordinates of Ellipse must be an array')
|
|
352
|
+
throw new Error('Argument "coordinates" of Ellipse must be an array.')
|
|
312
353
|
}
|
|
313
354
|
if (options.coordinates.length !== 4) {
|
|
314
|
-
throw new Error(
|
|
355
|
+
throw new Error(
|
|
356
|
+
'Argument "coordinates" of Ellipse must be an array of length 4.'
|
|
357
|
+
)
|
|
315
358
|
}
|
|
316
359
|
if (options.coordinates.find(c => c.length !== 3) !== undefined) {
|
|
317
|
-
throw new Error(
|
|
360
|
+
throw new Error(
|
|
361
|
+
'Argument "coordinates" of Ellipse must be an array of ' +
|
|
362
|
+
'(x, y, z) triplets.'
|
|
363
|
+
)
|
|
318
364
|
}
|
|
319
365
|
if (options.coordinates.find(c => c.some(item => item < 0))) {
|
|
320
366
|
console.warn('coordinates of Ellipse contain negative numbers')
|
|
@@ -353,6 +399,7 @@ class Ellipse extends Scoord3D {
|
|
|
353
399
|
frameOfReferenceUID: options.frameOfReferenceUID,
|
|
354
400
|
fiducialUID: options.fiducialUID
|
|
355
401
|
})
|
|
402
|
+
Object.freeze(this)
|
|
356
403
|
}
|
|
357
404
|
|
|
358
405
|
get graphicType () {
|
|
@@ -371,13 +418,13 @@ export { Point, Multipoint, Polyline, Polygon, Ellipse, Ellipsoid }
|
|
|
371
418
|
</div>
|
|
372
419
|
|
|
373
420
|
<nav>
|
|
374
|
-
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="color.html">color</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="color.PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="mapping.Transformation.html">Transformation</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul>
|
|
421
|
+
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="annotation.html">annotation</a></li><li><a href="api.html">api</a></li><li><a href="color.html">color</a></li><li><a href="events.html">events</a></li><li><a href="mapping.html">mapping</a></li><li><a href="metadata.html">metadata</a></li><li><a href="opticalPath.html">opticalPath</a></li><li><a href="roi.html">roi</a></li><li><a href="scoord3d.html">scoord3d</a></li><li><a href="segment.html">segment</a></li><li><a href="utils.html">utils</a></li><li><a href="viewer.html">viewer</a></li></ul><h3>Classes</h3><ul><li><a href="annotation.AnnotationGroup.html">AnnotationGroup</a></li><li><a href="color.PaletteColorLookupTable.html">PaletteColorLookupTable</a></li><li><a href="mapping.ParameterMapping.html">ParameterMapping</a></li><li><a href="mapping.Transformation.html">Transformation</a></li><li><a href="metadata.Comprehensive3DSR.html">Comprehensive3DSR</a></li><li><a href="metadata.MicroscopyBulkSimpleAnnotations.html">MicroscopyBulkSimpleAnnotations</a></li><li><a href="metadata.ParametricMap.html">ParametricMap</a></li><li><a href="metadata.Segmentation.html">Segmentation</a></li><li><a href="metadata.SOPClass.html">SOPClass</a></li><li><a href="metadata.VLWholeSlideMicroscopyImage.html">VLWholeSlideMicroscopyImage</a></li><li><a href="opticalPath.OpticalPath.html">OpticalPath</a></li><li><a href="roi.ROI.html">ROI</a></li><li><a href="scoord3d.Ellipse.html">Ellipse</a></li><li><a href="scoord3d.Ellipsoid.html">Ellipsoid</a></li><li><a href="scoord3d.Multipoint.html">Multipoint</a></li><li><a href="scoord3d.Point.html">Point</a></li><li><a href="scoord3d.Polygon.html">Polygon</a></li><li><a href="scoord3d.Polyline.html">Polyline</a></li><li><a href="scoord3d.Scoord3D.html">Scoord3D</a></li><li><a href="segment.Segment.html">Segment</a></li><li><a href="viewer.LabelImageViewer.html">LabelImageViewer</a></li><li><a href="viewer.OverviewImageViewer.html">OverviewImageViewer</a></li><li><a href="viewer.VolumeImageViewer.html">VolumeImageViewer</a></li></ul>
|
|
375
422
|
</nav>
|
|
376
423
|
|
|
377
424
|
<br class="clear">
|
|
378
425
|
|
|
379
426
|
<footer>
|
|
380
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on
|
|
427
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 12:50:08 GMT-0500 (Eastern Standard Time)
|
|
381
428
|
</footer>
|
|
382
429
|
|
|
383
430
|
<script> prettyPrint(); </script>
|