<div dir="ltr">Thanks for posting a solution Andrew.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br>Principal Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 21, 2018 at 4:12 PM Slaughter, Andrew E <<a href="mailto:andrew.slaughter@inl.gov">andrew.slaughter@inl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>After digging around a bit I figured out how to solve the problem, the complete script with a working version is attached. In short the vtkRenderWindowInteractor::FindPokedRenderer always returns a renderer regardless of the Set/GetInteractive state. Therefore, I created a "background" renderer with layer 0 with the others on layer 1. Using SetInteractive(False) on the two layer 1 renders that causes the background to be the fallback renderer for the interactor, which produces the desired behavior.</div><div><br></div><div>Thanks to anyone who might of took time to look at my problem.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 20, 2018 at 9:13 AM, Slaughter, Andrew E <span dir="ltr"><<a href="mailto:andrew.slaughter@inl.gov" target="_blank">andrew.slaughter@inl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I am creating an application that will require the user to "activate" an object prior to being able to manipulate it via mouse movements. The attached script is simple (python2.7;vtk7.1;MacOS10.13.4) demonstration with two renderers (left and right). Pressing "t" toggles/highlights the contents.<br><br></div>However, when the left side is highlighted I can still interact with the right side. How can I disable the interaction for a particular renderer?<br><br></div>Thanks for the help,<br><br></div>Andrew<br></div>
</blockquote></div><br></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>