[vtk-developers] Re: [vtkusers] Unconnected filter(s) causing seg faults

Berk Geveci berk.geveci at kitware.com
Fri Oct 17 08:32:10 EDT 2003


For those who try to follow this thread in the future, it's
been switching between the users and the developers mailing lists.

> So if I understood correctly, null checks should be made before Execute() is 
> called, and so there should be no need for any of the checks that already 
> exist in the Execute() methods of filters?

Correct (once I have fix it that is).

> 
> Another point of interest: will the proposed solution also deal with setting 
> the input of a filter to null?  i.e. a filter with a previously connected 
> input has
> 
> filter_object->SetInput(0);
> 
> done to it in order to disconnect the output of the previous object.

I believe so. I'll let you know once I have something working.

-Berk






More information about the vtkusers mailing list