[vtkusers] Show/hide actors efficiently

Bertrand de Boisdeffre bertrand.boisdeffre at gmail.com
Wed Sep 1 16:29:45 EDT 2010


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 : "vtkAssembly". This class allows to change
properties for all actors belonging to the assembly.
If you try to check if the actor is behind/front of a plane and then change
the properties, I don't have solution.

2010/8/31 Nicolas Rannou <nicolas_rannou at hms.harvard.edu>

> Hi all,
>
> I would like to show/hide actors which are:
>  - behind or in front of a plane widget
>  - inside or outside a box widget
> and to be able to interact with the widgets in real time to modify the
> visibility of the actors.
>
> 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...
>
> Would somebody know a good way to deal with high number of actors?
>
> Thanks,
>
>    Nicolas
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Bertrand de Boisdeffre
Etudiant 2A  SICOM Phelma Grenoble-INP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100901/dd4c8c98/attachment.htm>


More information about the vtkusers mailing list