[vtkusers] Remove actor problem

David Doria daviddoria+vtk at gmail.com
Wed Dec 30 17:29:38 EST 2009


On Wed, Dec 30, 2009 at 10:54 AM, KS Jothybasu <jothybasu at gmail.com> wrote:
> Hi all,
>
> I am trying to remove an actor and add a new actor to the renderer. The
> problem is that if I remove the actor it is getting removed and if I add
> actor its not getting removed , it add to the new actor.
>
>  Should I delete the old actor before adding the new one?
>
> I tried RemoveAllViewProps, but the image actor is not rendered after this,
> so I am using RemoveActor.
>
> Any suggestions??
>
> Thanks
>
> Jothy
>
>

Can you rephrase this sentence:
"The problem is that if I remove the actor it is getting removed and
if I add actor its not getting removed , it add to the new actor."

I don't follow you.

Thanks,

David



More information about the vtkusers mailing list