The visualization pipeline does not have to be a single linear pipeline. You 
can have multiple pipelines that can fan in and fan out. When you load multiple 
data sets, you are actually creating several short independent pipelines. This 
fan in and fan out of pipelines is explained several places including the 
ParaView tutorial. 

To answer your question, simply use the group datasets filter. It is available 
in the common filters toolbar. It can accept several inputs. Group all of your 
files together and then add filters to the group datasets filter. 

-Ken

Sent from my iPad so blame autocorrect.

> On Oct 25, 2014, at 11:34 AM, B.W.H. van Beest <[email protected]> wrote:
> 
> Hello,
> 
> How can I accomplish the following?
> 
> I have created a number of source objects (some are read
> from file, e.g. an stl file), some are from other Sources.
> On each of these segments in the pipeline browser
> I can apply a filter that I have written, by selecting
> it and applying my filter. Works ok.
> 
> But how can I apply this filter to all of them in one go?
> Initially, I thought that applying the filter to the last element
> in the pipeline would be enough, it is a pipeline after all,
> but that is not the case.
> 
> Do i need to specify somehow in my <filter>::DataRequest
> method that it needs to get its input from all segemnts in
> the pipe? But how does that work?
> 
> This is what I have in this routine now:
>   // Get the input data object
>   vtkPolyData* input = vtkPolyData::GetData( inputVector[0] ); assert(
> input );
> 
> Kind Regards,
> Bertwim
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to