vtkProcrustesAlignment Python Example Bug
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
This class requires that the number of inputs be set, however in the example the SetNumberOfInputs is used incorrectly with SetInputConnection methods. The result is a runtime error.
procrustes1 = vtk.vtkProcrustesAlignmentFilter() procrustes1.SetNumberOfInputs(3) procrustes1.SetInputConnection(0, sphere.GetOutputPort()) <- Error here procrustes1.SetInputConnection(1, transformer1.GetOutputPort()) <- Error here procrustes1.SetInputConnection(2, transformer2.GetOutputPort()) <- Error here