Hi,
I think the basic interface for data exchange would be your data
storage. Normally, when you have any data loaded you have your data
stored in mitk::DataNode which is subsequently added to the
mitk::DataStorage. If you don't need any specific separate storage for
your data, the default data storage returned by GetDataStorage() method
of your view is a good place to put them into. So basically, both
plugins will have the pointer to the same data storage and you can
retreive your data nodes from that storage from both plugins.
http://docs.mitk.org/2014.03/DataManagementPage.html
Hope that helps,
Rostislav.
On 27/08/2014 14:21, Yirui Luo wrote:
hello mitk users,
I have created two independent plugins ( plugin A and plugin B), both
of them inherited from QmitkAbstractView. Now, I want to obtain the
data from plugin A in plugin B. For example, I've loaded a file in
plugin A, and in plugin B I want to get the data of that file. Can
anyone give me some tips? thank you in advance.
Regards
Yirui
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users