[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 
http://public.kitware.com/cgi-bin/cvsweb.cgi/~checkout~/VTK/Examples/Modelling/Tcl/procrustesAlignment.tcl 
, converting it to C++.
But I have a few errors :
this line :
     map2a->SetInput (procrustes1->GetOutput(0));
where
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.
thanks
    
    
More information about the vtkusers
mailing list