Hello Amir,

can you please tell which bug you are referring to? Mitk initializes the 
standard view directions
(axial, sagittal and coronal) under the assumption that the directions are 
correctly defined in the
image data. in NRRD files, die world coordinate system is defined by the "space 
directions" matrix.

I think we had some problems with the "AnatomicalOrientation" specifier in MHA 
files. What kind of
images are you loading?

To answer your actual question: You can rotate the camera directly by modifying 
the vtkCamera:
mitk::BaseRenderer::GetVtkRenderer()->GetActiveCamera()->SetViewUp
But the camera rotation will always reset to the original after you interacted 
with the render
window.

Regards
Christoph

On Wed, 2016-03-16 at 19:16 +0100, Amir Zolal wrote:
> Hello Mitkers,
> 
> is there a way to manually turn the camera to the right orientation after 
> reinit? The axial image
> still gets turned upside down. Is manual correction possible until the bug is 
> fixed?
> 
> Amir
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to