memory problem

Stefan Job job at viewtec.ch
Wed Jan 12 18:40:53 EST 2000


Hello everyone,

I have a problem with memory usage.
In my application I extract the image pixels from a vtkVolume16Reader
via the GetImage and GetScalarPointerForExtend methods.
It seems that in each call vtk allocates some memory.
What can I do to free this memory up again?

Code fragment:

_pixel  = (unsigned short*)
vtk16VolumeReader->GetImage(_imnr)->GetScalarPointerForExtent(coord);

Thanks for any hints
Stefan



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list