Hello!

I have been trying to understand the logic behind the Data Tree and how 
StdMultiWidget renders its contents.
When doing something like this:

mitk::DataTreePreOrderIterator it(m_Tree);
multiWidget->SetData(&it);

Which nodes from the tree will be rendered? I notice that when a new 
node is added (resulting from a thresholding operation, for example) it 
is superimposed on the image being rendered (eventhough he is at the 
same level in the tree).

Another thing I have been trying to do is to use a DataStorageComboBox 
to simply choose a node from the tree (which contains several image 
volumes loaded from disk) and my intentions were to render only the 
chosen node on the multiWidget.

After properly grabbing the relevant signal from the DataStorageComboBox 
my first idea was to do something like:

multiWidget->SetData(m_Tree->GetIteratorFromNode(node)) but that does 
not seem to be possible due to different iterator types.

Can anyone give me some clues to what is the proper approach to this 
matter? Any docs I can read on the subject?

Best regards,
Sam

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to