Dear mitk-developers,

I come with another problem. I try to scale a mitk::image-object (3d 
slice-picture) in the z-direction. To do so, I set a 
transformation-matrix using the following code:

"dataTreeNode"->GetData()->GetGeometry()->
            
SetIndexToWorldTransformByVtkMatrix("vtkTransform-object"->GetMatrix());

"dataTreeNode"->Modified();


The image gets scaled but unfortunately the 2d-view does not adjust its 
size. So, when I enlarge the image only part of it is then visible in 
the 2d-views.
I tried to somehow update the view-size of the 2d-view but without any 
success.
Anybody an idea?

Thanks,
Milad

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to