Viewers
Viewers copied to clipboard
How can I add Freehand tool manually using (x,y) coordinate array?
:hand: Hello Team I want to add freehand tool with static array data which has X and Y coordinate array
The FreehandRoi tool position data is stored in the "points" object in the FreehandRoiTool variable in cornerstoneTools.js. You could assign it to your array before it's drawn. See the code around line 24149 in cornerstoneTools.js
@mtm12 Thank You for guiding me 👍