[vtkusers] Multiple input data in custom vtkPolydataFilter

David Gobbi david.gobbi at gmail.com
Wed Jun 27 16:25:19 EDT 2018


For the second port, you might want to set INPUT_IS_REPEATABLE()
in addition to INPUT_IS_OPTIONAL().

This will allow you to use AddInputData(1, data) to input as many
secondary objects to the port as you desire.  The number of input
ports for a VTK filter is fixed, but repeatable ports can accept any
number of inputs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180627/60c955ad/attachment.html>


More information about the vtkusers mailing list