Skip to content

Commit

Permalink
fix(measurements): include volumeid and other useful properties in an…
Browse files Browse the repository at this point in the history
…notation metadata (#1281)
  • Loading branch information
IbrahimCSAE authored May 24, 2024
1 parent 920867f commit 8f4ff3e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/AngleTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class AngleTool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
handles: {
Expand Down
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/ArrowAnnotateTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class ArrowAnnotateTool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
text: '',
Expand Down
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/BidirectionalTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ class BidirectionalTool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
handles: {
Expand Down
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/CircleROITool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ class CircleROITool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
label: '',
Expand Down
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/CobbAngleTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class CobbAngleTool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
handles: {
Expand Down
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/EllipticalROITool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class EllipticalROITool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
label: '',
Expand Down
1 change: 1 addition & 0 deletions packages/tools/src/tools/annotation/RectangleROITool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class RectangleROITool extends AnnotationTool {
viewUp: <Types.Point3>[...viewUp],
FrameOfReferenceUID,
referencedImageId,
...viewport.getViewReference({ points: [worldPos] }),
},
data: {
label: '',
Expand Down

0 comments on commit 8f4ff3e

Please sign in to comment.