[vtkusers] checking visibility of a vtkActor

Eric E. Monson emonson at cs.duke.edu
Thu Aug 26 14:38:22 EDT 2010


Hey Juan,

Every descendent of vtkProp has a GetVisibility() method.

-Eric

------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group


On Aug 26, 2010, at 2:35 PM, Juan Cardelino wrote:

> I've been looking for some time a way to determine if an actor is
> visible or not in a scene. So far I've been unsuccesful and I'm about
> to implement it myself, but I want to be sure before. What makes me
> doubt is the behaviour of the vtkRenderWindowInteractor. When you
> Interact with a vtkRenderWindow and you press the 'r' key, all actors
> are made visible. So it has to compute their visibility in some way.
> Can anyone give me a hint on where to look.
> Thanks in advance,
>                            Juan
> _______________________________________________
> 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




More information about the vtkusers mailing list