[vtkusers] imageplanewidget orientation change by another actor trackball

m. yusufoglu yusufoglum at yahoo.com
Fri Apr 13 02:28:51 EDT 2012


Hello,


I am trying to change the position and orientation of a vtkimageplanewidget in accordance with the mouse dragging of another vtkActor ( dragged in trackballactor style). The tests below did not work. In other words, can i change the normal and the center of cut-plane of the imageplanewidget by manuplating another actor in tracballactor style by mouse. My vtk is 5.2. 


m_pVtkImagePlanWidget->GetProp3D()->SetUserMatrix(this->m_pVtkActor->GetMatrix());
m_pVtkImagePlanWidget->GetProp3D()->SetUserMatrix(this->m_pVtkActor->GetUserMatrix());

thank you,
mehmet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120412/ddd920e3/attachment.htm>


More information about the vtkusers mailing list