[vtkusers] Clearing out vtkRenderer

Mark Kobine mark at bugless.co.uk
Fri Aug 24 07:27:58 EDT 2007


Hi,

I'm trying to clear out all the actors in my vtkRenderer - basically
to reset it so I can load up new actors. I have called
vtkRenderer::GetActors() and Delete()'d all the actors in the
vtkActorCollection that's returned. After that I call
vtkRenderer::Clear().

But the actors still appear in view. Can anyone tell me where I'm
going wrong?

Many thanks,
Mark



More information about the vtkusers mailing list