<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=160315421-12082009><FONT face=Arial 
size=2>vtkTable uses vtkFieldData to store its columns (accessible via 
vtkTable::GetRowData()). vtkFieldData also has a Reset() method which just calls 
Reset() on its internal arrays. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=160315421-12082009><FONT face=Arial 
size=2></FONT></SPAN><SPAN class=160315421-12082009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=160315421-12082009><FONT face=Arial 
size=2>--Eric</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=160315421-12082009><FONT face=Arial 
size=2></FONT></SPAN> </DIV><FONT face=Arial size=2></FONT><FONT face=Arial 
size=2></FONT><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> vtk-developers-bounces@vtk.org 
  [mailto:vtk-developers-bounces@vtk.org] <B>On Behalf Of </B>Will 
  Schroeder<BR><B>Sent:</B> Wednesday, August 12, 2009 10:56 AM<BR><B>To:</B> 
  Pebay, Philippe P<BR><B>Cc:</B> vtk-developers@vtk.org<BR><B>Subject:</B> Re: 
  [vtk-developers] [proposal] Purge() method for vtkTable<BR></FONT><BR></DIV>
  <DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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></BLOCKQUOTE></BODY></HTML>