[vtk-developers] [proposal] Purge() method for vtkTable

Will Schroeder will.schroeder at kitware.com
Wed Aug 12 12:55:34 EDT 2009


Note also that Reset() is used in the data arrays (vtkAbstractArray) to
reset containers to an empty state without freeing memory.
W

On Wed, Aug 12, 2009 at 11:30 AM, Pebay, Philippe P <pppebay at sandia.gov>wrote:

> Hello,
>
> I am proposing to add a Purge() method to vtkTable for the following
> reason: currently, there is no direct way to clear the contents
> of such a table while preserving the existing column structure. Calling
> Delete() results in having to re-create the said structure, which
> is both inconvenient and inefficient.
>
> The proposed method would address this issue by emptying columns while
> preserving the table structure.
>
> Please let me know what you think.
>
> Thank you,
> Philippe
>
> --
> Philippe Pébay
> Sandia National Laboratories
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>


-- 
William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090812/f2a8008d/attachment.html>


More information about the vtk-developers mailing list