It is possible to change the vtkRenderWindowInteractor interactor style at run time ? I have tried to change it from 2D interactor style to 3D interactor style, and is not working … and I am wonder if it is possible …
I have at the start of the program, on InitialUpdate:
m_pInteractor->SetInteractorStyle(vtkInteractorStyleImage::New());
where m_pInteractor is vtkRenderWindowInteractor type.
and somewhere, at some button event:
m_pInteractor->SetInteractorStyle(vtkInteractorStyleTrackballCamera::New());
but seem that m_pInteractor has the same vtkInteractorStyleImage type, not vtkInteractorStyleTrackballCamera type.
I am really need this switch … it is possible ? And if there it is, how can I do this switch ?