Thanks for your answer, David!<br><br>I was thinking in something similar before posting the thread but wanted to know if there was another option to solve it. I'll do as you suggested.. but I'm still feeling curious about the following:<br>
<br>Using vtkPolyDataToPolyData filter is no longer used to write filters and the use of vtkPolyDataAlgorithm is encouraged instead. However, I read in the vtkPolyDataToPolyData class documentation (and its related parent classes) that ReleaseDataFlag controls the deletion of output data. vtkPolyDataAlgorithm has this flag as well, but it seems output data is deleted no matter the flag's value is.<br>
<br>Is this a bug or was the ReleaseDataFlag functionality drop down on purpose for vtkPolyDataAlgorithm class??<br><br>Thanks,<br><br>Ricardo<br><br><br><br><div class="gmail_quote">2012/3/26 David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Keep a vtkPolyData * internal variable with the class, and shallow<br>
copy the output you produce in RequestData into that to use next time<br>
around.<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
<div><div class="h5"><br>
<br>
<br></div></div></blockquote></div><br>