Hi Rostislav,

Thanks for your reply. Your solution worked. It was a great help.

I set the orientations for all three rendering windows. The images are now
getting reoriented in all three planes. Currently all the three re oriented
planes are not at 90 degree angles. It seems some problem with my axis
parameters. I am working on it.

Best Regards,
Arpit


Date: Tue, 14 Apr 2015 12:59:35 +0100
From: Rostislav Khlebnikov <rostislav.khlebni...@kcl.ac.uk>
Subject: Re: [mitk-users] Plane reorientation issue
To: <mitk-users@lists.sourceforge.net>
Message-ID: <552d0127.6060...@kcl.ac.uk>
Content-Type: text/plain; charset="windows-1252"

Hi,

I think you're looking for SliceNavigationController - the
TimeNavigationController is responsible for current time steps. You have
to get it from a particular render window you want to reorient.
Not sure if it will help with the issue but this might be a start :)

Rostislav.


On Tue, Apr 14, 2015 at 5:21 PM, Arpit Paliwal <arpit.pali...@gmail.com>
wrote:

> Dear All,
>
>
>
> I am working on biopsy module. In which I set entry & target points.
>
> Under normal view both the points will be in different slices. So only one
> point will be visible at any time. If I manually re orient the planes along
> the line joining the points I can see both the points in same slice under
> rotated view.
>
> This functionality I am trying to achieve through programming using (
> ReorientSlices function) but view still remain normal (no change).
> Following is the code.
>
>
>
> mitk::Point3D *entry_pt*;
>
> mitk::Point3D *target_pt*;
>
> mitk::Vector3D *vec_3d* = *entry_pt*.GetVectorFromOrigin() - *target_pt*.
> GetVectorFromOrigin();
>
> mitk::Vector3D *norm_3d* = *vec_3d*.GetNorm();
>
> m_multi_Widget->SetWidgetPlaneModeToRotation(true);
>
> m_multi_Widget->GetTimeNavigationController()->SliceRotationLockedOff();
>
> m_multi_Widget->GetTimeNavigationController()->SetSliceLocked(false);
>
> m_multi_Widget->GetTimeNavigationController()->ReorientSlices(*entry_pt*,
> *vec_3d*, *norm_3d*);
>
> m_multi_Widget->GetTimeNavigationController()->Modified();
>
> m_multi_Widget->GetTimeNavigationController()->Update();
>
>
>
> Please let me know if I am doing it correctly.
>
>
>
> Best Regards,
>
> Arpit
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to