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 14/04/2015 12:51, Arpit Paliwal 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
------------------------------------------------------------------------------
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