[vtkusers] Remove vtkImageActor

David Doria daviddoria at gmail.com
Thu Sep 20 07:26:49 EDT 2012


On Thu, Sep 20, 2012 at 4:33 AM, wvalenzuela
<waldo.valenzuela at hotmail.com> wrote:
> Hi guys,
>
>
> I am new in vtk, and I am working with vtkImageActor, and I don't know how
> remove the actor.
>
> I tried this and doesn't work:
>
> render->RemoveActor(imageActor);
>
> I will appreciate your help.
>
> Waldo

You should be using the vtkImageSlice* classes instead:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper

If that doesn't work, please provide a minimal example of the problem.

David



More information about the vtkusers mailing list