[vtkusers] Disabling interaction of a renderer

Slaughter, Andrew E andrew.slaughter at inl.gov
Wed Jun 20 11:13:38 EDT 2018


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.

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?

Thanks for the help,

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180620/d35c1c87/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dual_toggle.py
Type: text/x-python-script
Size: 2157 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180620/d35c1c87/attachment.bin>


More information about the vtkusers mailing list