[vtkusers] updating vtkimagedata in animation.

David Gobbi david.gobbi at gmail.com
Fri Jan 18 18:17:17 EST 2019


On Fri, Jan 18, 2019 at 4:02 PM shadab anwar <sk.shadabanwar at gmail.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190118/66e9b834/attachment.html>


More information about the vtkusers mailing list