Open Jaganvk29 opened 2 years ago
I also have this question. Can someone answer it?
I also have this question. Can someone answer it? I got This Example in the cornerstone3d site, i think it's not possible in legacy (cornerstone-tools) example -> https://www.cornerstonejs.org/live-examples/annotationselectionandlocking examples list -> https://www.cornerstonejs.org/docs/examples
Annotations have no "selected" event that can be triggered. My way is :
MOUSE_CLICK
event.pointNearTool
to check if your point is near the annotation(return true or false).https://github.com/cornerstonejs/cornerstoneTools/blob/73cd5224782cc757275b495178c7889ba95eb152/src/tools/annotation/LengthTool.js
note: you can use toolStateManager
to match the annotations you added and the measurement data can also be found viatoolStateManager
.
Prerequisites
Description
I am trying to add Label on the annotation like OHIF Measurement Table , so i wanted to get the data on Selected Annotations and set the active annotation programmatically If this feature is possible ?