[vtkusers] problem with vtkProcrustesAlignmentFilter example

imho imho at skynet.be
Tue Apr 22 05:24:27 EDT 2003

Hi all,
I try to use this TCL example 
, converting it to C++.
But I have a few errors :

this line :
     map2a->SetInput (procrustes1->GetOutput(0));
map2a is a vtkPolyDataMapper* and
procrustes1 a vtkProcrustesAlignmentFilter*

make :
error C2664: 'SetInput' : cannot convert parameter 1 from 'class 
vtkPointSet *' to 'class vtkPolyData *'
         Types pointed to are unrelated; conversion requires 
reinterpret_cast, C-style cast or function-style cast

What should I do? I have just converted the example.


More information about the vtkusers mailing list