[vtkusers] Unconnected filter(s) causingseg faults

Berk Geveci berk.geveci at kitware.com
Fri Oct 17 13:15:40 EDT 2003


No. It only checks the required inputs. For filters like
vtkAppendPolyData, only the first one is required. It won't check
the others. However vtkAppendPolyData performs the appropriate
check.

-Berk

On Fri, 2003-10-17 at 11:54, N Smethurst wrote:
> Presumably these should also be able to cope with one or more of their
inputs 
> being null or being subsequently set to null?
> 
> Le Vendredi 17 Octobre 2003 17:22, John Biddiscombe a écrit :
> > NB: There are certain filters like vtkAppendPolyData that need to
have a
> > variable number of inputs.
> > 
> > JB
> > 
> > > > 
> > > > 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