<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>The class vtkInteractorStyleRubberBandPick allows selection of a
rectangular window, when 'r' is pressed, and selection of a 1x1
window, when 'p' is pressed.</p>
<div class="post-text" itemprop="text">
<p>1) Is there a way to get the key that is currently pressed (the
current selection mode)?</p>
<p>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)?</p>
<p>Matthias<br>
</p>
</div>
</body>
</html>