Hello,

I am coding an application based in mitk. It is thought to load a *.mitk*
data file (which contains three surfaces and one MRI image DataNodes). I
would like to put each object in a different data storage when I load the
*.mitk* file, but when I use:

std::vector< mitk::Basedata::Pointer > basedatas;
     basedatas = mitk::IOUtil::Load("/path/to/my/file.nrrd");

I obtain DataBase objects. I am trying to access the property "Name" of
those DataBase in order to assign each one a data storafe but it seems to
be empty. Do you know how could I access the object names?

If it is not possible I thought to charge all objects in the same data
storage and then move them to their corresponging ones....but it does not
seem a smart solution, isn't it?

Any advice would be great!!

Thank you very much in advance.
Best regards,

-- 

Rocío López Velazco

*SimbioSYS** group, BCN MedTech*

*UniversityPompeu Fabra*




*Department of Information and Communication Technologies Roc Boronat, 122
(Tànger Building),  08018 Barcelona                    Office 55 119
https://bcn-medtech.upf.edu/ <https://bcn-medtech.upf.edu/>*
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to