[vtkusers] VTK and memory issues.

Leue, William M (Research) leue at crd.ge.com
Fri Jun 6 11:23:54 EDT 2003


In addition to the helpful suggestions from the kitware document, if you are
doing image processing where most of the large data is point data, as
opposed to polygon data, you should take a look at the vtkImageDataStreamer
class. It helps you to manage huge data sets that will not fit into
available memory by manipulating extents in an iterative fashion, and
filters and readers whose output goes to the streamer will have their
extents similarly iterated using the regular pipeline extents propagation
mechanism. The drawback, of course, is that all the filters have to know how
to work in a streaming mode. Many VTK filters do, but not all.

-Bill Leue

-----Original Message-----
From: Mathieu Malaterre [mailto:Mathieu.Malaterre at creatis.insa-lyon.fr]
Sent: Friday, June 06, 2003 10:57 AM
To: Sebastien Auclair
Cc: vtkusers at public.kitware.com
Subject: Re: [vtkusers] VTK and memory issues.


Sebastien,
	You might have a look at:

How to handle large data sets in VTK:
http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq03.007.htp

HTH
mathieu
Ps: a filter never change the input so each time you use a filter you 
have *one* input and *one* output.

Sebastien Auclair wrote:
> Greetings !
> 
> Are VTK filters member of a pipeline holding DataSets instances between
each
> of them ?
> If i have a pipeline starting from a vtkPolyData instance, a
> vtkPolyDataNormals, vtkAppendPolyData, vtkPolyDataMapper and vtkLODActor
...
>     .. Does such a pipeline involves 4 or 5 instances of the initial
dataset
> ? (i.e. One between each filter. )
>     ... If yes, isn't there a way to clean a pileline ?
> 
> We're having troubles with the memory vtk seems to be using.
> Instead of taking around 200 Mo for displaying a huge 3D model, our
> application actually takes 1.2Go !!!
> 
> Thanks for any help !
> ________________________
> Seb
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers



More information about the vtkusers mailing list