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->GetRenderWindow1()->GetVtkRenderWindow(),oBounds);
 
mitk::RenderingManager::GetInstance()->InitializeView(oStdWidget1->GetRenderWindow2()->GetVtkRenderWindow(),oBounds);
 
 
mitk::RenderingManager::GetInstance()->InitializeView(oStdWidget1->GetRenderWindow3()->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

Reply via email to