<div dir="ltr">Right now duplicate the actor and mapper. You can use the same polydata input just not the same actor/texture/mapper. In the future we plan to change this so that multiple render windows can share contexts (and actors/mappers/etc) but it is still in development.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 27, 2017 at 10:31 AM, laurachenlc <span dir="ltr"><<a href="mailto:laurachenlc@163.com" target="_blank">laurachenlc@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>thanks Martin, but if I want to show the same data in multiple renderwindows, how should I do normally ? </div><div><br></div><div style="zoom:1"></div><div id="m_-1942622637005861220divNeteaseMailCard"></div><br>At 2017-10-27 20:28:59, "Ken Martin" <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>> wrote:<br> <blockquote id="m_-1942622637005861220isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">You cannot share actors across renderwindows right now.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 27, 2017 at 12:05 AM, laurachenlc <span dir="ltr"><<a href="mailto:laurachenlc@163.com" target="_blank">laurachenlc@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">and the attached is my project on this problem. <br><br><br><br><div style="zoom:1"></div><div id="m_-1942622637005861220m_8279667973092323814divNeteaseMailCard"></div><br><pre><br>At 2017-10-27 09:19:43, "LauraLC" <<a href="mailto:laurachenlc@163.com" target="_blank">laurachenlc@163.com</a>> wrote:
>Hi,
>
>I have add the same actor into 2 qvtkWidget, and for the renderwindow of
>one qvtkWidget, I add an InteractorStyle with vtkPropPicker;
>now the problem is: if I click the actor in the first qvtkWidget, and then
>click it in another qvtkWidget, then click in the first qvtkWidget again,
>the error pops up:
>---------------
>ERROR: In C:\Activiz\VTK7.1\Rendering\Op<wbr>enGL\vtkWin32OpenGLRenderWindo<wbr>w.cxx,
>line 248
>vtkWin32OpenGLRenderWindow (000002A17C00FD20): Attempting to call
>MakeCurrent for a different window than the one doing the picking, this can
>causes crashes and/or bad pick results
>-----------------
>
>is there any body know what's the problem and how to handle it?
>
>Thanks
>
>
>
>--
>Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/VTK-Users-f1224199.html</a>
>_____________________________<wbr>__________________
>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
>
>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a>
>
>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a>
>
>Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a>
>
>Follow this link to subscribe/unsubscribe:
><a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mai<wbr>lman/listinfo/vtkusers</a>
</pre></div><br><br><span title="neteasefooter"><div id="m_-1942622637005861220m_8279667973092323814netease_mail_footer"><div style="border-top:#ccc 1px solid;padding:10px 5px;font-size:17px;color:#777;line-height:22px"><a href="http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9" style="color:#3366ff;text-decoration:none" target="_blank">【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商<wbr>“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> </a>
</div></div></span><br>______________________________<wbr>_________________<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/opensou<wbr>rce/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_FA<wbr>Q</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=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-1942622637005861220gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div><a href="https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g">28 Corporate Drive</a><br><a href="https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g">Clifton Park NY 12065</a><br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div>
</div>
</blockquote></div><br><br><span title="neteasefooter"><div id="m_-1942622637005861220netease_mail_footer"><div style="border-top:#ccc 1px solid;padding:10px 5px;font-size:17px;color:#777;line-height:22px"><a href="http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7" style="color:#3366ff;text-decoration:none" target="_blank">【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/<wbr>麻辣小龙虾仅75元3斤>> </a>
</div></div></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div>
</div>