[vtkusers] Re: About Procrustes example

Goodwin Lawlor goodwin.lawlor at ucd.ie
Fri Nov 25 11:26:00 EST 2005


Hi Hassan,

vtkProcrustesAnalysisFilter doesn't use the new pipeline. Also, the code 
below looks like python, not c++. Should be:

vtkPolyDataMapper *map2a = vtkPolyDataMapper::New();
    map2a->SetInput(procrustes1->GetOutput(0));

hth

Goodwin

"Syed Hassan Amin" <sha1 at doc.ic.ac.uk> wrote in message 
news:4385FAA9.6080907 at doc.ic.ac.uk...
> Dear friends,
> I am trying to write procrustes example in VC++. But the following lines 
> dont compile in C++. Any help will be appreciated.
>
> map2a = vtk.vtkPolyDataMapper()
> map2a.SetInputConnection(procrustes1.GetOutputPort(0))
>
> Here is the example that I am trying to code :-
> http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/Modelling/Python/procrustesAlignment.py?root=VTK&content-type=text/plain
>
> Yours,
>
> Hassan Amin
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list