[Paraview-developers] How to swap to sources in a pipeline?

Yumin Yuan yumin.yuan at kitware.com
Thu Jan 22 10:27:10 EST 2015


Hi Anton,

Since you are asking on developers list, I assume you want to know how to
do this in the code :)

vtkSMPropertyHelper(1stSMFilterProxy, "Input").Set(newSMSourceProxy);

HTH
Yumin

On Thu, Jan 22, 2015 at 10:04 AM, Cory Quammen <cory.quammen at kitware.com>
wrote:

> Anton,
>
> Right-click on the source whose input you would like to change and select
> the "Change Input..." menu item.
>
> - Cory
>
> On Thu, Jan 22, 2015 at 10:00 AM, <Anton.Piccardo-Selg at tessella.com>
> wrote:
>
>> Hi,
>>
>> I have a linear pipeline which consists of a source and and several
>> filters. For various reasons I need to change the source of this pipeline.
>>
>> I was therefore wondering if there is a way to reset the input port of
>> the first filter to the new source, or do I have to create all the filters
>> again? I would like to just swap the sources in order to keep the filter
>> settings.
>>
>> Many thanks,
>>
>> Anton
>>
>> This message is commercial in confidence and may be privileged. It is
>> intended for the
>> addressee(s) only. Access to this message by anyone else is unauthorized
>> and strictly prohibited.
>> If you have received this message in error, please inform the sender
>> immediately. Please note that
>> messages sent or received by the Tessella e-mail system may be monitored
>> and stored in an
>> information retrieval system.
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=Paraview-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150122/508dc9dd/attachment.html>


More information about the Paraview-developers mailing list