[Paraview] Programmable filter - input data and output data

Crepier, Pierre P.Crepier at marin.nl
Wed Jan 11 08:49:34 EST 2017


Hi everyone,

I am trying to use the programmable filter to combine multiple filters. Sort of like the custom filter but I want to have control over some of the properties using user input.

If I understood correctly, I can get the input data with:
input = self.GetInputDataObject(0, 0)

then I can use this input in a filter:
xMin = Clip(Input=input)
xMin.ClipType = 'Plane'
xMin.Crinkleclip = 1
xMin.ClipType.Origin = [-4.0, 0.0, 0.0]
xMin.ClipType.Normal = [1.0, 0.0, 0.0]

Now, how can I use the output of this filter as output of my programmable filter ?

Thanks in advance,
Pierre

ir. Pierre Crepier | Project Manager Ships | CFD
MARIN | T +31 317 49 34 75 | P.Crepier at marin.nl<mailto:P.Crepier at marin.nl> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia>  [Twitter] <https://twitter.com/MARIN_nieuws>  [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news: Modelling natural transition on hydrofoils for application in underwater gliders<http://www.marin.nl/web/News/News-items/Modelling-natural-transition-on-hydrofoils-for-application-in-underwater-gliders-1.htm>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/e08abd1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image602997.PNG
Type: image/png
Size: 293 bytes
Desc: image602997.PNG
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/e08abd1d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image9361ac.PNG
Type: image/png
Size: 331 bytes
Desc: image9361ac.PNG
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/e08abd1d/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2c05aa.PNG
Type: image/png
Size: 333 bytes
Desc: image2c05aa.PNG
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/e08abd1d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb01fb8.PNG
Type: image/png
Size: 253 bytes
Desc: imageb01fb8.PNG
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170111/e08abd1d/attachment-0003.png>


More information about the ParaView mailing list