Worried by Source->Output registering

John Biddiscombe j.biddiscombe at rl.ac.uk
Wed May 17 09:44:57 EDT 2000


>If the data is being held onto by the application, then the filter that 
>produced it might be needed. To indicate that only the data is of interest 
>you can do
>
>data->SetSource(NULL);
>
>and that should break the chain and free the filter.

I'd like to add
vtkSource::UnregisterAllOutputs()
to loop over all outputs and do 
	output[i]->SetSource(NULL);

for all outputs.

Any objections ?

JB
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list