<div dir="ltr"><div>Hi Anna,</div><div><br></div><div>For an OS X program to receive all events, it must be part of an app bundle.  If you're using cmake to build your program, this is done like so:</div><div><br></div><div>add_executable(program MACOSX_BUNDLE ${source_files})<br></div><div><br></div><div> - David</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 11:27 AM, Anna Danko <span dir="ltr"><<a href="mailto:annamdanko@gmail.com" target="_blank">annamdanko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Hello all,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am trying to extract part of a mesh with VTK. In particular I am hoping to use vtkInteractorStyleRubberBandPi<wbr>ck.  However, the VTK Interaction window does not catch some keyboard events. I am able to shift+click to drag, ctrl+click to rotate and shift+ctrl+click to zoom, but if I press down on any other key, such as ‘r’, my input gets sent to the terminal instead of entering selection mode. This problem is present not only in my own code but for all the examples  I tried (and it isn't working when I try to use vtkInteractorStyleTrackballCam<wbr>era either).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I did find that by modifying the SimpleCocoaVTK.xcodeproj example, I was able to get the rubber band pick to work the vtkCocoaRenderWindowInteractor<wbr>. However I would rather not have to use Cocoa.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I would greatly appreciate help in learning possible reasons why the interaction window does not catch these events. I have no issues during compilation and everything seems to be called ok.  I am using a Mac OS 10.12 (recently updated, but it wasn’t working with 10.10 either), VTK 6.1 and I am using Xcode 7.2.1 to build.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you</div><span class="gmail-HOEnZb"><font color="#888888"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Anna</div></font></span></div></blockquote></div><br></div></div>