I am trying to access to what is displayed in the Data Probe Module. I need to input IJK coordinate as array and get the value of the volume, without using the mouse at all.
I looked at the example
However, it depends on the mouse location.
So, where do all the data in Data Probe come from?
And what function should I use to get these ‘L’, ‘F’, ‘B’ data as array?
I mean, since ‘infoWidget.layerValues[layer].text’ prints the value of the volume, ‘infoWidget = slicer.modules.DataProbeInstance.infoWidget’ must get the data array from some function. How can I use it? Or is there any driect way to input IJK coordinate as array and get the value of the volume?
Thank you !