vtkCaptionActor2D does not respect Visibility flag during rendering
vtkCaptionActor2D *actor = ...
actor->SetVisibility( false );
does not have any effect, actor is rendered
there is no check for this->Visibility in these methods:
int vtkCaptionActor2D::RenderOpaqueGeometry(vtkViewport *viewport) int vtkCaptionActor2D::RenderOverlay(vtkViewport *viewport)
I just checked some other actors, none of them respects that flag in rendering methods. I suppose that ok, but kind of confusing. Maybe it will be good solution to move setter/getter of visibility to protected section for them?