Hi all,

I know it's possible to access the DataStorage in a view (with 
GetDataStorage) and in a plugin (with the plugin's context and 
IDataStorageService), but I have a special case where I need the 
DataStorage in a IO module. Before you tell me "Don't do that", here's 
my use-case :)

The user loads a .trk file, which may be linked to a reference image, so 
before loading the trk, we check the DataStorage if such an image exists 
and use its affine transformation if it does. Here I say a .trk file, 
but I will have the same problem with surfaces (some are not in world 
position)

I currently handle the situation with a ugly hack, but I would be 
interested in a cleaner solution if there's one.
Thank you.

Nil


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to