set_algorithm_input#
- set_algorithm_input(alg: _vtk.vtkAlgorithm, inp: _AlgorithmInput, port: int = 0) None[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.