If you know at the beginning where actors are positionned ( behind or in front of plane ) , so you can divide your actors in 2 assemblies. In this case, look at this class : &quot;vtkAssembly&quot;. This class allows to change properties for all actors belonging to the assembly.<br>
If you try to check if the actor is behind/front of a plane and then change the properties, I don&#39;t have solution.<br><br><div class="gmail_quote">2010/8/31 Nicolas Rannou <span dir="ltr">&lt;<a href="mailto:nicolas_rannou@hms.harvard.edu">nicolas_rannou@hms.harvard.edu</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
I would like to show/hide actors which are:<br>
  - behind or in front of a plane widget<br>
  - inside or outside a box widget<br>
and to be able to interact with the widgets in real time to modify the visibility of the actors.<br>
<br>
My main issue is that I am working with thousands of actors and checking the bounding box of each actor appears not to be efficient enough...<br>
<br>
Would somebody know a good way to deal with high number of actors?<br>
<br>
Thanks,<br>
<br>
    Nicolas<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Bertrand de Boisdeffre<br>Etudiant 2A  SICOM Phelma Grenoble-INP<br><br>