[vtkusers] Is there a way to disable the keyboard shortcuts related to VtkRenderInteractorWindow
jayavardhanravi at outlook.com
Fri Aug 11 09:38:42 EDT 2017
I am trying to disable the keyboard shortcuts that come by default with the
vtkRenderWindowInteractor like disable 'q','w','r','t','j'... for various
events. I intent only to disable the keyboard shortcuts but not to disable
the mouse interaction.
I tried using /interactor.Disable();/ but this disables the mouse
I also tried to remap the keys using the callback event but I was looking
for much simpler ways, if they exists
Sample pseudo code that I wrote is:
/tSource = vtksphersource::New();
tPolyMapper = vtkPolyDataMapper::New();
tActor = vtkActor::New();
ren = vtkRenderer::New();
window = vtkRenderWindow::New();
interactor = vtkRenderWindownteractor::New();
Any suggestion or ideas would be helpful.
View this message in context: http://vtk.1045678.n5.nabble.com/Is-there-a-way-to-disable-the-keyboard-shortcuts-related-to-VtkRenderInteractorWindow-tp5744374.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers