Note also that Reset() is used in the data arrays (vtkAbstractArray) to reset containers to an empty state without freeing memory.<br>W<br><br><div class="gmail_quote">On Wed, Aug 12, 2009 at 11:30 AM, Pebay, Philippe P <span dir="ltr"><<a href="mailto:pppebay@sandia.gov">pppebay@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I am proposing to add a Purge() method to vtkTable for the following reason: currently, there is no direct way to clear the contents<br>
of such a table while preserving the existing column structure. Calling Delete() results in having to re-create the said structure, which<br>
is both inconvenient and inefficient.<br>
<br>
The proposed method would address this issue by emptying columns while preserving the table structure.<br>
<br>
Please let me know what you think.<br>
<br>
Thank you,<br>
Philippe<br>
<br>
--<br>
Philippe Pébay<br>
Sandia National Laboratories<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>