Hello Amir,

Thank you very much for your fast reply.
I have different data storages for each tab to control what they contain
and show... is this a bad idea?

Yes, by "Reset View" I mean the option in the render window menu, so I
might be calling a Global Reinit. Does this mean that, even if they have
different data storages, all QmitkStdMultiWidget would be updated in the
same geometry as the current one?
Is there any way to separate this and do a "Individual  Reinit"  and not
globally for tabs?

I will take a look at the renderer specific property list, thanks for that!
Could this be an alternative to have several data storages?

Best,
Rocío

2018-03-15 12:06 GMT+01:00 Kalali, Amir <a.kal...@dkfz-heidelberg.de>:

> Hello Rocío,
>
>
>
> How do you “load files”? Typically you won’t load files (images) into a
> multi widget or a render window but into the data storage. The content of
> the data storage is then represented by the data manager (typically the
> workbench part on the leftmost side of the MITK workbench).
>
> Is the MRI image visible in both multi widgets, if you just load it alone?
>
>
>
> What do you mean with “Reset View”? Using the “Reset View” option from the
> top-right render window menu? This should trigger a so-called “Global
> Reinit”, which is also available in the context-menu of data nodes in the
> data manager. This will initialize the views to the bounding box of all
> images inside the data storage. However, depending on the origin and
> geometry of your images you might not be able to see both images
> simultaneously.
>
>
>
> There is a possibility to circumvent this issue using “renderer specific
> property lists”. You can look into the RenderWindowManager module (e.g.
> here: https://phabricator.mitk.org/source/mitk/browse/master/
> Modules/RenderWindowManager/src/mitkRenderWindowLayerController.cpp;
> 48733f55943c98170b2339eb85503edc4d5052d8$120-161) to see how you can
> define a data node to be visible in a renderer specific property list.
>
> Using a renderer specific property list will allow you to show different
> nodes with different renderer (inside a render window).
>
> Here https://phabricator.mitk.org/source/mitk/browse/master/
> Modules/RenderWindowManager/src/mitkRenderWindowViewDirectionC
> ontroller.cpp;48733f55943c98170b2339eb85503edc4d5052d8$83-110 you can see
> how the view of a renderer is initialized only with the bounding geometries
> of the images that are currently visible inside the renderer.
>
>
>
> Best,
>
> Amir
>
>
>
> *From:* LOPEZ VELAZCO, ROCIO [mailto:rocio.lo...@upf.edu]
> *Sent:* Thursday, 15 March, 2018 11:27
> *To:* mitk-users@lists.sourceforge.net
> *Subject:* [mitk-users] Update different QmitkStdMultiWidget in same app
>
>
>
> Hello all,
>
> I am developing a MITK based application which has two tabs with two
> different QmitkStdMultiWidget . The first one is to show a MRI Image and
> the second one is to show a US image. The button "load files" is in the
> first tab. When images are loaded only the first QmitkStdMultiWidget shows
> the image, to be able to see the US in second tab I have to manually do
> "Reset View". This allows me to show US image but then MRI image
> "disappears" in the first QmitkStdMultiWidget. It seems that I can't show
> both tabs updated at the same time...
>
> Would you have any hint with this? Does it have something to do with the
> Rendering Manager? I would be grateful if you could help me!
>
> Thank you very much in advance!
>
> Best regards,
>
> Rocío
>
>
> --
>
> Rocío López Velazco
>
> *SimbioSYS group, BCN MedTech*
>
> *UniversityPompeu Fabra*
>
> *Department of Information and Communication Technologies *
>
> *Roc Boronat, 122
> <https://maps.google.com/?q=Roc+Boronat,+122&entry=gmail&source=g> (Tànger
> Building),  08018 Barcelona                    Office 55 119 *
> *https://bcn-medtech.upf.edu/ <https://bcn-medtech.upf.edu/>*
>
>
>
>
>



-- 

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