I found the bug in the InitializeView part and changed the code like on Bug 
8921 described, now the initialize view function works perfectly...
Maybe someone can check it in, i have no rights for that...

Best regards

-----Ursprüngliche Nachricht-----
Von: Marco Nolden [mailto:[email protected]] 
Gesendet: Donnerstag, 28. Juli 2011 10:15
An: Lodron, Gerald
Cc: MITK ([email protected])
Betreff: Re: [mitk-users] Multile datastorages

Dear Gerald,

using multiple QmitkStdMultiWidgets this way has probably not been tested 
before, so I consider your problems are bugs. Please file them in the bug 
tracker. Maybe you could provide a minimal example, e.g. based on one of the 
tutorial steps. This would help us to track down the problem.

In general for image comparison applications in MITK it is recommended to have 
one datastorage and turn on and off the visibility of the images specifically 
for single renderers.

Best,

Marco


On 07/28/2011 09:58 AM, Lodron, Gerald wrote:
>  
>  
> Hi
>  
> I try to make an application where two images should be compared with 
> independent slicing. Therefore i created two datastorages and two 
> QmitkStdMultiWidget's and placed them in the gui. 
>  
> The stuff works but i get following problems:
>  
> -> Initialize Views problem: 
>  
> When i load the image i use normally 
> "mitk::RenderingManager::GetInstance()->InitializeViews(oBounds);" for 
> initializing views where bounds is computed from the datastorage of 
> the QmitkStdMultiWidget. Now i have two independet QmitkStdMultiWidget 
> and only have to initialize one of them so i tried 
> "mitk::RenderingManager::GetInstance()->InitializeView(oStdWidget1->Ge
> tRenderWindow1()->GetVtkRenderWindow(),oBounds);
>  
> mitk::RenderingManager::GetInstance()->InitializeView(oStdWidget1->Get
> RenderWindow2()->GetVtkRenderWindow(),oBounds);
>  
> mitk::RenderingManager::GetInstance()->InitializeView(oStdWidget1->Get
> RenderWindow3()->GetVtkRenderWindow(),oBounds);
>  
> mitk::RenderingManager::GetInstance()->InitializeView(oStdWidget1->GetRenderWindow4()->GetVtkRenderWindow(),oBounds);"
> But it seems that both QmitkStdMultiWidgets are initialized the same.... Any 
> other suggestions?
> 
> -> Crossair problem:
> 
> When i move the crosshair in one QmitkStdMultiWidget then both widget's 
> crosshairs gets changed. Thats really nasty ... I have no idea how to turn 
> this off... 
> 
> Best regards
>  
>  
> Gerald Lodron
> 
> Human-Centered Image Processing
> 
> Machine Vision Applications
> 
> DIGITAL - Institute of Information and Communication Technologies
> 
> JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 
> Graz, AUSTRIA
> 
> phone:  +43-316-876-1751         fax: +43-316-876-1751
> 
> web:    http://www.joanneum.at/digital <http://www.joanneum.at/digital> 
> e-mail: [email protected] <mailto:[email protected]>
> 
> 
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


--
----------------------------------------------------------------------
Dipl.-Inform. Med. Marco Nolden
Deutsches Krebsforschungszentrum       (German Cancer Research Center)
Div. Medical & Biological Informatics          Tel: (+49) 6221-42 2325
Im Neuenheimer Feld 280                        Fax: (+49) 6221-42 2345
D-69120 Heidelberg                             eMail: [email protected]

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to