Hi Matt,

there is an example view, QmitkViewInitializationView, located in the 
new org.mitk.gui.qt.examples plugin. In the OnApply method you can find 
some code using the SliceNavigationController. Does that help?

Best,
Marco


On 12/15/2011 01:36 PM, Clarkson, Matt wrote:
> Hi there,
>
> Please can anyone tell me what is the best way to set up an initial view, or 
> rather the best source of that information, as I can't seem to get it right?
>
> For example, when a new image is loaded into ExtApp, the QmitkStdMultiWidget 
> sets up the correct views for Axial, Coronal and Sagittal views and the 
> corresponding 3D view. I need something like that.
>
> However, I have my own QmitkRenderingWindow inside my own editor, and when I 
> drag and drop an image onto a window, I need to set up the correct slice, 
> correct zoom, correct camera position etc.
> I have also tried looking at the tutorial examples, and Step6 I think uses 
> QmitkSliceWidget, but I have tried copying that, and I must be missing the 
> point somewhere.
>
> Please does anyone have some suggestions, of the most logical way to 
> accumulate the right information to understand how to set these views from 
> scratch?
>
> Thanks ever so much.
>
> Matt
>
>
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Server Consolidation
> Server virtualization is being driven by many needs.
> But none more important than the need to reduce IT complexity
> while improving strategic productivity.  Learn More!
> http://www.accelacomm.com/jaw/sdnl/114/51507609/
> _______________________________________________
> 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]

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to