cornerstonejs / cornerstoneTools

[Deprecated] Use Cornerstone3D Instead https://cornerstonejs.org/
MIT License
579 stars 456 forks source link

Is it possible to change the tool properties, i.e unit, color, visible...etc >> (the tool object's properties) #1527

Closed Suuyshi closed 1 year ago

Suuyshi commented 1 year ago

Prerequisites

Description

Expected behavior: (What you expected to happen) being able to change each tool object's properties with a provided function from cornerstone tools as in if i would like to change the unit or visibility state of said tool for example i thought setToolOptions does that for example but i can't seem to figure it out?

Actual behavior: (What actually happened) i can't change the tool object's properties/keys with a straight forward efficient way