[vtkusers] vtkAssembly::SetVisiblity(int)

Andrew.C andrew at a-cunningham.com
Tue Jul 13 12:01:52 EDT 2010




Barth, Sebastian wrote:
> 
> Hello vtkusers,
> 
> I have a vtkAssembly that controls some vtkActors. Everything works fine
> with rotating and translating the vtkActors with the vtkAssembly.
> If I want to use vtkAssembly::SetVisibility(false) or
> vtkAssembly::SetVisibilityOff() nothing happens. The actors ignore the
> visibility of its assembly.
> 
> Is this a bug or a wanted behavior?
> How can I set all of the props added to the assembly set invisible or
> visible?
> 
> Thanks a lot!
> 
> Best Regards,
> Sebastian Barth
> _______________________________________________
> 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
> 
> 

Apart from this visibility issue, and unless the code has been changed since
5.4 , vtkAssembly also has a n! performance issue with 'deep' scene graphs

http://old.nabble.com/Performance-issue-with-vtkAssembly%3A%3AUpdatePaths-ts23544140.html#a23544140

Basically, VTK has  very weak "scene graph" functionality.




-- 
View this message in context: http://old.nabble.com/vtkAssembly%3A%3ASetVisiblity%28int%29-tp29107013p29152418.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list