Hi guys,

Just wondering if I missed something - the last time I checked (in 2014.03), 
helper objects were not saved with the scene. Was there any change regarding 
this? (I mean requirement 2 by Hortense wouldn't be satisfied)

Rostislav


On 22 Jul 2014, at 15:19, "Hortense KIRISLI" 
<[email protected]<mailto:[email protected]>> wrote:

Hi Caspar,

thank you so much for the tip!
It works out perfectly :)

Best,
Hortense
________________________________
De : Goch, Caspar Jonas 
[[email protected]<mailto:[email protected]>]
Envoyé : lundi 21 juillet 2014 12:37
A : Hortense KIRISLI; mitk-users 
‎[[email protected]<mailto:[email protected]>]‎
Objet : AW: Make a node "invisible" in the DataManager

Hi Hortense,

in order to make a node invisible in the data manager you can set its „helper 
object“ property to true. See for example how the region growing example hides 
its seed point node [1]. For debugging purposes there exists an option in the 
data manager preferences to show helper object nodes which you might have to 
remove.

Best,
Caspar

[1] 
http://mitk.org/git/?p=MITK.git;a=blob;f=Examples/Plugins/org.mitk.example.gui.regiongrowing/src/internal/QmitkRegionGrowingView.cpp;h=f86aa9f28e4f439681997deae3d7d34b51ddbce6;hb=HEAD

Von: Hortense KIRISLI [mailto:[email protected]]
Gesendet: Donnerstag, 17. Juli 2014 12:15
An: mitk-users 
‎[[email protected]<mailto:[email protected]>]‎
Betreff: [mitk-users] Make a node "invisible" in the DataManager

Hi all,

I was wondering whether it exists some method to make a node from DataManager 
invisible in the DataManager, while still being able 1) to access it when 
calling this->GetDataStorage, and 2) to restore it when mitk project is saved 
and openend again.

Reason:
I create some PoinSet structures that are displayed, but that should not be 
modified by the user.
First, I created an ‘empty’ node and added all my PoinSet Nodes as child; as 
empty nodes are not displayed in the DataManager, and are still callable by 
this->GetDataStorage, it was great. However, I encountered issues when saving 
and opening again my mitk project: the structure of the datamanager was lost 
and, worst, some of my PoinSet nodes were not restored.
Now, I removed the ‘empty’ node level; but, though this solution resolve the 
save/restore mitk project issue, it results in my PoinSet nodes being visible 
in the datamanager.

Would you have any idea, they would be welcome!

Thanks in advance,

Best,
Hortense

----
Hortense KIRISLI, PhD
Research & Development Engineer

AQUILAB
Parc Eurasanté – Lille Métropole
Bâtiment Hermès
250 rue Salvador Allende
59120 Loos Les Lille - France
Tel. +33 3 69 61 51 65
www.aquilab.com<http://www.aquilab.com>

<image001.jpg>
----

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to