vtkInteractorStyleRubberBandPick: Set selection mode without pressing key

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

vtkInteractorStyleRubberBandPick: Set selection mode without pressing key

Matthias Preisig

The class vtkInteractorStyleRubberBandPick allows selection of a rectangular window, when 'r' is pressed, and selection of a 1x1 window, when 'p' is pressed.

1) Is there a way to get the key that is currently pressed (the current selection mode)?

2) Is it possible to set the selection mode 'r' or 'p' in the code (i'm using pyqt and would like to choose the mode by checking a box in a gui)?

Matthias


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Loading...