Dear developers,
I am trying to get the file path of the fiber bundle loaded in the slicer, here I use a selector to assign a data, and I try to use command GetStorageNode().GetFileName() to get the path.
This is my code:
Dear piper,
I found there some differents between volume and fiber bundle
Does it just need these codes?
// Associate with storage node
this->GetMRMLScene()->AddNode(storageNode);
// Set the storage node ID for the fiber bundle node
fiberBundleNode->SetAndObserveStorageNodeID(storageNode->GetID());
Yes, from what I can see that is the missing code that needs to be added. If you aren’t familiar with the process I can probably find time to add it and test that it works, but if you can give it a try it would be appreciated.