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

John Biddiscombe john.biddiscombe at mirada-solutions.com
Fri Oct 17 11:22:24 EDT 2003


NB: There are certain filters like vtkAppendPolyData that need to have a
variable number of inputs.

JB

> -----Original Message-----
> From: Berk Geveci [mailto:berk.geveci at kitware.com] 
> Sent: 17 October 2003 12:32
> To: N Smethurst
> Cc: vtkusers at vtk.org
> Subject: Re: [vtk-developers] Re: [vtkusers] Unconnected 
> filter(s) causingseg faults
> 
> 
> 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
> 
> 
> 
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list