[vtkusers] Question about resource handling and management

Luca Pamparana luca.pamparana at gmail.com
Thu Apr 12 04:31:47 EDT 2007


Hello everyone,

I have a question about resource management in VTK.

Say, I have read a 3d volume with a vtkImageReader2 based object.

Now, I have a reslicer and I pipe the input of the reader to the reslicer

so,
reslicer->SetInput(myReader->GetOutput());
myreader->Delete();

Now, later somewhere if I do..

reslicer->SetInput(0);

Will this release the memory resources associated with the volume data?

Thanks,

Luc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070412/7c24624f/attachment.htm>


More information about the vtkusers mailing list