[vtkusers] nested vtkPropAssembly visibility

Petr Matoušek p3tr.matousek at gmail.com
Wed May 16 09:57:59 EDT 2018


Hello,

I have the following assembly hierarchy:

vtkPropAssembly1 -> vtkPropAssmebly2 -> vtkActor

Calling vtkPropAssembly1.VisibilityOff() or vtkActor.VisibilityOff() 
will hide the vtkActor during render. But calling 
vtkPropAssembly2.VisibilityOff() has no effect.

Is this intended behavior or a bug? I expected that calling 
vtkPropAssembly2.VisibilityOff() will hide the vtkActor too.

This kind of behavior was already reported here:

http://vtk.org/Bug/view.php?id=3312
https://gitlab.kitware.com/vtk/vtk/issues/3312

Best regards, Petr Matousek


More information about the vtkusers mailing list