You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any convenient way to load in volumes from files or ArrayBuffers?
For single file, I managed to get away with just adding ArrayBuffer to url property, but it seems to break things when multiple volumes are loaded this way.
Currently, I can load in volume by using NVImage.loadFromFile and then adding it to canvas with Niivue.addVolume() when I acquire the NiiVue instance with onStart callback, but it doesn't feel right.
The text was updated successfully, but these errors were encountered:
Is there any convenient way to load in volumes from files or ArrayBuffers?
For single file, I managed to get away with just adding ArrayBuffer to
url
property, but it seems to break things when multiple volumes are loaded this way.Currently, I can load in volume by using
NVImage.loadFromFile
and then adding it to canvas withNiivue.addVolume()
when I acquire theNiiVue
instance withonStart
callback, but it doesn't feel right.The text was updated successfully, but these errors were encountered: