[vtkusers] How do you turn on/off a pipeline?

Charles Law charles.law at kitware.com
Wed Jul 5 08:26:42 EDT 2000


Setting the output of a source/filter to NULL will have the same 
effect.  Turn the pipeline back on by setting the output back to the old value.

Charles.

At 10:57 AM 7/5/00 +0100, John Biddiscombe wrote:
> >A simple question:
> >       How does one turn on or off a particular VTK pipeline?  Or how
> >does one disconnect a pipeline??
>
>Write a simple filter which takes an input, and generates an output, all it
>does is copystructure from input to output and pass point and cell data,
>override the update mechanism so that when flag=false, output doesn't get
>updated, when flag=true it acts as usual.
>
>We have one here. If it is in good shape (I haven't used it lately) I'll
>add it to the nightlies - though it may not conform to the correct 'style'.
>If not, it isn't hard to make one, though I suspect ours doen't correctly
>handle all intricate details like streaming properly.
>
>John B
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>vtkusers mailing list
>vtkusers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list