@cornerstonejs/adapters 2.1.1 → 2.1.3
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.
|
@@ -74,16 +74,23 @@ var ArrowAnnotate = /*#__PURE__*/function () {
|
|
|
74
74
|
points = _data$handles.points,
|
|
75
75
|
arrowFirst = _data$handles.arrowFirst;
|
|
76
76
|
var point;
|
|
77
|
+
var point2;
|
|
77
78
|
if (arrowFirst) {
|
|
78
79
|
point = points[0];
|
|
80
|
+
point2 = points[1];
|
|
79
81
|
} else {
|
|
80
82
|
point = points[1];
|
|
83
|
+
point2 = points[0];
|
|
81
84
|
}
|
|
82
85
|
var pointImage = worldToImageCoords(referencedImageId, point);
|
|
86
|
+
var pointImage2 = worldToImageCoords(referencedImageId, point2);
|
|
83
87
|
var TID300RepresentationArguments = {
|
|
84
88
|
points: [{
|
|
85
89
|
x: pointImage[0],
|
|
86
90
|
y: pointImage[1]
|
|
91
|
+
}, {
|
|
92
|
+
x: pointImage2[0],
|
|
93
|
+
y: pointImage2[1]
|
|
87
94
|
}],
|
|
88
95
|
trackingIdentifierTextValue: trackingIdentifierTextValue,
|
|
89
96
|
findingSites: findingSites || []
|
package/dist/umd/adapters.umd.js
CHANGED
|
@@ -4059,16 +4059,23 @@
|
|
|
4059
4059
|
points = _data$handles.points,
|
|
4060
4060
|
arrowFirst = _data$handles.arrowFirst;
|
|
4061
4061
|
var point;
|
|
4062
|
+
var point2;
|
|
4062
4063
|
if (arrowFirst) {
|
|
4063
4064
|
point = points[0];
|
|
4065
|
+
point2 = points[1];
|
|
4064
4066
|
} else {
|
|
4065
4067
|
point = points[1];
|
|
4068
|
+
point2 = points[0];
|
|
4066
4069
|
}
|
|
4067
4070
|
var pointImage = worldToImageCoords(referencedImageId, point);
|
|
4071
|
+
var pointImage2 = worldToImageCoords(referencedImageId, point2);
|
|
4068
4072
|
var TID300RepresentationArguments = {
|
|
4069
4073
|
points: [{
|
|
4070
4074
|
x: pointImage[0],
|
|
4071
4075
|
y: pointImage[1]
|
|
4076
|
+
}, {
|
|
4077
|
+
x: pointImage2[0],
|
|
4078
|
+
y: pointImage2[1]
|
|
4072
4079
|
}],
|
|
4073
4080
|
trackingIdentifierTextValue: trackingIdentifierTextValue$8,
|
|
4074
4081
|
findingSites: findingSites || []
|