Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(measurements): include volumeid and other useful properties in annotation metadata #1281

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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