Hello again ^^',

In the MITK based application I am developing, I would like to show two US
axial images (stored in same datastorage). I changed the appeareace of the
QmitkStdMultiWidget so that having 2x2D Render Window and a 3D render
window (like in the following figure):


I want to show the axial view of both US images in each 2D render window.
In order to do so I first first changed the view directrion of widget 2
from sagital to axial and that works properly:
m_multiWidget_us->GetRenderWindow2()->GetSliceNavigationController()->
SetDefaultViewDirection(mitk::SliceNavigationController::Axial);

Then I Initialize both views each one with one known data:
m_rendering_manager_us->InitializeView(m_multiWidget_us->GetRenderWindow1
()->GetVtkRenderWindow(),
m_data_storage_us->GetNamedNode("US")->GetData()->GetGeometry(),
false);
m_rendering_manager_us->InitializeView(m_multiWidget_us->GetRenderWindow2
()->GetVtkRenderWindow(),
m_data_storage_us->GetNamedNode("US_doppler")->GetData()->GetGeometry(),
false);

Where *m_rendering_manager_us* is the rendering manager of that multiwidget.
However this does not work properly since the last node loaded is
initialized in widget1 too, I assume it is because it is the last node
initialized and it gets priority?

So... my main question would be, how can I "separate" priority and charge
them separately? Does it have to do with time geometry? Would it be better
if I create separated render window widgets  in spite of the
QmitkStdMultiWidget?
I have no more ideas in how to try this...

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
(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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to