[vtkusers] Re: is VTKDelete() intended for public use?

Steve M. Robbins steven.robbins at videotron.ca
Sat Oct 8 11:54:06 EDT 2005


Hello David,

On Fri, Oct 07, 2005 at 10:48:17AM -0400, David Gobbi wrote:
 
> I think that you are taking the wrong approach.  You don't actually need 
> to delete
> any VTK objects, you just need to free the memory that they are using to 
> store
> the image array.
> 
> Each data object has a "ReleaseData()" method that will allegedly do the 
> trick.

Thanks -- that sounds like just the ticket.  I presume something
similar exists for non-data objects.

So the answer to my subject question appears to be "no".  Perhaps
VTKDelete should be marked as private.

-S



More information about the vtkusers mailing list