cornerstonejs / cornerstoneTools

A framework for tools built on top of Cornerstone.
https://tools.cornerstonejs.org/
MIT License
578 stars 455 forks source link

How To access non displayed elements #1157

Open dimo2008 opened 4 years ago

dimo2008 commented 4 years ago

I want to access elements that contains tools but not displayed , using cornerstone.getEnabledElementsByImageId() return the element but when using cornerstoneTools.getToolState() it tells me the element is not enabled

dannyrb commented 4 years ago

I want to access elements that contains tools but not displayed

Transferring this issue to cornerstone-tools repository.

dannyrb commented 4 years ago

Can you provide a reproduction? It sounds like cornerstone-tools may not have been initialized or is not aware of the enabled element.