[vtkusers] Faster slice display

David Gobbi dgobbi at irus.rri.ca
Mon Jun 18 17:57:31 EDT 2001


On Mon, 18 Jun 2001, TJ Wilkinson wrote:

> I was very happy when I read your solution - it seems to be exactly what I
> was looking for.  When I tried it, however, I get a bad_alloc exception
> when I try to UpdateWholeExtent.

Yes, the way that I wrote the code it will initially try to allocate
memory for the entire volume.  I'm a little rusty on methods to reduce
VTK memory usage, maybe vtkImageDataStreamer will provide the solution.
If you come up with a fix, be sure to post it.

 - David





More information about the vtkusers mailing list