Re: updating vtkimagedata in animation.

David Gobbi <[email protected]> Fri, 18 Jan 2019 16:17:17 -0700
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CANwS1=FU3yE2fyO+m4PnHweXpgeEQ8-Uh0ADwhgSjKK8GyK04w@mail.gmail.com>
On Fri, Jan 18, 2019 at 4:02 PM shadab anwar <[email protected]>
wrote:

> Hi David;
>
> I am still not getting the output.
> This is what I am doing.
> I don't know if it makes sense.But I thought it'll better to share the
> code.Please let me know for any clarifications you need.
>

You shouldn't create a new mapper every time Execute() is called.  Just
re-use the same mapper (and it's probably a good idea to call Modified() on
it, as well).

  David

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers