[Paraview] Optional input ports

Mathieu Westphal mathieu.westphal at kitware.com
Tue Nov 15 15:12:53 EST 2016


Hello

Can you provide your xml file ?

Regards,

Mathieu Westphal

On Tue, Nov 15, 2016 at 9:07 PM, Cornelis Bockemühl <
cornelis.bockemuehl at gmail.com> wrote:

> Looks like I may have to provide an example that everybody can follow!?
>
> The "Multicorrelative Statistics" filter is already such an example!
>
> Reading the docs and looking into the server XML it is obvious that you
> can optionally provide a model as a second input port. However, I cannot
> find any way how to specify this second input:
>
> - Directly selecting it (next to the primary input) has the effect that
> the filter is greyed out in Paraview - no chance!
>
> - Selecting only the primary data input allows to choose the
> "Multicorrelative Statistics" filter just fine. I would expect that before
> pressing "Apply" I should still specify the second input (the model thus),
> but no chance: In the context menu, the "Change Input" option is greyed out
> - and I cannot find any other way to enter any second input data.
>
> - Pressing "Apply" does apply the filter, but without the optional model
> data. Now the "Change Input" would be avaliable in the context menu, but
> specifying any additional input NOW has no effect: the calculation is not
> redone any more...
>
> Bottom line: My first example was from a self-written filter, so there is
> still the possibility that I have done something wrong. But with the
> standard filter that comes with every Paraview installation I would expect
> that there MUST be some way to provide that second input data item!?
>
> I am simply lost here!
>
> Regards,
> Cornelis
>
> >Dear Parview users,
> >
> >This question seems trivial - but I do not find any solution on my own!
> >
> >I have a filter with one mandatory and two optional input ports, and this
> >is how I proceed with it:
> >
> >- Select some data object, then call that filter. It does not open the
> >input port item selection dialog because the one mandatory input is already
> >satisfied.
> >
> >- I want to add one of the optional inputs (or both) - but the "change
> >input" option is greyed! Strange - because for me this would be the logical
> >moment to specify additional input, i.e.: BEFORE pressing the Apply
> >button...
> >
> >- Ok, I press the Apply button thus. Of course the output is not what I
> >want because the optional inputs were missing...
> >
> >- However, now I can choose also the "change input" option - and I do so. I
> >select the two optional inputs. But now nothing happens any more - and now
> >the Apply button is grey, so no way to trigger an update of the output!
> >
> >To me this does not look very logical, so I assume that I am missing some
> >point...
> >
> >The other "intuitive option" would be to select all the desired input
> >items, and only then open the filter. However this is impossible from the
> >beginning because now the filter is already greyed in the menu as being
> >"not applicable"!
> >
> >Thanks for any helpful hints!
> >
> >Regards,
> >Cornelis Bockemühl
>
>
> --
> Cornelis Bockemühl
> Basel, Schweiz
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161115/c9a80790/attachment.html>


More information about the ParaView mailing list