set_algorithm_input#
- set_algorithm_input(alg, inp, port=0)[source]#
Set the input to a vtkAlgorithm.
- Parameters:
- algvtkAlgorithm
The algorithm whose input is being set.
- inpvtkAlgorithm | vtkAlgorithmOutput | vtkDataObject
The input to the algorithm.
- port
int, default: 0 The input port.