MantisBT - VTK
View Issue Details
0009996VTK(No Category)public2009-12-04 08:312016-08-12 09:55
Juha-Ville Juntunen 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0009996: Example code procrustesAlignment.py does not work
The example code Examples/Modelling/Python/procrustesAlignment.py does
not display results for all aligned shapes correctly. Also, following warnings can be seen in the output:
...
ERROR: In /scratch/Oncomorph/3rdParty/VTK/Filtering/vtkAlgorithm.cxx, line 730
vtkProcrustesAlignmentFilter (0x825cf28): Attempt to connect input port index 1 for an algorithm with 1 input ports.
...

Problem seems to get fixed by changing:

   procrustes2.SetInputConnection(1, transformer1.GetOutputPort())
-->
   procrustes2.SetInput(1, transformer1.GetOutput())

for all procrustes filter input/output connections.

br.
J-V Juntunen
VTK 5.4.2
Python 2.5.4
gcc 4.3.2
Linux 2.6.29-gentoo-r5
No tags attached.
Issue History
2009-12-04 08:31Juha-Ville JuntunenNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037123
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0037123)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.