[Paraview] pipeline??
B.W.H. van Beest
bwvb at xs4all.nl
Sun Oct 26 22:35:35 EDT 2014
Hi Ken,
Thanks for your answer. I found and tried the filter you mentioned and
it worked.
Despite my reading I don't know how many pages on paraview/vtk doc I
read, but I missed that
multiple pipeline picture, so thanks for pointing me to it.
Remains to find out how to do that programmatically.
Regards,
Bertwim
On 10/27/2014 01:43 AM, Moreland, Kenneth wrote:
> 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 <bwvb at xs4all.nl> 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
More information about the ParaView
mailing list