[vtkusers] How to make vtkResliceCursorWidget can rotate axes at the same time?

Yihui Cao yihui.cao at qq.com
Thu Jan 14 23:20:08 EST 2016


Dear All,


When I used vtkResliceCursorWidget, I need make the axes of cursor can be rotated at the same time. But I don't know how to realize it.


I find there is a description in vtkResliceCursorRepresentation.h that "The widget sets the manipulation mode. This can be one of : None, PanAndRotate, RotateBothAxes, ResizeThickness".


Thus, I tried as:
m_ResliceCursorRep = vtkSmartPointer< vtkResliceCursorThickLineRepresentation >::New();
m_ResliceCursorRep->SetManipulationMode(vtkResliceCursorRepresentation::RotateBothAxes);


But the above code is no effect.


I guess it must be I used wrong. Who can help me to correct it?


Many thanks!
Yihui Cao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160115/464cbc10/attachment.html>


More information about the vtkusers mailing list