You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pointsInShape are being stored (or provided in CORNERSTONE_TOOLS_ANNOTATION_COMPLETED event, (event.detail.anntotation ) with storePointData set to false
Steps to Reproduce
After initializing cs, tools and a toolGroup:
toolGroup.setToolActive('RectangleROI' { bindings: [{ mouseButton: 1 }] });
toolGroup.setToolConfiguration('RectangleROI', { storePointData: false }); // optional, it's set to false by default
console.log(toolGroup.getToolConfiguration('RectangleROI'));
Draw the annotation on a StackViewport and log it (or store it anywhere you can see it)
You will be able to see "pointsInShape" atribute in data.cachedStats.imageId...{}
The current behavior
pointsInShape are being stored (or provided in CORNERSTONE_TOOLS_ANNOTATION_COMPLETED event, (event.detail.anntotation ) with storePointData set to false
The expected behavior
Getting the annotation object without points data when storePointData is set to false
OS
Windows 11
Node version
22.11.0
Browser
Chrome, Firefox
The text was updated successfully, but these errors were encountered:
Describe the Bug
pointsInShape
are being stored (or provided inCORNERSTONE_TOOLS_ANNOTATION_COMPLETED
event, (event.detail.anntotation
) with storePointData set to falseSteps to Reproduce
pointsInShape
" atribute in data.cachedStats.imageId...{}The current behavior
pointsInShape
are being stored (or provided inCORNERSTONE_TOOLS_ANNOTATION_COMPLETED
event, (event.detail.anntotation
) with storePointData set to falseThe expected behavior
Getting the annotation object without points data when storePointData is set to false
OS
Windows 11
Node version
22.11.0
Browser
Chrome, Firefox
The text was updated successfully, but these errors were encountered: