[vtkusers] Removing the actor from scene

Charl P. Botha c.p.botha at its.tudelft.nl
Fri Mar 21 05:30:17 EST 2003


On Fri, 2003-03-21 at 11:27, R K Shyamprakash wrote:
>           How do I remove an actor from scene dynamically. I tried
> renderer.RemoveActor(actor) but the actor still appears on the screen.

After having removed the actor with RemoveActor, make sure you redraw
with renderer.Render() or better by calling Render() on the containing
RenderWindow.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list