Hi Cory,

As I understand, the Python Programmable filter can accept only one input
port, but this port can accept multiple connections. The order of multiple
connections on the same port cannot be controlled by the user.

My filter need two input datasets, but they are not commutable.
The user should be able to set up each input manually.

It seems possible in ParaView when a filter accepts multiple input ports.
For example, the "Resample with Dataset" filter accept two inputs ports and
the "Change input" dialog define an input named 'Source' and an input named
'Input'.

This is exactly what I need.But I don't know how to make a paraview filter
accepting multiples input ports in python:
 - "Python Programmable filter" seems limited to only one input port
 - the vtkPythonAlgorithm seems able to handle multiple input ports, but I
don't know how to use it in ParaView.This vtkPythonAlgorithm seems a good
candidate to respond to the feature request you mentioned.

Do you have any hint two make a ParaView filter with multiple input ports?


Best regards,

-- 
Loïc
_______________________________________________
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

Reply via email to