Von: Mersmann, Sven
Gesendet: Mittwoch, 14. August 2013 15:02
An: 'szu'
Betreff: AW: [mitk-users] More then one axial view?

Hello Szu,
This not only possible but also pretty easy from your view. Just call

    
GetRenderWindowPart()->GetQmitkRenderWindow("axial")->GetSliceNavigationController()->SetDefaultViewDirection(mitk::SliceNavigationController::Axial);
    
GetRenderWindowPart()->GetQmitkRenderWindow("axial")->GetSliceNavigationController()->SliceLockedOn();
    
GetRenderWindowPart()->GetQmitkRenderWindow("sagittal")->GetSliceNavigationController()->SetDefaultViewDirection(mitk::SliceNavigationController::Axial);
    
GetRenderWindowPart()->GetQmitkRenderWindow("sagittal")->GetSliceNavigationController()->SliceLockedOn();
    
GetRenderWindowPart()->GetQmitkRenderWindow("coronal")->GetSliceNavigationController()->SetDefaultViewDirection(mitk::SliceNavigationController::Axial);
    
GetRenderWindowPart()->GetQmitkRenderWindow("coronal")->GetSliceNavigationController()->SliceLockedOn();

Whereas this GetRenderWindowPart()->GetQmitkRenderWindow("axial") calls the 
according render window and the remaining part specifies the wanted view 
direction. The second call 
GetRenderWindowPart()->GetQmitkRenderWindow("axial")->GetSliceNavigationController()->SliceLockedOn();
 locks the slice navigation controller .

Hope this helps!

Best regards
Sven Mersmann



Von: szu [mailto:[email protected]]
Gesendet: Mittwoch, 14. August 2013 14:34
An: [email protected]<mailto:[email protected]>
Betreff: [mitk-users] More then one axial view?

Hello,

is it possible in MITK to set 2 or 3 view in axial?
I want to load 2 or 3 different images and than view each axials view.

Thanks for reply.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to